networkpolicy

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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

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

func (*NPSorter) Len

func (nps *NPSorter) Len() int

func (*NPSorter) Less

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

func (*NPSorter) Swap

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

func (r Response) SortRows() bool

Jump to

Keyboard shortcuts

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