common

package
v1.8.0-alpha.1 Latest Latest
Warning

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

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

func Int32ToString(val int32) string

func Int64ToString added in v1.5.0

func Int64ToString(val int64) string

Types

type GroupMember

type GroupMember struct {
	Pod  *cpv1beta.PodReference  `json:"pod,omitempty"`
	Node *cpv1beta.NodeReference `json:"node,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 GroupMemberTransform added in v1.6.0

func GroupMemberTransform(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