morpheus

package
v0.0.0-...-239d4a0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(config EnforcementConfig) *API

func (*API) Mutate

func (a *API) Mutate(admReview v1beta1.AdmissionReview) (v1beta1.AdmissionReview, error)

func (*API) PostPill

func (a *API) PostPill(c *gin.Context)

type EnforcementConfig

type EnforcementConfig struct {
	Whitelist values.Whitelist
	Enforce   bool
}

func NewEnforcementConfig

func NewEnforcementConfig() *EnforcementConfig

Jump to

Keyboard shortcuts

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