Documentation
¶
Index ¶
- func ErroredResponse(err error) *admission.Response
- func GetK8sVersion() (*version.Version, error)
- func InCapsuleGroups(configuration configuration.Configuration, handlers ...webhook.Handler) webhook.Handler
- func IsCapsuleUser(req admission.Request, userGroups []string) bool
- func IsTenantOwner(owners capsulev1beta1.OwnerListSpec, userInfo authenticationv1.UserInfo) bool
- func NodeWebhookSupported(currentVersion *version.Version) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErroredResponse ¶ added in v0.1.0
func GetK8sVersion ¶ added in v0.0.2
func InCapsuleGroups ¶ added in v0.1.0
func InCapsuleGroups(configuration configuration.Configuration, handlers ...webhook.Handler) webhook.Handler
func IsCapsuleUser ¶ added in v0.1.1
func IsTenantOwner ¶ added in v0.1.1
func IsTenantOwner(owners capsulev1beta1.OwnerListSpec, userInfo authenticationv1.UserInfo) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.