validation

package
v0.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL