gatekeeperconfig

package
v2.17.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Gatekeeper only uses the configs from the namespace which is set as "gatekeeper namespace" in the gatekeeper controller and audit.
	// For our deployment, its always `gatekeeper-system`
	ConfigNamespace = "gatekeeper-system"
	// Gatekeeper audit also uses the hardcoded config name `config`
	ConfigName = "config"
)

Variables

This section is empty.

Functions

func CreateEndpoint

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

func DecodeCreateGatkeeperConfigReq

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

func DecodeGatkeeperConfigReq

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

func DecodePatchGatekeeperConfigReq

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

DecodePatchGatekeeperConfigReq decodes http request into patchGatekeeperConfigReq

func DeleteEndpoint

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

func GetEndpoint

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

func PatchEndpoint

func PatchEndpoint(userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider) 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