Documentation ¶
Index ¶
- func ValidateMCIdentity(ctx context.Context, client client.Client, req admission.Request, ...) admission.Response
- func ValidateMemberClusterUpdate(currentObj, oldObj client.Object, req admission.Request, ...) admission.Response
- func ValidateUserForFleetCRD(req admission.Request, whiteListedUsers []string, group string) admission.Response
- func ValidateUserForResource(req admission.Request, whiteListedUsers []string) admission.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMCIdentity ¶ added in v0.7.0
func ValidateMCIdentity(ctx context.Context, client client.Client, req admission.Request, mcName string) admission.Response
ValidateMCIdentity returns admission allowed/denied based on the member cluster's identity.
func ValidateMemberClusterUpdate ¶ added in v0.6.6
func ValidateMemberClusterUpdate(currentObj, oldObj client.Object, req admission.Request, whiteListedUsers []string) admission.Response
ValidateMemberClusterUpdate checks to see if user had updated the member cluster resource and allows/denies the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.