Documentation ¶
Index ¶
- func CreateClusterRoleBindingsIfNotExist(ctx context.Context, k8s kubernetes.Interface, ...) error
- func CreateClusterRolesIfNotExist(ctx context.Context, k8s kubernetes.Interface, clusterRoles []ClusterRole) error
- func CreateJobsIfNotExist(ctx context.Context, k8s kubernetes.Interface, jobs []Job) error
- func CreateNamespacesIfNotExist(ctx context.Context, k8s kubernetes.Interface, namespaces []Namespace) error
- func CreateNamespacesIfNotExistSimple(ctx context.Context, k8s kubernetes.Interface, namespaces []string) error
- func CreateSecretsIfNotExist(ctx context.Context, k8s kubernetes.Interface, secrets []Secret) error
- func CreateServiceAccountsIfNotExist(ctx context.Context, k8s kubernetes.Interface, ...) error
- func DeleteClusterRole(ctx context.Context, k8s kubernetes.Interface, clusterRoleName string) error
- func DeleteClusterRoleBinding(ctx context.Context, k8s kubernetes.Interface, clusterRoleBindingName string) error
- func DeleteServiceAccount(ctx context.Context, k8s kubernetes.Interface, sa ServiceAccount) error
- func RecreateJobs(ctx context.Context, k8s kubernetes.Interface, jobs []Job) error
- type ClusterRole
- type ClusterRoleBinding
- type Job
- type Namespace
- type Secret
- type ServiceAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterRoleBindingsIfNotExist ¶
func CreateClusterRoleBindingsIfNotExist(ctx context.Context, k8s kubernetes.Interface, clusterRoleBindings []ClusterRoleBinding) error
func CreateClusterRolesIfNotExist ¶
func CreateClusterRolesIfNotExist(ctx context.Context, k8s kubernetes.Interface, clusterRoles []ClusterRole) error
func CreateJobsIfNotExist ¶
func CreateSecretsIfNotExist ¶
func CreateServiceAccountsIfNotExist ¶
func CreateServiceAccountsIfNotExist(ctx context.Context, k8s kubernetes.Interface, serviceAccounts []ServiceAccount) error
func DeleteClusterRole ¶
func DeleteServiceAccount ¶
func DeleteServiceAccount(ctx context.Context, k8s kubernetes.Interface, sa ServiceAccount) error
func RecreateJobs ¶
Types ¶
type ClusterRole ¶
type ClusterRoleBinding ¶
Click to show internal directories.
Click to hide internal directories.