Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=firewall.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Device) GetConnectionDetailsMapping() map[string]string
- func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Device) GetID() string
- func (tr *Device) GetInitParameters() (map[string]any, error)
- func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Device) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Device) GetObservation() (map[string]any, error)
- func (tr *Device) GetParameters() (map[string]any, error)
- func (mg *Device) GetProviderConfigReference() *xpv1.Reference
- func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Device) GetTerraformResourceType() string
- func (tr *Device) GetTerraformSchemaVersion() int
- func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Device) Hub()
- func (tr *Device) LateInitialize(attrs []byte) (bool, error)
- func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Device) SetConditions(c ...xpv1.Condition)
- func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Device) SetObservation(obs map[string]any) error
- func (tr *Device) SetParameters(params map[string]any) error
- func (mg *Device) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceInitParameters
- type DeviceList
- type DeviceObservation
- type DeviceParameters
- type DeviceSpec
- type DeviceStatus
- type DevicesInitParameters
- type DevicesObservation
- type DevicesParameters
- type Firewall
- func (in *Firewall) DeepCopy() *Firewall
- func (in *Firewall) DeepCopyInto(out *Firewall)
- func (in *Firewall) DeepCopyObject() runtime.Object
- func (mg *Firewall) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Firewall) GetConnectionDetailsMapping() map[string]string
- func (mg *Firewall) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Firewall) GetID() string
- func (tr *Firewall) GetInitParameters() (map[string]any, error)
- func (mg *Firewall) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Firewall) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Firewall) GetObservation() (map[string]any, error)
- func (tr *Firewall) GetParameters() (map[string]any, error)
- func (mg *Firewall) GetProviderConfigReference() *xpv1.Reference
- func (mg *Firewall) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Firewall) GetTerraformResourceType() string
- func (tr *Firewall) GetTerraformSchemaVersion() int
- func (mg *Firewall) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Firewall) Hub()
- func (tr *Firewall) LateInitialize(attrs []byte) (bool, error)
- func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Firewall) SetConditions(c ...xpv1.Condition)
- func (mg *Firewall) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Firewall) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Firewall) SetObservation(obs map[string]any) error
- func (tr *Firewall) SetParameters(params map[string]any) error
- func (mg *Firewall) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Firewall) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Firewall) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FirewallInitParameters
- type FirewallList
- type FirewallObservation
- type FirewallParameters
- type FirewallSpec
- type FirewallStatus
- type InboundInitParameters
- type InboundObservation
- type InboundParameters
- type OutboundInitParameters
- type OutboundObservation
- type OutboundParameters
Constants ¶
const ( CRDGroup = "firewall.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Device_Kind = "Device" Device_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Device_Kind}.String() Device_KindAPIVersion = Device_Kind + "." + CRDGroupVersion.String() Device_GroupVersionKind = CRDGroupVersion.WithKind(Device_Kind) )
Repository type metadata.
var ( Firewall_Kind = "Firewall" Firewall_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Firewall_Kind}.String() Firewall_KindAPIVersion = Firewall_Kind + "." + CRDGroupVersion.String() Firewall_GroupVersionKind = CRDGroupVersion.WithKind(Firewall_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DeviceSpec `json:"spec"`
Status DeviceStatus `json:"status,omitempty"`
}
Device is the Schema for the Devices API. Manages a Linode Firewall Device. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*Device) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Device) GetCondition ¶
func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Device.
func (*Device) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Device
func (*Device) GetDeletionPolicy ¶
func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Device.
func (*Device) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this Device
func (*Device) GetManagementPolicies ¶ added in v0.0.16
func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Device.
func (*Device) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this Device
func (*Device) GetObservation ¶
GetObservation of this Device
func (*Device) GetParameters ¶
GetParameters of this Device
func (*Device) GetProviderConfigReference ¶
GetProviderConfigReference of this Device.
func (*Device) GetPublishConnectionDetailsTo ¶
func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Device.
func (*Device) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Device
func (*Device) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Device) GetWriteConnectionSecretToReference ¶
func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Device.
func (*Device) Hub ¶ added in v0.0.16
func (tr *Device) Hub()
Hub marks this type as a conversion hub.
func (*Device) LateInitialize ¶
LateInitialize this Device using its observed tfState. returns True if there are any spec changes for the resource.
func (*Device) ResolveReferences ¶ added in v0.0.1
ResolveReferences of this Device.
func (*Device) SetConditions ¶
SetConditions of this Device.
func (*Device) SetDeletionPolicy ¶
func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Device.
func (*Device) SetManagementPolicies ¶ added in v0.0.16
func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Device.
func (*Device) SetObservation ¶
SetObservation for this Device
func (*Device) SetParameters ¶
SetParameters for this Device
func (*Device) SetProviderConfigReference ¶
SetProviderConfigReference of this Device.
func (*Device) SetPublishConnectionDetailsTo ¶
func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Device.
func (*Device) SetWriteConnectionSecretToReference ¶
func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Device.
type DeviceInitParameters ¶ added in v0.0.16
type DeviceInitParameters struct {
// The unique ID of the entity to attach.
// The ID of the entity to create a Firewall device for.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
EntityID *float64 `json:"entityId,omitempty" tf:"entity_id,omitempty"`
// Reference to a Instance in instance to populate entityId.
// +kubebuilder:validation:Optional
EntityIDRef *v1.Reference `json:"entityIdRef,omitempty" tf:"-"`
// Selector for a Instance in instance to populate entityId.
// +kubebuilder:validation:Optional
EntityIDSelector *v1.Selector `json:"entityIdSelector,omitempty" tf:"-"`
// The type of the entity to attach. (default: linode)
// The type of the entity to create a Firewall device for.
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// The unique ID of the target Firewall.
// The ID of the Firewall to access.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/firewall/v1alpha1.Device
FirewallID *float64 `json:"firewallId,omitempty" tf:"firewall_id,omitempty"`
// Reference to a Device in firewall to populate firewallId.
// +kubebuilder:validation:Optional
FirewallIDRef *v1.Reference `json:"firewallIdRef,omitempty" tf:"-"`
// Selector for a Device in firewall to populate firewallId.
// +kubebuilder:validation:Optional
FirewallIDSelector *v1.Selector `json:"firewallIdSelector,omitempty" tf:"-"`
}
func (*DeviceInitParameters) DeepCopy ¶ added in v0.0.16
func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters.
func (*DeviceInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceList ¶
type DeviceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Device `json:"items"`
}
DeviceList contains a list of Devices
func (*DeviceList) DeepCopy ¶
func (in *DeviceList) DeepCopy() *DeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList.
func (*DeviceList) DeepCopyInto ¶
func (in *DeviceList) DeepCopyInto(out *DeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceList) DeepCopyObject ¶
func (in *DeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceList) GetItems ¶
func (l *DeviceList) GetItems() []resource.Managed
GetItems of this DeviceList.
type DeviceObservation ¶
type DeviceObservation struct {
// When the Firewall Device was last created.
// When this Firewall Device was created.
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// The unique ID of the entity to attach.
// The ID of the entity to create a Firewall device for.
EntityID *float64 `json:"entityId,omitempty" tf:"entity_id,omitempty"`
// The type of the entity to attach. (default: linode)
// The type of the entity to create a Firewall device for.
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// The unique ID of the target Firewall.
// The ID of the Firewall to access.
FirewallID *float64 `json:"firewallId,omitempty" tf:"firewall_id,omitempty"`
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// When the Firewall Device was last updated.
// When this Firewall Device was updated.
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
}
func (*DeviceObservation) DeepCopy ¶
func (in *DeviceObservation) DeepCopy() *DeviceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceObservation.
func (*DeviceObservation) DeepCopyInto ¶
func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceParameters ¶
type DeviceParameters struct {
// The unique ID of the entity to attach.
// The ID of the entity to create a Firewall device for.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
// +kubebuilder:validation:Optional
EntityID *float64 `json:"entityId,omitempty" tf:"entity_id,omitempty"`
// Reference to a Instance in instance to populate entityId.
// +kubebuilder:validation:Optional
EntityIDRef *v1.Reference `json:"entityIdRef,omitempty" tf:"-"`
// Selector for a Instance in instance to populate entityId.
// +kubebuilder:validation:Optional
EntityIDSelector *v1.Selector `json:"entityIdSelector,omitempty" tf:"-"`
// The type of the entity to attach. (default: linode)
// The type of the entity to create a Firewall device for.
// +kubebuilder:validation:Optional
EntityType *string `json:"entityType,omitempty" tf:"entity_type,omitempty"`
// The unique ID of the target Firewall.
// The ID of the Firewall to access.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/firewall/v1alpha1.Device
// +kubebuilder:validation:Optional
FirewallID *float64 `json:"firewallId,omitempty" tf:"firewall_id,omitempty"`
// Reference to a Device in firewall to populate firewallId.
// +kubebuilder:validation:Optional
FirewallIDRef *v1.Reference `json:"firewallIdRef,omitempty" tf:"-"`
// Selector for a Device in firewall to populate firewallId.
// +kubebuilder:validation:Optional
FirewallIDSelector *v1.Selector `json:"firewallIdSelector,omitempty" tf:"-"`
}
func (*DeviceParameters) DeepCopy ¶
func (in *DeviceParameters) DeepCopy() *DeviceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceParameters.
func (*DeviceParameters) DeepCopyInto ¶
func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceSpec ¶
type DeviceSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider DeviceParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider DeviceInitParameters `json:"initProvider,omitempty"`
}
DeviceSpec defines the desired state of Device
func (*DeviceSpec) DeepCopy ¶
func (in *DeviceSpec) DeepCopy() *DeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
func (*DeviceSpec) DeepCopyInto ¶
func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceStatus ¶
type DeviceStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider DeviceObservation `json:"atProvider,omitempty"`
}
DeviceStatus defines the observed state of Device.
func (*DeviceStatus) DeepCopy ¶
func (in *DeviceStatus) DeepCopy() *DeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus.
func (*DeviceStatus) DeepCopyInto ¶
func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicesInitParameters ¶ added in v0.0.16
type DevicesInitParameters struct {
}
func (*DevicesInitParameters) DeepCopy ¶ added in v0.0.16
func (in *DevicesInitParameters) DeepCopy() *DevicesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicesInitParameters.
func (*DevicesInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *DevicesInitParameters) DeepCopyInto(out *DevicesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicesObservation ¶
type DevicesObservation struct {
// The ID of the underlying entity this device references (i.e. the Linode's ID).
EntityID *float64 `json:"entityId,omitempty" tf:"entity_id,omitempty"`
// The ID of the Firewall.
ID *float64 `json:"id,omitempty" tf:"id,omitempty"`
// This Firewall's unique label.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// The type of Firewall Device.
Type *string `json:"type,omitempty" tf:"type,omitempty"`
// The URL of the underlying entity this device references.
URL *string `json:"url,omitempty" tf:"url,omitempty"`
}
func (*DevicesObservation) DeepCopy ¶
func (in *DevicesObservation) DeepCopy() *DevicesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicesObservation.
func (*DevicesObservation) DeepCopyInto ¶
func (in *DevicesObservation) DeepCopyInto(out *DevicesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicesParameters ¶
type DevicesParameters struct {
}
func (*DevicesParameters) DeepCopy ¶
func (in *DevicesParameters) DeepCopy() *DevicesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicesParameters.
func (*DevicesParameters) DeepCopyInto ¶
func (in *DevicesParameters) DeepCopyInto(out *DevicesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Firewall ¶
type Firewall struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inboundPolicy) || (has(self.initProvider) && has(self.initProvider.inboundPolicy))",message="spec.forProvider.inboundPolicy is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outboundPolicy) || (has(self.initProvider) && has(self.initProvider.outboundPolicy))",message="spec.forProvider.outboundPolicy is a required parameter"
Spec FirewallSpec `json:"spec"`
Status FirewallStatus `json:"status,omitempty"`
}
Firewall is the Schema for the Firewalls API. Manages a Linode Firewall. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*Firewall) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall.
func (*Firewall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Firewall) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Firewall) GetCondition ¶
func (mg *Firewall) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Firewall.
func (*Firewall) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Firewall
func (*Firewall) GetDeletionPolicy ¶
func (mg *Firewall) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Firewall.
func (*Firewall) GetInitParameters ¶ added in v0.0.16
GetInitParameters of this Firewall
func (*Firewall) GetManagementPolicies ¶ added in v0.0.16
func (mg *Firewall) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Firewall.
func (*Firewall) GetMergedParameters ¶ added in v0.0.16
GetInitParameters of this Firewall
func (*Firewall) GetObservation ¶
GetObservation of this Firewall
func (*Firewall) GetParameters ¶
GetParameters of this Firewall
func (*Firewall) GetProviderConfigReference ¶
GetProviderConfigReference of this Firewall.
func (*Firewall) GetPublishConnectionDetailsTo ¶
func (mg *Firewall) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Firewall.
func (*Firewall) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Firewall
func (*Firewall) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Firewall) GetWriteConnectionSecretToReference ¶
func (mg *Firewall) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Firewall.
func (*Firewall) Hub ¶ added in v0.0.16
func (tr *Firewall) Hub()
Hub marks this type as a conversion hub.
func (*Firewall) LateInitialize ¶
LateInitialize this Firewall using its observed tfState. returns True if there are any spec changes for the resource.
func (*Firewall) ResolveReferences ¶ added in v0.0.1
ResolveReferences of this Firewall.
func (*Firewall) SetConditions ¶
SetConditions of this Firewall.
func (*Firewall) SetDeletionPolicy ¶
func (mg *Firewall) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Firewall.
func (*Firewall) SetManagementPolicies ¶ added in v0.0.16
func (mg *Firewall) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Firewall.
func (*Firewall) SetObservation ¶
SetObservation for this Firewall
func (*Firewall) SetParameters ¶
SetParameters for this Firewall
func (*Firewall) SetProviderConfigReference ¶
SetProviderConfigReference of this Firewall.
func (*Firewall) SetPublishConnectionDetailsTo ¶
func (mg *Firewall) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Firewall.
func (*Firewall) SetWriteConnectionSecretToReference ¶
func (mg *Firewall) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Firewall.
type FirewallInitParameters ¶ added in v0.0.16
type FirewallInitParameters struct {
// If true, the Firewall's rules are not enforced (defaults to false).
// If true, the Firewall is inactive.
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// A firewall rule that specifies what inbound network traffic is allowed.
Inbound []InboundInitParameters `json:"inbound,omitempty" tf:"inbound,omitempty"`
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property of the Firewall Rule. (ACCEPT, DROP)
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property for an individual Firewall Rule.
InboundPolicy *string `json:"inboundPolicy,omitempty" tf:"inbound_policy,omitempty"`
// This Firewall's unique label.
// The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A list of IDs of Linodes this Firewall should govern network traffic for.
// The IDs of Linodes to apply this firewall to.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
// +listType=set
Linodes []*float64 `json:"linodes,omitempty" tf:"linodes,omitempty"`
// References to Instance in instance to populate linodes.
// +kubebuilder:validation:Optional
LinodesRefs []v1.Reference `json:"linodesRefs,omitempty" tf:"-"`
// Selector for a list of Instance in instance to populate linodes.
// +kubebuilder:validation:Optional
LinodesSelector *v1.Selector `json:"linodesSelector,omitempty" tf:"-"`
// A list of IDs of NodeBalancers this Firewall should govern network traffic for.
// The IDs of NodeBalancers to apply this firewall to.
// +listType=set
Nodebalancers []*float64 `json:"nodebalancers,omitempty" tf:"nodebalancers,omitempty"`
// A firewall rule that specifies what outbound network traffic is allowed.
Outbound []OutboundInitParameters `json:"outbound,omitempty" tf:"outbound,omitempty"`
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule. (ACCEPT, DROP)
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule.
OutboundPolicy *string `json:"outboundPolicy,omitempty" tf:"outbound_policy,omitempty"`
// A list of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
// An array of tags applied to the firewall. Tags are for organizational purposes only.
// +listType=set
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}
func (*FirewallInitParameters) DeepCopy ¶ added in v0.0.16
func (in *FirewallInitParameters) DeepCopy() *FirewallInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallInitParameters.
func (*FirewallInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *FirewallInitParameters) DeepCopyInto(out *FirewallInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallList ¶
type FirewallList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Firewall `json:"items"`
}
FirewallList contains a list of Firewalls
func (*FirewallList) DeepCopy ¶
func (in *FirewallList) DeepCopy() *FirewallList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallList.
func (*FirewallList) DeepCopyInto ¶
func (in *FirewallList) DeepCopyInto(out *FirewallList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallList) DeepCopyObject ¶
func (in *FirewallList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*FirewallList) GetItems ¶
func (l *FirewallList) GetItems() []resource.Managed
GetItems of this FirewallList.
type FirewallObservation ¶
type FirewallObservation struct {
// When this firewall was created
Created *string `json:"created,omitempty" tf:"created,omitempty"`
// The devices associated with this firewall.
Devices []DevicesObservation `json:"devices,omitempty" tf:"devices,omitempty"`
// If true, the Firewall's rules are not enforced (defaults to false).
// If true, the Firewall is inactive.
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// The ID of the Firewall.
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// A firewall rule that specifies what inbound network traffic is allowed.
Inbound []InboundObservation `json:"inbound,omitempty" tf:"inbound,omitempty"`
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property of the Firewall Rule. (ACCEPT, DROP)
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property for an individual Firewall Rule.
InboundPolicy *string `json:"inboundPolicy,omitempty" tf:"inbound_policy,omitempty"`
// This Firewall's unique label.
// The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A list of IDs of Linodes this Firewall should govern network traffic for.
// The IDs of Linodes to apply this firewall to.
// +listType=set
Linodes []*float64 `json:"linodes,omitempty" tf:"linodes,omitempty"`
// A list of IDs of NodeBalancers this Firewall should govern network traffic for.
// The IDs of NodeBalancers to apply this firewall to.
// +listType=set
Nodebalancers []*float64 `json:"nodebalancers,omitempty" tf:"nodebalancers,omitempty"`
// A firewall rule that specifies what outbound network traffic is allowed.
Outbound []OutboundObservation `json:"outbound,omitempty" tf:"outbound,omitempty"`
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule. (ACCEPT, DROP)
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule.
OutboundPolicy *string `json:"outboundPolicy,omitempty" tf:"outbound_policy,omitempty"`
// The status of the Firewall.
// The status of the firewall.
Status *string `json:"status,omitempty" tf:"status,omitempty"`
// A list of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
// An array of tags applied to the firewall. Tags are for organizational purposes only.
// +listType=set
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
// When this firewall was last updated
Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`
}
func (*FirewallObservation) DeepCopy ¶
func (in *FirewallObservation) DeepCopy() *FirewallObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallObservation.
func (*FirewallObservation) DeepCopyInto ¶
func (in *FirewallObservation) DeepCopyInto(out *FirewallObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallParameters ¶
type FirewallParameters struct {
// If true, the Firewall's rules are not enforced (defaults to false).
// If true, the Firewall is inactive.
// +kubebuilder:validation:Optional
Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`
// A firewall rule that specifies what inbound network traffic is allowed.
// +kubebuilder:validation:Optional
Inbound []InboundParameters `json:"inbound,omitempty" tf:"inbound,omitempty"`
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property of the Firewall Rule. (ACCEPT, DROP)
// The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property for an individual Firewall Rule.
// +kubebuilder:validation:Optional
InboundPolicy *string `json:"inboundPolicy,omitempty" tf:"inbound_policy,omitempty"`
// This Firewall's unique label.
// The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned.
// +kubebuilder:validation:Optional
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A list of IDs of Linodes this Firewall should govern network traffic for.
// The IDs of Linodes to apply this firewall to.
// +crossplane:generate:reference:type=github.com/linode/provider-linode/apis/instance/v1alpha1.Instance
// +kubebuilder:validation:Optional
// +listType=set
Linodes []*float64 `json:"linodes,omitempty" tf:"linodes,omitempty"`
// References to Instance in instance to populate linodes.
// +kubebuilder:validation:Optional
LinodesRefs []v1.Reference `json:"linodesRefs,omitempty" tf:"-"`
// Selector for a list of Instance in instance to populate linodes.
// +kubebuilder:validation:Optional
LinodesSelector *v1.Selector `json:"linodesSelector,omitempty" tf:"-"`
// A list of IDs of NodeBalancers this Firewall should govern network traffic for.
// The IDs of NodeBalancers to apply this firewall to.
// +kubebuilder:validation:Optional
// +listType=set
Nodebalancers []*float64 `json:"nodebalancers,omitempty" tf:"nodebalancers,omitempty"`
// A firewall rule that specifies what outbound network traffic is allowed.
// +kubebuilder:validation:Optional
Outbound []OutboundParameters `json:"outbound,omitempty" tf:"outbound,omitempty"`
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule. (ACCEPT, DROP)
// The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property for an individual Firewall Rule.
// +kubebuilder:validation:Optional
OutboundPolicy *string `json:"outboundPolicy,omitempty" tf:"outbound_policy,omitempty"`
// A list of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
// An array of tags applied to the firewall. Tags are for organizational purposes only.
// +kubebuilder:validation:Optional
// +listType=set
Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}
func (*FirewallParameters) DeepCopy ¶
func (in *FirewallParameters) DeepCopy() *FirewallParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallParameters.
func (*FirewallParameters) DeepCopyInto ¶
func (in *FirewallParameters) DeepCopyInto(out *FirewallParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpec ¶
type FirewallSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider FirewallParameters `json:"forProvider"`
// THIS IS A BETA FIELD. It will be honored
// unless the Management Policies feature flag is disabled.
// InitProvider holds the same fields as ForProvider, with the exception
// of Identifier and other resource reference fields. The fields that are
// in InitProvider are merged into ForProvider when the resource is created.
// The same fields are also added to the terraform ignore_changes hook, to
// avoid updating them after creation. This is useful for fields that are
// required on creation, but we do not desire to update them after creation,
// for example because of an external controller is managing them, like an
// autoscaler.
InitProvider FirewallInitParameters `json:"initProvider,omitempty"`
}
FirewallSpec defines the desired state of Firewall
func (*FirewallSpec) DeepCopy ¶
func (in *FirewallSpec) DeepCopy() *FirewallSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpec.
func (*FirewallSpec) DeepCopyInto ¶
func (in *FirewallSpec) DeepCopyInto(out *FirewallSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallStatus ¶
type FirewallStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider FirewallObservation `json:"atProvider,omitempty"`
}
FirewallStatus defines the observed state of Firewall.
func (*FirewallStatus) DeepCopy ¶
func (in *FirewallStatus) DeepCopy() *FirewallStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallStatus.
func (*FirewallStatus) DeepCopyInto ¶
func (in *FirewallStatus) DeepCopyInto(out *FirewallStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundInitParameters ¶ added in v0.0.16
type InboundInitParameters struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*InboundInitParameters) DeepCopy ¶ added in v0.0.16
func (in *InboundInitParameters) DeepCopy() *InboundInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundInitParameters.
func (*InboundInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *InboundInitParameters) DeepCopyInto(out *InboundInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundObservation ¶
type InboundObservation struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*InboundObservation) DeepCopy ¶
func (in *InboundObservation) DeepCopy() *InboundObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundObservation.
func (*InboundObservation) DeepCopyInto ¶
func (in *InboundObservation) DeepCopyInto(out *InboundObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InboundParameters ¶
type InboundParameters struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
// +kubebuilder:validation:Optional
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
// +kubebuilder:validation:Optional
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
// +kubebuilder:validation:Optional
Label *string `json:"label" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// +kubebuilder:validation:Optional
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol" tf:"protocol,omitempty"`
}
func (*InboundParameters) DeepCopy ¶
func (in *InboundParameters) DeepCopy() *InboundParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundParameters.
func (*InboundParameters) DeepCopyInto ¶
func (in *InboundParameters) DeepCopyInto(out *InboundParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundInitParameters ¶ added in v0.0.16
type OutboundInitParameters struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*OutboundInitParameters) DeepCopy ¶ added in v0.0.16
func (in *OutboundInitParameters) DeepCopy() *OutboundInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundInitParameters.
func (*OutboundInitParameters) DeepCopyInto ¶ added in v0.0.16
func (in *OutboundInitParameters) DeepCopyInto(out *OutboundInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundObservation ¶
type OutboundObservation struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
Action *string `json:"action,omitempty" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
Label *string `json:"label,omitempty" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"`
}
func (*OutboundObservation) DeepCopy ¶
func (in *OutboundObservation) DeepCopy() *OutboundObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundObservation.
func (*OutboundObservation) DeepCopyInto ¶
func (in *OutboundObservation) DeepCopyInto(out *OutboundObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutboundParameters ¶
type OutboundParameters struct {
// Controls whether traffic is accepted or dropped by this rule (ACCEPT, DROP). Overrides the Firewall’s inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// Controls whether traffic is accepted or dropped by this rule. Overrides the Firewall's inbound_policy if this is an inbound rule, or the outbound_policy if this is an outbound rule.
// +kubebuilder:validation:Optional
Action *string `json:"action" tf:"action,omitempty"`
// Used to describe this rule. For display purposes only.
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// A list of IPv4 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of CIDR blocks or 0.0.0.0/0 (to allow all) this rule applies to.
// +kubebuilder:validation:Optional
IPv4 []*string `json:"ipv4,omitempty" tf:"ipv4,omitempty"`
// A list of IPv6 addresses or networks. Must be in IP/mask (CIDR) format.
// A list of IPv6 addresses or networks this rule applies to.
// +kubebuilder:validation:Optional
IPv6 []*string `json:"ipv6,omitempty" tf:"ipv6,omitempty"`
// This Firewall's unique label.
// Used to identify this rule. For display purposes only.
// +kubebuilder:validation:Optional
Label *string `json:"label" tf:"label,omitempty"`
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91").
// +kubebuilder:validation:Optional
Ports *string `json:"ports,omitempty" tf:"ports,omitempty"`
// The network protocol this rule controls. (TCP, UDP, ICMP)
// The network protocol this rule controls.
// +kubebuilder:validation:Optional
Protocol *string `json:"protocol" tf:"protocol,omitempty"`
}
func (*OutboundParameters) DeepCopy ¶
func (in *OutboundParameters) DeepCopy() *OutboundParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundParameters.
func (*OutboundParameters) DeepCopyInto ¶
func (in *OutboundParameters) DeepCopyInto(out *OutboundParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.