Documentation
¶
Index ¶
- Constants
- Variables
- func CreateCSIDriver(ctx context.Context, identity 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) error
- func CreateRBACRoles(ctx context.Context, identity string) error
- func CreateService(ctx context.Context, identity string) error
- func CreateStorageClass(ctx context.Context, identity string) error
- func DeleteCSIDriver(ctx context.Context, identity string) error
- func DeleteDaemonSet(ctx context.Context, identity string) error
- func DeleteDeployment(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 NewRandomString(length int) string
- func RemoveRBACRoles(ctx context.Context, identity string) error
- 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" )
Variables ¶
Functions ¶
func CreateDaemonSet ¶
func CreateDeployment ¶
func CreateRBACRoles ¶
CreateRBACRoles creates SA, ClusterRole and CRBs
func NewRandomString ¶
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.