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: 14 Imported by: 0

Documentation

Overview

+groupName=lb.ibm.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: lb.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 Lb

type Lb struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LbSpec   `json:"spec,omitempty"`
	Status            LbStatus `json:"status,omitempty"`
}

func (*Lb) DeepCopy

func (in *Lb) DeepCopy() *Lb

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

func (*Lb) DeepCopyInto

func (in *Lb) DeepCopyInto(out *Lb)

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

func (*Lb) DeepCopyObject

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

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

func (*Lb) SetupWebhookWithManager

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

func (*Lb) ValidateCreate

func (r *Lb) ValidateCreate() error

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

func (*Lb) ValidateDelete

func (r *Lb) ValidateDelete() error

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

func (*Lb) ValidateUpdate

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

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

type LbList

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

LbList is a list of Lbs

func (*LbList) DeepCopy

func (in *LbList) DeepCopy() *LbList

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

func (*LbList) DeepCopyInto

func (in *LbList) DeepCopyInto(out *LbList)

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

func (*LbList) DeepCopyObject

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

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

type LbSpec

type LbSpec struct {
	State *LbSpecResource `json:"state,omitempty" tf:"-"`

	Resource LbSpecResource `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 (*LbSpec) DeepCopy

func (in *LbSpec) DeepCopy() *LbSpec

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

func (*LbSpec) DeepCopyInto

func (in *LbSpec) DeepCopyInto(out *LbSpec)

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

type LbSpecResource

type LbSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Connections value
	Connections *int64 `json:"connections" tf:"connections"`
	// Datacenter name info
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// Boolena value true if Load balncer is dedicated type
	// +optional
	Dedicated *bool `json:"dedicated,omitempty" tf:"dedicated"`
	// true if High availability is enabled
	// +optional
	HaEnabled *bool `json:"haEnabled,omitempty" tf:"ha_enabled"`
	// +optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// Security certificate ID
	// +optional
	SecurityCertificateID *int64 `json:"securityCertificateID,omitempty" tf:"security_certificate_id"`
	// +optional
	SslEnabled *bool `json:"sslEnabled,omitempty" tf:"ssl_enabled"`
	// boolean value true if SSL offload is enabled
	// +optional
	SslOffload *bool `json:"sslOffload,omitempty" tf:"ssl_offload"`
	// +optional
	SubnetID *int64 `json:"subnetID,omitempty" tf:"subnet_id"`
	// Tags associated with resource
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*LbSpecResource) DeepCopy

func (in *LbSpecResource) DeepCopy() *LbSpecResource

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

func (*LbSpecResource) DeepCopyInto

func (in *LbSpecResource) DeepCopyInto(out *LbSpecResource)

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

type LbStatus

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

func (in *LbStatus) DeepCopy() *LbStatus

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

func (*LbStatus) DeepCopyInto

func (in *LbStatus) DeepCopyInto(out *LbStatus)

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

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec,omitempty"`
	Status            ServiceStatus `json:"status,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) SetupWebhookWithManager

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

func (*Service) ValidateCreate

func (r *Service) ValidateCreate() error

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

func (*Service) ValidateDelete

func (r *Service) ValidateDelete() error

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

func (*Service) ValidateUpdate

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

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

type ServiceGroup

type ServiceGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceGroupSpec   `json:"spec,omitempty"`
	Status            ServiceGroupStatus `json:"status,omitempty"`
}

func (*ServiceGroup) DeepCopy

func (in *ServiceGroup) DeepCopy() *ServiceGroup

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

func (*ServiceGroup) DeepCopyInto

func (in *ServiceGroup) DeepCopyInto(out *ServiceGroup)

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

func (*ServiceGroup) DeepCopyObject

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

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

func (*ServiceGroup) SetupWebhookWithManager

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

func (*ServiceGroup) ValidateCreate

func (r *ServiceGroup) ValidateCreate() error

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

func (*ServiceGroup) ValidateDelete

func (r *ServiceGroup) ValidateDelete() error

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

func (*ServiceGroup) ValidateUpdate

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

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

type ServiceGroupList

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

ServiceGroupList is a list of ServiceGroups

func (*ServiceGroupList) DeepCopy

func (in *ServiceGroupList) DeepCopy() *ServiceGroupList

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

func (*ServiceGroupList) DeepCopyInto

func (in *ServiceGroupList) DeepCopyInto(out *ServiceGroupList)

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

func (*ServiceGroupList) DeepCopyObject

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

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

type ServiceGroupSpec

type ServiceGroupSpec struct {
	State *ServiceGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceGroupSpecResource `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 (*ServiceGroupSpec) DeepCopy

func (in *ServiceGroupSpec) DeepCopy() *ServiceGroupSpec

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

func (*ServiceGroupSpec) DeepCopyInto

func (in *ServiceGroupSpec) DeepCopyInto(out *ServiceGroupSpec)

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

type ServiceGroupSpecResource

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

	// Allocation type
	Allocation *int64 `json:"allocation" tf:"allocation"`
	// Loadbalancer ID
	LoadBalancerID *int64 `json:"loadBalancerID" tf:"load_balancer_id"`
	// Port number
	Port *int64 `json:"port" tf:"port"`
	// Routing method
	RoutingMethod *string `json:"routingMethod" tf:"routing_method"`
	// Routing type
	RoutingType *string `json:"routingType" tf:"routing_type"`
	// Service group ID
	// +optional
	ServiceGroupID *int64 `json:"serviceGroupID,omitempty" tf:"service_group_id"`
	// List of tags
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Timeout value
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// Virtual server ID
	// +optional
	VirtualServerID *int64 `json:"virtualServerID,omitempty" tf:"virtual_server_id"`
}

func (*ServiceGroupSpecResource) DeepCopy

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

func (*ServiceGroupSpecResource) DeepCopyInto

func (in *ServiceGroupSpecResource) DeepCopyInto(out *ServiceGroupSpecResource)

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

type ServiceGroupStatus

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

func (in *ServiceGroupStatus) DeepCopy() *ServiceGroupStatus

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

func (*ServiceGroupStatus) DeepCopyInto

func (in *ServiceGroupStatus) DeepCopyInto(out *ServiceGroupStatus)

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

type ServiceList

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

ServiceList is a list of Services

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

type ServiceSpec

type ServiceSpec struct {
	State *ServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServiceSpecResource `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 (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type ServiceSpecResource

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

	// Boolean value true, if enabled else false
	Enabled *bool `json:"enabled" tf:"enabled"`
	// health check type
	HealthCheckType *string `json:"healthCheckType" tf:"health_check_type"`
	// IP Address ID
	IpAddressID *int64 `json:"ipAddressID" tf:"ip_address_id"`
	// Port number
	Port *int64 `json:"port" tf:"port"`
	// service group ID
	ServiceGroupID *int64 `json:"serviceGroupID" tf:"service_group_id"`
	// Tags for the resource
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Weight value
	Weight *int64 `json:"weight" tf:"weight"`
}

func (*ServiceSpecResource) DeepCopy

func (in *ServiceSpecResource) DeepCopy() *ServiceSpecResource

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

func (*ServiceSpecResource) DeepCopyInto

func (in *ServiceSpecResource) DeepCopyInto(out *ServiceSpecResource)

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

type ServiceStatus

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

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

type Vpx

type Vpx struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpxSpec   `json:"spec,omitempty"`
	Status            VpxStatus `json:"status,omitempty"`
}

func (*Vpx) DeepCopy

func (in *Vpx) DeepCopy() *Vpx

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

func (*Vpx) DeepCopyInto

func (in *Vpx) DeepCopyInto(out *Vpx)

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

func (*Vpx) DeepCopyObject

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

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

func (*Vpx) SetupWebhookWithManager

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

func (*Vpx) ValidateCreate

func (r *Vpx) ValidateCreate() error

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

func (*Vpx) ValidateDelete

func (r *Vpx) ValidateDelete() error

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

func (*Vpx) ValidateUpdate

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

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

type VpxHa

type VpxHa struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpxHaSpec   `json:"spec,omitempty"`
	Status            VpxHaStatus `json:"status,omitempty"`
}

func (*VpxHa) DeepCopy

func (in *VpxHa) DeepCopy() *VpxHa

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

func (*VpxHa) DeepCopyInto

func (in *VpxHa) DeepCopyInto(out *VpxHa)

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

func (*VpxHa) DeepCopyObject

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

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

func (*VpxHa) SetupWebhookWithManager

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

func (*VpxHa) ValidateCreate

func (r *VpxHa) ValidateCreate() error

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

func (*VpxHa) ValidateDelete

func (r *VpxHa) ValidateDelete() error

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

func (*VpxHa) ValidateUpdate

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

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

type VpxHaList

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

VpxHaList is a list of VpxHas

func (*VpxHaList) DeepCopy

func (in *VpxHaList) DeepCopy() *VpxHaList

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

func (*VpxHaList) DeepCopyInto

func (in *VpxHaList) DeepCopyInto(out *VpxHaList)

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

func (*VpxHaList) DeepCopyObject

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

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

type VpxHaSpec

type VpxHaSpec struct {
	State *VpxHaSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpxHaSpecResource `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 (*VpxHaSpec) DeepCopy

func (in *VpxHaSpec) DeepCopy() *VpxHaSpec

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

func (*VpxHaSpec) DeepCopyInto

func (in *VpxHaSpec) DeepCopyInto(out *VpxHaSpec)

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

type VpxHaSpecResource

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

	// primary ID
	PrimaryID *int64 `json:"primaryID" tf:"primary_id"`
	// Secondary ID
	SecondaryID *int64 `json:"secondaryID" tf:"secondary_id"`
	// Boolean value for stay secondary
	// +optional
	StaySecondary *bool `json:"staySecondary,omitempty" tf:"stay_secondary"`
	// Tags set for the resource
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*VpxHaSpecResource) DeepCopy

func (in *VpxHaSpecResource) DeepCopy() *VpxHaSpecResource

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

func (*VpxHaSpecResource) DeepCopyInto

func (in *VpxHaSpecResource) DeepCopyInto(out *VpxHaSpecResource)

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

type VpxHaStatus

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

func (in *VpxHaStatus) DeepCopy() *VpxHaStatus

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

func (*VpxHaStatus) DeepCopyInto

func (in *VpxHaStatus) DeepCopyInto(out *VpxHaStatus)

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

type VpxList

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

VpxList is a list of Vpxs

func (*VpxList) DeepCopy

func (in *VpxList) DeepCopy() *VpxList

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

func (*VpxList) DeepCopyInto

func (in *VpxList) DeepCopyInto(out *VpxList)

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

func (*VpxList) DeepCopyObject

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

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

type VpxService

type VpxService struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpxServiceSpec   `json:"spec,omitempty"`
	Status            VpxServiceStatus `json:"status,omitempty"`
}

func (*VpxService) DeepCopy

func (in *VpxService) DeepCopy() *VpxService

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

func (*VpxService) DeepCopyInto

func (in *VpxService) DeepCopyInto(out *VpxService)

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

func (*VpxService) DeepCopyObject

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

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

func (*VpxService) SetupWebhookWithManager

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

func (*VpxService) ValidateCreate

func (r *VpxService) ValidateCreate() error

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

func (*VpxService) ValidateDelete

func (r *VpxService) ValidateDelete() error

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

func (*VpxService) ValidateUpdate

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

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

type VpxServiceList

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

VpxServiceList is a list of VpxServices

func (*VpxServiceList) DeepCopy

func (in *VpxServiceList) DeepCopy() *VpxServiceList

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

func (*VpxServiceList) DeepCopyInto

func (in *VpxServiceList) DeepCopyInto(out *VpxServiceList)

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

func (*VpxServiceList) DeepCopyObject

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

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

type VpxServiceSpec

type VpxServiceSpec struct {
	State *VpxServiceSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpxServiceSpecResource `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 (*VpxServiceSpec) DeepCopy

func (in *VpxServiceSpec) DeepCopy() *VpxServiceSpec

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

func (*VpxServiceSpec) DeepCopyInto

func (in *VpxServiceSpec) DeepCopyInto(out *VpxServiceSpec)

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

type VpxServiceSpecResource

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

	// Number of connections limit
	ConnectionLimit *int64 `json:"connectionLimit" tf:"connection_limit"`
	// Destination IP Address
	DestinationIPAddress *string `json:"destinationIPAddress" tf:"destination_ip_address"`
	// Destination Port number
	DestinationPort *int64 `json:"destinationPort" tf:"destination_port"`
	// Health check info
	HealthCheck *string `json:"healthCheck" tf:"health_check"`
	// name
	Name *string `json:"name" tf:"name"`
	// list of tags associated with the resource
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// usip info
	// +optional
	Usip *string `json:"usip,omitempty" tf:"usip"`
	// VIP id
	VipID *string `json:"vipID" tf:"vip_id"`
	// Weight value
	Weight *int64 `json:"weight" tf:"weight"`
}

func (*VpxServiceSpecResource) DeepCopy

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

func (*VpxServiceSpecResource) DeepCopyInto

func (in *VpxServiceSpecResource) DeepCopyInto(out *VpxServiceSpecResource)

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

type VpxServiceStatus

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

func (in *VpxServiceStatus) DeepCopy() *VpxServiceStatus

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

func (*VpxServiceStatus) DeepCopyInto

func (in *VpxServiceStatus) DeepCopyInto(out *VpxServiceStatus)

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

type VpxSpec

type VpxSpec struct {
	State *VpxSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpxSpecResource `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 (*VpxSpec) DeepCopy

func (in *VpxSpec) DeepCopy() *VpxSpec

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

func (*VpxSpec) DeepCopyInto

func (in *VpxSpec) DeepCopyInto(out *VpxSpec)

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

type VpxSpecResource

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

	// Datacenter name
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// IP address count
	IpCount *int64 `json:"ipCount" tf:"ip_count"`
	// management IP address
	// +optional
	ManagementIPAddress *string `json:"managementIPAddress,omitempty" tf:"management_ip_address"`
	// Name
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Plan info
	Plan *string `json:"plan" tf:"plan"`
	// Private subnet
	// +optional
	PrivateSubnet *string `json:"privateSubnet,omitempty" tf:"private_subnet"`
	// Private VLAN id
	// +optional
	PrivateVLANID *int64 `json:"privateVLANID,omitempty" tf:"private_vlan_id"`
	// Public subnet
	// +optional
	PublicSubnet *string `json:"publicSubnet,omitempty" tf:"public_subnet"`
	// Piblic VLAN id
	// +optional
	PublicVLANID *int64 `json:"publicVLANID,omitempty" tf:"public_vlan_id"`
	// Speed value
	Speed *int64 `json:"speed" tf:"speed"`
	// List of the tags
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Type of the VPX
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// version info
	Version *string `json:"version" tf:"version"`
	// List of VIP ids
	// +optional
	VipPool []string `json:"vipPool,omitempty" tf:"vip_pool"`
}

func (*VpxSpecResource) DeepCopy

func (in *VpxSpecResource) DeepCopy() *VpxSpecResource

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

func (*VpxSpecResource) DeepCopyInto

func (in *VpxSpecResource) DeepCopyInto(out *VpxSpecResource)

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

type VpxStatus

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

func (in *VpxStatus) DeepCopy() *VpxStatus

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

func (*VpxStatus) DeepCopyInto

func (in *VpxStatus) DeepCopyInto(out *VpxStatus)

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

type VpxVip

type VpxVip struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VpxVipSpec   `json:"spec,omitempty"`
	Status            VpxVipStatus `json:"status,omitempty"`
}

func (*VpxVip) DeepCopy

func (in *VpxVip) DeepCopy() *VpxVip

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

func (*VpxVip) DeepCopyInto

func (in *VpxVip) DeepCopyInto(out *VpxVip)

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

func (*VpxVip) DeepCopyObject

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

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

func (*VpxVip) SetupWebhookWithManager

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

func (*VpxVip) ValidateCreate

func (r *VpxVip) ValidateCreate() error

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

func (*VpxVip) ValidateDelete

func (r *VpxVip) ValidateDelete() error

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

func (*VpxVip) ValidateUpdate

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

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

type VpxVipList

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

VpxVipList is a list of VpxVips

func (*VpxVipList) DeepCopy

func (in *VpxVipList) DeepCopy() *VpxVipList

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

func (*VpxVipList) DeepCopyInto

func (in *VpxVipList) DeepCopyInto(out *VpxVipList)

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

func (*VpxVipList) DeepCopyObject

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

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

type VpxVipSpec

type VpxVipSpec struct {
	State *VpxVipSpecResource `json:"state,omitempty" tf:"-"`

	Resource VpxVipSpecResource `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 (*VpxVipSpec) DeepCopy

func (in *VpxVipSpec) DeepCopy() *VpxVipSpec

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

func (*VpxVipSpec) DeepCopyInto

func (in *VpxVipSpec) DeepCopyInto(out *VpxVipSpec)

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

type VpxVipSpecResource

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

	// Load balancing method
	LoadBalancingMethod *string `json:"loadBalancingMethod" tf:"load_balancing_method"`
	// NAD controller ID
	NadControllerID *int64 `json:"nadControllerID" tf:"nad_controller_id"`
	// Name
	Name *string `json:"name" tf:"name"`
	// Persistance value
	// +optional
	Persistence *string `json:"persistence,omitempty" tf:"persistence"`
	// security certificate ID
	// +optional
	SecurityCertificateID *int64 `json:"securityCertificateID,omitempty" tf:"security_certificate_id"`
	// Source Port number
	SourcePort *int64 `json:"sourcePort" tf:"source_port"`
	// List of tags
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// Type
	Type *string `json:"type" tf:"type"`
	// Virtual IP address
	VirtualIPAddress *string `json:"virtualIPAddress" tf:"virtual_ip_address"`
}

func (*VpxVipSpecResource) DeepCopy

func (in *VpxVipSpecResource) DeepCopy() *VpxVipSpecResource

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

func (*VpxVipSpecResource) DeepCopyInto

func (in *VpxVipSpecResource) DeepCopyInto(out *VpxVipSpecResource)

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

type VpxVipStatus

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

func (in *VpxVipStatus) DeepCopy() *VpxVipStatus

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

func (*VpxVipStatus) DeepCopyInto

func (in *VpxVipStatus) DeepCopyInto(out *VpxVipStatus)

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