Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_CloudProfileMapping_To_v1alpha1_CloudProfileMapping(in *config.CloudProfileMapping, out *CloudProfileMapping, s conversion.Scope) error
- func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, ...) error
- func Convert_config_MachineImage_To_v1alpha1_MachineImage(in *config.MachineImage, out *MachineImage, s conversion.Scope) error
- func Convert_v1alpha1_CloudProfileMapping_To_config_CloudProfileMapping(in *CloudProfileMapping, out *config.CloudProfileMapping, s conversion.Scope) error
- func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, ...) error
- func Convert_v1alpha1_MachineImage_To_config_MachineImage(in *MachineImage, out *config.MachineImage, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CloudProfileMapping
- type ControllerConfiguration
- type MachineImage
Constants ¶
const GroupName = "openstack.provider.extensions.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_CloudProfileMapping_To_v1alpha1_CloudProfileMapping ¶
func Convert_config_CloudProfileMapping_To_v1alpha1_CloudProfileMapping(in *config.CloudProfileMapping, out *CloudProfileMapping, s conversion.Scope) error
Convert_config_CloudProfileMapping_To_v1alpha1_CloudProfileMapping is an autogenerated conversion function.
func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration ¶
func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, s conversion.Scope) error
Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration is an autogenerated conversion function.
func Convert_config_MachineImage_To_v1alpha1_MachineImage ¶
func Convert_config_MachineImage_To_v1alpha1_MachineImage(in *config.MachineImage, out *MachineImage, s conversion.Scope) error
Convert_config_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.
func Convert_v1alpha1_CloudProfileMapping_To_config_CloudProfileMapping ¶
func Convert_v1alpha1_CloudProfileMapping_To_config_CloudProfileMapping(in *CloudProfileMapping, out *config.CloudProfileMapping, s conversion.Scope) error
Convert_v1alpha1_CloudProfileMapping_To_config_CloudProfileMapping is an autogenerated conversion function.
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration ¶
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_MachineImage_To_config_MachineImage ¶
func Convert_v1alpha1_MachineImage_To_config_MachineImage(in *MachineImage, out *config.MachineImage, s conversion.Scope) error
Convert_v1alpha1_MachineImage_To_config_MachineImage is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CloudProfileMapping ¶
type CloudProfileMapping struct { // Name is the name of the CloudProfile. Name string `json:"name"` // Image is the name of the image. Image string `json:"image"` }
CloudProfileMapping is a mapping to the correct image for the given cloudprofile.
func (*CloudProfileMapping) DeepCopy ¶
func (in *CloudProfileMapping) DeepCopy() *CloudProfileMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProfileMapping.
func (*CloudProfileMapping) DeepCopyInto ¶
func (in *CloudProfileMapping) DeepCopyInto(out *CloudProfileMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerConfiguration ¶
type ControllerConfiguration struct { metav1.TypeMeta `json:",inline"` // MachineImages is the list of machine images that are understood by the controller. It maps // logical names and versions to OpenStack-specific identifiers. MachineImages []MachineImage `json:"machineImages,omitempty"` }
ControllerConfiguration defines the configuration for the OpenStack provider.
func (*ControllerConfiguration) DeepCopy ¶
func (in *ControllerConfiguration) DeepCopy() *ControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfiguration.
func (*ControllerConfiguration) DeepCopyInto ¶
func (in *ControllerConfiguration) DeepCopyInto(out *ControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerConfiguration) DeepCopyObject ¶
func (in *ControllerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineImage ¶
type MachineImage struct { // Name is the logical name of the machine image. Name string `json:"name"` // Version is the logical version of the machine image. Version string `json:"version"` // CloudProfiles is a mapping to the correct image for the given cloudprofile. CloudProfiles []CloudProfileMapping `json:"cloudProfiles"` }
MachineImage is a mapping from logical names and versions to OpenStack-specific identifiers.
func (*MachineImage) DeepCopy ¶
func (in *MachineImage) DeepCopy() *MachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.
func (*MachineImage) DeepCopyInto ¶
func (in *MachineImage) DeepCopyInto(out *MachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.