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

v1beta1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the operator v1beta1 API group +kubebuilder:object:generate=true +groupName=operator.openstack.org

Index

Constants

View Source
const (

	// OpenStackOperatorErrorMessage
	OpenStackOperatorErrorMessage = "OpenStackOperator error occured %s"

	// OpenStackOperatorReadyInitMessage
	OpenStackOperatorReadyInitMessage = "OpenStackOperator not started"

	// OpenStackOperatorReadyRunningMessage
	OpenStackOperatorReadyRunningMessage = "OpenStackOperator in progress"

	// OpenStackOperatorReadyMessage
	OpenStackOperatorReadyMessage = "OpenStackOperator completed"
)

Common Messages used by Openstack operator

View Source
const (
	// OpenStackOperatorReadyCondition Status=True condition which indicates if operators have been deployed
	OpenStackOperatorReadyCondition condition.Type = "OpenStackOperatorReadyCondition"
)

OpenStack Condition Types used by API objects.

Variables

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

	// 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 OpenStack

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

	Spec   OpenStackSpec   `json:"spec,omitempty"`
	Status OpenStackStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +operator-sdk:csv:customresourcedefinitions:displayName="OpenStack" +kubebuilder:printcolumn:name="Deployed Operator Count",type=integer,JSONPath=`.status.deployedOperatorCount` +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[0].status",description="Status" OpenStack is the Schema for the openstacks API

func (*OpenStack) DeepCopy

func (in *OpenStack) DeepCopy() *OpenStack

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

func (*OpenStack) DeepCopyInto

func (in *OpenStack) DeepCopyInto(out *OpenStack)

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

func (*OpenStack) DeepCopyObject

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

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

type OpenStackList

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

OpenStackList contains a list of OpenStack

func (*OpenStackList) DeepCopy

func (in *OpenStackList) DeepCopy() *OpenStackList

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

func (*OpenStackList) DeepCopyInto

func (in *OpenStackList) DeepCopyInto(out *OpenStackList)

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

func (*OpenStackList) DeepCopyObject

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

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

type OpenStackSpec

type OpenStackSpec struct {
}

OpenStackSpec defines the desired state of OpenStack

func (*OpenStackSpec) DeepCopy

func (in *OpenStackSpec) DeepCopy() *OpenStackSpec

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

func (*OpenStackSpec) DeepCopyInto

func (in *OpenStackSpec) DeepCopyInto(out *OpenStackSpec)

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

type OpenStackStatus

type OpenStackStatus struct {

	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"}
	// Conditions
	Conditions condition.Conditions `json:"conditions,omitempty" optional:"true"`

	// DeployedOperatorCount - the number of operators deployed
	DeployedOperatorCount *int `json:"deployedOperatorCount,omitempty"`

	// ObservedGeneration - the most recent generation observed for this object.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"` // no spec yet so maybe we don't need this

	// ContainerImage - the container image that has been successfully deployed
	ContainerImage *string `json:"containerImage,omitempty"`
}

OpenStackStatus defines the observed state of OpenStack

func (*OpenStackStatus) DeepCopy

func (in *OpenStackStatus) DeepCopy() *OpenStackStatus

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

func (*OpenStackStatus) DeepCopyInto

func (in *OpenStackStatus) DeepCopyInto(out *OpenStackStatus)

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