Documentation ¶
Index ¶
- func GetConfigMap(k *kubernetes.Clientset, ctx context.Context, name string) (*v1.ConfigMap, error)
- func UpdateClusterRoleBinding(k *kubernetes.Clientset, ctx context.Context, crb *v1.ClusterRoleBinding) error
- func UpdateConfigMap(k *kubernetes.Clientset, ctx context.Context, cm *v1.ConfigMap) error
- func UpdateRole(k *kubernetes.Clientset, ctx context.Context, r *v1.Role) error
- func UpdateRoleBinding(k *kubernetes.Clientset, ctx context.Context, rb *v1.RoleBinding) error
- func UpdateSecret(k *kubernetes.Clientset, ctx context.Context, secret *v1.Secret) error
- func UpdateServiceAccount(k *kubernetes.Clientset, ctx context.Context, sa *v1.ServiceAccount) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigMap ¶
TODO(chris): all functions in this package will need to check if the kubernetes.Clientset is nil and return an error if it is.
func UpdateClusterRoleBinding ¶
func UpdateClusterRoleBinding(k *kubernetes.Clientset, ctx context.Context, crb *v1.ClusterRoleBinding) error
func UpdateConfigMap ¶
func UpdateRole ¶
func UpdateRoleBinding ¶
func UpdateRoleBinding(k *kubernetes.Clientset, ctx context.Context, rb *v1.RoleBinding) error
func UpdateSecret ¶
func UpdateServiceAccount ¶
func UpdateServiceAccount(k *kubernetes.Clientset, ctx context.Context, sa *v1.ServiceAccount) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.