computionadmission

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

README

Compution

Admission Controller

This is a ValidatingAdmissionWebhook, that denies compute resources if they reference non-compliant (i.e. not under /sox/ ) artifacts when the service requires PRGB compliance.

Controller (TODO)

This monitors compute resources, and ensures that Service Central has a compute record for each compute resource.

See Also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionContext

type AdmissionContext struct {
	ConfigMapInformer       cache.SharedIndexInformer
	NamespaceInformer       cache.SharedIndexInformer
	EnforcePRGB             bool
	CompliantDockerPrefixes []string
}

AdmissionContext holds context for compution admission controller like router, informers etc

func (*AdmissionContext) SetupAdmissionWebhooks

func (ac *AdmissionContext) SetupAdmissionWebhooks(router *chi.Mux) error

SetupAdmissionWebhooks handles creating a route for the mutating webhook

Jump to

Keyboard shortcuts

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