Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=nodebalancer.linode.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Config
- func (in *Config) DeepCopy() *Config
- func (in *Config) DeepCopyInto(out *Config)
- func (in *Config) DeepCopyObject() runtime.Object
- func (mg *Config) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Config) GetConnectionDetailsMapping() map[string]string
- func (mg *Config) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Config) GetID() string
- func (tr *Config) GetObservation() (map[string]any, error)
- func (tr *Config) GetParameters() (map[string]any, error)
- func (mg *Config) GetProviderConfigReference() *xpv1.Reference
- func (mg *Config) GetProviderReference() *xpv1.Reference
- func (mg *Config) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Config) GetTerraformResourceType() string
- func (tr *Config) GetTerraformSchemaVersion() int
- func (mg *Config) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Config) LateInitialize(attrs []byte) (bool, error)
- func (mg *Config) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Config) SetConditions(c ...xpv1.Condition)
- func (mg *Config) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Config) SetObservation(obs map[string]any) error
- func (tr *Config) SetParameters(params map[string]any) error
- func (mg *Config) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Config) SetProviderReference(r *xpv1.Reference)
- func (mg *Config) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Config) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConfigList
- type ConfigObservation
- type ConfigParameters
- type ConfigSpec
- type ConfigStatus
- type Node
- func (in *Node) DeepCopy() *Node
- func (in *Node) DeepCopyInto(out *Node)
- func (in *Node) DeepCopyObject() runtime.Object
- func (mg *Node) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Node) GetConnectionDetailsMapping() map[string]string
- func (mg *Node) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Node) GetID() string
- func (tr *Node) GetObservation() (map[string]any, error)
- func (tr *Node) GetParameters() (map[string]any, error)
- func (mg *Node) GetProviderConfigReference() *xpv1.Reference
- func (mg *Node) GetProviderReference() *xpv1.Reference
- func (mg *Node) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Node) GetTerraformResourceType() string
- func (tr *Node) GetTerraformSchemaVersion() int
- func (mg *Node) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Node) LateInitialize(attrs []byte) (bool, error)
- func (mg *Node) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Node) SetConditions(c ...xpv1.Condition)
- func (mg *Node) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Node) SetObservation(obs map[string]any) error
- func (tr *Node) SetParameters(params map[string]any) error
- func (mg *Node) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Node) SetProviderReference(r *xpv1.Reference)
- func (mg *Node) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Node) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NodeList
- type NodeObservation
- type NodeParameters
- type NodeSpec
- type NodeStatus
- type NodeStatusObservation
- type NodeStatusParameters
- type Nodebalancer
- func (in *Nodebalancer) DeepCopy() *Nodebalancer
- func (in *Nodebalancer) DeepCopyInto(out *Nodebalancer)
- func (in *Nodebalancer) DeepCopyObject() runtime.Object
- func (mg *Nodebalancer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Nodebalancer) GetConnectionDetailsMapping() map[string]string
- func (mg *Nodebalancer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Nodebalancer) GetID() string
- func (tr *Nodebalancer) GetObservation() (map[string]any, error)
- func (tr *Nodebalancer) GetParameters() (map[string]any, error)
- func (mg *Nodebalancer) GetProviderConfigReference() *xpv1.Reference
- func (mg *Nodebalancer) GetProviderReference() *xpv1.Reference
- func (mg *Nodebalancer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Nodebalancer) GetTerraformResourceType() string
- func (tr *Nodebalancer) GetTerraformSchemaVersion() int
- func (mg *Nodebalancer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Nodebalancer) LateInitialize(attrs []byte) (bool, error)
- func (mg *Nodebalancer) SetConditions(c ...xpv1.Condition)
- func (mg *Nodebalancer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Nodebalancer) SetObservation(obs map[string]any) error
- func (tr *Nodebalancer) SetParameters(params map[string]any) error
- func (mg *Nodebalancer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Nodebalancer) SetProviderReference(r *xpv1.Reference)
- func (mg *Nodebalancer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Nodebalancer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type NodebalancerList
- type NodebalancerObservation
- type NodebalancerParameters
- type NodebalancerSpec
- type NodebalancerStatus
- type TransferObservation
- type TransferParameters
Constants ¶
const ( CRDGroup = "nodebalancer.linode.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Config_Kind = "Config" Config_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Config_Kind}.String() Config_KindAPIVersion = Config_Kind + "." + CRDGroupVersion.String() Config_GroupVersionKind = CRDGroupVersion.WithKind(Config_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Node_Kind = "Node" Node_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Node_Kind}.String() Node_KindAPIVersion = Node_Kind + "." + CRDGroupVersion.String() Node_GroupVersionKind = CRDGroupVersion.WithKind(Node_Kind) )
Repository type metadata.
var ( Nodebalancer_Kind = "Nodebalancer" Nodebalancer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Nodebalancer_Kind}.String() Nodebalancer_KindAPIVersion = Nodebalancer_Kind + "." + CRDGroupVersion.String() Nodebalancer_GroupVersionKind = CRDGroupVersion.WithKind(Nodebalancer_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigSpec `json:"spec"` Status ConfigStatus `json:"status,omitempty"` }
Config is the Schema for the Configs API. Manages a Linode NodeBalancer Config. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Config) GetCondition ¶
func (mg *Config) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Config.
func (*Config) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Config
func (*Config) GetDeletionPolicy ¶
func (mg *Config) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Config.
func (*Config) GetObservation ¶
GetObservation of this Config
func (*Config) GetParameters ¶
GetParameters of this Config
func (*Config) GetProviderConfigReference ¶
GetProviderConfigReference of this Config.
func (*Config) GetProviderReference ¶
GetProviderReference of this Config. Deprecated: Use GetProviderConfigReference.
func (*Config) GetPublishConnectionDetailsTo ¶
func (mg *Config) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Config.
func (*Config) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Config
func (*Config) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Config) GetWriteConnectionSecretToReference ¶
func (mg *Config) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Config.
func (*Config) LateInitialize ¶
LateInitialize this Config using its observed tfState. returns True if there are any spec changes for the resource.
func (*Config) ResolveReferences ¶ added in v0.0.1
ResolveReferences of this Config.
func (*Config) SetConditions ¶
SetConditions of this Config.
func (*Config) SetDeletionPolicy ¶
func (mg *Config) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Config.
func (*Config) SetObservation ¶
SetObservation for this Config
func (*Config) SetParameters ¶
SetParameters for this Config
func (*Config) SetProviderConfigReference ¶
SetProviderConfigReference of this Config.
func (*Config) SetProviderReference ¶
SetProviderReference of this Config. Deprecated: Use SetProviderConfigReference.
func (*Config) SetPublishConnectionDetailsTo ¶
func (mg *Config) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Config.
func (*Config) SetWriteConnectionSecretToReference ¶
func (mg *Config) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Config.
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Config `json:"items"` }
ConfigList contains a list of Configs
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigList) GetItems ¶
func (l *ConfigList) GetItems() []resource.Managed
GetItems of this ConfigList.
type ConfigObservation ¶
type ConfigObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // A structure containing information about the health of the backends for this port. This information is updated periodically as checks are performed against backends. NodeStatus []NodeStatusObservation `json:"nodeStatus,omitempty" tf:"node_status,omitempty"` // The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig. // The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig. SSLCommonname *string `json:"sslCommonname,omitempty" tf:"ssl_commonname,omitempty"` // The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig. // The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig. SSLFingerprint *string `json:"sslFingerprint,omitempty" tf:"ssl_fingerprint,omitempty"` }
func (*ConfigObservation) DeepCopy ¶
func (in *ConfigObservation) DeepCopy() *ConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigObservation.
func (*ConfigObservation) DeepCopyInto ¶
func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigParameters ¶
type ConfigParameters struct { // What algorithm this NodeBalancer should use for routing traffic to backends. (roundrobin, leastconn, source) // What algorithm this NodeBalancer should use for routing traffic to backends: roundrobin, leastconn, source // +kubebuilder:validation:Optional Algorithm *string `json:"algorithm,omitempty" tf:"algorithm,omitempty"` // The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. (none, connection, http, http_body) // The type of check to perform against backends to ensure they are serving requests. This is used to determine if backends are up or down. If none no check is performed. connection requires only a connection to the backend to succeed. http and http_body rely on the backend serving HTTP, and that the response returned matches what is expected. // +kubebuilder:validation:Optional Check *string `json:"check,omitempty" tf:"check,omitempty"` // How many times to attempt a check before considering a backend to be down. (1-30) // How many times to attempt a check before considering a backend to be down. (1-30) // +kubebuilder:validation:Optional CheckAttempts *float64 `json:"checkAttempts,omitempty" tf:"check_attempts,omitempty"` // This value must be present in the response body of the check in order for it to pass. If this value is not present in the response body of a check request, the backend is considered to be down // +kubebuilder:validation:Optional CheckBody *string `json:"checkBody,omitempty" tf:"check_body,omitempty"` // How often, in seconds, to check that backends are up and serving requests. // How often, in seconds, to check that backends are up and serving requests. // +kubebuilder:validation:Optional CheckInterval *float64 `json:"checkInterval,omitempty" tf:"check_interval,omitempty"` // If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation. // If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation. // +kubebuilder:validation:Optional CheckPassive *bool `json:"checkPassive,omitempty" tf:"check_passive,omitempty"` // The URL path to check on each backend. If the backend does not respond to this request it is considered to be down. // The URL path to check on each backend. If the backend does not respond to this request it is considered to be down. // +kubebuilder:validation:Optional CheckPath *string `json:"checkPath,omitempty" tf:"check_path,omitempty"` // How long, in seconds, to wait for a check attempt before considering it failed. (1-30) // How long, in seconds, to wait for a check attempt before considering it failed. (1-30) // +kubebuilder:validation:Optional CheckTimeout *float64 `json:"checkTimeout,omitempty" tf:"check_timeout,omitempty"` // What ciphers to use for SSL connections served by this NodeBalancer. legacy is considered insecure and should only be used if necessary. // What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary. // +kubebuilder:validation:Optional CipherSuite *string `json:"cipherSuite,omitempty" tf:"cipher_suite,omitempty"` // The ID of the NodeBalancer to access. // The ID of the NodeBalancer to access. // +crossplane:generate:reference:type=Nodebalancer // +kubebuilder:validation:Optional NodebalancerID *float64 `json:"nodebalancerId,omitempty" tf:"nodebalancer_id,omitempty"` // Reference to a Nodebalancer to populate nodebalancerId. // +kubebuilder:validation:Optional NodebalancerIDRef *v1.Reference `json:"nodebalancerIdRef,omitempty" tf:"-"` // Selector for a Nodebalancer to populate nodebalancerId. // +kubebuilder:validation:Optional NodebalancerIDSelector *v1.Selector `json:"nodebalancerIdSelector,omitempty" tf:"-"` // The TCP port this Config is for. These values must be unique across configs on a single NodeBalancer (you can't have two configs for port 80, for example). While some ports imply some protocols, no enforcement is done and you may configure your NodeBalancer however is useful to you. For example, while port 443 is generally used for HTTPS, you do not need SSL configured to have a NodeBalancer listening on port 443. (Defaults to 80) // The TCP port this Config is for. These values must be unique across configs on a single NodeBalancer (you can't have two configs for port 80, for example). While some ports imply some protocols, no enforcement is done and you may configure your NodeBalancer however is useful to you. For example, while port 443 is generally used for HTTPS, you do not need SSL configured to have a NodeBalancer listening on port 443. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. (http, https, tcp) (Defaults to http) // The protocol this port is configured to serve. If this is set to https you must include an ssl_cert and an ssl_key. // +kubebuilder:validation:Optional Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be tcp. (none, v1, v2) (Defaults to none) // The version of ProxyProtocol to use for the underlying NodeBalancer. This requires protocol to be `tcp`. Valid values are `none`, `v1`, and `v2`. // +kubebuilder:validation:Optional ProxyProtocol *string `json:"proxyProtocol,omitempty" tf:"proxy_protocol,omitempty"` // The certificate this port is serving. This is not returned. If set, this field will come back as <REDACTED>. Please use the ssl_commonname and ssl_fingerprint to identify the certificate. // The certificate this port is serving. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the ssl_commonname and ssl_fingerprint to identify the certificate. // +kubebuilder:validation:Optional SSLCertSecretRef *v1.SecretKeySelector `json:"sslCertSecretRef,omitempty" tf:"-"` // The private key corresponding to this port's certificate. This is not returned. If set, this field will come back as <REDACTED>. Please use the ssl_commonname and ssl_fingerprint to identify the certificate. // The private key corresponding to this port's certificate. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the ssl_commonname and ssl_fingerprint to identify the certificate. // +kubebuilder:validation:Optional SSLKeySecretRef *v1.SecretKeySelector `json:"sslKeySecretRef,omitempty" tf:"-"` // Controls how session stickiness is handled on this port. (none, table, http_cookie) // Controls how session stickiness is handled on this port: 'none', 'table', 'http_cookie' // +kubebuilder:validation:Optional Stickiness *string `json:"stickiness,omitempty" tf:"stickiness,omitempty"` }
func (*ConfigParameters) DeepCopy ¶
func (in *ConfigParameters) DeepCopy() *ConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigParameters.
func (*ConfigParameters) DeepCopyInto ¶
func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSpec ¶
type ConfigSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ConfigParameters `json:"forProvider"` }
ConfigSpec defines the desired state of Config
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatus ¶
type ConfigStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ConfigObservation `json:"atProvider,omitempty"` }
ConfigStatus defines the observed state of Config.
func (*ConfigStatus) DeepCopy ¶
func (in *ConfigStatus) DeepCopy() *ConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
func (*ConfigStatus) DeepCopyInto ¶
func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Node ¶
type Node struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeSpec `json:"spec"` Status NodeStatus `json:"status,omitempty"` }
Node is the Schema for the Nodes API. Manages a Linode NodeBalancer Node. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*Node) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
func (*Node) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Node) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Node) GetCondition ¶
func (mg *Node) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Node.
func (*Node) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Node
func (*Node) GetDeletionPolicy ¶
func (mg *Node) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Node.
func (*Node) GetObservation ¶
GetObservation of this Node
func (*Node) GetParameters ¶
GetParameters of this Node
func (*Node) GetProviderConfigReference ¶
GetProviderConfigReference of this Node.
func (*Node) GetProviderReference ¶
GetProviderReference of this Node. Deprecated: Use GetProviderConfigReference.
func (*Node) GetPublishConnectionDetailsTo ¶
func (mg *Node) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Node.
func (*Node) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Node
func (*Node) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Node) GetWriteConnectionSecretToReference ¶
func (mg *Node) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Node.
func (*Node) LateInitialize ¶
LateInitialize this Node using its observed tfState. returns True if there are any spec changes for the resource.
func (*Node) ResolveReferences ¶ added in v0.0.1
ResolveReferences of this Node.
func (*Node) SetConditions ¶
SetConditions of this Node.
func (*Node) SetDeletionPolicy ¶
func (mg *Node) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Node.
func (*Node) SetObservation ¶
SetObservation for this Node
func (*Node) SetParameters ¶
SetParameters for this Node
func (*Node) SetProviderConfigReference ¶
SetProviderConfigReference of this Node.
func (*Node) SetProviderReference ¶
SetProviderReference of this Node. Deprecated: Use SetProviderConfigReference.
func (*Node) SetPublishConnectionDetailsTo ¶
func (mg *Node) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Node.
func (*Node) SetWriteConnectionSecretToReference ¶
func (mg *Node) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Node.
type NodeList ¶
type NodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Node `json:"items"` }
NodeList contains a list of Nodes
func (*NodeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
func (*NodeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeObservation ¶
type NodeObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // The current status of this node, based on the configured checks of its NodeBalancer Config. (unknown, UP, DOWN). // The current status of this node, based on the configured checks of its NodeBalancer Config. (unknown, UP, DOWN) Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*NodeObservation) DeepCopy ¶
func (in *NodeObservation) DeepCopy() *NodeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservation.
func (*NodeObservation) DeepCopyInto ¶
func (in *NodeObservation) DeepCopyInto(out *NodeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeParameters ¶
type NodeParameters struct { // The private IP Address where this backend can be reached. This must be a private IP address. // The private IP Address and port (IP:PORT) where this backend can be reached. This must be a private IP address. // +kubebuilder:validation:Required Address *string `json:"address" tf:"address,omitempty"` // The ID of the NodeBalancerConfig to access. // The ID of the NodeBalancerConfig to access. // +crossplane:generate:reference:type=Config // +kubebuilder:validation:Optional ConfigID *float64 `json:"configId,omitempty" tf:"config_id,omitempty"` // Reference to a Config to populate configId. // +kubebuilder:validation:Optional ConfigIDRef *v1.Reference `json:"configIdRef,omitempty" tf:"-"` // Selector for a Config to populate configId. // +kubebuilder:validation:Optional ConfigIDSelector *v1.Selector `json:"configIdSelector,omitempty" tf:"-"` // The label of the Linode NodeBalancer Node. This is for display purposes only. // The label for this node. This is for display purposes only. // +kubebuilder:validation:Required Label *string `json:"label" tf:"label,omitempty"` // The mode this NodeBalancer should use when sending traffic to this backend. If set to accept this backend is accepting traffic. If set to reject this backend will not receive traffic. If set to drain this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. (accept, reject, drain, backup) // The mode this NodeBalancer should use when sending traffic to this backend. If set to `accept` this backend is accepting traffic. If set to `reject` this backend will not receive traffic. If set to `drain` this backend will not receive new traffic, but connections already pinned to it will continue to be routed to it. If set to `backup` this backend will only accept traffic if all other nodes are down. // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // The ID of the NodeBalancer to access. // The ID of the NodeBalancer to access. // +crossplane:generate:reference:type=Nodebalancer // +kubebuilder:validation:Optional NodebalancerID *float64 `json:"nodebalancerId,omitempty" tf:"nodebalancer_id,omitempty"` // Reference to a Nodebalancer to populate nodebalancerId. // +kubebuilder:validation:Optional NodebalancerIDRef *v1.Reference `json:"nodebalancerIdRef,omitempty" tf:"-"` // Selector for a Nodebalancer to populate nodebalancerId. // +kubebuilder:validation:Optional NodebalancerIDSelector *v1.Selector `json:"nodebalancerIdSelector,omitempty" tf:"-"` // Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255). // Used when picking a backend to serve a request and is not pinned to a single backend yet. Nodes with a higher weight will receive more traffic. (1-255) // +kubebuilder:validation:Optional Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"` }
func (*NodeParameters) DeepCopy ¶
func (in *NodeParameters) DeepCopy() *NodeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeParameters.
func (*NodeParameters) DeepCopyInto ¶
func (in *NodeParameters) DeepCopyInto(out *NodeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSpec ¶
type NodeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NodeParameters `json:"forProvider"` }
NodeSpec defines the desired state of Node
func (*NodeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
func (*NodeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatus ¶
type NodeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NodeObservation `json:"atProvider,omitempty"` }
NodeStatus defines the observed state of Node.
func (*NodeStatus) DeepCopy ¶
func (in *NodeStatus) DeepCopy() *NodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
func (*NodeStatus) DeepCopyInto ¶
func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatusObservation ¶
type NodeStatusObservation struct { // The number of backends considered to be 'DOWN' and unhealthy. These are not in rotation, and not serving requests. Down *float64 `json:"down,omitempty" tf:"down,omitempty"` // The number of backends considered to be 'UP' and healthy, and that are serving requests. Up *float64 `json:"up,omitempty" tf:"up,omitempty"` }
func (*NodeStatusObservation) DeepCopy ¶
func (in *NodeStatusObservation) DeepCopy() *NodeStatusObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatusObservation.
func (*NodeStatusObservation) DeepCopyInto ¶
func (in *NodeStatusObservation) DeepCopyInto(out *NodeStatusObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatusParameters ¶
type NodeStatusParameters struct { }
func (*NodeStatusParameters) DeepCopy ¶
func (in *NodeStatusParameters) DeepCopy() *NodeStatusParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatusParameters.
func (*NodeStatusParameters) DeepCopyInto ¶
func (in *NodeStatusParameters) DeepCopyInto(out *NodeStatusParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nodebalancer ¶
type Nodebalancer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodebalancerSpec `json:"spec"` Status NodebalancerStatus `json:"status,omitempty"` }
Nodebalancer is the Schema for the Nodebalancers API. Manages a Linode NodeBalancer. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,linode}
func (*Nodebalancer) DeepCopy ¶
func (in *Nodebalancer) DeepCopy() *Nodebalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodebalancer.
func (*Nodebalancer) DeepCopyInto ¶
func (in *Nodebalancer) DeepCopyInto(out *Nodebalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Nodebalancer) DeepCopyObject ¶
func (in *Nodebalancer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Nodebalancer) GetCondition ¶
func (mg *Nodebalancer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Nodebalancer.
func (*Nodebalancer) GetConnectionDetailsMapping ¶
func (tr *Nodebalancer) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Nodebalancer
func (*Nodebalancer) GetDeletionPolicy ¶
func (mg *Nodebalancer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Nodebalancer.
func (*Nodebalancer) GetID ¶
func (tr *Nodebalancer) GetID() string
GetID returns ID of underlying Terraform resource of this Nodebalancer
func (*Nodebalancer) GetObservation ¶
func (tr *Nodebalancer) GetObservation() (map[string]any, error)
GetObservation of this Nodebalancer
func (*Nodebalancer) GetParameters ¶
func (tr *Nodebalancer) GetParameters() (map[string]any, error)
GetParameters of this Nodebalancer
func (*Nodebalancer) GetProviderConfigReference ¶
func (mg *Nodebalancer) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Nodebalancer.
func (*Nodebalancer) GetProviderReference ¶
func (mg *Nodebalancer) GetProviderReference() *xpv1.Reference
GetProviderReference of this Nodebalancer. Deprecated: Use GetProviderConfigReference.
func (*Nodebalancer) GetPublishConnectionDetailsTo ¶
func (mg *Nodebalancer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Nodebalancer.
func (*Nodebalancer) GetTerraformResourceType ¶
func (mg *Nodebalancer) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Nodebalancer
func (*Nodebalancer) GetTerraformSchemaVersion ¶
func (tr *Nodebalancer) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Nodebalancer) GetWriteConnectionSecretToReference ¶
func (mg *Nodebalancer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Nodebalancer.
func (*Nodebalancer) LateInitialize ¶
func (tr *Nodebalancer) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Nodebalancer using its observed tfState. returns True if there are any spec changes for the resource.
func (*Nodebalancer) SetConditions ¶
func (mg *Nodebalancer) SetConditions(c ...xpv1.Condition)
SetConditions of this Nodebalancer.
func (*Nodebalancer) SetDeletionPolicy ¶
func (mg *Nodebalancer) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Nodebalancer.
func (*Nodebalancer) SetObservation ¶
func (tr *Nodebalancer) SetObservation(obs map[string]any) error
SetObservation for this Nodebalancer
func (*Nodebalancer) SetParameters ¶
func (tr *Nodebalancer) SetParameters(params map[string]any) error
SetParameters for this Nodebalancer
func (*Nodebalancer) SetProviderConfigReference ¶
func (mg *Nodebalancer) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Nodebalancer.
func (*Nodebalancer) SetProviderReference ¶
func (mg *Nodebalancer) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Nodebalancer. Deprecated: Use SetProviderConfigReference.
func (*Nodebalancer) SetPublishConnectionDetailsTo ¶
func (mg *Nodebalancer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Nodebalancer.
func (*Nodebalancer) SetWriteConnectionSecretToReference ¶
func (mg *Nodebalancer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Nodebalancer.
type NodebalancerList ¶
type NodebalancerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Nodebalancer `json:"items"` }
NodebalancerList contains a list of Nodebalancers
func (*NodebalancerList) DeepCopy ¶
func (in *NodebalancerList) DeepCopy() *NodebalancerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodebalancerList.
func (*NodebalancerList) DeepCopyInto ¶
func (in *NodebalancerList) DeepCopyInto(out *NodebalancerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodebalancerList) DeepCopyObject ¶
func (in *NodebalancerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NodebalancerList) GetItems ¶
func (l *NodebalancerList) GetItems() []resource.Managed
GetItems of this NodebalancerList.
type NodebalancerObservation ¶
type NodebalancerObservation struct { // When this NodeBalancer was created // When this NodeBalancer was created. Created *string `json:"created,omitempty" tf:"created,omitempty"` // This NodeBalancer's hostname, ending with .nodebalancer.linode.com // This NodeBalancer's hostname, ending with .nodebalancer.linode.com Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The Public IPv4 Address of this NodeBalancer // The Public IPv4 Address of this NodeBalancer IPv4 *string `json:"ipv4,omitempty" tf:"ipv4,omitempty"` // The Public IPv6 Address of this NodeBalancer // The Public IPv6 Address of this NodeBalancer IPv6 *string `json:"ipv6,omitempty" tf:"ipv6,omitempty"` // Information about the amount of transfer this NodeBalancer has had so far this month. Transfer []TransferObservation `json:"transfer,omitempty" tf:"transfer,omitempty"` // When this NodeBalancer was last updated. // When this NodeBalancer was last updated. Updated *string `json:"updated,omitempty" tf:"updated,omitempty"` }
func (*NodebalancerObservation) DeepCopy ¶
func (in *NodebalancerObservation) DeepCopy() *NodebalancerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodebalancerObservation.
func (*NodebalancerObservation) DeepCopyInto ¶
func (in *NodebalancerObservation) DeepCopyInto(out *NodebalancerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodebalancerParameters ¶
type NodebalancerParameters struct { // Throttle connections per second (0-20). Set to 0 (default) to disable throttling. // Throttle connections per second (0-20). Set to 0 (zero) to disable throttling. // +kubebuilder:validation:Optional ClientConnThrottle *float64 `json:"clientConnThrottle,omitempty" tf:"client_conn_throttle,omitempty"` // The label of the Linode NodeBalancer // The label of the Linode NodeBalancer. // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` // The region where this NodeBalancer will be deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here. Changing . // The region where this NodeBalancer will be deployed. // +kubebuilder:validation:Required Region *string `json:"region" tf:"region,omitempty"` // A list of tags applied to this object. Tags are for organizational purposes only. // An array of tags applied to this object. Tags are for organizational purposes only. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*NodebalancerParameters) DeepCopy ¶
func (in *NodebalancerParameters) DeepCopy() *NodebalancerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodebalancerParameters.
func (*NodebalancerParameters) DeepCopyInto ¶
func (in *NodebalancerParameters) DeepCopyInto(out *NodebalancerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodebalancerSpec ¶
type NodebalancerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider NodebalancerParameters `json:"forProvider"` }
NodebalancerSpec defines the desired state of Nodebalancer
func (*NodebalancerSpec) DeepCopy ¶
func (in *NodebalancerSpec) DeepCopy() *NodebalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodebalancerSpec.
func (*NodebalancerSpec) DeepCopyInto ¶
func (in *NodebalancerSpec) DeepCopyInto(out *NodebalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodebalancerStatus ¶
type NodebalancerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider NodebalancerObservation `json:"atProvider,omitempty"` }
NodebalancerStatus defines the observed state of Nodebalancer.
func (*NodebalancerStatus) DeepCopy ¶
func (in *NodebalancerStatus) DeepCopy() *NodebalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodebalancerStatus.
func (*NodebalancerStatus) DeepCopyInto ¶
func (in *NodebalancerStatus) DeepCopyInto(out *NodebalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransferObservation ¶
type TransferObservation struct { // The total transfer, in MB, used by this NodeBalancer for the current month In *float64 `json:"in,omitempty" tf:"in,omitempty"` // The total inbound transfer, in MB, used for this NodeBalancer for the current month Out *float64 `json:"out,omitempty" tf:"out,omitempty"` // The total outbound transfer, in MB, used for this NodeBalancer for the current month Total *float64 `json:"total,omitempty" tf:"total,omitempty"` }
func (*TransferObservation) DeepCopy ¶
func (in *TransferObservation) DeepCopy() *TransferObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransferObservation.
func (*TransferObservation) DeepCopyInto ¶
func (in *TransferObservation) DeepCopyInto(out *TransferObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransferParameters ¶
type TransferParameters struct { }
func (*TransferParameters) DeepCopy ¶
func (in *TransferParameters) DeepCopy() *TransferParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransferParameters.
func (*TransferParameters) DeepCopyInto ¶
func (in *TransferParameters) DeepCopyInto(out *TransferParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.