violations

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Violation

type Violation struct {
	Source string
	Type   ViolationType
}

type ViolationType

type ViolationType string
const (
	// Namespace
	NO_OWNER_ANNOTATION_TYPE ViolationType = "NO_OWNER_ANNOTATION"

	// Deployment
	SINGLE_REPLICA_TYPE ViolationType = "SINGLE_REPLICA"
	// IMAGES
	IMAGE_REPO_TYPE ViolationType = "IMAGE_REPO"
	IMAGE_SIZE_TYPE ViolationType = "IMAGE_SIZE"
	// VOLUMES
	HOST_VOLUMES_TYPE ViolationType = "HOST_VOLUMES"
	// INGRESS
	INGRESS_HOST_INVALID_TYPE ViolationType = "INGRESS_HOST_INVALID"
	// CAPS
	PRIVILEGED_TYPE   ViolationType = "PRIVILEGED"
	CAPABILITIES_TYPE ViolationType = "CAPABILITIES"
)

Jump to

Keyboard shortcuts

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