v1alpha1

package
v0.0.0-...-aaa1511 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cluster.kupenstack.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 GlanceConfiguration

type GlanceConfiguration struct {

	// Whether to disable this component.
	// +kubebuilder:default=false
	Disable bool `json:"disable,omitempty"`

	// Configures number of replicas for each pods.
	// +optional
	Replicas GlanceReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm glance chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*GlanceConfiguration) DeepCopy

func (in *GlanceConfiguration) DeepCopy() *GlanceConfiguration

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

func (*GlanceConfiguration) DeepCopyInto

func (in *GlanceConfiguration) DeepCopyInto(out *GlanceConfiguration)

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

type GlanceReplicas

type GlanceReplicas struct {

	// Number of glance-api pods.
	// +kubebuilder:default=0
	// +optional
	Api int32 `json:"api,omitempty"`

	// Number of glance-registry pods.
	// +kubebuilder:default=0
	// +optional
	Registry int32 `json:"registry,omitempty"`
}

func (*GlanceReplicas) DeepCopy

func (in *GlanceReplicas) DeepCopy() *GlanceReplicas

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

func (*GlanceReplicas) DeepCopyInto

func (in *GlanceReplicas) DeepCopyInto(out *GlanceReplicas)

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

type HorizonConfiguration

type HorizonConfiguration struct {

	// Whether to disable this component.
	// +kubebuilder:default=false
	Disable bool `json:"disable,omitempty"`

	// Configures number of replicas for each pods.
	// +optional
	Replicas HorizonReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm horizon chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*HorizonConfiguration) DeepCopy

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

func (*HorizonConfiguration) DeepCopyInto

func (in *HorizonConfiguration) DeepCopyInto(out *HorizonConfiguration)

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

type HorizonReplicas

type HorizonReplicas struct {

	// Number of horizon-server pods.
	// +kubebuilder:default=0
	// +optional
	Server int32 `json:"server,omitempty"`
}

func (*HorizonReplicas) DeepCopy

func (in *HorizonReplicas) DeepCopy() *HorizonReplicas

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

func (*HorizonReplicas) DeepCopyInto

func (in *HorizonReplicas) DeepCopyInto(out *HorizonReplicas)

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

type KeystoneConfiguration

type KeystoneConfiguration struct {

	// Configures number of replicas for each pods.
	// +optional
	Replicas KeystoneReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm keystone chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*KeystoneConfiguration) DeepCopy

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

func (*KeystoneConfiguration) DeepCopyInto

func (in *KeystoneConfiguration) DeepCopyInto(out *KeystoneConfiguration)

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

type KeystoneReplicas

type KeystoneReplicas struct {

	// Number of keystone-api pods.
	// +kubebuilder:default=0
	// +optional
	Api int32 `json:"api,omitempty"`
}

func (*KeystoneReplicas) DeepCopy

func (in *KeystoneReplicas) DeepCopy() *KeystoneReplicas

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

func (*KeystoneReplicas) DeepCopyInto

func (in *KeystoneReplicas) DeepCopyInto(out *KeystoneReplicas)

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

type NeutronConfiguration

type NeutronConfiguration struct {

	// Whether to disable this component.
	// +kubebuilder:default=false
	Disable bool `json:"disable,omitempty"`

	// Configures number of replicas for each pods.
	// +optional
	Replicas NeutronReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm neutron chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*NeutronConfiguration) DeepCopy

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

func (*NeutronConfiguration) DeepCopyInto

func (in *NeutronConfiguration) DeepCopyInto(out *NeutronConfiguration)

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

type NeutronReplicas

type NeutronReplicas struct {

	// Number of neutron-server pods.
	// +kubebuilder:default=0
	// +optional
	Server int32 `json:"server,omitempty"`

	// Number of neutron-ironic-agent pods.
	// +kubebuilder:default=0
	// +optional
	IronicAgent int32 `json:"ironicAgent,omitempty"`
}

func (*NeutronReplicas) DeepCopy

func (in *NeutronReplicas) DeepCopy() *NeutronReplicas

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

func (*NeutronReplicas) DeepCopyInto

func (in *NeutronReplicas) DeepCopyInto(out *NeutronReplicas)

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

type NovaConfiguration

type NovaConfiguration struct {

	// Whether to disable this component.
	// +kubebuilder:default=false
	Disable bool `json:"disable,omitempty"`

	// Configures number of replicas for each pods.
	// +optional
	Replicas NovaReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm nova chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*NovaConfiguration) DeepCopy

func (in *NovaConfiguration) DeepCopy() *NovaConfiguration

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

func (*NovaConfiguration) DeepCopyInto

func (in *NovaConfiguration) DeepCopyInto(out *NovaConfiguration)

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

type NovaReplicas

type NovaReplicas struct {

	// Number of Nova api-metadata pods.
	// +kubebuilder:default=0
	// +optional
	Metadata int32 `json:"metadata,omitempty"`

	// Number of Nova ironic pods.
	// +kubebuilder:default=0
	// +optional
	Ironic int32 `json:"ironic,omitempty"`

	// Number of Nova placement pods.
	// +kubebuilder:default=0
	// +optional
	Placement int32 `json:"placement,omitempty"`

	// Number of nova-api-osapi pods.
	// +kubebuilder:default=0
	// +optional
	Osapi int32 `json:"osapi,omitempty"`

	// Number of Nova conductor pods.
	// +kubebuilder:default=0
	// +optional
	Conductor int32 `json:"conductor,omitempty"`
}

func (*NovaReplicas) DeepCopy

func (in *NovaReplicas) DeepCopy() *NovaReplicas

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

func (*NovaReplicas) DeepCopyInto

func (in *NovaReplicas) DeepCopyInto(out *NovaReplicas)

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

type OccpRef

type OccpRef struct {

	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`
}

func (*OccpRef) DeepCopy

func (in *OccpRef) DeepCopy() *OccpRef

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

func (*OccpRef) DeepCopyInto

func (in *OccpRef) DeepCopyInto(out *OccpRef)

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

type OpenStackCloudConfigurationProfile

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

	Spec OpenStackCloudConfigurationProfileSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:shortName={occp},scope=Namespaced

func (*OpenStackCloudConfigurationProfile) DeepCopy

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

func (*OpenStackCloudConfigurationProfile) DeepCopyInto

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

func (*OpenStackCloudConfigurationProfile) DeepCopyObject

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

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

type OpenStackCloudConfigurationProfileList

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

+kubebuilder:object:root=true

func (*OpenStackCloudConfigurationProfileList) DeepCopy

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

func (*OpenStackCloudConfigurationProfileList) DeepCopyInto

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

func (*OpenStackCloudConfigurationProfileList) DeepCopyObject

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

type OpenStackCloudConfigurationProfileSpec

type OpenStackCloudConfigurationProfileSpec struct {

	// The parent profile to inherit and override in this definition.
	From string `json:"from,omitempty"`

	// Keystone related confs
	Keystone KeystoneConfiguration `json:"keystone,omitempty"`

	// // Horizon related confs
	Horizon HorizonConfiguration `json:"horizon,omitempty"`

	// // Glance related confs
	Glance GlanceConfiguration `json:"glance,omitempty"`

	// // Nova related confs
	Nova NovaConfiguration `json:"nova,omitempty"`

	// // Neutron related confs
	Neutron NeutronConfiguration `json:"neutron,omitempty"`

	// // Placement related confs
	Placement PlacementConfiguration `json:"placement,omitempty"`
}

func (*OpenStackCloudConfigurationProfileSpec) DeepCopy

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

func (*OpenStackCloudConfigurationProfileSpec) DeepCopyInto

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

type OpenstackNode

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

	Spec   OpenstackNodeSpec   `json:"spec"`
	Status OpenstackNodeStatus `json:"status,omitempty"`
}

// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.status" +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ROLES",type="string",JSONPath=".metadata.annotations.node-role" +kubebuilder:printcolumn:name="PROFILE",type="string",JSONPath=".spec.openstackCloudConfigurationProfileRef.name" +kubebuilder:resource:shortName={osknode,osknodes},scope=Cluster

func (*OpenstackNode) DeepCopy

func (in *OpenstackNode) DeepCopy() *OpenstackNode

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

func (*OpenstackNode) DeepCopyInto

func (in *OpenstackNode) DeepCopyInto(out *OpenstackNode)

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

func (*OpenstackNode) DeepCopyObject

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

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

type OpenstackNodeList

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

func (*OpenstackNodeList) DeepCopy

func (in *OpenstackNodeList) DeepCopy() *OpenstackNodeList

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

func (*OpenstackNodeList) DeepCopyInto

func (in *OpenstackNodeList) DeepCopyInto(out *OpenstackNodeList)

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

func (*OpenstackNodeList) DeepCopyObject

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

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

type OpenstackNodeSpec

type OpenstackNodeSpec struct {

	// OpenStack Cloud Configuration Profile(OCCP) used by this node.
	// +kubebuilder:validation:Required
	Occp OccpRef `json:"openstackCloudConfigurationProfileRef"`
}

func (*OpenstackNodeSpec) DeepCopy

func (in *OpenstackNodeSpec) DeepCopy() *OpenstackNodeSpec

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

func (*OpenstackNodeSpec) DeepCopyInto

func (in *OpenstackNodeSpec) DeepCopyInto(out *OpenstackNodeSpec)

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

type OpenstackNodeStatus

type OpenstackNodeStatus struct {

	// Whether configuration is generated or not.
	Generated bool `json:"generated,omitempty"`

	// Generated configuration from OCCP.
	// +kubebuilder:pruning:PreserveUnknownFields
	DesiredNodeConfiguration ValuesFile `json:"desiredNodeConfiguration,omitempty"`

	// Status of OpenStack cluster components for this osknode.
	Status string `json:"status,omitempty"`
}

func (*OpenstackNodeStatus) DeepCopy

func (in *OpenstackNodeStatus) DeepCopy() *OpenstackNodeStatus

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

func (*OpenstackNodeStatus) DeepCopyInto

func (in *OpenstackNodeStatus) DeepCopyInto(out *OpenstackNodeStatus)

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

type PlacementConfiguration

type PlacementConfiguration struct {

	// Whether to disable this component.
	// +kubebuilder:default=false
	Disable bool `json:"disable,omitempty"`

	// Configures number of replicas for each pods.
	// +optional
	Replicas PlacementReplicas `json:"replicas"`

	// Reference: Values.conf in openstack-helm placement chart.
	// +kubebuilder:pruning:PreserveUnknownFields
	Conf ValuesFile `json:"conf,omitempty"`
}

func (*PlacementConfiguration) DeepCopy

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

func (*PlacementConfiguration) DeepCopyInto

func (in *PlacementConfiguration) DeepCopyInto(out *PlacementConfiguration)

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

type PlacementReplicas

type PlacementReplicas struct {

	// Number of placement-api pods.
	// +kubebuilder:default=0
	// +optional
	Api int32 `json:"api,omitempty"`
}

func (*PlacementReplicas) DeepCopy

func (in *PlacementReplicas) DeepCopy() *PlacementReplicas

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

func (*PlacementReplicas) DeepCopyInto

func (in *PlacementReplicas) DeepCopyInto(out *PlacementReplicas)

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

type ValuesFile

type ValuesFile struct{}

func (*ValuesFile) DeepCopy

func (in *ValuesFile) DeepCopy() *ValuesFile

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

func (*ValuesFile) DeepCopyInto

func (in *ValuesFile) DeepCopyInto(out *ValuesFile)

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