Documentation
¶
Overview ¶
Package openstack contains API Schema definitions for OpenStack clusters. +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/openshift/hive/pkg/apis/hive
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachinePool ¶
type MachinePool struct { // FlavorName defines the OpenStack Nova flavor. // eg. m1.large FlavorName string `json:"type"` // RootVolume defines the root volume for instances in the machine pool. // The instances use ephemeral disks if not set. // +optional RootVolume *RootVolume `json:"rootVolume,omitempty"` }
MachinePool stores the configuration for a machine pool installed on OpenStack.
func (*MachinePool) DeepCopy ¶
func (in *MachinePool) DeepCopy() *MachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePool.
func (*MachinePool) DeepCopyInto ¶
func (in *MachinePool) DeepCopyInto(out *MachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePool) Set ¶
func (o *MachinePool) Set(required *MachinePool)
Set sets the values from `required` to `a`.
type Platform ¶
type Platform struct { // CredentialsSecretRef refers to a secret that contains the OpenStack account access // credentials. CredentialsSecretRef corev1.LocalObjectReference `json:"credentialsSecretRef"` // Cloud will be used to indicate the OS_CLOUD value to use the right section // from the cloud.yaml in the CredentialsSecretRef. Cloud string `json:"cloud"` }
Platform stores all the global OpenStack configuration
func (*Platform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
func (*Platform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RootVolume ¶
type RootVolume struct { // Size defines the size of the volume in gibibytes (GiB). // Required Size int `json:"size"` // Type defines the type of the volume. // Required Type string `json:"type"` }
RootVolume defines the storage for an instance.
func (*RootVolume) DeepCopy ¶
func (in *RootVolume) DeepCopy() *RootVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootVolume.
func (*RootVolume) DeepCopyInto ¶
func (in *RootVolume) DeepCopyInto(out *RootVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.