networkpolicy

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transform

func Transform(reader io.Reader, single bool) (interface{}, error)

Types

type Response

type Response struct {
	NameSpace       string          `json:"namespace" yaml:"namespace"`
	Name            string          `json:"name" yaml:"name"`
	Rules           []rule.Response `json:"rules" yaml:"rules"`
	AppliedToGroups []string        `json:"appliedToGroups" yaml:"appliedToGroups"`
}

func (Response) GetTableHeader

func (r Response) GetTableHeader() []string

func (Response) GetTableRow

func (r Response) GetTableRow(maxColumnLength int) []string

func (Response) SortRows added in v0.6.0

func (r Response) SortRows() bool

Jump to

Keyboard shortcuts

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