policy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2015 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 Controller

type Controller interface {
	// validate a pod against the policies
	Authorized(*acl.PolicyContext, *api.PodSpec) error
}

Controller validate a pod specification against the security policies

func NewController

func NewController(path string) (Controller, error)

NewController create a new policy controller, reading in the policies from the file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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