Documentation ¶
Overview ¶
+groupName=firewall.linode.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (r *Device) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Device) ValidateCreate() error
- func (r *Device) ValidateDelete() error
- func (r *Device) ValidateUpdate(old runtime.Object) error
- type DeviceList
- type DeviceSpec
- type DeviceSpecResource
- type DeviceStatus
- type Firewall
- func (in *Firewall) DeepCopy() *Firewall
- func (in *Firewall) DeepCopyInto(out *Firewall)
- func (in *Firewall) DeepCopyObject() runtime.Object
- func (r *Firewall) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Firewall) ValidateCreate() error
- func (r *Firewall) ValidateDelete() error
- func (r *Firewall) ValidateUpdate(old runtime.Object) error
- type FirewallList
- type FirewallSpec
- type FirewallSpecDevices
- type FirewallSpecInbound
- type FirewallSpecOutbound
- type FirewallSpecResource
- type FirewallStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: firewall.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Device ¶ added in v0.5.0
type Device struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeviceSpec `json:"spec,omitempty"` Status DeviceStatus `json:"status,omitempty"` }
func (*Device) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶ added in v0.5.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Device) SetupWebhookWithManager ¶ added in v0.5.0
func (*Device) ValidateCreate ¶ added in v0.5.0
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Device) ValidateDelete ¶ added in v0.5.0
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DeviceList ¶ added in v0.5.0
type DeviceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Device CRD objects Items []Device `json:"items,omitempty"` }
DeviceList is a list of Devices
func (*DeviceList) DeepCopy ¶ added in v0.5.0
func (in *DeviceList) DeepCopy() *DeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList.
func (*DeviceList) DeepCopyInto ¶ added in v0.5.0
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 ¶ added in v0.5.0
func (in *DeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeviceSpec ¶ added in v0.5.0
type DeviceSpec struct { State *DeviceSpecResource `json:"state,omitempty" tf:"-"` Resource DeviceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DeviceSpec) DeepCopy ¶ added in v0.5.0
func (in *DeviceSpec) DeepCopy() *DeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
func (*DeviceSpec) DeepCopyInto ¶ added in v0.5.0
func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceSpecResource ¶ added in v0.5.0
type DeviceSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // When this Firewall Device was created. // +optional Created *string `json:"created,omitempty" tf:"created"` // The ID of the entity to create a Firewall device for. EntityID *int64 `json:"entityID" tf:"entity_id"` // The type of the entity to create a Firewall device for. // +optional EntityType *string `json:"entityType,omitempty" tf:"entity_type"` // The ID of the Firewall to access. FirewallID *int64 `json:"firewallID" tf:"firewall_id"` // When this Firewall Device was updated. // +optional Updated *string `json:"updated,omitempty" tf:"updated"` }
func (*DeviceSpecResource) DeepCopy ¶ added in v0.5.0
func (in *DeviceSpecResource) DeepCopy() *DeviceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpecResource.
func (*DeviceSpecResource) DeepCopyInto ¶ added in v0.5.0
func (in *DeviceSpecResource) DeepCopyInto(out *DeviceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceStatus ¶ added in v0.5.0
type DeviceStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*DeviceStatus) DeepCopy ¶ added in v0.5.0
func (in *DeviceStatus) DeepCopy() *DeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus.
func (*DeviceStatus) DeepCopyInto ¶ added in v0.5.0
func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus)
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,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FirewallSpec `json:"spec,omitempty"` Status FirewallStatus `json:"status,omitempty"` }
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) SetupWebhookWithManager ¶
func (*Firewall) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Firewall) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FirewallList ¶
type FirewallList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Firewall CRD objects Items []Firewall `json:"items,omitempty"` }
FirewallList is 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.
type FirewallSpec ¶
type FirewallSpec struct { State *FirewallSpecResource `json:"state,omitempty" tf:"-"` Resource FirewallSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 FirewallSpecDevices ¶
type FirewallSpecDevices struct { // The ID of the underlying entity for the firewall device (e.g. the Linode's ID). // +optional EntityID *int64 `json:"entityID,omitempty" tf:"entity_id"` // The ID of the firewall device. // +optional ID *int64 `json:"ID,omitempty" tf:"id"` // The label of the underlying entity for the firewall device. // +optional Label *string `json:"label,omitempty" tf:"label"` // The type of firewall device. // +optional Type *string `json:"type,omitempty" tf:"type"` // The URL of the underlying entity for the firewall device. // +optional Url *string `json:"url,omitempty" tf:"url"` }
func (*FirewallSpecDevices) DeepCopy ¶
func (in *FirewallSpecDevices) DeepCopy() *FirewallSpecDevices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecDevices.
func (*FirewallSpecDevices) DeepCopyInto ¶
func (in *FirewallSpecDevices) DeepCopyInto(out *FirewallSpecDevices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpecInbound ¶
type FirewallSpecInbound struct { // 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" tf:"action"` // A list of IP addresses, CIDR blocks, or 0.0.0.0/0 (to allow all) this rule applies to. // +optional Ipv4 []string `json:"ipv4,omitempty" tf:"ipv4"` // A list of IPv6 addresses or networks this rule applies to. // +optional Ipv6 []string `json:"ipv6,omitempty" tf:"ipv6"` // Used to identify this rule. For display purposes only. Label *string `json:"label" tf:"label"` // A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91"). // +optional Ports *string `json:"ports,omitempty" tf:"ports"` // The network protocol this rule controls. Protocol *string `json:"protocol" tf:"protocol"` }
func (*FirewallSpecInbound) DeepCopy ¶
func (in *FirewallSpecInbound) DeepCopy() *FirewallSpecInbound
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecInbound.
func (*FirewallSpecInbound) DeepCopyInto ¶
func (in *FirewallSpecInbound) DeepCopyInto(out *FirewallSpecInbound)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpecOutbound ¶
type FirewallSpecOutbound struct { // 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" tf:"action"` // A list of IP addresses, CIDR blocks, or 0.0.0.0/0 (to allow all) this rule applies to. // +optional Ipv4 []string `json:"ipv4,omitempty" tf:"ipv4"` // A list of IPv6 addresses or networks this rule applies to. // +optional Ipv6 []string `json:"ipv6,omitempty" tf:"ipv6"` // Used to identify this rule. For display purposes only. Label *string `json:"label" tf:"label"` // A string representation of ports and/or port ranges (i.e. "443" or "80-90, 91"). // +optional Ports *string `json:"ports,omitempty" tf:"ports"` // The network protocol this rule controls. Protocol *string `json:"protocol" tf:"protocol"` }
func (*FirewallSpecOutbound) DeepCopy ¶
func (in *FirewallSpecOutbound) DeepCopy() *FirewallSpecOutbound
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecOutbound.
func (*FirewallSpecOutbound) DeepCopyInto ¶
func (in *FirewallSpecOutbound) DeepCopyInto(out *FirewallSpecOutbound)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallSpecResource ¶
type FirewallSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The devices associated with this firewall. // +optional Devices []FirewallSpecDevices `json:"devices,omitempty" tf:"devices"` // If true, the Firewall is inactive. // +optional Disabled *bool `json:"disabled,omitempty" tf:"disabled"` // A firewall rule that specifies what inbound network traffic is allowed. // +optional Inbound []FirewallSpecInbound `json:"inbound,omitempty" tf:"inbound"` // 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" tf:"inbound_policy"` // The label for the Firewall. For display purposes only. If no label is provided, a default will be assigned. Label *string `json:"label" tf:"label"` // The IDs of Linodes to apply this firewall to. // +optional Linodes []int64 `json:"linodes,omitempty" tf:"linodes"` // A firewall rule that specifies what outbound network traffic is allowed. // +optional Outbound []FirewallSpecOutbound `json:"outbound,omitempty" tf:"outbound"` // 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" tf:"outbound_policy"` // The status of the firewall. // +optional Status *string `json:"status,omitempty" tf:"status"` // An array of tags applied to this object. Tags are for organizational purposes only. // +optional Tags []string `json:"tags,omitempty" tf:"tags"` }
func (*FirewallSpecResource) DeepCopy ¶
func (in *FirewallSpecResource) DeepCopy() *FirewallSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpecResource.
func (*FirewallSpecResource) DeepCopyInto ¶
func (in *FirewallSpecResource) DeepCopyInto(out *FirewallSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallStatus ¶
type FirewallStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.