service

package
v0.0.0-...-6113d4b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version  = "v1"
	Resource = "workloadclusters"
	Group    = "ecs.yun.pingan.com"

	CREATE = "CREATE"
	UPDATE = "UPDATE"
	DELETE = "DELETE"
)

Variables

This section is empty.

Functions

func AdmitClusterOperator

func AdmitClusterOperator(ar v1beta1.AdmissionReview) *v1beta1.AdmissionResponse

AdmitClusterOperator is check all args.

func AdmitPods

only allow pods to pull images from specific registry.

func ToAdmissionResponse

func ToAdmissionResponse(err error) *v1beta1.AdmissionResponse

ToAdmissionResponse is a helper function to create an AdmissionResponse with an embedded error

Types

This section is empty.

Jump to

Keyboard shortcuts

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