Documentation
¶
Index ¶
- func CreateClusterRoleBindingIfNotExists(client clientset.Interface, clusterRoleBinding *rbac.ClusterRoleBinding) error
- func CreateClusterRoleIfNotExists(client clientset.Interface, clusterRole *rbac.ClusterRole) error
- func CreateConfigMapIfNotExists(client clientset.Interface, cm *v1.ConfigMap) error
- func CreateRoleBindingIfNotExists(client clientset.Interface, roleBinding *rbac.RoleBinding) error
- func CreateRoleIfNotExists(client clientset.Interface, role *rbac.Role) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterRoleBindingIfNotExists ¶
func CreateClusterRoleBindingIfNotExists(client clientset.Interface, clusterRoleBinding *rbac.ClusterRoleBinding) error
CreateClusterRoleBindingIfNotExists creates a ClusterRoleBinding if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateClusterRoleIfNotExists ¶
func CreateClusterRoleIfNotExists(client clientset.Interface, clusterRole *rbac.ClusterRole) error
CreateClusterRoleIfNotExists creates a ClusterRole if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateConfigMapIfNotExists ¶
CreateConfigMapIfNotExists creates a ConfigMap if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
func CreateRoleBindingIfNotExists ¶
func CreateRoleBindingIfNotExists(client clientset.Interface, roleBinding *rbac.RoleBinding) error
CreateRoleBindingIfNotExists creates a RoleBinding if the target resource doesn't exist. If the resource exists already, this function will update the resource instead.
Types ¶
This section is empty.