Documentation ¶
Index ¶
- Constants
- func ArePolicyRulesEqual(a, b []rbac.PolicyRule) bool
- func ComputeOrganizationNameFromSpaceNamespace(namespace string) (string, error)
- func ComputeSpacesNamespaceFromOrganizationName(organization string) string
- func NameOfNamespaceCreateBySpace(organizationName, spaceName string) string
- func NewRoleBinding(name, namespace string, users, groups []string, roleRef rbac.RoleRef) *rbac.RoleBinding
- func ReconcileNamespace(client client.Client, namespace *corev1.Namespace, owner metav1.Object, ...) error
- func ReconcileRBACRoleBinding(client client.Client, roleBinding *rbac.RoleBinding, owner metav1.Object, ...) error
Constants ¶
View Source
const SpaceFinalizer = "organization-operator.k8s.suse.com"
Variables ¶
This section is empty.
Functions ¶
func ArePolicyRulesEqual ¶
func ArePolicyRulesEqual(a, b []rbac.PolicyRule) bool
func ComputeOrganizationNameFromSpaceNamespace ¶
CompuComputeOrganizationNameFromSpaceNamespace returns the name of the Organization that owns the Space.
func ComputeSpacesNamespaceFromOrganizationName ¶
ComputeSpacesNamespaceFromOrganizationName returns the name of the Namespace where all the Space objects of the given Organization are going to be created.
func NameOfNamespaceCreateBySpace ¶
NameofNameOfNamespaceCreateBySpace returns the name of the Namespace object that is created by the SpaceController for each Space object.
func NewRoleBinding ¶
func ReconcileNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.