networkpolicy

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 8 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, opts map[string]string) (interface{}, error)

Types

type NPSorter added in v0.12.0

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

func (*NPSorter) Len added in v0.12.0

func (nps *NPSorter) Len() int

func (*NPSorter) Less added in v0.12.0

func (nps *NPSorter) Less(i, j int) bool

func (*NPSorter) Swap added in v0.12.0

func (nps *NPSorter) Swap(i, j int)

type Response

type Response struct {
	*cpv1beta.NetworkPolicy
}

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