Documentation ¶
Index ¶
- func ValidateMemberClusterUpdate(currentMC, oldMC fleetv1alpha1.MemberCluster, whiteListedUsers []string, ...) admission.Response
- func ValidateUserForFleetCR(resKind string, namespacedName types.NamespacedName, 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 ValidateMemberClusterUpdate ¶ added in v0.6.6
func ValidateMemberClusterUpdate(currentMC, oldMC fleetv1alpha1.MemberCluster, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateMemberClusterUpdate checks to see if user is allowed to update argued fleet resource.
func ValidateUserForFleetCR ¶
func ValidateUserForFleetCR(resKind string, namespacedName types.NamespacedName, whiteListedUsers []string, userInfo authenticationv1.UserInfo) admission.Response
ValidateUserForFleetCR checks to see if user is allowed to make a request to modify fleet CRs.
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 fleet resource.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.