Documentation ¶
Index ¶
- Constants
- Variables
- func CreateCSIDriver(ctx context.Context, identity string, dryRun bool) error
- func CreateControllerSecret(ctx context.Context, identity string, publicCertBytes, privateKeyBytes []byte, ...) error
- func CreateControllerService(ctx context.Context, generatedSelectorValue, identity string, dryRun bool) error
- func CreateConversionDeployment(ctx context.Context, identity string, directCSIContainerImage string, ...) error
- func CreateDaemonSet(ctx context.Context, identity string, directCSIContainerImage string, ...) error
- func CreateDeployment(ctx context.Context, identity string, directCSIContainerImage string, ...) error
- func CreateNamespace(ctx context.Context, identity string, dryRun bool) error
- func CreateOrUpdateConversionCASecret(ctx context.Context, identity string, caCertBytes []byte, dryRun bool) error
- func CreateOrUpdateConversionDeployment(ctx context.Context, identity string, directCSIContainerImage string, ...) error
- func CreateOrUpdateConversionSecret(ctx context.Context, identity string, publicCertBytes, privateKeyBytes []byte, ...) error
- func CreateOrUpdateConversionService(ctx context.Context, generatedSelectorValue, identity string, dryRun bool) error
- func CreateRBACRoles(ctx context.Context, identity string, dryRun bool) error
- func CreateService(ctx context.Context, identity string, dryRun bool) error
- func CreateStorageClass(ctx context.Context, identity string, dryRun bool) error
- func DeleteCSIDriver(ctx context.Context, identity string) error
- func DeleteControllerDeployment(ctx context.Context, identity string) error
- func DeleteControllerSecret(ctx context.Context, identity string) error
- func DeleteConversionDeployment(ctx context.Context, identity string) error
- func DeleteConversionSecret(ctx context.Context, identity string) error
- func DeleteConversionWebhookCertsSecret(ctx context.Context, identity string) error
- func DeleteDaemonSet(ctx context.Context, identity string) error
- func DeleteDeployment(ctx context.Context, identity, name string) error
- func DeleteDriveValidationRules(ctx context.Context, identity string) error
- func DeleteNamespace(ctx context.Context, identity string) error
- func DeleteService(ctx context.Context, identity string) error
- func DeleteStorageClass(ctx context.Context, identity string) error
- func GetConversionCABundle(ctx context.Context, identity string, dryRun bool) ([]byte, error)
- func GetConversionServiceName() string
- func NewRandomString(length int) string
- func RegisterDriveValidationRules(ctx context.Context, identity string, dryRun bool) error
- func RemoveRBACRoles(ctx context.Context, identity string) error
- func SanitizeName(s string) string
- func StringWithCharset(length int, charset string) string
Constants ¶
View Source
const ( CreatedByLabel = "created-by" DirectCSIPluginName = "kubectl-direct_csi" CSIDriver = "CSIDriver" DirectCSI = "direct.csi.min.io" AdmissionWebhookSecretName = "validationwebhookcerts" ValidationWebhookConfigName = "drive.validation.controller" // Finalizers DirectCSIFinalizerDeleteProtection = "/delete-protection" ConversionWebhookSecretName = "conversionwebhookcerts" )
Variables ¶
Functions ¶
func CreateCSIDriver ¶
func CreateControllerSecret ¶ added in v1.1.0
func CreateControllerService ¶ added in v1.1.0
func CreateConversionDeployment ¶ added in v1.3.0
func CreateDaemonSet ¶
func CreateDeployment ¶
func CreateNamespace ¶
func CreateOrUpdateConversionCASecret ¶ added in v1.3.5
func CreateOrUpdateConversionDeployment ¶ added in v1.3.5
func CreateOrUpdateConversionSecret ¶ added in v1.3.5
func CreateOrUpdateConversionService ¶ added in v1.3.5
func CreateRBACRoles ¶
CreateRBACRoles creates SA, ClusterRole and CRBs
func CreateStorageClass ¶
func DeleteControllerDeployment ¶ added in v1.3.0
func DeleteControllerSecret ¶ added in v1.3.0
func DeleteConversionDeployment ¶ added in v1.3.0
func DeleteConversionSecret ¶ added in v1.3.0
func DeleteConversionWebhookCertsSecret ¶ added in v1.3.5
func DeleteDriveValidationRules ¶ added in v1.1.0
func GetConversionCABundle ¶ added in v1.3.0
func GetConversionServiceName ¶ added in v1.3.0
func GetConversionServiceName() string
func NewRandomString ¶
func RegisterDriveValidationRules ¶ added in v1.1.0
func RemoveRBACRoles ¶
RemoveRBACRoles deletes SA, ClusterRole and CRBs
func StringWithCharset ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.