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
- Variables
- type AddressSet
- type AddressSetList
- type AddressSetSpec
- type AddressSetStatus
- type BucketAccessRef
- type FirewallRule
- type FirewallRuleList
- type FirewallRuleSpec
- type FirewallRuleStatus
- type FirewallStatusError
- type GeneratedSecret
- type IPv6CreateOptions
- type InstanceConfigInterfaceCreateOptions
- type InstanceConfiguration
- type InstanceDisk
- type InstanceMetadataOptions
- type LinodeCluster
- func (in *LinodeCluster) DeepCopy() *LinodeCluster
- func (in *LinodeCluster) DeepCopyInto(out *LinodeCluster)
- func (in *LinodeCluster) DeepCopyObject() runtime.Object
- func (lc *LinodeCluster) GetConditions() []metav1.Condition
- func (lc *LinodeCluster) GetV1Beta2Conditions() []metav1.Condition
- func (*LinodeCluster) Hub()
- func (lc *LinodeCluster) SetConditions(conditions []metav1.Condition)
- func (lc *LinodeCluster) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeClusterList
- type LinodeClusterSpec
- type LinodeClusterStatus
- type LinodeClusterTemplate
- type LinodeClusterTemplateList
- type LinodeClusterTemplateResource
- type LinodeClusterTemplateSpec
- type LinodeFirewall
- func (in *LinodeFirewall) DeepCopy() *LinodeFirewall
- func (in *LinodeFirewall) DeepCopyInto(out *LinodeFirewall)
- func (in *LinodeFirewall) DeepCopyObject() runtime.Object
- func (lfw *LinodeFirewall) GetConditions() []metav1.Condition
- func (lfw *LinodeFirewall) GetV1Beta2Conditions() []metav1.Condition
- func (lfw *LinodeFirewall) SetConditions(conditions []metav1.Condition)
- func (lfw *LinodeFirewall) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeFirewallList
- type LinodeFirewallSpec
- type LinodeFirewallStatus
- type LinodeMachine
- func (in *LinodeMachine) DeepCopy() *LinodeMachine
- func (in *LinodeMachine) DeepCopyInto(out *LinodeMachine)
- func (in *LinodeMachine) DeepCopyObject() runtime.Object
- func (lm *LinodeMachine) GetConditions() []metav1.Condition
- func (lm *LinodeMachine) GetV1Beta2Conditions() []metav1.Condition
- func (*LinodeMachine) Hub()
- func (lm *LinodeMachine) SetConditions(conditions []metav1.Condition)
- func (lm *LinodeMachine) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeMachineList
- type LinodeMachineSpec
- type LinodeMachineStatus
- type LinodeMachineTemplate
- func (in *LinodeMachineTemplate) DeepCopy() *LinodeMachineTemplate
- func (in *LinodeMachineTemplate) DeepCopyInto(out *LinodeMachineTemplate)
- func (in *LinodeMachineTemplate) DeepCopyObject() runtime.Object
- func (lmt *LinodeMachineTemplate) GetConditions() []metav1.Condition
- func (lmt *LinodeMachineTemplate) GetV1Beta2Conditions() []metav1.Condition
- func (*LinodeMachineTemplate) Hub()
- func (lmt *LinodeMachineTemplate) SetConditions(conditions []metav1.Condition)
- func (lmt *LinodeMachineTemplate) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeMachineTemplateList
- type LinodeMachineTemplateResource
- type LinodeMachineTemplateSpec
- type LinodeMachineTemplateStatus
- type LinodeNBPortConfig
- type LinodeObjectStorageBucket
- func (in *LinodeObjectStorageBucket) DeepCopy() *LinodeObjectStorageBucket
- func (in *LinodeObjectStorageBucket) DeepCopyInto(out *LinodeObjectStorageBucket)
- func (in *LinodeObjectStorageBucket) DeepCopyObject() runtime.Object
- func (losb *LinodeObjectStorageBucket) GetConditions() []metav1.Condition
- func (losb *LinodeObjectStorageBucket) GetV1Beta2Conditions() []metav1.Condition
- func (*LinodeObjectStorageBucket) Hub()
- func (losb *LinodeObjectStorageBucket) SetConditions(conditions []metav1.Condition)
- func (losb *LinodeObjectStorageBucket) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeObjectStorageBucketList
- type LinodeObjectStorageBucketSpec
- type LinodeObjectStorageBucketStatus
- type LinodeObjectStorageKey
- func (in *LinodeObjectStorageKey) DeepCopy() *LinodeObjectStorageKey
- func (in *LinodeObjectStorageKey) DeepCopyInto(out *LinodeObjectStorageKey)
- func (in *LinodeObjectStorageKey) DeepCopyObject() runtime.Object
- func (losk *LinodeObjectStorageKey) GetConditions() []metav1.Condition
- func (losk *LinodeObjectStorageKey) GetV1Beta2Conditions() []metav1.Condition
- func (losk *LinodeObjectStorageKey) SetConditions(conditions []metav1.Condition)
- func (losk *LinodeObjectStorageKey) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeObjectStorageKeyList
- type LinodeObjectStorageKeySpec
- type LinodeObjectStorageKeyStatus
- type LinodePlacementGroup
- func (in *LinodePlacementGroup) DeepCopy() *LinodePlacementGroup
- func (in *LinodePlacementGroup) DeepCopyInto(out *LinodePlacementGroup)
- func (in *LinodePlacementGroup) DeepCopyObject() runtime.Object
- func (lpg *LinodePlacementGroup) GetConditions() []metav1.Condition
- func (lpg *LinodePlacementGroup) GetV1Beta2Conditions() []metav1.Condition
- func (lpg *LinodePlacementGroup) SetConditions(conditions []metav1.Condition)
- func (lpg *LinodePlacementGroup) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodePlacementGroupList
- type LinodePlacementGroupSpec
- type LinodePlacementGroupStatus
- type LinodePlacementGroupStatusError
- type LinodeVPC
- func (in *LinodeVPC) DeepCopy() *LinodeVPC
- func (in *LinodeVPC) DeepCopyInto(out *LinodeVPC)
- func (in *LinodeVPC) DeepCopyObject() runtime.Object
- func (lv *LinodeVPC) GetConditions() []metav1.Condition
- func (lv *LinodeVPC) GetV1Beta2Conditions() []metav1.Condition
- func (*LinodeVPC) Hub()
- func (lv *LinodeVPC) SetConditions(conditions []metav1.Condition)
- func (lv *LinodeVPC) SetV1Beta2Conditions(conditions []metav1.Condition)
- type LinodeVPCList
- type LinodeVPCSpec
- type LinodeVPCStatus
- type NetworkAddresses
- type NetworkSpec
- type ObjectStorageACL
- type ObjectStore
- type VPCCreateOptionsIPv6
- type VPCIPv4
- type VPCStatusError
- type VPCSubnetCreateOptions
- type VPCSubnetCreateOptionsIPv6
Constants ¶
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" DefaultConditionReason = "None" )
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" )
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" )
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" )
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" )
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 ¶
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 )
Functions ¶
This section is empty.
Types ¶
type AddressSet ¶ added in v0.8.0
type AddressSet struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AddressSetSpec `json:"spec,omitempty"`
Status AddressSetStatus `json:"status,omitempty"`
}
AddressSet is the Schema for the addresssets API
func (*AddressSet) DeepCopy ¶ added in v0.8.0
func (in *AddressSet) DeepCopy() *AddressSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSet.
func (*AddressSet) DeepCopyInto ¶ added in v0.8.0
func (in *AddressSet) DeepCopyInto(out *AddressSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressSet) DeepCopyObject ¶ added in v0.8.0
func (in *AddressSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressSetList ¶ added in v0.8.0
type AddressSetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AddressSet `json:"items"`
}
AddressSetList contains a list of AddressSet
func (*AddressSetList) DeepCopy ¶ added in v0.8.0
func (in *AddressSetList) DeepCopy() *AddressSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSetList.
func (*AddressSetList) DeepCopyInto ¶ added in v0.8.0
func (in *AddressSetList) DeepCopyInto(out *AddressSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressSetList) DeepCopyObject ¶ added in v0.8.0
func (in *AddressSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressSetSpec ¶ added in v0.8.0
type AddressSetSpec struct {
IPv4 *[]string `json:"ipv4,omitempty"`
IPv6 *[]string `json:"ipv6,omitempty"`
}
AddressSetSpec defines the desired state of AddressSet
func (*AddressSetSpec) DeepCopy ¶ added in v0.8.0
func (in *AddressSetSpec) DeepCopy() *AddressSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSetSpec.
func (*AddressSetSpec) DeepCopyInto ¶ added in v0.8.0
func (in *AddressSetSpec) DeepCopyInto(out *AddressSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressSetStatus ¶ added in v0.8.0
type AddressSetStatus struct {
}
AddressSetStatus defines the observed state of AddressSet
func (*AddressSetStatus) DeepCopy ¶ added in v0.8.0
func (in *AddressSetStatus) DeepCopy() *AddressSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSetStatus.
func (*AddressSetStatus) DeepCopyInto ¶ added in v0.8.0
func (in *AddressSetStatus) DeepCopyInto(out *AddressSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FirewallRuleSpec `json:"spec,omitempty"`
Status FirewallRuleStatus `json:"status,omitempty"`
}
FirewallRule is the Schema for the firewallrules API
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.
func (*FirewallRule) DeepCopyObject ¶ added in v0.8.0
func (in *FirewallRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FirewallRuleList ¶ added in v0.8.0
type FirewallRuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []FirewallRule `json:"items"`
}
FirewallRuleList contains a list of FirewallRule
func (*FirewallRuleList) DeepCopy ¶ added in v0.8.0
func (in *FirewallRuleList) DeepCopy() *FirewallRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList.
func (*FirewallRuleList) DeepCopyInto ¶ added in v0.8.0
func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FirewallRuleList) DeepCopyObject ¶ added in v0.8.0
func (in *FirewallRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FirewallRuleSpec ¶ added in v0.8.0
type FirewallRuleSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
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,omitempty"`
// AddressSetRefs is a list of references to AddressSets as an alternative to
// using Addresses but can be used in conjunction with it
AddressSetRefs []*corev1.ObjectReference `json:"addressSetRefs,omitempty"`
}
FirewallRuleSpec defines the desired state of FirewallRule
func (*FirewallRuleSpec) DeepCopy ¶ added in v0.8.0
func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec.
func (*FirewallRuleSpec) DeepCopyInto ¶ added in v0.8.0
func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FirewallRuleStatus ¶ added in v0.8.0
type FirewallRuleStatus struct {
}
FirewallRuleStatus defines the observed state of FirewallRule
func (*FirewallRuleStatus) DeepCopy ¶ added in v0.8.0
func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus.
func (*FirewallRuleStatus) DeepCopyInto ¶ added in v0.8.0
func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus)
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 .BucketName .BucketEndpoint .S3Endpoint
// If no format is supplied then a generic one is used containing the values specified.
// +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 IPv6CreateOptions ¶ added in v0.9.4
type IPv6CreateOptions struct {
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// EnableSLAAC is an option to enable SLAAC (Stateless Address Autoconfiguration) for the instance.
// This is useful for IPv6 addresses, allowing the instance to automatically configure its own IPv6 address.
// Defaults to false.
// +optional
EnableSLAAC *bool `json:"enableSLAAC,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// EnableRanges is an option to enable IPv6 ranges for the instance.
// If set to true, the instance will have a range of IPv6 addresses.
// This is useful for instances that require multiple IPv6 addresses.
// Defaults to false.
// +optional
EnableRanges *bool `json:"enableRanges,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// IsPublicIPv6 is an option to enable public IPv6 for the instance.
// If set to true, the instance will have a publicly routable IPv6 range.
// Defaults to false.
// +optional
IsPublicIPv6 *bool `json:"isPublicIPv6,omitempty"`
}
IPv6CreateOptions defines the IPv6 options for the instance.
func (*IPv6CreateOptions) DeepCopy ¶ added in v0.9.4
func (in *IPv6CreateOptions) DeepCopy() *IPv6CreateOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6CreateOptions.
func (*IPv6CreateOptions) DeepCopyInto ¶ added in v0.9.4
func (in *IPv6CreateOptions) DeepCopyInto(out *IPv6CreateOptions)
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
func (in *InstanceConfigInterfaceCreateOptions) DeepCopy() *InstanceConfigInterfaceCreateOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigInterfaceCreateOptions.
func (*InstanceConfigInterfaceCreateOptions) DeepCopyInto ¶ added in v0.6.0
func (in *InstanceConfigInterfaceCreateOptions) DeepCopyInto(out *InstanceConfigInterfaceCreateOptions)
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
func (in *InstanceConfiguration) DeepCopy() *InstanceConfiguration
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
func (in *InstanceMetadataOptions) DeepCopy() *InstanceMetadataOptions
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 (lc *LinodeCluster) GetConditions() []metav1.Condition
func (*LinodeCluster) GetV1Beta2Conditions ¶ added in v0.8.1
func (lc *LinodeCluster) GetV1Beta2Conditions() []metav1.Condition
We need V1Beta2Conditions helpers to be able to use the conditions package from cluster-api
func (*LinodeCluster) Hub ¶
func (*LinodeCluster) Hub()
Hub marks LinodeCluster as a conversion hub.
func (*LinodeCluster) SetConditions ¶
func (lc *LinodeCluster) SetConditions(conditions []metav1.Condition)
func (*LinodeCluster) SetV1Beta2Conditions ¶ added in v0.8.1
func (lc *LinodeCluster) SetV1Beta2Conditions(conditions []metav1.Condition)
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"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// VPCID is the ID of an existing VPC in Linode. This allows using a VPC that is not managed by CAPL.
// +optional
VPCID *int `json:"vpcID,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// +optional
// NodeBalancerFirewallRef is a reference to a NodeBalancer Firewall object. This makes the linode use the specified NodeBalancer Firewall.
NodeBalancerFirewallRef *corev1.ObjectReference `json:"nodeBalancerFirewallRef,omitempty"`
// ObjectStore defines a supporting Object Storage bucket for cluster operations. This is currently used for
// bootstrapping (e.g. Cloud-init).
// +optional
ObjectStore *ObjectStore `json:"objectStore,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 *string `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 []metav1.Condition `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
func (in *LinodeClusterTemplate) DeepCopy() *LinodeClusterTemplate
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.
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
func (in *LinodeClusterTemplateList) DeepCopy() *LinodeClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateList.
func (*LinodeClusterTemplateList) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeClusterTemplateList) DeepCopyInto(out *LinodeClusterTemplateList)
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
func (*LinodeClusterTemplateList) Hub()
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
func (in *LinodeClusterTemplateResource) DeepCopy() *LinodeClusterTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateResource.
func (*LinodeClusterTemplateResource) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeClusterTemplateResource) DeepCopyInto(out *LinodeClusterTemplateResource)
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
func (in *LinodeClusterTemplateSpec) DeepCopy() *LinodeClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeClusterTemplateSpec.
func (*LinodeClusterTemplateSpec) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeClusterTemplateSpec) DeepCopyInto(out *LinodeClusterTemplateSpec)
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() []metav1.Condition
func (*LinodeFirewall) GetV1Beta2Conditions ¶ added in v0.8.1
func (lfw *LinodeFirewall) GetV1Beta2Conditions() []metav1.Condition
We need V1Beta2Conditions helpers to be able to use the conditions package from cluster-api
func (*LinodeFirewall) SetConditions ¶ added in v0.6.1
func (lfw *LinodeFirewall) SetConditions(conditions []metav1.Condition)
func (*LinodeFirewall) SetV1Beta2Conditions ¶ added in v0.8.1
func (lfw *LinodeFirewall) SetV1Beta2Conditions(conditions []metav1.Condition)
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 []FirewallRuleSpec `json:"inboundRules,omitempty"`
// InboundRuleRefs is a list of references to FirewallRules as an alternative to
// using InboundRules but can be used in conjunction with it
// +optional
InboundRuleRefs []*corev1.ObjectReference `json:"inboundRuleRefs,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 []FirewallRuleSpec `json:"outboundRules,omitempty"`
// OutboundRuleRefs is a list of references to FirewallRules as an alternative to
// using OutboundRules but can be used in conjunction with it
// +optional
OutboundRuleRefs []*corev1.ObjectReference `json:"outboundRuleRefs,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 []metav1.Condition `json:"conditions,omitempty"`
}
LinodeFirewallStatus defines the observed state of LinodeFirewall
func (*LinodeFirewallStatus) DeepCopy ¶ added in v0.6.1
func (in *LinodeFirewallStatus) DeepCopy() *LinodeFirewallStatus
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() []metav1.Condition
func (*LinodeMachine) GetV1Beta2Conditions ¶ added in v0.8.1
func (lm *LinodeMachine) GetV1Beta2Conditions() []metav1.Condition
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 []metav1.Condition)
func (*LinodeMachine) SetV1Beta2Conditions ¶ added in v0.8.1
func (lm *LinodeMachine) SetV1Beta2Conditions(conditions []metav1.Condition)
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"`
// Tags is a list of tags to apply to the Linode instance.
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. The default is disabled.
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"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// +optional
// VPCRef is a reference to a LinodeVPC resource. If specified, this takes precedence over
// the cluster-level VPC configuration for multi-region support.
VPCRef *corev1.ObjectReference `json:"vpcRef,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// VPCID is the ID of an existing VPC in Linode. This allows using a VPC that is not managed by CAPL.
// +optional
VPCID *int `json:"vpcID,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// IPv6Options defines the IPv6 options for the instance.
// If not specified, IPv6 ranges won't be allocated to instance.
// +optional
IPv6Options *IPv6CreateOptions `json:"ipv6Options,omitempty"`
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// +optional
// NetworkHelper is an option usually enabled on account level. It helps configure networking automatically for instances.
// You can use this to enable/disable the network helper for a specific instance.
// For more information, see https://techdocs.akamai.com/cloud-computing/docs/automatically-configure-networking
// Defaults to true.
NetworkHelper *bool `json:"networkHelper,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"`
// CloudinitMetadataSupport determines whether to use cloud-init or not.
// Deprecated: Stackscript no longer in use, so this field is not used.
// +kubebuilder:deprecatedversion:warning="CloudinitMetadataSupport is deprecated"
// +optional
// +kubebuilder:default=true
CloudinitMetadataSupport bool `json:"cloudinitMetadataSupport,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 *string `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 []metav1.Condition `json:"conditions,omitempty"`
// tags are the tags applied to the Linode Machine.
// +optional
Tags []string `json:"tags,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"`
Status LinodeMachineTemplateStatus `json:"status,omitempty"`
}
LinodeMachineTemplate is the Schema for the linodemachinetemplates API
func (*LinodeMachineTemplate) DeepCopy ¶ added in v0.6.0
func (in *LinodeMachineTemplate) DeepCopy() *LinodeMachineTemplate
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) GetConditions ¶ added in v0.9.2
func (lmt *LinodeMachineTemplate) GetConditions() []metav1.Condition
func (*LinodeMachineTemplate) GetV1Beta2Conditions ¶ added in v0.9.2
func (lmt *LinodeMachineTemplate) GetV1Beta2Conditions() []metav1.Condition
func (*LinodeMachineTemplate) Hub ¶ added in v0.6.0
func (*LinodeMachineTemplate) Hub()
Hub marks LinodeMachineTemplate as a conversion hub.
func (*LinodeMachineTemplate) SetConditions ¶ added in v0.9.2
func (lmt *LinodeMachineTemplate) SetConditions(conditions []metav1.Condition)
func (*LinodeMachineTemplate) SetV1Beta2Conditions ¶ added in v0.9.2
func (lmt *LinodeMachineTemplate) SetV1Beta2Conditions(conditions []metav1.Condition)
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
func (in *LinodeMachineTemplateList) DeepCopy() *LinodeMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateList.
func (*LinodeMachineTemplateList) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeMachineTemplateList) DeepCopyInto(out *LinodeMachineTemplateList)
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
func (*LinodeMachineTemplateList) Hub()
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
func (in *LinodeMachineTemplateResource) DeepCopy() *LinodeMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateResource.
func (*LinodeMachineTemplateResource) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeMachineTemplateResource) DeepCopyInto(out *LinodeMachineTemplateResource)
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
func (in *LinodeMachineTemplateSpec) DeepCopy() *LinodeMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateSpec.
func (*LinodeMachineTemplateSpec) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeMachineTemplateSpec) DeepCopyInto(out *LinodeMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LinodeMachineTemplateStatus ¶ added in v0.9.2
type LinodeMachineTemplateStatus struct {
// tags that are currently applied to the LinodeMachineTemplate.
// +optional
Tags []string `json:"tags,omitempty"`
// Conditions represent the latest available observations of a LinodeMachineTemplate's current state.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
LinodeMachineTemplateStatus defines the observed state of LinodeMachineTemplate It is used to store the status of the LinodeMachineTemplate, such as tags.
func (*LinodeMachineTemplateStatus) DeepCopy ¶ added in v0.9.2
func (in *LinodeMachineTemplateStatus) DeepCopy() *LinodeMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeMachineTemplateStatus.
func (*LinodeMachineTemplateStatus) DeepCopyInto ¶ added in v0.9.2
func (in *LinodeMachineTemplateStatus) DeepCopyInto(out *LinodeMachineTemplateStatus)
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
func (in *LinodeObjectStorageBucket) DeepCopy() *LinodeObjectStorageBucket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucket.
func (*LinodeObjectStorageBucket) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageBucket) DeepCopyInto(out *LinodeObjectStorageBucket)
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 (losb *LinodeObjectStorageBucket) GetConditions() []metav1.Condition
func (*LinodeObjectStorageBucket) GetV1Beta2Conditions ¶ added in v0.8.1
func (losb *LinodeObjectStorageBucket) GetV1Beta2Conditions() []metav1.Condition
func (*LinodeObjectStorageBucket) Hub ¶ added in v0.6.0
func (*LinodeObjectStorageBucket) Hub()
Hub marks LinodeObjectStorageBucketS as a conversion hub.
func (*LinodeObjectStorageBucket) SetConditions ¶ added in v0.6.0
func (losb *LinodeObjectStorageBucket) SetConditions(conditions []metav1.Condition)
func (*LinodeObjectStorageBucket) SetV1Beta2Conditions ¶ added in v0.8.1
func (losb *LinodeObjectStorageBucket) SetV1Beta2Conditions(conditions []metav1.Condition)
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
func (in *LinodeObjectStorageBucketList) DeepCopy() *LinodeObjectStorageBucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketList.
func (*LinodeObjectStorageBucketList) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageBucketList) DeepCopyInto(out *LinodeObjectStorageBucketList)
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"`
// AccessKeyRef is a reference to a LinodeObjectStorageBucketKey for the bucket.
// +optional
AccessKeyRef *corev1.ObjectReference `json:"accessKeyRef"`
// ForceDeleteBucket enables the object storage bucket used to be deleted even if it contains objects.
// +optional
ForceDeleteBucket bool `json:"forceDeleteBucket,omitempty"`
}
LinodeObjectStorageBucketSpec defines the desired state of LinodeObjectStorageBucket
func (*LinodeObjectStorageBucketSpec) DeepCopy ¶ added in v0.6.0
func (in *LinodeObjectStorageBucketSpec) DeepCopy() *LinodeObjectStorageBucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketSpec.
func (*LinodeObjectStorageBucketSpec) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageBucketSpec) DeepCopyInto(out *LinodeObjectStorageBucketSpec)
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 []metav1.Condition `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
func (in *LinodeObjectStorageBucketStatus) DeepCopy() *LinodeObjectStorageBucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageBucketStatus.
func (*LinodeObjectStorageBucketStatus) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageBucketStatus) DeepCopyInto(out *LinodeObjectStorageBucketStatus)
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
func (in *LinodeObjectStorageKey) DeepCopy() *LinodeObjectStorageKey
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) GetConditions ¶ added in v0.6.0
func (losk *LinodeObjectStorageKey) GetConditions() []metav1.Condition
func (*LinodeObjectStorageKey) GetV1Beta2Conditions ¶ added in v0.8.1
func (losk *LinodeObjectStorageKey) GetV1Beta2Conditions() []metav1.Condition
func (*LinodeObjectStorageKey) SetConditions ¶ added in v0.6.0
func (losk *LinodeObjectStorageKey) SetConditions(conditions []metav1.Condition)
func (*LinodeObjectStorageKey) SetV1Beta2Conditions ¶ added in v0.8.1
func (losk *LinodeObjectStorageKey) SetV1Beta2Conditions(conditions []metav1.Condition)
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
func (in *LinodeObjectStorageKeyList) DeepCopy() *LinodeObjectStorageKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeyList.
func (*LinodeObjectStorageKeyList) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageKeyList) DeepCopyInto(out *LinodeObjectStorageKeyList)
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
func (in *LinodeObjectStorageKeySpec) DeepCopy() *LinodeObjectStorageKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeySpec.
func (*LinodeObjectStorageKeySpec) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageKeySpec) DeepCopyInto(out *LinodeObjectStorageKeySpec)
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 []metav1.Condition `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
func (in *LinodeObjectStorageKeyStatus) DeepCopy() *LinodeObjectStorageKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeObjectStorageKeyStatus.
func (*LinodeObjectStorageKeyStatus) DeepCopyInto ¶ added in v0.6.0
func (in *LinodeObjectStorageKeyStatus) DeepCopyInto(out *LinodeObjectStorageKeyStatus)
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
func (in *LinodePlacementGroup) DeepCopy() *LinodePlacementGroup
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 (lpg *LinodePlacementGroup) GetConditions() []metav1.Condition
func (*LinodePlacementGroup) GetV1Beta2Conditions ¶ added in v0.8.1
func (lpg *LinodePlacementGroup) GetV1Beta2Conditions() []metav1.Condition
func (*LinodePlacementGroup) SetConditions ¶ added in v0.6.0
func (lpg *LinodePlacementGroup) SetConditions(conditions []metav1.Condition)
func (*LinodePlacementGroup) SetV1Beta2Conditions ¶ added in v0.8.1
func (lpg *LinodePlacementGroup) SetV1Beta2Conditions(conditions []metav1.Condition)
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
func (in *LinodePlacementGroupList) DeepCopy() *LinodePlacementGroupList
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
func (in *LinodePlacementGroupSpec) DeepCopy() *LinodePlacementGroupSpec
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 []metav1.Condition `json:"conditions,omitempty"`
}
LinodePlacementGroupStatus defines the observed state of LinodePlacementGroup
func (*LinodePlacementGroupStatus) DeepCopy ¶ added in v0.6.0
func (in *LinodePlacementGroupStatus) DeepCopy() *LinodePlacementGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodePlacementGroupStatus.
func (*LinodePlacementGroupStatus) DeepCopyInto ¶ added in v0.6.0
func (in *LinodePlacementGroupStatus) DeepCopyInto(out *LinodePlacementGroupStatus)
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinodeVPC.
func (*LinodeVPC) DeepCopyInto ¶ added in v0.6.0
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
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LinodeVPC) GetConditions ¶ added in v0.6.0
func (*LinodeVPC) GetV1Beta2Conditions ¶ added in v0.8.1
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 (*LinodeVPC) SetV1Beta2Conditions ¶ added in v0.8.1
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"`
// +optional
// IPv6 is a list of IPv6 ranges allocated to the VPC.
// Once ranges are allocated based on the IPv6Range field, they will be
// added to this field.
IPv6 []linodego.VPCIPv6Range `json:"ipv6,omitempty"`
// +optional
// IPv6Range is a list of IPv6 ranges to allocate to the VPC.
// If not specified, the VPC will not have an IPv6 range allocated.
// Once ranges are allocated, they will be added to the IPv6 field.
IPv6Range []VPCCreateOptionsIPv6 `json:"ipv6Range,omitempty"`
// +optional
Subnets []VPCSubnetCreateOptions `json:"subnets,omitempty"`
// Retain allows you to keep the VPC after the LinodeVPC object is deleted.
// This is useful if you want to use an existing VPC that was not created by this controller.
// If set to true, the controller will not delete the VPC resource in Linode.
// Defaults to false.
// +optional
// +kubebuilder:default=false
Retain bool `json:"retain,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 []metav1.Condition `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"`
// NodeBalancerFirewallID is the id of NodeBalancer Firewall.
// +optional
NodeBalancerFirewallID *int `json:"nodeBalancerFirewallID,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"`
// subnetName is the name/label of the VPC subnet to be used by the cluster
// +optional
SubnetName string `json:"subnetName,omitempty"`
// UseVlan provisions a cluster that uses VLANs instead of VPCs. IPAM is managed internally.
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
// +optional
UseVlan bool `json:"useVlan,omitempty"`
// NodeBalancerBackendIPv4Range is the subnet range we want to provide for creating nodebalancer in VPC.
// example: 10.10.10.0/30
// +optional
NodeBalancerBackendIPv4Range string `json:"nodeBalancerBackendIPv4Range,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" BucketFinalizer = "linodeobjectstoragebucket.infrastructure.cluster.x-k8s.io" )
ObjectStorageACL options represent the access control level of a bucket.
type ObjectStore ¶ added in v0.8.0
type ObjectStore struct {
// PresignedURLDuration defines the duration for which presigned URLs are valid.
//
// This is used to generate presigned URLs for S3 Bucket objects, which are used by
// control-plane and worker nodes to fetch bootstrap data.
//
// +optional
PresignedURLDuration *metav1.Duration `json:"presignedURLDuration,omitempty"`
// CredentialsRef is a reference to a Secret that contains the credentials to use for accessing the Cluster Object Store.
CredentialsRef corev1.SecretReference `json:"credentialsRef,omitempty"`
}
ObjectStore defines a supporting Object Storage bucket for cluster operations. This is currently used for bootstrapping (e.g. Cloud-init).
func (*ObjectStore) DeepCopy ¶ added in v0.8.0
func (in *ObjectStore) DeepCopy() *ObjectStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStore.
func (*ObjectStore) DeepCopyInto ¶ added in v0.8.0
func (in *ObjectStore) DeepCopyInto(out *ObjectStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCCreateOptionsIPv6 ¶ added in v0.9.2
type VPCCreateOptionsIPv6 struct {
// Range is the IPv6 prefix for the VPC.
Range *string `json:"range,omitempty"`
// IPv6 inventory from which the VPC prefix should be allocated.
AllocationClass *string `json:"allocation_class,omitempty"`
}
VPCCreateOptionsIPv6 defines the options for creating an IPv6 range in a VPC. It's copied from linodego.VPCCreateOptionsIPv6 and should be kept in sync. Values supported by the linode API should be used here. See https://techdocs.akamai.com/linode-api/reference/post-vpc for more details.
func (*VPCCreateOptionsIPv6) DeepCopy ¶ added in v0.9.2
func (in *VPCCreateOptionsIPv6) DeepCopy() *VPCCreateOptionsIPv6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCCreateOptionsIPv6.
func (*VPCCreateOptionsIPv6) DeepCopyInto ¶ added in v0.9.2
func (in *VPCCreateOptionsIPv6) DeepCopyInto(out *VPCCreateOptionsIPv6)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCIPv4 ¶ added in v0.6.0
VPCIPv4 defines VPC IPV4 settings
func (*VPCIPv4) DeepCopy ¶ added in v0.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCIPv4.
func (*VPCIPv4) DeepCopyInto ¶ added in v0.6.0
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"`
// +optional
// IPv6 is a list of IPv6 ranges allocated to the subnet.
// Once ranges are allocated based on the IPv6Range field, they will be
// added to this field.
IPv6 []linodego.VPCIPv6Range `json:"ipv6,omitempty"`
// +optional
// IPv6Range is a list of IPv6 ranges to allocate to the subnet.
// If not specified, the subnet will not have an IPv6 range allocated.
// Once ranges are allocated, they will be added to the IPv6 field.
IPv6Range []VPCSubnetCreateOptionsIPv6 `json:"ipv6Range,omitempty"`
// SubnetID is subnet id for the subnet
// +optional
SubnetID int `json:"subnetID,omitempty"`
// Retain allows you to keep the Subnet after the LinodeVPC object is deleted.
// This is only applicable when the parent VPC has retain set to true.
// +optional
// +kubebuilder:default=false
Retain bool `json:"retain,omitempty"`
}
VPCSubnetCreateOptions defines subnet options
func (*VPCSubnetCreateOptions) DeepCopy ¶ added in v0.6.0
func (in *VPCSubnetCreateOptions) DeepCopy() *VPCSubnetCreateOptions
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.
type VPCSubnetCreateOptionsIPv6 ¶ added in v0.9.2
type VPCSubnetCreateOptionsIPv6 struct {
Range *string `json:"range,omitempty"`
}
VPCSubnetCreateOptionsIPv6 defines the options for creating an IPv6 range in a VPC subnet. It's copied from linodego.VPCSubnetCreateOptionsIPv6 and should be kept in sync. Values supported by the linode API should be used here. See https://techdocs.akamai.com/linode-api/reference/post-vpc-subnet for more details.
func (*VPCSubnetCreateOptionsIPv6) DeepCopy ¶ added in v0.9.2
func (in *VPCSubnetCreateOptionsIPv6) DeepCopy() *VPCSubnetCreateOptionsIPv6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSubnetCreateOptionsIPv6.
func (*VPCSubnetCreateOptionsIPv6) DeepCopyInto ¶ added in v0.9.2
func (in *VPCSubnetCreateOptionsIPv6) DeepCopyInto(out *VPCSubnetCreateOptionsIPv6)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- addressset_types.go
- firewallrule_types.go
- groupversion_info.go
- linodecluster_conversion.go
- linodecluster_types.go
- linodeclustertemplate_conversion.go
- linodeclustertemplate_types.go
- linodefirewall_types.go
- linodemachine_conversion.go
- linodemachine_types.go
- linodemachinetemplate_conversion.go
- linodemachinetemplate_types.go
- linodeobjectstoragebucket_conversion.go
- linodeobjectstoragebucket_types.go
- linodeobjectstoragekey_types.go
- linodeplacementgroup_types.go
- linodevpc_conversion.go
- linodevpc_types.go
- zz_generated.deepcopy.go