Documentation
¶
Index ¶
- Constants
- Variables
- func Convert_csidriverlvm_CsiDriverLvmConfig_To_v1alpha1_CsiDriverLvmConfig(in *csidriverlvm.CsiDriverLvmConfig, out *CsiDriverLvmConfig, ...) error
- func Convert_v1alpha1_CsiDriverLvmConfig_To_csidriverlvm_CsiDriverLvmConfig(in *CsiDriverLvmConfig, out *csidriverlvm.CsiDriverLvmConfig, ...) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CsiDriverLvmConfig
- func (config *CsiDriverLvmConfig) ConfigureDefaults(hostWritePath *string, devicePattern *string)
- func (in *CsiDriverLvmConfig) DeepCopy() *CsiDriverLvmConfig
- func (in *CsiDriverLvmConfig) DeepCopyInto(out *CsiDriverLvmConfig)
- func (in *CsiDriverLvmConfig) DeepCopyObject() runtime.Object
- func (config *CsiDriverLvmConfig) IsValid(log logr.Logger) bool
Constants ¶
const GroupName = "csi-driver-lvm.metal.extensions.gardener.cloud"
GroupName is the group name use in this package
const (
ShootCsiDriverLvmResourceName = "extension-csi-driver-lvm"
)
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_csidriverlvm_CsiDriverLvmConfig_To_v1alpha1_CsiDriverLvmConfig ¶
func Convert_csidriverlvm_CsiDriverLvmConfig_To_v1alpha1_CsiDriverLvmConfig(in *csidriverlvm.CsiDriverLvmConfig, out *CsiDriverLvmConfig, s conversion.Scope) error
Convert_csidriverlvm_CsiDriverLvmConfig_To_v1alpha1_CsiDriverLvmConfig is an autogenerated conversion function.
func Convert_v1alpha1_CsiDriverLvmConfig_To_csidriverlvm_CsiDriverLvmConfig ¶
func Convert_v1alpha1_CsiDriverLvmConfig_To_csidriverlvm_CsiDriverLvmConfig(in *CsiDriverLvmConfig, out *csidriverlvm.CsiDriverLvmConfig, s conversion.Scope) error
Convert_v1alpha1_CsiDriverLvmConfig_To_csidriverlvm_CsiDriverLvmConfig 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 CsiDriverLvmConfig ¶
type CsiDriverLvmConfig struct { metav1.TypeMeta `json:",inline"` // DevicePattern can be used to configure the glob pattern for the devices used by the LVM driver // +optional DevicePattern *string `json:"devicePattern,omitempty"` // HostWritePath can be used to configure the host write path - used on read-only filesystems (Talos OS "/var/etc/lvm") // +optional HostWritePath *string `json:"hostWritePath,omitempty"` // DefaultStorageClass can be set to a name of a storage class deployed by this extension, which will then be marked as the default storage class. // +optional DefaultStorageClass *string `json:"defaultStorageClass,omitempty"` }
ControllerConfiguration configuration resource
func (*CsiDriverLvmConfig) ConfigureDefaults ¶
func (config *CsiDriverLvmConfig) ConfigureDefaults(hostWritePath *string, devicePattern *string)
func (*CsiDriverLvmConfig) DeepCopy ¶
func (in *CsiDriverLvmConfig) DeepCopy() *CsiDriverLvmConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CsiDriverLvmConfig.
func (*CsiDriverLvmConfig) DeepCopyInto ¶
func (in *CsiDriverLvmConfig) DeepCopyInto(out *CsiDriverLvmConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CsiDriverLvmConfig) DeepCopyObject ¶
func (in *CsiDriverLvmConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.