podsecuritypolicytemplate

package
v2.3.0-alpha5+incompat... Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFormatter

func NewFormatter(management *config.ScaledContext) types.Formatter

func Validator

func Validator(request *types.APIContext, schema *types.Schema, data map[string]interface{}) error

Validator uses k8s Pod Security Policy validation to prevent creation of pod security policy templates that are invalid

Types

type Format

type Format struct {
	ClusterIndexer cache.Indexer
	ProjectIndexer cache.Indexer
}

func (*Format) Formatter

func (f *Format) Formatter(apiContext *types.APIContext, resource *types.RawResource)

type Store

type Store struct {
	types.Store
}

func (*Store) Delete

func (s *Store) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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