v1alpha2

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the infrastructure v1alpha2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	// ClusterFinalizer allows ReconcileLinodeCluster to clean up Linode resources associated
	// with LinodeCluster before removing it from the apiserver.
	ClusterFinalizer = "linodecluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// FirewallFinalizer allows ReconcileLinodeFirewall to clean up Linode resources associated
	// with LinodeFirewall before removing it from the apiserver.
	FirewallFinalizer = "linodefirewall.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// MachineFinalizer allows ReconcileLinodeMachine to clean up Linode resources associated
	// with LinodeMachine before removing it from the apiserver.
	MachineFinalizer = "linodemachine.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// ObjectStorageKeyFinalizer allows ReconcileLinodeObjectStorageKey to clean up Linode resources associated
	// with LinodeObjectStorageKey before removing it from the apiserver.
	ObjectStorageKeyFinalizer = "linodeobjectstoragekey.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// PlacementGroupFinalizer allows ReconcileLinodePG to clean up Linode resources associated
	// with LinodePlacementGroup before removing it from the apiserver.
	PlacementGroupFinalizer = "linodeplacementgroup.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// VPCFinalizer allows ReconcileLinodeVPC to clean up Linode resources associated
	// with LinodeVPC before removing it from the apiserver.
	VPCFinalizer = "linodevpc.infrastructure.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha2"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// The list of valid device slots that data device disks may attach to.
	// NOTE: sda is reserved for the OS device disk.
	LinodeMachineDevicePaths = []string{"sdb", "sdc", "sdd", "sde", "sdf", "sdg", "sdh"}

	// The maximum number of device disks allowed per [Configuration Profile per Linode’s Instance].
	//
	// [Configuration Profile per Linode’s Instance]: https://www.linode.com/docs/api/linode-instances/#configuration-profile-view
	LinodeMachineMaxDisk = 8

	// The maximum number of data device disks allowed in a Linode’s Instance's configuration profile.
	// NOTE: The first device disk is reserved for the OS disk
	LinodeMachineMaxDataDisk = LinodeMachineMaxDisk - 1
)
View Source
var (
	// The capability string indicating a region supports VPCs: [VPC Availability]
	//
	// [VPC Availability]: https://www.linode.com/docs/products/networking/vpc/#availability
	LinodeVPCCapability = "VPCs"

	// The IPv4 ranges that are excluded from VPC Subnets: [Valid IPv4 Ranges for a Subnet]
	//
	// [Valid IPv4 Ranges for a Subnet]: https://www.linode.com/docs/products/networking/vpc/guides/subnets/#valid-ipv4-ranges
	LinodeVPCSubnetReserved = mustParseIPSet("192.168.128.0/17")
)
View Source
var (
	// The capability string indicating a region supports Object Storage: [Object Storage Availability]
	//
	// [Object Storage Availability]: https://www.linode.com/docs/products/storage/object-storage/#availability
	LinodeObjectStorageCapability = "Object Storage"
)
View Source
var (
	// The capability string indicating a region supports PlacementGroups: [PlacementGroups Availability]
	//
	// [PlacementGroups Availability]:https://www.linode.com/docs/products/compute/compute-instances/guides/placement-groups/#availability
	LinodePlacementGroupCapability = "Placement Group"
)

Functions

This section is empty.

Types

type BucketAccessRef added in v0.6.0

type BucketAccessRef struct {
	BucketName  string `json:"bucketName"`
	Permissions string `json:"permissions"`
	Region      string `json:"region"`
}

func (*BucketAccessRef) DeepCopy added in v0.6.0

func (in *BucketAccessRef) DeepCopy() *BucketAccessRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketAccessRef.

func (*BucketAccessRef) DeepCopyInto added in v0.6.0

func (in *BucketAccessRef) DeepCopyInto(out *BucketAccessRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallRule added in v0.6.1

type FirewallRule struct {
	Action      string `json:"action"`
	Label       string `json:"label"`
	Description string `json:"description,omitempty"`
	Ports       string `json:"ports,omitempty"`
	// +kubebuilder:validation:Enum=TCP;UDP;ICMP;IPENCAP
	Protocol  linodego.NetworkProtocol `json:"protocol"`
	Addresses *NetworkAddresses        `json:"addresses"`
}

func (*FirewallRule) DeepCopy added in v0.6.1

func (in *FirewallRule) DeepCopy() *FirewallRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule.

func (*FirewallRule) DeepCopyInto added in v0.6.1

func (in *FirewallRule) DeepCopyInto(out *FirewallRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallStatusError added in v0.6.1

type FirewallStatusError string

FirewallStatusError defines errors states for Firewall objects.

const (
	// CreateFirewallError indicates that an error was encountered
	// when trying to create the Firewall.
	CreateFirewallError FirewallStatusError = "CreateError"

	// UpdateFirewallError indicates that an error was encountered
	// when trying to update the Firewall.
	UpdateFirewallError FirewallStatusError = "UpdateError"

	// DeleteFirewallError indicates that an error was encountered
	// when trying to delete the Firewall.
	DeleteFirewallError FirewallStatusError = "DeleteError"
)

type GeneratedSecret added in v0.6.2

type GeneratedSecret struct {
	// The name of the generated Secret. If not set, the name is formatted as "{name-of-obj-key}-obj-key".
	// +optional
	Name string `json:"name,omitempty"`
	// The namespace for the generated Secret. If not set, defaults to the namespace of the LinodeObjectStorageKey.
	// +optional
	Namespace string `json:"namespace,omitempty"`
	// The type of the generated Secret.
	// +kubebuilder:validation:Enum=Opaque;addons.cluster.x-k8s.io/resource-set
	// +kubebuilder:default=Opaque
	// +optional
	Type corev1.SecretType `json:"type,omitempty"`
	// How to format the data stored in the generated Secret.
	// It supports Go template syntax and interpolating the following values: .AccessKey, .SecretKey.
	// If no format is supplied then a generic one is used containing the values specified.
	// When SecretType is set to addons.cluster.x-k8s.io/resource-set, a .BucketEndpoint value is also available pointing to the location of the first bucket specified in BucketAccess.
	// +optional
	Format map[string]string `json:"format,omitempty"`
}

func (*GeneratedSecret) DeepCopy added in v0.6.2

func (in *GeneratedSecret) DeepCopy() *GeneratedSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedSecret.

func (*GeneratedSecret) DeepCopyInto added in v0.6.2

func (in *GeneratedSecret) DeepCopyInto(out *GeneratedSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceConfigInterfaceCreateOptions added in v0.6.0

type InstanceConfigInterfaceCreateOptions struct {
	IPAMAddress string `json:"ipamAddress,omitempty"`
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:MaxLength=63
	// +optional
	Label   string                          `json:"label,omitempty"`
	Purpose linodego.ConfigInterfacePurpose `json:"purpose,omitempty"`
	Primary bool                            `json:"primary,omitempty"`
	// +optional
	SubnetID *int `json:"subnetId,omitempty"`
	// +optional
	IPv4     *VPCIPv4 `json:"ipv4,omitempty"`
	IPRanges []string `json:"ipRanges,omitempty"`
}

InstanceConfigInterfaceCreateOptions defines network interface config

func (*InstanceConfigInterfaceCreateOptions) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigInterfaceCreateOptions.

func (*InstanceConfigInterfaceCreateOptions) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceConfiguration added in v0.6.0

type InstanceConfiguration struct {
	// Kernel is a Kernel ID to boot a Linode with. (e.g linode/latest-64bit)
	Kernel string `json:"kernel,omitempty"`
}

InstanceConfiguration defines the instance configuration

func (*InstanceConfiguration) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfiguration.

func (*InstanceConfiguration) DeepCopyInto added in v0.6.0

func (in *InstanceConfiguration) DeepCopyInto(out *InstanceConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceDisk added in v0.6.0

type InstanceDisk struct {
	// DiskID is the linode assigned ID of the disk
	DiskID int `json:"diskID,omitempty"`
	// Size of the disk in resource.Quantity notation
	// +kubebuilder:validation:Required
	Size resource.Quantity `json:"size"`
	// Label for the instance disk, if nothing is provided it will match the device name
	Label string `json:"label,omitempty"`
	// Filesystem of disk to provision, the default disk filesystem is "ext4"
	// +kubebuilder:validation:Enum=raw;swap;ext3;ext4;initrd
	Filesystem string `json:"filesystem,omitempty"`
}

InstanceDisk defines a list of disks to use for an instance

func (*InstanceDisk) DeepCopy added in v0.6.0

func (in *InstanceDisk) DeepCopy() *InstanceDisk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceDisk.

func (*InstanceDisk) DeepCopyInto added in v0.6.0

func (in *InstanceDisk) DeepCopyInto(out *InstanceDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceMetadataOptions added in v0.6.0

type InstanceMetadataOptions struct {
	// UserData expects a Base64-encoded string
	UserData string `json:"userData,omitempty"`
}

InstanceMetadataOptions defines metadata of instance

func (*InstanceMetadataOptions) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataOptions.

func (*InstanceMetadataOptions) DeepCopyInto added in v0.6.0

func (in *InstanceMetadataOptions) DeepCopyInto(out *InstanceMetadataOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeCluster

type LinodeCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeClusterSpec   `json:"spec,omitempty"`
	Status LinodeClusterStatus `json:"status,omitempty"`
}

LinodeCluster is the Schema for the linodeclusters API

func (*LinodeCluster) DeepCopy

func (in *LinodeCluster) DeepCopy() *LinodeCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeCluster.

func (*LinodeCluster) DeepCopyInto

func (in *LinodeCluster) DeepCopyInto(out *LinodeCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeCluster) DeepCopyObject

func (in *LinodeCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeCluster) GetConditions

func (lm *LinodeCluster) GetConditions() clusterv1.Conditions

func (*LinodeCluster) Hub

func (*LinodeCluster) Hub()

Hub marks LinodeCluster as a conversion hub.

func (*LinodeCluster) SetConditions

func (lm *LinodeCluster) SetConditions(conditions clusterv1.Conditions)

func (*LinodeCluster) SetupWebhookWithManager

func (r *LinodeCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodeCluster) ValidateCreate

func (r *LinodeCluster) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodeCluster) ValidateDelete

func (r *LinodeCluster) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodeCluster) ValidateUpdate

func (r *LinodeCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodeClusterList

type LinodeClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeCluster `json:"items"`
}

LinodeClusterList contains a list of LinodeCluster

func (*LinodeClusterList) DeepCopy

func (in *LinodeClusterList) DeepCopy() *LinodeClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterList.

func (*LinodeClusterList) DeepCopyInto

func (in *LinodeClusterList) DeepCopyInto(out *LinodeClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeClusterList) DeepCopyObject

func (in *LinodeClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeClusterList) Hub added in v0.6.0

func (*LinodeClusterList) Hub()

Hub marks LinodeClusterList as a conversion hub.

type LinodeClusterSpec

type LinodeClusterSpec struct {
	// The Linode Region the LinodeCluster lives in.
	Region string `json:"region"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the LinodeCluster control plane.
	// If ControlPlaneEndpoint is unset then the Nodebalancer ip will be used.
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// NetworkSpec encapsulates all things related to Linode network.
	// +optional
	Network NetworkSpec `json:"network"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +optional
	VPCRef *corev1.ObjectReference `json:"vpcRef,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this cluster. If not
	// supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`
}

LinodeClusterSpec defines the desired state of LinodeCluster

func (*LinodeClusterSpec) DeepCopy

func (in *LinodeClusterSpec) DeepCopy() *LinodeClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterSpec.

func (*LinodeClusterSpec) DeepCopyInto

func (in *LinodeClusterSpec) DeepCopyInto(out *LinodeClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeClusterStatus

type LinodeClusterStatus struct {
	// Ready denotes that the cluster (infrastructure) is ready.
	// +optional
	Ready bool `json:"ready"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the LinodeCluster and will contain a succinct value suitable
	// for machine interpretation.
	// +optional
	FailureReason *errors.ClusterStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the LinodeCluster and will contain a more verbose string suitable
	// for logging and human consumption.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the LinodeCluster.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

LinodeClusterStatus defines the observed state of LinodeCluster

func (*LinodeClusterStatus) DeepCopy

func (in *LinodeClusterStatus) DeepCopy() *LinodeClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterStatus.

func (*LinodeClusterStatus) DeepCopyInto

func (in *LinodeClusterStatus) DeepCopyInto(out *LinodeClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeClusterTemplate added in v0.6.0

type LinodeClusterTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec LinodeClusterTemplateSpec `json:"spec,omitempty"`
}

LinodeClusterTemplate is the Schema for the linodeclustertemplates API

func (*LinodeClusterTemplate) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplate.

func (*LinodeClusterTemplate) DeepCopyInto added in v0.6.0

func (in *LinodeClusterTemplate) DeepCopyInto(out *LinodeClusterTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeClusterTemplate) DeepCopyObject added in v0.6.0

func (in *LinodeClusterTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeClusterTemplate) Hub added in v0.6.0

func (*LinodeClusterTemplate) Hub()

Hub marks LinodeClusterTemplate as a conversion hub.

func (*LinodeClusterTemplate) SetupWebhookWithManager added in v0.6.0

func (r *LinodeClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

type LinodeClusterTemplateList added in v0.6.0

type LinodeClusterTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeClusterTemplate `json:"items"`
}

LinodeClusterTemplateList contains a list of LinodeClusterTemplate

func (*LinodeClusterTemplateList) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateList.

func (*LinodeClusterTemplateList) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeClusterTemplateList) DeepCopyObject added in v0.6.0

func (in *LinodeClusterTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeClusterTemplateList) Hub added in v0.6.0

Hub marks LinodeClusterTemplateList as a conversion hub.

type LinodeClusterTemplateResource added in v0.6.0

type LinodeClusterTemplateResource struct {
	Spec LinodeClusterSpec `json:"spec"`
}

LinodeClusterTemplateResource describes the data needed to create a LinodeCluster from a template.

func (*LinodeClusterTemplateResource) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateResource.

func (*LinodeClusterTemplateResource) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeClusterTemplateSpec added in v0.6.0

type LinodeClusterTemplateSpec struct {
	Template LinodeClusterTemplateResource `json:"template"`
}

LinodeClusterTemplateSpec defines the desired state of LinodeClusterTemplate

func (*LinodeClusterTemplateSpec) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateSpec.

func (*LinodeClusterTemplateSpec) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeFirewall added in v0.6.1

type LinodeFirewall struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeFirewallSpec   `json:"spec,omitempty"`
	Status LinodeFirewallStatus `json:"status,omitempty"`
}

LinodeFirewall is the Schema for the linodefirewalls API

func (*LinodeFirewall) DeepCopy added in v0.6.1

func (in *LinodeFirewall) DeepCopy() *LinodeFirewall

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeFirewall.

func (*LinodeFirewall) DeepCopyInto added in v0.6.1

func (in *LinodeFirewall) DeepCopyInto(out *LinodeFirewall)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeFirewall) DeepCopyObject added in v0.6.1

func (in *LinodeFirewall) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeFirewall) GetConditions added in v0.6.1

func (lfw *LinodeFirewall) GetConditions() clusterv1.Conditions

func (*LinodeFirewall) SetConditions added in v0.6.1

func (lfw *LinodeFirewall) SetConditions(conditions clusterv1.Conditions)

type LinodeFirewallList added in v0.6.1

type LinodeFirewallList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeFirewall `json:"items"`
}

LinodeFirewallList contains a list of LinodeFirewall

func (*LinodeFirewallList) DeepCopy added in v0.6.1

func (in *LinodeFirewallList) DeepCopy() *LinodeFirewallList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeFirewallList.

func (*LinodeFirewallList) DeepCopyInto added in v0.6.1

func (in *LinodeFirewallList) DeepCopyInto(out *LinodeFirewallList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeFirewallList) DeepCopyObject added in v0.6.1

func (in *LinodeFirewallList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LinodeFirewallSpec added in v0.6.1

type LinodeFirewallSpec struct {
	// +optional
	FirewallID *int `json:"firewallID,omitempty"`

	// +optional
	// +kubebuilder:default=false
	Enabled bool `json:"enabled,omitempty"`

	// +optional
	InboundRules []FirewallRule `json:"inboundRules,omitempty"`

	// InboundPolicy determines if traffic by default should be ACCEPTed or DROPped. Defaults to ACCEPT if not defined.
	// +kubebuilder:validation:Enum=ACCEPT;DROP
	// +kubebuilder:default=ACCEPT
	// +optional
	InboundPolicy string `json:"inboundPolicy,omitempty"`

	// +optional
	OutboundRules []FirewallRule `json:"outboundRules,omitempty"`

	// OutboundPolicy determines if traffic by default should be ACCEPTed or DROPped. Defaults to ACCEPT if not defined.
	// +kubebuilder:validation:Enum=ACCEPT;DROP
	// +kubebuilder:default=ACCEPT
	// +optional
	OutboundPolicy string `json:"outboundPolicy,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this Firewall. If not
	// supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`
}

LinodeFirewallSpec defines the desired state of LinodeFirewall

func (*LinodeFirewallSpec) DeepCopy added in v0.6.1

func (in *LinodeFirewallSpec) DeepCopy() *LinodeFirewallSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeFirewallSpec.

func (*LinodeFirewallSpec) DeepCopyInto added in v0.6.1

func (in *LinodeFirewallSpec) DeepCopyInto(out *LinodeFirewallSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeFirewallStatus added in v0.6.1

type LinodeFirewallStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the Firewall and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Firewall's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Firewalls
	// can be added as events to the Firewall object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *FirewallStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Firewall and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Firewall's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Firewalls
	// can be added as events to the Firewall object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the LinodeFirewall.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

LinodeFirewallStatus defines the observed state of LinodeFirewall

func (*LinodeFirewallStatus) DeepCopy added in v0.6.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeFirewallStatus.

func (*LinodeFirewallStatus) DeepCopyInto added in v0.6.1

func (in *LinodeFirewallStatus) DeepCopyInto(out *LinodeFirewallStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeMachine added in v0.6.0

type LinodeMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeMachineSpec   `json:"spec,omitempty"`
	Status LinodeMachineStatus `json:"status,omitempty"`
}

LinodeMachine is the Schema for the linodemachines API

func (*LinodeMachine) DeepCopy added in v0.6.0

func (in *LinodeMachine) DeepCopy() *LinodeMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachine.

func (*LinodeMachine) DeepCopyInto added in v0.6.0

func (in *LinodeMachine) DeepCopyInto(out *LinodeMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeMachine) DeepCopyObject added in v0.6.0

func (in *LinodeMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeMachine) GetConditions added in v0.6.0

func (lm *LinodeMachine) GetConditions() clusterv1.Conditions

func (*LinodeMachine) Hub added in v0.6.0

func (*LinodeMachine) Hub()

Hub marks LinodeMachine as a conversion hub.

func (*LinodeMachine) SetConditions added in v0.6.0

func (lm *LinodeMachine) SetConditions(conditions clusterv1.Conditions)

func (*LinodeMachine) SetupWebhookWithManager added in v0.6.0

func (r *LinodeMachine) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodeMachine) ValidateCreate added in v0.6.0

func (r *LinodeMachine) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodeMachine) ValidateDelete added in v0.6.0

func (r *LinodeMachine) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodeMachine) ValidateUpdate added in v0.6.0

func (r *LinodeMachine) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodeMachineList added in v0.6.0

type LinodeMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeMachine `json:"items"`
}

LinodeMachineList contains a list of LinodeMachine

func (*LinodeMachineList) DeepCopy added in v0.6.0

func (in *LinodeMachineList) DeepCopy() *LinodeMachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineList.

func (*LinodeMachineList) DeepCopyInto added in v0.6.0

func (in *LinodeMachineList) DeepCopyInto(out *LinodeMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeMachineList) DeepCopyObject added in v0.6.0

func (in *LinodeMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeMachineList) Hub added in v0.6.0

func (*LinodeMachineList) Hub()

Hub marks LinodeMachineList as a conversion hub.

type LinodeMachineSpec added in v0.6.0

type LinodeMachineSpec struct {
	// ProviderID is the unique identifier as specified by the cloud provider.
	// +optional
	ProviderID *string `json:"providerID,omitempty"`
	// InstanceID is the Linode instance ID for this machine.
	// +optional
	// +kubebuilder:deprecatedversion:warning="ProviderID deprecates InstanceID"
	InstanceID *int `json:"instanceID,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Region string `json:"region"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Type string `json:"type"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Group string `json:"group,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	RootPass string `json:"rootPass,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	AuthorizedKeys []string `json:"authorizedKeys,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	AuthorizedUsers []string `json:"authorizedUsers,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	BackupID int `json:"backupID,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Image string `json:"image,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Interfaces []InstanceConfigInterfaceCreateOptions `json:"interfaces,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	BackupsEnabled bool `json:"backupsEnabled,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	PrivateIP *bool `json:"privateIP,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Tags []string `json:"tags,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	FirewallID int `json:"firewallID,omitempty"`
	// OSDisk is configuration for the root disk that includes the OS,
	// if not specified this defaults to whatever space is not taken up by the DataDisks
	OSDisk *InstanceDisk `json:"osDisk,omitempty"`
	// DataDisks is a map of any additional disks to add to an instance,
	// The sum of these disks + the OSDisk must not be more than allowed on a linodes plan
	DataDisks map[string]*InstanceDisk `json:"dataDisks,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +kubebuilder:validation:Enum=enabled;disabled
	// DiskEncryption determines if the disks of the instance should be encrypted.
	DiskEncryption string `json:"diskEncryption,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials
	// to use for provisioning this machine. If not supplied then these
	// credentials will be used in-order:
	//   1. LinodeMachine
	//   2. Owner LinodeCluster
	//   3. Controller
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`

	// Configuration is the Akamai instance configuration OS,
	// if not specified this defaults to the default configuration associated to the instance.
	Configuration *InstanceConfiguration `json:"configuration,omitempty"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +optional
	// PlacementGroupRef is a reference to a placement group object. This makes the linode to be launched in that specific group.
	PlacementGroupRef *corev1.ObjectReference `json:"placementGroupRef,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +optional
	// FirewallRef is a reference to a firewall object. This makes the linode use the specified firewall.
	FirewallRef *corev1.ObjectReference `json:"firewallRef,omitempty"`
}

LinodeMachineSpec defines the desired state of LinodeMachine

func (*LinodeMachineSpec) DeepCopy added in v0.6.0

func (in *LinodeMachineSpec) DeepCopy() *LinodeMachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineSpec.

func (*LinodeMachineSpec) DeepCopyInto added in v0.6.0

func (in *LinodeMachineSpec) DeepCopyInto(out *LinodeMachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeMachineStatus added in v0.6.0

type LinodeMachineStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// Addresses contains the Linode instance associated addresses.
	Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"`

	// InstanceState is the state of the Linode instance for this machine.
	// +optional
	InstanceState *linodego.InstanceStatus `json:"instanceState,omitempty"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the LinodeMachine.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

LinodeMachineStatus defines the observed state of LinodeMachine

func (*LinodeMachineStatus) DeepCopy added in v0.6.0

func (in *LinodeMachineStatus) DeepCopy() *LinodeMachineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineStatus.

func (*LinodeMachineStatus) DeepCopyInto added in v0.6.0

func (in *LinodeMachineStatus) DeepCopyInto(out *LinodeMachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeMachineTemplate added in v0.6.0

type LinodeMachineTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec LinodeMachineTemplateSpec `json:"spec,omitempty"`
}

LinodeMachineTemplate is the Schema for the linodemachinetemplates API

func (*LinodeMachineTemplate) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplate.

func (*LinodeMachineTemplate) DeepCopyInto added in v0.6.0

func (in *LinodeMachineTemplate) DeepCopyInto(out *LinodeMachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeMachineTemplate) DeepCopyObject added in v0.6.0

func (in *LinodeMachineTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeMachineTemplate) Hub added in v0.6.0

func (*LinodeMachineTemplate) Hub()

Hub marks LinodeMachineTemplate as a conversion hub.

func (*LinodeMachineTemplate) SetupWebhookWithManager added in v0.6.0

func (r *LinodeMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

type LinodeMachineTemplateList added in v0.6.0

type LinodeMachineTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeMachineTemplate `json:"items"`
}

LinodeMachineTemplateList contains a list of LinodeMachineTemplate

func (*LinodeMachineTemplateList) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateList.

func (*LinodeMachineTemplateList) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeMachineTemplateList) DeepCopyObject added in v0.6.0

func (in *LinodeMachineTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeMachineTemplateList) Hub added in v0.6.0

Hub marks LinodeMachineTemplateList as a conversion hub.

type LinodeMachineTemplateResource added in v0.6.0

type LinodeMachineTemplateResource struct {
	Spec LinodeMachineSpec `json:"spec"`
}

LinodeMachineTemplateResource describes the data needed to create a LinodeMachine from a template.

func (*LinodeMachineTemplateResource) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateResource.

func (*LinodeMachineTemplateResource) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeMachineTemplateSpec added in v0.6.0

type LinodeMachineTemplateSpec struct {
	Template LinodeMachineTemplateResource `json:"template"`
}

LinodeMachineTemplateSpec defines the desired state of LinodeMachineTemplate

func (*LinodeMachineTemplateSpec) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateSpec.

func (*LinodeMachineTemplateSpec) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeNBPortConfig

type LinodeNBPortConfig struct {
	// port configured on the NodeBalancer. It must be valid port range (1-65535).
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	Port int `json:"port"`
	// nodeBalancerConfigID is the config ID of port's NodeBalancer config.
	// +optional
	NodeBalancerConfigID *int `json:"nodeBalancerConfigID,omitempty"`
}

func (*LinodeNBPortConfig) DeepCopy

func (in *LinodeNBPortConfig) DeepCopy() *LinodeNBPortConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeNBPortConfig.

func (*LinodeNBPortConfig) DeepCopyInto

func (in *LinodeNBPortConfig) DeepCopyInto(out *LinodeNBPortConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeObjectStorageBucket added in v0.6.0

type LinodeObjectStorageBucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeObjectStorageBucketSpec   `json:"spec,omitempty"`
	Status LinodeObjectStorageBucketStatus `json:"status,omitempty"`
}

LinodeObjectStorageBucket is the Schema for the linodeobjectstoragebuckets API

func (*LinodeObjectStorageBucket) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucket.

func (*LinodeObjectStorageBucket) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeObjectStorageBucket) DeepCopyObject added in v0.6.0

func (in *LinodeObjectStorageBucket) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeObjectStorageBucket) GetConditions added in v0.6.0

func (b *LinodeObjectStorageBucket) GetConditions() clusterv1.Conditions

func (*LinodeObjectStorageBucket) Hub added in v0.6.0

Hub marks LinodeObjectStorageBucketS as a conversion hub.

func (*LinodeObjectStorageBucket) SetConditions added in v0.6.0

func (b *LinodeObjectStorageBucket) SetConditions(conditions clusterv1.Conditions)

func (*LinodeObjectStorageBucket) SetupWebhookWithManager added in v0.6.0

func (r *LinodeObjectStorageBucket) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodeObjectStorageBucket) ValidateCreate added in v0.6.0

func (r *LinodeObjectStorageBucket) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodeObjectStorageBucket) ValidateDelete added in v0.6.0

func (r *LinodeObjectStorageBucket) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodeObjectStorageBucket) ValidateUpdate added in v0.6.0

func (r *LinodeObjectStorageBucket) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodeObjectStorageBucketList added in v0.6.0

type LinodeObjectStorageBucketList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeObjectStorageBucket `json:"items"`
}

LinodeObjectStorageBucketList contains a list of LinodeObjectStorageBucket

func (*LinodeObjectStorageBucketList) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketList.

func (*LinodeObjectStorageBucketList) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeObjectStorageBucketList) DeepCopyObject added in v0.6.0

func (in *LinodeObjectStorageBucketList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LinodeObjectStorageBucketSpec added in v0.6.0

type LinodeObjectStorageBucketSpec struct {

	// Region is the ID of the Object Storage region for the bucket.
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Region string `json:"region"`

	// Acl sets the Access Control Level of the bucket using a canned ACL string
	// +optional
	// +kubebuilder:default=private
	// +kubebuilder:validation:Enum=private;public-read;authenticated-read;public-read-write
	ACL ObjectStorageACL `json:"acl,omitempty"`

	// corsEnabled enables for all origins in the bucket .If set to false, CORS is disabled for all origins in the bucket
	// +optional
	// +kubebuilder:default=true
	CorsEnabled bool `json:"corsEnabled,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning the bucket.
	// If not supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef"`
}

LinodeObjectStorageBucketSpec defines the desired state of LinodeObjectStorageBucket

func (*LinodeObjectStorageBucketSpec) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketSpec.

func (*LinodeObjectStorageBucketSpec) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeObjectStorageBucketStatus added in v0.6.0

type LinodeObjectStorageBucketStatus struct {

	// Ready denotes that the bucket has been provisioned along with access keys.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Object Storage Bucket and will contain a verbose string
	// suitable for logging and human consumption.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions specify the service state of the LinodeObjectStorageBucket.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`

	// Hostname is the address assigned to the bucket.
	// +optional
	Hostname *string `json:"hostname,omitempty"`

	// CreationTime specifies the creation timestamp for the bucket.
	// +optional
	CreationTime *metav1.Time `json:"creationTime,omitempty"`
}

LinodeObjectStorageBucketStatus defines the observed state of LinodeObjectStorageBucket

func (*LinodeObjectStorageBucketStatus) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketStatus.

func (*LinodeObjectStorageBucketStatus) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeObjectStorageKey added in v0.6.0

type LinodeObjectStorageKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeObjectStorageKeySpec   `json:"spec,omitempty"`
	Status LinodeObjectStorageKeyStatus `json:"status,omitempty"`
}

LinodeObjectStorageKey is the Schema for the linodeobjectstoragekeys API

func (*LinodeObjectStorageKey) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKey.

func (*LinodeObjectStorageKey) DeepCopyInto added in v0.6.0

func (in *LinodeObjectStorageKey) DeepCopyInto(out *LinodeObjectStorageKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeObjectStorageKey) DeepCopyObject added in v0.6.0

func (in *LinodeObjectStorageKey) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeObjectStorageKey) Default added in v0.6.2

func (r *LinodeObjectStorageKey) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*LinodeObjectStorageKey) GetConditions added in v0.6.0

func (b *LinodeObjectStorageKey) GetConditions() clusterv1.Conditions

func (*LinodeObjectStorageKey) SetConditions added in v0.6.0

func (b *LinodeObjectStorageKey) SetConditions(conditions clusterv1.Conditions)

func (*LinodeObjectStorageKey) SetupWebhookWithManager added in v0.6.1

func (r *LinodeObjectStorageKey) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodeObjectStorageKey) ValidateCreate added in v0.6.1

func (r *LinodeObjectStorageKey) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodeObjectStorageKey) ValidateDelete added in v0.6.1

func (r *LinodeObjectStorageKey) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodeObjectStorageKey) ValidateUpdate added in v0.6.1

func (r *LinodeObjectStorageKey) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodeObjectStorageKeyList added in v0.6.0

type LinodeObjectStorageKeyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeObjectStorageKey `json:"items"`
}

LinodeObjectStorageKeyList contains a list of LinodeObjectStorageKey

func (*LinodeObjectStorageKeyList) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeyList.

func (*LinodeObjectStorageKeyList) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeObjectStorageKeyList) DeepCopyObject added in v0.6.0

func (in *LinodeObjectStorageKeyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LinodeObjectStorageKeySpec added in v0.6.0

type LinodeObjectStorageKeySpec struct {
	// BucketAccess is the list of object storage bucket labels which can be accessed using the key
	// +kubebuilder:validation:MinItems=1
	BucketAccess []BucketAccessRef `json:"bucketAccess"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for generating access keys.
	// If not supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`

	// KeyGeneration may be modified to trigger a rotation of the access key.
	// +kubebuilder:default=0
	KeyGeneration int `json:"keyGeneration"`

	// GeneratedSecret configures the Secret to generate containing access key details.
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	GeneratedSecret `json:"generatedSecret"`

	// SecretType instructs the controller what type of secret to generate containing access key details.
	// Deprecated: Use generatedSecret.type.
	// +kubebuilder:validation:Enum=Opaque;addons.cluster.x-k8s.io/resource-set
	// +kubebuilder:deprecatedversion:warning="secretType deprecated by generatedSecret.type"
	// +optional
	SecretType corev1.SecretType `json:"secretType,omitempty"`

	// SecretDataFormat instructs the controller how to format the data stored in the secret containing access key details.
	// Deprecated: Use generatedSecret.format.
	// +kubebuilder:deprecatedversion:warning="secretDataFormat deprecated by generatedSecret.format"
	// +optional
	SecretDataFormat map[string]string `json:"secretDataFormat,omitempty"`
}

LinodeObjectStorageKeySpec defines the desired state of LinodeObjectStorageKey

func (*LinodeObjectStorageKeySpec) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeySpec.

func (*LinodeObjectStorageKeySpec) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeObjectStorageKeyStatus added in v0.6.0

type LinodeObjectStorageKeyStatus struct {
	// Ready denotes that the key has been provisioned.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Object Storage Key and will contain a verbose string
	// suitable for logging and human consumption.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions specify the service state of the LinodeObjectStorageKey.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`

	// CreationTime specifies the creation timestamp for the secret.
	// +optional
	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	// LastKeyGeneration tracks the last known value of .spec.keyGeneration.
	// +optional
	LastKeyGeneration *int `json:"lastKeyGeneration,omitempty"`

	// AccessKeyRef stores the ID for Object Storage key provisioned.
	// +optional
	AccessKeyRef *int `json:"accessKeyRef,omitempty"`
}

LinodeObjectStorageKeyStatus defines the observed state of LinodeObjectStorageKey

func (*LinodeObjectStorageKeyStatus) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeyStatus.

func (*LinodeObjectStorageKeyStatus) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodePlacementGroup added in v0.6.0

type LinodePlacementGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodePlacementGroupSpec   `json:"spec,omitempty"`
	Status LinodePlacementGroupStatus `json:"status,omitempty"`
}

LinodePlacementGroup is the Schema for the linodeplacementgroups API

func (*LinodePlacementGroup) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodePlacementGroup.

func (*LinodePlacementGroup) DeepCopyInto added in v0.6.0

func (in *LinodePlacementGroup) DeepCopyInto(out *LinodePlacementGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodePlacementGroup) DeepCopyObject added in v0.6.0

func (in *LinodePlacementGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodePlacementGroup) GetConditions added in v0.6.0

func (lm *LinodePlacementGroup) GetConditions() clusterv1.Conditions

func (*LinodePlacementGroup) SetConditions added in v0.6.0

func (lm *LinodePlacementGroup) SetConditions(conditions clusterv1.Conditions)

func (*LinodePlacementGroup) SetupWebhookWithManager added in v0.6.0

func (r *LinodePlacementGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodePlacementGroup) ValidateCreate added in v0.6.0

func (r *LinodePlacementGroup) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodePlacementGroup) ValidateDelete added in v0.6.0

func (r *LinodePlacementGroup) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodePlacementGroup) ValidateUpdate added in v0.6.0

func (r *LinodePlacementGroup) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodePlacementGroupList added in v0.6.0

type LinodePlacementGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodePlacementGroup `json:"items"`
}

LinodePlacementGroupList contains a list of LinodePlacementGroup

func (*LinodePlacementGroupList) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodePlacementGroupList.

func (*LinodePlacementGroupList) DeepCopyInto added in v0.6.0

func (in *LinodePlacementGroupList) DeepCopyInto(out *LinodePlacementGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodePlacementGroupList) DeepCopyObject added in v0.6.0

func (in *LinodePlacementGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LinodePlacementGroupSpec added in v0.6.0

type LinodePlacementGroupSpec struct {
	// +optional
	PGID *int `json:"pgID,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Region string `json:"region"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +kubebuilder:default="strict"
	// +kubebuilder:validation:Enum=strict;flexible
	// +optional
	PlacementGroupPolicy string `json:"placementGroupPolicy"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +kubebuilder:default="anti_affinity:local"
	// +kubebuilder:validation:Enum="anti_affinity:local"
	// +optional
	PlacementGroupType string `json:"placementGroupType"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this PlacementGroup. If not
	// supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`
}

LinodePlacementGroupSpec defines the desired state of LinodePlacementGroup

func (*LinodePlacementGroupSpec) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodePlacementGroupSpec.

func (*LinodePlacementGroupSpec) DeepCopyInto added in v0.6.0

func (in *LinodePlacementGroupSpec) DeepCopyInto(out *LinodePlacementGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodePlacementGroupStatus added in v0.6.0

type LinodePlacementGroupStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the PlacementGroup and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the PlacementGroup's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of PlacementGroups
	// can be added as events to the PlacementGroup object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *LinodePlacementGroupStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the PlacementGroup and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the PlacementGroup's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of PlacementGroups
	// can be added as events to the PlacementGroup object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the LinodePlacementGroup.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

LinodePlacementGroupStatus defines the observed state of LinodePlacementGroup

func (*LinodePlacementGroupStatus) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodePlacementGroupStatus.

func (*LinodePlacementGroupStatus) DeepCopyInto added in v0.6.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodePlacementGroupStatusError added in v0.6.0

type LinodePlacementGroupStatusError string

LinodePlacementGroupStatusError defines errors states for PlacementGroup objects.

const (
	// CreatePlacementGroupError indicates that an error was encountered
	// when trying to create the PlacementGroup.
	CreatePlacementGroupError LinodePlacementGroupStatusError = "CreateError"

	// DeletePlacementGroupError indicates that an error was encountered
	// when trying to delete the PlacementGroup.
	DeletePlacementGroupError LinodePlacementGroupStatusError = "DeleteError"
)

type LinodeVPC added in v0.6.0

type LinodeVPC struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinodeVPCSpec   `json:"spec,omitempty"`
	Status LinodeVPCStatus `json:"status,omitempty"`
}

LinodeVPC is the Schema for the linodemachines API

func (*LinodeVPC) DeepCopy added in v0.6.0

func (in *LinodeVPC) DeepCopy() *LinodeVPC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeVPC.

func (*LinodeVPC) DeepCopyInto added in v0.6.0

func (in *LinodeVPC) DeepCopyInto(out *LinodeVPC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeVPC) DeepCopyObject added in v0.6.0

func (in *LinodeVPC) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeVPC) GetConditions added in v0.6.0

func (lv *LinodeVPC) GetConditions() clusterv1.Conditions

func (*LinodeVPC) Hub added in v0.6.0

func (*LinodeVPC) Hub()

Hub marks LinodeMachine as a conversion hub.

func (*LinodeVPC) SetConditions added in v0.6.0

func (lv *LinodeVPC) SetConditions(conditions clusterv1.Conditions)

func (*LinodeVPC) SetupWebhookWithManager added in v0.6.0

func (r *LinodeVPC) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*LinodeVPC) ValidateCreate added in v0.6.0

func (r *LinodeVPC) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LinodeVPC) ValidateDelete added in v0.6.0

func (r *LinodeVPC) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LinodeVPC) ValidateUpdate added in v0.6.0

func (r *LinodeVPC) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LinodeVPCList added in v0.6.0

type LinodeVPCList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LinodeVPC `json:"items"`
}

LinodeVPCList contains a list of LinodeVPC

func (*LinodeVPCList) DeepCopy added in v0.6.0

func (in *LinodeVPCList) DeepCopy() *LinodeVPCList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeVPCList.

func (*LinodeVPCList) DeepCopyInto added in v0.6.0

func (in *LinodeVPCList) DeepCopyInto(out *LinodeVPCList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LinodeVPCList) DeepCopyObject added in v0.6.0

func (in *LinodeVPCList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LinodeVPCList) Hub added in v0.6.0

func (*LinodeVPCList) Hub()

Hub marks LinodeVPCList as a conversion hub.

type LinodeVPCSpec added in v0.6.0

type LinodeVPCSpec struct {
	// +optional
	VPCID *int `json:"vpcID,omitempty"`
	// +optional
	Description string `json:"description,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	Region string `json:"region"`
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	// +optional
	Subnets []VPCSubnetCreateOptions `json:"subnets,omitempty"`

	// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this VPC. If not
	// supplied then the credentials of the controller will be used.
	// +optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`
}

LinodeVPCSpec defines the desired state of LinodeVPC

func (*LinodeVPCSpec) DeepCopy added in v0.6.0

func (in *LinodeVPCSpec) DeepCopy() *LinodeVPCSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeVPCSpec.

func (*LinodeVPCSpec) DeepCopyInto added in v0.6.0

func (in *LinodeVPCSpec) DeepCopyInto(out *LinodeVPCSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinodeVPCStatus added in v0.6.0

type LinodeVPCStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the VPC and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the VPC's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of VPCs
	// can be added as events to the VPC object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *VPCStatusError `json:"failureReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the VPC and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the VPC's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of VPCs
	// can be added as events to the VPC object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the LinodeVPC.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

LinodeVPCStatus defines the observed state of LinodeVPC

func (*LinodeVPCStatus) DeepCopy added in v0.6.0

func (in *LinodeVPCStatus) DeepCopy() *LinodeVPCStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeVPCStatus.

func (*LinodeVPCStatus) DeepCopyInto added in v0.6.0

func (in *LinodeVPCStatus) DeepCopyInto(out *LinodeVPCStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAddresses added in v0.6.1

type NetworkAddresses struct {
	IPv4 *[]string `json:"ipv4,omitempty"`
	IPv6 *[]string `json:"ipv6,omitempty"`
}

NetworkAddresses holds a list of IPv4 and IPv6 addresses We don't use linodego here since kubebuilder can't generate DeepCopyInto for linodego.NetworkAddresses

func (*NetworkAddresses) DeepCopy added in v0.6.1

func (in *NetworkAddresses) DeepCopy() *NetworkAddresses

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAddresses.

func (*NetworkAddresses) DeepCopyInto added in v0.6.1

func (in *NetworkAddresses) DeepCopyInto(out *NetworkAddresses)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkSpec

type NetworkSpec struct {
	// LoadBalancerType is the type of load balancer to use, defaults to NodeBalancer if not otherwise set
	// +kubebuilder:validation:Enum=NodeBalancer;dns;external
	// +kubebuilder:default=NodeBalancer
	// +optional
	LoadBalancerType string `json:"loadBalancerType,omitempty"`
	// DNSProvider is provider who manages the domain
	// Ignored if the LoadBalancerType is set to anything other than dns
	// If not set, defaults linode dns
	// +kubebuilder:validation:Enum=linode;akamai
	// +optional
	DNSProvider string `json:"dnsProvider,omitempty"`
	// DNSRootDomain is the root domain used to create a DNS entry for the control-plane endpoint
	// Ignored if the LoadBalancerType is set to anything other than dns
	// +optional
	DNSRootDomain string `json:"dnsRootDomain,omitempty"`
	// DNSUniqueIdentifier is the unique identifier for the DNS. This let clusters with the same name have unique
	// DNS record
	// Ignored if the LoadBalancerType is set to anything other than dns
	// If not set, CAPL will create a unique identifier for you
	// +optional
	DNSUniqueIdentifier string `json:"dnsUniqueIdentifier,omitempty"`
	// DNSTTLSec is the TTL for the domain record
	// Ignored if the LoadBalancerType is set to anything other than dns
	// If not set, defaults to 30
	// +optional
	DNSTTLSec int `json:"dnsTTLsec,omitempty"`
	// DNSSubDomainOverride is used to override CAPL's construction of the controlplane endpoint
	// If set, this will override the DNS subdomain from <clustername>-<uniqueid>.<rootdomain> to <overridevalue>.<rootdomain>
	// +optional
	DNSSubDomainOverride string `json:"dnsSubDomainOverride,omitempty"`
	// apiserverLoadBalancerPort used by the api server. It must be valid ports range (1-65535).
	// If omitted, default value is 6443.
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	// +optional
	ApiserverLoadBalancerPort int `json:"apiserverLoadBalancerPort,omitempty"`
	// NodeBalancerID is the id of NodeBalancer.
	// +optional
	NodeBalancerID *int `json:"nodeBalancerID,omitempty"`
	// apiserverNodeBalancerConfigID is the config ID of api server NodeBalancer config.
	// +optional
	ApiserverNodeBalancerConfigID *int `json:"apiserverNodeBalancerConfigID,omitempty"`
	// additionalPorts contains list of ports to be configured with NodeBalancer.
	// +optional
	AdditionalPorts []LinodeNBPortConfig `json:"additionalPorts,omitempty"`
}

NetworkSpec encapsulates Linode networking resources.

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ObjectStorageACL added in v0.6.0

type ObjectStorageACL string
const (
	ACLPrivate           ObjectStorageACL = "private"
	ACLPublicRead        ObjectStorageACL = "public-read"
	ACLAuthenticatedRead ObjectStorageACL = "authenticated-read"
	ACLPublicReadWrite   ObjectStorageACL = "public-read-write"
)

ObjectStorageACL options represent the access control level of a bucket.

type VPCIPv4 added in v0.6.0

type VPCIPv4 struct {
	VPC     string `json:"vpc,omitempty"`
	NAT1To1 string `json:"nat1to1,omitempty"`
}

VPCIPv4 defines VPC IPV4 settings

func (*VPCIPv4) DeepCopy added in v0.6.0

func (in *VPCIPv4) DeepCopy() *VPCIPv4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4.

func (*VPCIPv4) DeepCopyInto added in v0.6.0

func (in *VPCIPv4) DeepCopyInto(out *VPCIPv4)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VPCStatusError added in v0.6.0

type VPCStatusError string

VPCStatusError defines errors states for VPC objects.

const (
	// CreateVPCError indicates that an error was encountered
	// when trying to create the VPC.
	CreateVPCError VPCStatusError = "CreateError"

	// UpdateVPCError indicates that an error was encountered
	// when trying to update the VPC.
	UpdateVPCError VPCStatusError = "UpdateError"

	// DeleteVPCError indicates that an error was encountered
	// when trying to delete the VPC.
	DeleteVPCError VPCStatusError = "DeleteError"
)

type VPCSubnetCreateOptions added in v0.6.0

type VPCSubnetCreateOptions struct {
	// +kubebuilder:validation:MinLength=3
	// +kubebuilder:validation:MaxLength=63
	// +optional
	Label string `json:"label,omitempty"`
	// +optional
	IPv4 string `json:"ipv4,omitempty"`
}

VPCSubnetCreateOptions defines subnet options

func (*VPCSubnetCreateOptions) DeepCopy added in v0.6.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSubnetCreateOptions.

func (*VPCSubnetCreateOptions) DeepCopyInto added in v0.6.0

func (in *VPCSubnetCreateOptions) DeepCopyInto(out *VPCSubnetCreateOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL