Documentation ¶
Index ¶
- func ValidateInternalMemberClusterUpdate(ctx context.Context, client client.Client, ...) admission.Response
- func ValidateMemberClusterUpdate(currentObj, oldObj client.Object, whiteListedUsers []string, ...) admission.Response
- func ValidateUserForFleetCRD(group string, namespacedName types.NamespacedName, whiteListedUsers []string, ...) admission.Response
- func ValidateUserForResource(resKind string, namespacedName types.NamespacedName, whiteListedUsers []string, ...) admission.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateInternalMemberClusterUpdate ¶ added in v0.6.9
func ValidateInternalMemberClusterUpdate(ctx context.Context, client client.Client, currentIMC, oldIMC fleetv1alpha1.InternalMemberCluster, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateInternalMemberClusterUpdate checks to see if user is allowed to update argued internal member cluster resource.
func ValidateMemberClusterUpdate ¶ added in v0.6.6
func ValidateMemberClusterUpdate(currentObj, oldObj client.Object, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateMemberClusterUpdate checks to see if user had updated the member cluster resource and allows/denies the request.
func ValidateUserForFleetCRD ¶ added in v0.6.5
func ValidateUserForFleetCRD(group string, namespacedName types.NamespacedName, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateUserForFleetCRD checks to see if user is not allowed to modify fleet CRDs.
func ValidateUserForResource ¶ added in v0.6.5
func ValidateUserForResource(resKind string, namespacedName types.NamespacedName, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateUserForResource checks to see if user is allowed to modify argued resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.