constraint

package
v2.21.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConstraintsGroup    = "constraints.gatekeeper.sh"
	ConstraintsVersion  = "v1beta1"
	ConstraintNamespace = "kubermatic"
)

Variables

This section is empty.

Functions

func CreateDefaultEndpoint added in v2.18.0

func CreateDefaultEndpoint(userInfoGetter provider.UserInfoGetter,
	defaultConstraintProvider provider.DefaultConstraintProvider,
	constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint

func CreateEndpoint

func CreateEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint

func DecodeConstraintReq

func DecodeConstraintReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeCreateConstraintReq

func DecodeCreateConstraintReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeCreateDefaultConstraintReq added in v2.18.0

func DecodeCreateDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeDefaultConstraintReq added in v2.18.0

func DecodeDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeListConstraintsReq

func DecodeListConstraintsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodePatchConstraintReq

func DecodePatchConstraintReq(c context.Context, r *http.Request) (interface{}, error)

DecodePatchConstraintReq decodes http request into patchConstraintReq.

func DecodePatchDefaultConstraintReq added in v2.18.0

func DecodePatchDefaultConstraintReq(c context.Context, r *http.Request) (interface{}, error)

func DeleteDefaultEndpoint added in v2.18.0

func DeleteDefaultEndpoint(userInfoGetter provider.UserInfoGetter, defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint

func DeleteEndpoint

func DeleteEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint

func GetDefaultEndpoint added in v2.18.0

func GetDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint

func GetEndpoint

func GetEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint

func ListDefaultEndpoint added in v2.18.0

func ListDefaultEndpoint(defaultConstraintProvider provider.DefaultConstraintProvider) endpoint.Endpoint

func ListEndpoint

func ListEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider) endpoint.Endpoint

func PatchDefaultEndpoint added in v2.18.0

func PatchDefaultEndpoint(userInfoGetter provider.UserInfoGetter,
	defaultConstraintProvider provider.DefaultConstraintProvider,
	constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint

func PatchEndpoint

func PatchEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	constraintTemplateProvider provider.ConstraintTemplateProvider) endpoint.Endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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