common

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTableElementWithSummary

func GenerateTableElementWithSummary(list []string, maxColumnLength int) string

func Int32ToString added in v0.6.0

func Int32ToString(val int32) string

Types

type GroupMember added in v0.11.0

type GroupMember struct {
	Pod *cpv1beta.PodReference `json:"pod,omitempty"`
	// IP maintains the IPAddresses associated with the Pod.
	IP string `json:"ip,omitempty"`
	// Ports maintain the named port mapping of this Pod.
	Ports []cpv1beta.NamedPort `json:"ports,omitempty"`
}

func GroupMemberPodTransform

func GroupMemberPodTransform(member cpv1beta.GroupMember) GroupMember

type TableOutput

type TableOutput interface {
	GetTableHeader() []string
	GetTableRow(maxColumnLength int) []string
	SortRows() bool
}

Jump to

Keyboard shortcuts

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