k8s

package
v0.0.0-...-fd51218 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterCollection

type FilterCollection struct {
	// contains filtered or unexported fields
}

func NewFilterCollection

func NewFilterCollection() *FilterCollection

func (FilterCollection) AddEmptyFilter

func (collection FilterCollection) AddEmptyFilter(kind string, path ...string)

func (FilterCollection) AddRemoveFilter

func (collection FilterCollection) AddRemoveFilter(kind string, path ...string)

func (FilterCollection) AddReplaceFilter

func (collection FilterCollection) AddReplaceFilter(value interface{}, kind string, path ...string)

func (FilterCollection) ApplyToJSON

func (collection FilterCollection) ApplyToJSON(body []byte) ([]byte, bool)

type KeyValue

type KeyValue struct {
	Key   string
	Value interface{}
}

type Kind

type Kind struct {
	// contains filtered or unexported fields
}

func KindFromJSON

func KindFromJSON(body []byte) (*Kind, error)

func (Kind) GetType

func (k Kind) GetType() string

func (Kind) Inject

func (kind Kind) Inject(keyValue KeyValue, path ...string) ([]byte, error)

func (Kind) Is

func (k Kind) Is(kinds ...string) bool

Jump to

Keyboard shortcuts

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