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=loadbalancer.digitalocean.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: loadbalancer.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 Loadbalancer

type Loadbalancer struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LoadbalancerSpec   `json:"spec,omitempty"`
	Status            LoadbalancerStatus `json:"status,omitempty"`
}

func (*Loadbalancer) DeepCopy

func (in *Loadbalancer) DeepCopy() *Loadbalancer

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

func (*Loadbalancer) DeepCopyInto

func (in *Loadbalancer) DeepCopyInto(out *Loadbalancer)

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

func (*Loadbalancer) DeepCopyObject

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

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

func (*Loadbalancer) SetupWebhookWithManager

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

func (*Loadbalancer) ValidateCreate

func (r *Loadbalancer) ValidateCreate() error

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

func (*Loadbalancer) ValidateDelete

func (r *Loadbalancer) ValidateDelete() error

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

func (*Loadbalancer) ValidateUpdate

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

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

type LoadbalancerList

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

LoadbalancerList is a list of Loadbalancers

func (*LoadbalancerList) DeepCopy

func (in *LoadbalancerList) DeepCopy() *LoadbalancerList

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

func (*LoadbalancerList) DeepCopyInto

func (in *LoadbalancerList) DeepCopyInto(out *LoadbalancerList)

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

func (*LoadbalancerList) DeepCopyObject

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

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

type LoadbalancerSpec

type LoadbalancerSpec struct {
	State *LoadbalancerSpecResource `json:"state,omitempty" tf:"-"`

	Resource LoadbalancerSpecResource `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 (*LoadbalancerSpec) DeepCopy

func (in *LoadbalancerSpec) DeepCopy() *LoadbalancerSpec

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

func (*LoadbalancerSpec) DeepCopyInto

func (in *LoadbalancerSpec) DeepCopyInto(out *LoadbalancerSpec)

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

type LoadbalancerSpecForwardingRule

type LoadbalancerSpecForwardingRule struct {
	// +optional
	// Deprecated
	CertificateID *string `json:"certificateID,omitempty" tf:"certificate_id"`
	// +optional
	CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name"`
	EntryPort       *int64  `json:"entryPort" tf:"entry_port"`
	EntryProtocol   *string `json:"entryProtocol" tf:"entry_protocol"`
	TargetPort      *int64  `json:"targetPort" tf:"target_port"`
	TargetProtocol  *string `json:"targetProtocol" tf:"target_protocol"`
	// +optional
	TlsPassthrough *bool `json:"tlsPassthrough,omitempty" tf:"tls_passthrough"`
}

func (*LoadbalancerSpecForwardingRule) DeepCopy

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

func (*LoadbalancerSpecForwardingRule) DeepCopyInto

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

type LoadbalancerSpecHealthcheck

type LoadbalancerSpecHealthcheck struct {
	// +optional
	CheckIntervalSeconds *int64 `json:"checkIntervalSeconds,omitempty" tf:"check_interval_seconds"`
	// +optional
	HealthyThreshold *int64 `json:"healthyThreshold,omitempty" tf:"healthy_threshold"`
	// +optional
	Path     *string `json:"path,omitempty" tf:"path"`
	Port     *int64  `json:"port" tf:"port"`
	Protocol *string `json:"protocol" tf:"protocol"`
	// +optional
	ResponseTimeoutSeconds *int64 `json:"responseTimeoutSeconds,omitempty" tf:"response_timeout_seconds"`
	// +optional
	UnhealthyThreshold *int64 `json:"unhealthyThreshold,omitempty" tf:"unhealthy_threshold"`
}

func (*LoadbalancerSpecHealthcheck) DeepCopy

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

func (*LoadbalancerSpecHealthcheck) DeepCopyInto

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

type LoadbalancerSpecHealthcheckCodec

type LoadbalancerSpecHealthcheckCodec struct {
}

+k8s:deepcopy-gen=false

func (LoadbalancerSpecHealthcheckCodec) Decode

func (LoadbalancerSpecHealthcheckCodec) Encode

func (LoadbalancerSpecHealthcheckCodec) IsEmpty

type LoadbalancerSpecResource

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

	// +optional
	Algorithm *string `json:"algorithm,omitempty" tf:"algorithm"`
	// +optional
	DisableLetsEncryptDNSRecords *bool `json:"disableLetsEncryptDNSRecords,omitempty" tf:"disable_lets_encrypt_dns_records"`
	// +optional
	DropletIDS []int64 `json:"dropletIDS,omitempty" tf:"droplet_ids"`
	// +optional
	DropletTag *string `json:"dropletTag,omitempty" tf:"droplet_tag"`
	// +optional
	EnableBackendKeepalive *bool `json:"enableBackendKeepalive,omitempty" tf:"enable_backend_keepalive"`
	// +optional
	EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty" tf:"enable_proxy_protocol"`
	// +kubebuilder:validation:MinItems=1
	ForwardingRule []LoadbalancerSpecForwardingRule `json:"forwardingRule" tf:"forwarding_rule"`
	// +optional
	Healthcheck *LoadbalancerSpecHealthcheck `json:"healthcheck,omitempty" tf:"healthcheck"`
	// +optional
	Ip   *string `json:"ip,omitempty" tf:"ip"`
	Name *string `json:"name" tf:"name"`
	// +optional
	RedirectHTTPToHTTPS *bool   `json:"redirectHTTPToHTTPS,omitempty" tf:"redirect_http_to_https"`
	Region              *string `json:"region" tf:"region"`
	// +optional
	Size *string `json:"size,omitempty" tf:"size"`
	// +optional
	SizeUnit *int64 `json:"sizeUnit,omitempty" tf:"size_unit"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	StickySessions *LoadbalancerSpecStickySessions `json:"stickySessions,omitempty" tf:"sticky_sessions"`
	// the uniform resource name for the load balancer
	// +optional
	Urn *string `json:"urn,omitempty" tf:"urn"`
	// +optional
	VpcUUID *string `json:"vpcUUID,omitempty" tf:"vpc_uuid"`
}

func (*LoadbalancerSpecResource) DeepCopy

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

func (*LoadbalancerSpecResource) DeepCopyInto

func (in *LoadbalancerSpecResource) DeepCopyInto(out *LoadbalancerSpecResource)

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

type LoadbalancerSpecStickySessions

type LoadbalancerSpecStickySessions struct {
	// +optional
	CookieName *string `json:"cookieName,omitempty" tf:"cookie_name"`
	// +optional
	CookieTtlSeconds *int64 `json:"cookieTtlSeconds,omitempty" tf:"cookie_ttl_seconds"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*LoadbalancerSpecStickySessions) DeepCopy

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

func (*LoadbalancerSpecStickySessions) DeepCopyInto

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

type LoadbalancerSpecStickySessionsCodec

type LoadbalancerSpecStickySessionsCodec struct {
}

+k8s:deepcopy-gen=false

func (LoadbalancerSpecStickySessionsCodec) Decode

func (LoadbalancerSpecStickySessionsCodec) Encode

func (LoadbalancerSpecStickySessionsCodec) IsEmpty

type LoadbalancerStatus

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

func (in *LoadbalancerStatus) DeepCopy() *LoadbalancerStatus

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

func (*LoadbalancerStatus) DeepCopyInto

func (in *LoadbalancerStatus) DeepCopyInto(out *LoadbalancerStatus)

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