v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=load.hcloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type 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

func (in *Balancer) DeepCopy() *Balancer

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

func (*Balancer) DeepCopyInto

func (in *Balancer) DeepCopyInto(out *Balancer)

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

func (*Balancer) DeepCopyObject

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

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

func (*Balancer) SetupWebhookWithManager

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

func (*Balancer) ValidateCreate

func (r *Balancer) ValidateCreate() error

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

func (*Balancer) ValidateDelete

func (r *Balancer) ValidateDelete() error

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

func (*Balancer) ValidateUpdate

func (r *Balancer) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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 BalancerNetwork

type BalancerNetwork struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BalancerNetworkSpec   `json:"spec,omitempty"`
	Status            BalancerNetworkStatus `json:"status,omitempty"`
}

func (*BalancerNetwork) DeepCopy

func (in *BalancerNetwork) DeepCopy() *BalancerNetwork

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

func (*BalancerNetwork) DeepCopyInto

func (in *BalancerNetwork) DeepCopyInto(out *BalancerNetwork)

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

func (*BalancerNetwork) DeepCopyObject

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

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

func (*BalancerNetwork) SetupWebhookWithManager

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

func (*BalancerNetwork) ValidateCreate

func (r *BalancerNetwork) ValidateCreate() error

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

func (*BalancerNetwork) ValidateDelete

func (r *BalancerNetwork) ValidateDelete() error

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

func (*BalancerNetwork) ValidateUpdate

func (r *BalancerNetwork) ValidateUpdate(old runtime.Object) error

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

type BalancerNetworkList

type BalancerNetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of BalancerNetwork CRD objects
	Items []BalancerNetwork `json:"items,omitempty"`
}

BalancerNetworkList is a list of BalancerNetworks

func (*BalancerNetworkList) DeepCopy

func (in *BalancerNetworkList) DeepCopy() *BalancerNetworkList

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

func (*BalancerNetworkList) DeepCopyInto

func (in *BalancerNetworkList) DeepCopyInto(out *BalancerNetworkList)

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

func (*BalancerNetworkList) DeepCopyObject

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

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

type BalancerNetworkSpec

type BalancerNetworkSpec struct {
	State *BalancerNetworkSpecResource `json:"state,omitempty" tf:"-"`

	Resource BalancerNetworkSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*BalancerNetworkSpec) DeepCopy

func (in *BalancerNetworkSpec) DeepCopy() *BalancerNetworkSpec

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

func (*BalancerNetworkSpec) DeepCopyInto

func (in *BalancerNetworkSpec) DeepCopyInto(out *BalancerNetworkSpec)

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

type BalancerNetworkSpecResource

type BalancerNetworkSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	EnablePublicInterface *bool `json:"enablePublicInterface,omitempty" tf:"enable_public_interface"`
	// +optional
	Ip             *string `json:"ip,omitempty" tf:"ip"`
	LoadBalancerID *int64  `json:"loadBalancerID" tf:"load_balancer_id"`
	// +optional
	NetworkID *int64 `json:"networkID,omitempty" tf:"network_id"`
	// +optional
	SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"`
}

func (*BalancerNetworkSpecResource) DeepCopy

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

func (*BalancerNetworkSpecResource) DeepCopyInto

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

type BalancerNetworkStatus

type BalancerNetworkStatus 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 (*BalancerNetworkStatus) DeepCopy

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

func (*BalancerNetworkStatus) DeepCopyInto

func (in *BalancerNetworkStatus) DeepCopyInto(out *BalancerNetworkStatus)

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

type BalancerService

type BalancerService struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BalancerServiceSpec   `json:"spec,omitempty"`
	Status            BalancerServiceStatus `json:"status,omitempty"`
}

func (*BalancerService) DeepCopy

func (in *BalancerService) DeepCopy() *BalancerService

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

func (*BalancerService) DeepCopyInto

func (in *BalancerService) DeepCopyInto(out *BalancerService)

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

func (*BalancerService) DeepCopyObject

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

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

func (*BalancerService) SetupWebhookWithManager

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

func (*BalancerService) ValidateCreate

func (r *BalancerService) ValidateCreate() error

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

func (*BalancerService) ValidateDelete

func (r *BalancerService) ValidateDelete() error

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

func (*BalancerService) ValidateUpdate

func (r *BalancerService) ValidateUpdate(old runtime.Object) error

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

type BalancerServiceList

type BalancerServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of BalancerService CRD objects
	Items []BalancerService `json:"items,omitempty"`
}

BalancerServiceList is a list of BalancerServices

func (*BalancerServiceList) DeepCopy

func (in *BalancerServiceList) DeepCopy() *BalancerServiceList

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

func (*BalancerServiceList) DeepCopyInto

func (in *BalancerServiceList) DeepCopyInto(out *BalancerServiceList)

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

func (*BalancerServiceList) DeepCopyObject

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

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

type BalancerServiceSpec

type BalancerServiceSpec struct {
	State *BalancerServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource BalancerServiceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*BalancerServiceSpec) DeepCopy

func (in *BalancerServiceSpec) DeepCopy() *BalancerServiceSpec

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

func (*BalancerServiceSpec) DeepCopyInto

func (in *BalancerServiceSpec) DeepCopyInto(out *BalancerServiceSpec)

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

type BalancerServiceSpecHealthCheck

type BalancerServiceSpecHealthCheck struct {
	// +optional
	Http     *BalancerServiceSpecHealthCheckHttp `json:"http,omitempty" tf:"http"`
	Interval *int64                              `json:"interval" tf:"interval"`
	Port     *int64                              `json:"port" tf:"port"`
	Protocol *string                             `json:"protocol" tf:"protocol"`
	// +optional
	Retries *int64 `json:"retries,omitempty" tf:"retries"`
	Timeout *int64 `json:"timeout" tf:"timeout"`
}

func (*BalancerServiceSpecHealthCheck) DeepCopy

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

func (*BalancerServiceSpecHealthCheck) DeepCopyInto

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

type BalancerServiceSpecHealthCheckCodec

type BalancerServiceSpecHealthCheckCodec struct {
}

+k8s:deepcopy-gen=false

func (BalancerServiceSpecHealthCheckCodec) Decode

func (BalancerServiceSpecHealthCheckCodec) Encode

func (BalancerServiceSpecHealthCheckCodec) IsEmpty

type BalancerServiceSpecHealthCheckHttp

type BalancerServiceSpecHealthCheckHttp struct {
	// +optional
	Domain *string `json:"domain,omitempty" tf:"domain"`
	// +optional
	Path *string `json:"path,omitempty" tf:"path"`
	// +optional
	Response *string `json:"response,omitempty" tf:"response"`
	// +optional
	StatusCodes []string `json:"statusCodes,omitempty" tf:"status_codes"`
	// +optional
	Tls *bool `json:"tls,omitempty" tf:"tls"`
}

func (*BalancerServiceSpecHealthCheckHttp) DeepCopy

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

func (*BalancerServiceSpecHealthCheckHttp) DeepCopyInto

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

type BalancerServiceSpecHealthCheckHttpCodec

type BalancerServiceSpecHealthCheckHttpCodec struct {
}

+k8s:deepcopy-gen=false

func (BalancerServiceSpecHealthCheckHttpCodec) Decode

func (BalancerServiceSpecHealthCheckHttpCodec) Encode

func (BalancerServiceSpecHealthCheckHttpCodec) IsEmpty

type BalancerServiceSpecHttp

type BalancerServiceSpecHttp struct {
	// +optional
	Certificates []int64 `json:"certificates,omitempty" tf:"certificates"`
	// +optional
	CookieLifetime *int64 `json:"cookieLifetime,omitempty" tf:"cookie_lifetime"`
	// +optional
	CookieName *string `json:"cookieName,omitempty" tf:"cookie_name"`
	// +optional
	RedirectHTTP *bool `json:"redirectHTTP,omitempty" tf:"redirect_http"`
	// +optional
	StickySessions *bool `json:"stickySessions,omitempty" tf:"sticky_sessions"`
}

func (*BalancerServiceSpecHttp) DeepCopy

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

func (*BalancerServiceSpecHttp) DeepCopyInto

func (in *BalancerServiceSpecHttp) DeepCopyInto(out *BalancerServiceSpecHttp)

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

type BalancerServiceSpecHttpCodec

type BalancerServiceSpecHttpCodec struct {
}

+k8s:deepcopy-gen=false

func (BalancerServiceSpecHttpCodec) Decode

func (BalancerServiceSpecHttpCodec) Encode

func (BalancerServiceSpecHttpCodec) IsEmpty

type BalancerServiceSpecResource

type BalancerServiceSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	DestinationPort *int64 `json:"destinationPort,omitempty" tf:"destination_port"`
	// +optional
	HealthCheck *BalancerServiceSpecHealthCheck `json:"healthCheck,omitempty" tf:"health_check"`
	// +optional
	Http *BalancerServiceSpecHttp `json:"http,omitempty" tf:"http"`
	// +optional
	ListenPort     *int64  `json:"listenPort,omitempty" tf:"listen_port"`
	LoadBalancerID *string `json:"loadBalancerID" tf:"load_balancer_id"`
	Protocol       *string `json:"protocol" tf:"protocol"`
	// +optional
	Proxyprotocol *bool `json:"proxyprotocol,omitempty" tf:"proxyprotocol"`
}

func (*BalancerServiceSpecResource) DeepCopy

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

func (*BalancerServiceSpecResource) DeepCopyInto

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

type BalancerServiceStatus

type BalancerServiceStatus 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 (*BalancerServiceStatus) DeepCopy

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

func (*BalancerServiceStatus) DeepCopyInto

func (in *BalancerServiceStatus) DeepCopyInto(out *BalancerServiceStatus)

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

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:"-"`

	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 BalancerSpecAlgorithm

type BalancerSpecAlgorithm struct {
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*BalancerSpecAlgorithm) DeepCopy

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

func (*BalancerSpecAlgorithm) DeepCopyInto

func (in *BalancerSpecAlgorithm) DeepCopyInto(out *BalancerSpecAlgorithm)

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

type BalancerSpecAlgorithmCodec

type BalancerSpecAlgorithmCodec struct {
}

+k8s:deepcopy-gen=false

func (BalancerSpecAlgorithmCodec) Decode

func (BalancerSpecAlgorithmCodec) Encode

func (BalancerSpecAlgorithmCodec) IsEmpty

type BalancerSpecResource

type BalancerSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Algorithm *BalancerSpecAlgorithm `json:"algorithm,omitempty" tf:"algorithm"`
	// +optional
	Ipv4 *string `json:"ipv4,omitempty" tf:"ipv4"`
	// +optional
	Ipv6 *string `json:"ipv6,omitempty" tf:"ipv6"`
	// +optional
	Labels           map[string]string `json:"labels,omitempty" tf:"labels"`
	LoadBalancerType *string           `json:"loadBalancerType" tf:"load_balancer_type"`
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	Name     *string `json:"name" tf:"name"`
	// +optional
	NetworkID *int64 `json:"networkID,omitempty" tf:"network_id"`
	// +optional
	NetworkIP *string `json:"networkIP,omitempty" tf:"network_ip"`
	// +optional
	NetworkZone *string `json:"networkZone,omitempty" tf:"network_zone"`
	// +optional
	Target []BalancerSpecTarget `json:"target,omitempty" tf:"target"`
}

func (*BalancerSpecResource) DeepCopy

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 BalancerSpecTarget

type BalancerSpecTarget struct {
	// +optional
	ServerID *int64  `json:"serverID,omitempty" tf:"server_id"`
	Type     *string `json:"type" tf:"type"`
	// +optional
	// Deprecated
	UsePrivateIP *bool `json:"usePrivateIP,omitempty" tf:"use_private_ip"`
}

func (*BalancerSpecTarget) DeepCopy

func (in *BalancerSpecTarget) DeepCopy() *BalancerSpecTarget

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

func (*BalancerSpecTarget) DeepCopyInto

func (in *BalancerSpecTarget) DeepCopyInto(out *BalancerSpecTarget)

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

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.

type BalancerTarget

type BalancerTarget struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BalancerTargetSpec   `json:"spec,omitempty"`
	Status            BalancerTargetStatus `json:"status,omitempty"`
}

func (*BalancerTarget) DeepCopy

func (in *BalancerTarget) DeepCopy() *BalancerTarget

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

func (*BalancerTarget) DeepCopyInto

func (in *BalancerTarget) DeepCopyInto(out *BalancerTarget)

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

func (*BalancerTarget) DeepCopyObject

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

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

func (*BalancerTarget) SetupWebhookWithManager

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

func (*BalancerTarget) ValidateCreate

func (r *BalancerTarget) ValidateCreate() error

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

func (*BalancerTarget) ValidateDelete

func (r *BalancerTarget) ValidateDelete() error

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

func (*BalancerTarget) ValidateUpdate

func (r *BalancerTarget) ValidateUpdate(old runtime.Object) error

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

type BalancerTargetList

type BalancerTargetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of BalancerTarget CRD objects
	Items []BalancerTarget `json:"items,omitempty"`
}

BalancerTargetList is a list of BalancerTargets

func (*BalancerTargetList) DeepCopy

func (in *BalancerTargetList) DeepCopy() *BalancerTargetList

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

func (*BalancerTargetList) DeepCopyInto

func (in *BalancerTargetList) DeepCopyInto(out *BalancerTargetList)

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

func (*BalancerTargetList) DeepCopyObject

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

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

type BalancerTargetSpec

type BalancerTargetSpec struct {
	State *BalancerTargetSpecResource `json:"state,omitempty" tf:"-"`

	Resource BalancerTargetSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*BalancerTargetSpec) DeepCopy

func (in *BalancerTargetSpec) DeepCopy() *BalancerTargetSpec

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

func (*BalancerTargetSpec) DeepCopyInto

func (in *BalancerTargetSpec) DeepCopyInto(out *BalancerTargetSpec)

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

type BalancerTargetSpecResource

type BalancerTargetSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Ip *string `json:"ip,omitempty" tf:"ip"`
	// +optional
	LabelSelector  *string `json:"labelSelector,omitempty" tf:"label_selector"`
	LoadBalancerID *int64  `json:"loadBalancerID" tf:"load_balancer_id"`
	// +optional
	ServerID *int64  `json:"serverID,omitempty" tf:"server_id"`
	Type     *string `json:"type" tf:"type"`
	// +optional
	UsePrivateIP *bool `json:"usePrivateIP,omitempty" tf:"use_private_ip"`
}

func (*BalancerTargetSpecResource) DeepCopy

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

func (*BalancerTargetSpecResource) DeepCopyInto

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

type BalancerTargetStatus

type BalancerTargetStatus 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 (*BalancerTargetStatus) DeepCopy

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

func (*BalancerTargetStatus) DeepCopyInto

func (in *BalancerTargetStatus) DeepCopyInto(out *BalancerTargetStatus)

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

Jump to

Keyboard shortcuts

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