Documentation
¶
Index ¶
Constants ¶
const GroupName = "openstack.machine.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type MachineProviderConfig ¶
type MachineProviderConfig struct { metav1.TypeMeta Spec MachineProviderConfigSpec }
MachineProviderConfig contains OpenStack specific configuration for a machine.
func (*MachineProviderConfig) DeepCopy ¶
func (in *MachineProviderConfig) DeepCopy() *MachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineProviderConfig.
func (*MachineProviderConfig) DeepCopyInto ¶
func (in *MachineProviderConfig) DeepCopyInto(out *MachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineProviderConfig) DeepCopyObject ¶
func (in *MachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineProviderConfigSpec ¶
type MachineProviderConfigSpec struct { // ImageID is the ID of image used by the machine. ImageID string // ImageName is the name of the image used the machine. If ImageID is specified, it takes priority over ImageName. ImageName string // Region is the region the machine should belong to. Region string // AvailabilityZone is the availability zone the machine belongs. AvailabilityZone string // FlavorName is the flavor of the machine. FlavorName string // KeyName is the name of the key pair used for SSH access. KeyName string // SecurityGroups is a list of security groups the instance should belong to. SecurityGroups []string // Tags is a map of key-value pairs that annotate the instance. Tags are stored in the instance's Metadata field. Tags map[string]string // NetworkID is the ID of the network the instance should belong to. NetworkID string // SubnetID is the ID of the subnet the instance should belong to. If SubnetID is not specified SubnetID *string // PodNetworkCidr is the CIDR range for the pods assigned to this instance. // Deprecated - use `PodNetworkCIDRs` instead. PodNetworkCidr string // PodNetworkCidr is the CIDR ranges for the pods assigned to this instance. PodNetworkCIDRs []string // The size of the root disk used for the instance. RootDiskSize int // The type of the root disk type used for the instance RootDiskType *string // UseConfigDrive enables the use of configuration drives for the instance. UseConfigDrive *bool // ServerGroupID is the ID of the server group this instance should belong to. ServerGroupID *string // Networks is a list of networks the instance should belong to. Networks is mutually exclusive with the NetworkID option // and only one should be specified. Networks []OpenStackNetwork }
MachineProviderConfigSpec is the specification for an OpenStack instance.
func (*MachineProviderConfigSpec) DeepCopy ¶
func (in *MachineProviderConfigSpec) DeepCopy() *MachineProviderConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineProviderConfigSpec.
func (*MachineProviderConfigSpec) DeepCopyInto ¶
func (in *MachineProviderConfigSpec) DeepCopyInto(out *MachineProviderConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackNetwork ¶
type OpenStackNetwork struct { // Id is the ID of a network the instance should belong to. Id string // Name is the name of a network the instance should belong to. If Id is specified, it takes priority over Name. Name string // PodNetwork specifies whether this network is part of the pod network. PodNetwork bool }
OpenStackNetwork describes a network this instance should belong to.
func (*OpenStackNetwork) DeepCopy ¶
func (in *OpenStackNetwork) DeepCopy() *OpenStackNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackNetwork.
func (*OpenStackNetwork) DeepCopyInto ¶
func (in *OpenStackNetwork) DeepCopyInto(out *OpenStackNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.