table

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTablePrinter

func NewTablePrinter(ioStreams genericclioptions.IOStreams) *tablePrinter

NewTablePrinter returns a new instance of the tablePrinter.

Types

type CollectorAdapter

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

CollectorAdapter wraps the ResourceStatusCollector and provides a set of functions that matches the interfaces needed by the BaseTablePrinter.

func (*CollectorAdapter) LatestStatus

func (ca *CollectorAdapter) LatestStatus() *ResourceState

type ResourceInfo

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

func (*ResourceInfo) Identifier

func (r *ResourceInfo) Identifier() object.ObjMetadata

func (*ResourceInfo) ResourceStatus

func (r *ResourceInfo) ResourceStatus() *pe.ResourceStatus

func (*ResourceInfo) SubResources

func (r *ResourceInfo) SubResources() []table.Resource

type ResourceState

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

func (*ResourceState) Error

func (rss *ResourceState) Error() error

func (*ResourceState) Resources

func (rss *ResourceState) Resources() []table.Resource

Jump to

Keyboard shortcuts

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