addressgroup

package
Version: v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 5 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 Response

type Response struct {
	Name  string               `json:"name" yaml:"name"`
	Pods  []common.GroupMember `json:"pods,omitempty"`
	Nodes []common.GroupMember `json:"nodes,omitempty"`
}

func (Response) GetNodeIPs added in v1.6.0

func (r Response) GetNodeIPs(maxColumnLength int) string

func (Response) GetPodIPs added in v1.6.0

func (r Response) GetPodIPs(maxColumnLength int) string

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

Source Files

Jump to

Keyboard shortcuts

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