Documentation ¶
Overview ¶
+groupName=load.vultr.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Balancer
- func (in *Balancer) DeepCopy() *Balancer
- func (in *Balancer) DeepCopyInto(out *Balancer)
- func (in *Balancer) DeepCopyObject() runtime.Object
- func (r *Balancer) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Balancer) ValidateCreate() error
- func (r *Balancer) ValidateDelete() error
- func (r *Balancer) ValidateUpdate(old runtime.Object) error
- type BalancerList
- type BalancerSpec
- type BalancerSpecFirewallRules
- type BalancerSpecForwardingRules
- type BalancerSpecHealthCheck
- type BalancerSpecHealthCheckCodec
- type BalancerSpecResource
- type BalancerSpecSsl
- type BalancerSpecSslCodec
- type BalancerStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: load.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Balancer ¶
type Balancer struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BalancerSpec `json:"spec,omitempty"` Status BalancerStatus `json:"status,omitempty"` }
func (*Balancer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Balancer.
func (*Balancer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Balancer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Balancer) SetupWebhookWithManager ¶
func (*Balancer) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Balancer) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type BalancerList ¶
type BalancerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Balancer CRD objects Items []Balancer `json:"items,omitempty"` }
BalancerList is a list of Balancers
func (*BalancerList) DeepCopy ¶
func (in *BalancerList) DeepCopy() *BalancerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerList.
func (*BalancerList) DeepCopyInto ¶
func (in *BalancerList) DeepCopyInto(out *BalancerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BalancerList) DeepCopyObject ¶
func (in *BalancerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BalancerSpec ¶
type BalancerSpec struct { State *BalancerSpecResource `json:"state,omitempty" tf:"-"` Resource BalancerSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*BalancerSpec) DeepCopy ¶
func (in *BalancerSpec) DeepCopy() *BalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpec.
func (*BalancerSpec) DeepCopyInto ¶
func (in *BalancerSpec) DeepCopyInto(out *BalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecFirewallRules ¶
type BalancerSpecFirewallRules struct { // +optional ID *string `json:"ID,omitempty" tf:"id"` IpType *string `json:"ipType" tf:"ip_type"` Port *int64 `json:"port" tf:"port"` Source *string `json:"source" tf:"source"` }
func (*BalancerSpecFirewallRules) DeepCopy ¶
func (in *BalancerSpecFirewallRules) DeepCopy() *BalancerSpecFirewallRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpecFirewallRules.
func (*BalancerSpecFirewallRules) DeepCopyInto ¶
func (in *BalancerSpecFirewallRules) DeepCopyInto(out *BalancerSpecFirewallRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecForwardingRules ¶
type BalancerSpecForwardingRules struct { BackendPort *int64 `json:"backendPort" tf:"backend_port"` BackendProtocol *string `json:"backendProtocol" tf:"backend_protocol"` FrontendPort *int64 `json:"frontendPort" tf:"frontend_port"` FrontendProtocol *string `json:"frontendProtocol" tf:"frontend_protocol"` // +optional RuleID *string `json:"ruleID,omitempty" tf:"rule_id"` }
func (*BalancerSpecForwardingRules) DeepCopy ¶
func (in *BalancerSpecForwardingRules) DeepCopy() *BalancerSpecForwardingRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpecForwardingRules.
func (*BalancerSpecForwardingRules) DeepCopyInto ¶
func (in *BalancerSpecForwardingRules) DeepCopyInto(out *BalancerSpecForwardingRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecHealthCheck ¶
type BalancerSpecHealthCheck struct { CheckInterval *int64 `json:"checkInterval" tf:"check_interval"` HealthyThreshold *int64 `json:"healthyThreshold" tf:"healthy_threshold"` // +optional Path *string `json:"path,omitempty" tf:"path"` Port *int64 `json:"port" tf:"port"` Protocol *string `json:"protocol" tf:"protocol"` ResponseTimeout *int64 `json:"responseTimeout" tf:"response_timeout"` UnhealthyThreshold *int64 `json:"unhealthyThreshold" tf:"unhealthy_threshold"` }
func (*BalancerSpecHealthCheck) DeepCopy ¶
func (in *BalancerSpecHealthCheck) DeepCopy() *BalancerSpecHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpecHealthCheck.
func (*BalancerSpecHealthCheck) DeepCopyInto ¶
func (in *BalancerSpecHealthCheck) DeepCopyInto(out *BalancerSpecHealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecHealthCheckCodec ¶
type BalancerSpecHealthCheckCodec struct { }
+k8s:deepcopy-gen=false
func (BalancerSpecHealthCheckCodec) Decode ¶
func (BalancerSpecHealthCheckCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type BalancerSpecResource ¶
type BalancerSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AttachedInstances []string `json:"attachedInstances,omitempty" tf:"attached_instances"` // +optional BalancingAlgorithm *string `json:"balancingAlgorithm,omitempty" tf:"balancing_algorithm"` // +optional CookieName *string `json:"cookieName,omitempty" tf:"cookie_name"` // +optional FirewallRules []BalancerSpecFirewallRules `json:"firewallRules,omitempty" tf:"firewall_rules"` // +kubebuilder:validation:MinItems=1 ForwardingRules []BalancerSpecForwardingRules `json:"forwardingRules" tf:"forwarding_rules"` // +optional HasSsl *bool `json:"hasSsl,omitempty" tf:"has_ssl"` // +optional HealthCheck *BalancerSpecHealthCheck `json:"healthCheck,omitempty" tf:"health_check"` // +optional Ipv4 *string `json:"ipv4,omitempty" tf:"ipv4"` // +optional Ipv6 *string `json:"ipv6,omitempty" tf:"ipv6"` // +optional Label *string `json:"label,omitempty" tf:"label"` // +optional PrivateNetwork *string `json:"privateNetwork,omitempty" tf:"private_network"` // +optional ProxyProtocol *bool `json:"proxyProtocol,omitempty" tf:"proxy_protocol"` Region *string `json:"region" tf:"region"` // +optional Ssl *BalancerSpecSsl `json:"ssl,omitempty" tf:"ssl"` // +optional SslRedirect *bool `json:"sslRedirect,omitempty" tf:"ssl_redirect"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*BalancerSpecResource) DeepCopy ¶
func (in *BalancerSpecResource) DeepCopy() *BalancerSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpecResource.
func (*BalancerSpecResource) DeepCopyInto ¶
func (in *BalancerSpecResource) DeepCopyInto(out *BalancerSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecSsl ¶
type BalancerSpecSsl struct { Certificate *string `json:"certificate" tf:"certificate"` // +optional Chain *string `json:"chain,omitempty" tf:"chain"` PrivateKey *string `json:"-" sensitive:"true" tf:"private_key"` }
func (*BalancerSpecSsl) DeepCopy ¶
func (in *BalancerSpecSsl) DeepCopy() *BalancerSpecSsl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerSpecSsl.
func (*BalancerSpecSsl) DeepCopyInto ¶
func (in *BalancerSpecSsl) DeepCopyInto(out *BalancerSpecSsl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BalancerSpecSslCodec ¶
type BalancerSpecSslCodec struct { }
+k8s:deepcopy-gen=false
func (BalancerSpecSslCodec) Decode ¶
func (BalancerSpecSslCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type BalancerStatus ¶
type BalancerStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*BalancerStatus) DeepCopy ¶
func (in *BalancerStatus) DeepCopy() *BalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BalancerStatus.
func (*BalancerStatus) DeepCopyInto ¶
func (in *BalancerStatus) DeepCopyInto(out *BalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.