Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the openstack v1alpha1 API group. +kubebuilder:object:generate=true +groupName=openstack.jacero.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "openstack.jacero.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type OpenStackLoadBalancer

type OpenStackLoadBalancer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OpenStackLoadBalancerSpec   `json:"spec,omitempty"`
	Status OpenStackLoadBalancerStatus `json:"status,omitempty"`
}

OpenStackLoadBalancer is the Schema for the openstackloadbalancers API.

func (*OpenStackLoadBalancer) DeepCopy

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

func (*OpenStackLoadBalancer) DeepCopyInto

func (in *OpenStackLoadBalancer) DeepCopyInto(out *OpenStackLoadBalancer)

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

func (*OpenStackLoadBalancer) DeepCopyObject

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

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

type OpenStackLoadBalancerList

type OpenStackLoadBalancerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OpenStackLoadBalancer `json:"items"`
}

OpenStackLoadBalancerList contains a list of OpenStackLoadBalancer.

func (*OpenStackLoadBalancerList) DeepCopy

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

func (*OpenStackLoadBalancerList) DeepCopyInto

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

func (*OpenStackLoadBalancerList) DeepCopyObject

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

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

type OpenStackLoadBalancerSpec

type OpenStackLoadBalancerSpec struct {
	// ClassName for the loadbalancer class
	// +kubebuilder:validation:Required
	ClassName string `json:"className"`

	// ApplicationCredentialSecretRef is the reference to a secret with OpenStack application credentials
	// +kubebuilder:validation:Required
	ApplicationCredentialSecretRef SecretReference `json:"applicationCredentialSecretRef"`

	// CreateFloatingIP determines whether to create a floating IP for the load balancer
	// +kubebuilder:default=false
	CreateFloatingIP bool `json:"createFloatingIP,omitempty"`

	// FloatingIPNetworkID is the ID of the external network for floating IP allocation
	// Only required if createFloatingIP is true
	// +optional
	FloatingIPNetworkID string `json:"floatingIPNetworkID,omitempty"`
}

OpenStackLoadBalancerSpec defines the desired state of OpenStackLoadBalancer.

func (*OpenStackLoadBalancerSpec) DeepCopy

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

func (*OpenStackLoadBalancerSpec) DeepCopyInto

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

type OpenStackLoadBalancerStatus

type OpenStackLoadBalancerStatus struct {
	// Conditions represents the latest available observations of the load balancer's state
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// DetectedNetworkID is the auto-detected OpenStack network ID
	// +optional
	LBNetworkID string `json:"loadbalancerNetworkID,omitempty"`

	// DetectedSubnetID is the auto-detected OpenStack subnet ID
	// +optional
	LBSubnetID string `json:"loadbalancerSubnetID,omitempty"`

	// Ready indicates if the OpenStack resources have been successfully created and configured
	// +optional
	Ready bool `json:"ready,omitempty"`
}

OpenStackLoadBalancerStatus defines the observed state of OpenStackLoadBalancer.

func (*OpenStackLoadBalancerStatus) DeepCopy

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

func (*OpenStackLoadBalancerStatus) DeepCopyInto

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

type SecretReference

type SecretReference struct {
	// Name is the name of the secret
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// Namespace is the namespace of the secret
	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`
}

SecretReference contains information about the secret containing OpenStack credentials

func (*SecretReference) DeepCopy

func (in *SecretReference) DeepCopy() *SecretReference

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

func (*SecretReference) DeepCopyInto

func (in *SecretReference) DeepCopyInto(out *SecretReference)

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