common

package
Version: 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: 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

Types

type GroupMember

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
}

Source Files

Jump to

Keyboard shortcuts

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