v1alpha1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "csi-driver-lvm.metal.extensions.gardener.cloud"

GroupName is the group name use in this package

View Source
const (
	ShootCsiDriverLvmResourceName = "extension-csi-driver-lvm"
)

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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.

func (*CsiDriverLvmConfig) IsValid

func (config *CsiDriverLvmConfig) IsValid(log logr.Logger) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL