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=lbaas.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: lbaas.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 HealthMonitor

type HealthMonitor struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HealthMonitorSpec   `json:"spec,omitempty"`
	Status            HealthMonitorStatus `json:"status,omitempty"`
}

func (*HealthMonitor) DeepCopy

func (in *HealthMonitor) DeepCopy() *HealthMonitor

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

func (*HealthMonitor) DeepCopyInto

func (in *HealthMonitor) DeepCopyInto(out *HealthMonitor)

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

func (*HealthMonitor) DeepCopyObject

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

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

func (*HealthMonitor) SetupWebhookWithManager

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

func (*HealthMonitor) ValidateCreate

func (r *HealthMonitor) ValidateCreate() error

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

func (*HealthMonitor) ValidateDelete

func (r *HealthMonitor) ValidateDelete() error

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

func (*HealthMonitor) ValidateUpdate

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

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

type HealthMonitorList

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

HealthMonitorList is a list of HealthMonitors

func (*HealthMonitorList) DeepCopy

func (in *HealthMonitorList) DeepCopy() *HealthMonitorList

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

func (*HealthMonitorList) DeepCopyInto

func (in *HealthMonitorList) DeepCopyInto(out *HealthMonitorList)

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

func (*HealthMonitorList) DeepCopyObject

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

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

type HealthMonitorSpec

type HealthMonitorSpec struct {
	State *HealthMonitorSpecResource `json:"state,omitempty" tf:"-"`

	Resource HealthMonitorSpecResource `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 (*HealthMonitorSpec) DeepCopy

func (in *HealthMonitorSpec) DeepCopy() *HealthMonitorSpec

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

func (*HealthMonitorSpec) DeepCopyInto

func (in *HealthMonitorSpec) DeepCopyInto(out *HealthMonitorSpec)

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

type HealthMonitorSpecResource

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

	// Interval value
	// +optional
	Interval *int64 `json:"interval,omitempty" tf:"interval"`
	// LBAAS id
	LbaasID *string `json:"lbaasID" tf:"lbaas_id"`
	// Maximum retry counts
	// +optional
	MaxRetries *int64 `json:"maxRetries,omitempty" tf:"max_retries"`
	// Monitor ID
	MonitorID *string `json:"monitorID" tf:"monitor_id"`
	// Port number
	Port *int64 `json:"port" tf:"port"`
	// Protocol value
	Protocol *string `json:"protocol" tf:"protocol"`
	// Timeout in seconds
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// URL Path
	// +optional
	UrlPath *string `json:"urlPath,omitempty" tf:"url_path"`
}

func (*HealthMonitorSpecResource) DeepCopy

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

func (*HealthMonitorSpecResource) DeepCopyInto

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

type HealthMonitorStatus

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

func (in *HealthMonitorStatus) DeepCopy() *HealthMonitorStatus

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

func (*HealthMonitorStatus) DeepCopyInto

func (in *HealthMonitorStatus) DeepCopyInto(out *HealthMonitorStatus)

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

type Lbaas

type Lbaas struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LbaasSpec   `json:"spec,omitempty"`
	Status            LbaasStatus `json:"status,omitempty"`
}

func (*Lbaas) DeepCopy

func (in *Lbaas) DeepCopy() *Lbaas

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

func (*Lbaas) DeepCopyInto

func (in *Lbaas) DeepCopyInto(out *Lbaas)

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

func (*Lbaas) DeepCopyObject

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

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

func (*Lbaas) SetupWebhookWithManager

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

func (*Lbaas) ValidateCreate

func (r *Lbaas) ValidateCreate() error

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

func (*Lbaas) ValidateDelete

func (r *Lbaas) ValidateDelete() error

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

func (*Lbaas) ValidateUpdate

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

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

type LbaasList

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

LbaasList is a list of Lbaass

func (*LbaasList) DeepCopy

func (in *LbaasList) DeepCopy() *LbaasList

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

func (*LbaasList) DeepCopyInto

func (in *LbaasList) DeepCopyInto(out *LbaasList)

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

func (*LbaasList) DeepCopyObject

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

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

type LbaasSpec

type LbaasSpec struct {
	State *LbaasSpecResource `json:"state,omitempty" tf:"-"`

	Resource LbaasSpecResource `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 (*LbaasSpec) DeepCopy

func (in *LbaasSpec) DeepCopy() *LbaasSpec

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

func (*LbaasSpec) DeepCopyInto

func (in *LbaasSpec) DeepCopyInto(out *LbaasSpec)

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

type LbaasSpecHealthMonitors

type LbaasSpecHealthMonitors struct {
	// +optional
	Interval *int64 `json:"interval,omitempty" tf:"interval"`
	// +optional
	MaxRetries *int64 `json:"maxRetries,omitempty" tf:"max_retries"`
	// +optional
	MonitorID *string `json:"monitorID,omitempty" tf:"monitor_id"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Protocol *string `json:"protocol,omitempty" tf:"protocol"`
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// +optional
	UrlPath *string `json:"urlPath,omitempty" tf:"url_path"`
}

func (*LbaasSpecHealthMonitors) DeepCopy

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

func (*LbaasSpecHealthMonitors) DeepCopyInto

func (in *LbaasSpecHealthMonitors) DeepCopyInto(out *LbaasSpecHealthMonitors)

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

type LbaasSpecProtocols

type LbaasSpecProtocols struct {
	// Backend Protocol port number. Should be in range (1, 65535)
	BackendPort *int64 `json:"backendPort" tf:"backend_port"`
	// Backend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
	BackendProtocol *string `json:"backendProtocol" tf:"backend_protocol"`
	// Frontend Protocol port number. Should be in range (1, 65535)
	FrontendPort *int64 `json:"frontendPort" tf:"frontend_port"`
	// Frontend protocol, one of 'TCP', 'HTTP', 'HTTPS'.
	FrontendProtocol *string `json:"frontendProtocol" tf:"frontend_protocol"`
	// Load balancing algorithm: 'round_robin', 'weighted_round_robin', 'least_connection'
	// +optional
	LoadBalancingMethod *string `json:"loadBalancingMethod,omitempty" tf:"load_balancing_method"`
	// No. of connections the listener can accept. Should be between 1-64000
	// +optional
	MaxConn *int64 `json:"maxConn,omitempty" tf:"max_conn"`
	// The UUID of a load balancer protocol
	// +optional
	ProtocolID *string `json:"protocolID,omitempty" tf:"protocol_id"`
	// Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE
	// +optional
	SessionStickiness *string `json:"sessionStickiness,omitempty" tf:"session_stickiness"`
	// This references to SSL/TLS certificate for a protocol
	// +optional
	TlsCertificateID *int64 `json:"tlsCertificateID,omitempty" tf:"tls_certificate_id"`
}

func (*LbaasSpecProtocols) DeepCopy

func (in *LbaasSpecProtocols) DeepCopy() *LbaasSpecProtocols

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

func (*LbaasSpecProtocols) DeepCopyInto

func (in *LbaasSpecProtocols) DeepCopyInto(out *LbaasSpecProtocols)

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

type LbaasSpecResource

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

	// +optional
	Datacenter *string `json:"datacenter,omitempty" tf:"datacenter"`
	// Description of a load balancer.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	HealthMonitors []LbaasSpecHealthMonitors `json:"healthMonitors,omitempty" tf:"health_monitors"`
	// The load balancer's name.
	Name *string `json:"name" tf:"name"`
	// Protocols to be assigned to this load balancer.
	// +optional
	Protocols []LbaasSpecProtocols `json:"protocols,omitempty" tf:"protocols"`
	// The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
	// +optional
	ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"`
	// The name of the resource
	// +optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"`
	// The status of the resource
	// +optional
	ResourceStatus *string `json:"resourceStatus,omitempty" tf:"resource_status"`
	// +optional
	SslCiphers []string `json:"sslCiphers,omitempty" tf:"ssl_ciphers"`
	// The operation status 'ONLINE' or 'OFFLINE' of a load balancer.
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// The subnet where this Load Balancer will be provisioned.
	Subnets []int64 `json:"subnets" tf:"subnets"`
	// Specifies if a load balancer is public or private
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet."
	// +optional
	UseSystemPublicIPPool *bool `json:"useSystemPublicIPPool,omitempty" tf:"use_system_public_ip_pool"`
	// The virtual ip address of this load balancer
	// +optional
	Vip *string `json:"vip,omitempty" tf:"vip"`
	// +optional
	WaitTimeMinutes *int64 `json:"waitTimeMinutes,omitempty" tf:"wait_time_minutes"`
}

func (*LbaasSpecResource) DeepCopy

func (in *LbaasSpecResource) DeepCopy() *LbaasSpecResource

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

func (*LbaasSpecResource) DeepCopyInto

func (in *LbaasSpecResource) DeepCopyInto(out *LbaasSpecResource)

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

type LbaasStatus

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

func (in *LbaasStatus) DeepCopy() *LbaasStatus

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

func (*LbaasStatus) DeepCopyInto

func (in *LbaasStatus) DeepCopyInto(out *LbaasStatus)

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

type ServerInstanceAttachment

type ServerInstanceAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServerInstanceAttachmentSpec   `json:"spec,omitempty"`
	Status            ServerInstanceAttachmentStatus `json:"status,omitempty"`
}

func (*ServerInstanceAttachment) DeepCopy

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

func (*ServerInstanceAttachment) DeepCopyInto

func (in *ServerInstanceAttachment) DeepCopyInto(out *ServerInstanceAttachment)

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

func (*ServerInstanceAttachment) DeepCopyObject

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

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

func (*ServerInstanceAttachment) SetupWebhookWithManager

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

func (*ServerInstanceAttachment) ValidateCreate

func (r *ServerInstanceAttachment) ValidateCreate() error

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

func (*ServerInstanceAttachment) ValidateDelete

func (r *ServerInstanceAttachment) ValidateDelete() error

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

func (*ServerInstanceAttachment) ValidateUpdate

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

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

type ServerInstanceAttachmentList

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

ServerInstanceAttachmentList is a list of ServerInstanceAttachments

func (*ServerInstanceAttachmentList) DeepCopy

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

func (*ServerInstanceAttachmentList) DeepCopyInto

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

func (*ServerInstanceAttachmentList) DeepCopyObject

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

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

type ServerInstanceAttachmentSpec

type ServerInstanceAttachmentSpec struct {
	State *ServerInstanceAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServerInstanceAttachmentSpecResource `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 (*ServerInstanceAttachmentSpec) DeepCopy

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

func (*ServerInstanceAttachmentSpec) DeepCopyInto

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

type ServerInstanceAttachmentSpecResource

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

	// The UUID of a load balancer
	LbaasID *string `json:"lbaasID" tf:"lbaas_id"`
	// The Private IP address of a load balancer member.
	PrivateIPAddress *string `json:"privateIPAddress" tf:"private_ip_address"`
	// The UUID of a load balancer member
	// +optional
	Uuid *string `json:"uuid,omitempty" tf:"uuid"`
	// The weight of a load balancer member.
	// +optional
	Weight *int64 `json:"weight,omitempty" tf:"weight"`
}

func (*ServerInstanceAttachmentSpecResource) DeepCopy

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

func (*ServerInstanceAttachmentSpecResource) DeepCopyInto

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

type ServerInstanceAttachmentStatus

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

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

func (*ServerInstanceAttachmentStatus) DeepCopyInto

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