instance

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstanceCommandFunc

func InstanceCommandFunc(_ *cobra.Command, args []string)

func NewInstanceCommand

func NewInstanceCommand(parent *cobra.Command) *cobra.Command

Types

type InstancePrinter

type InstancePrinter struct {
	Records map[string]*InstanceRecord
	// contains filtered or unexported fields
}

func (*InstancePrinter) Flags

func (sp *InstancePrinter) Flags(flags ...interface{}) []interface{}

func (*InstancePrinter) PrintBody

func (sp *InstancePrinter) PrintBody() (slice [][]string)

func (*InstancePrinter) PrintTitle

func (sp *InstancePrinter) PrintTitle() []string

func (*InstancePrinter) SetOutputFormat

func (sp *InstancePrinter) SetOutputFormat(f string, all bool)

func (*InstancePrinter) Sorter

func (sp *InstancePrinter) Sorter() *writer.RecordsSorter

type InstanceRecord

type InstanceRecord struct {
	model.Instance
}

func (*InstanceRecord) AgeString

func (s *InstanceRecord) AgeString() string

func (*InstanceRecord) Domain

func (s *InstanceRecord) Domain() string

func (*InstanceRecord) EndpointsString

func (s *InstanceRecord) EndpointsString() string

func (*InstanceRecord) FrameworksString

func (s *InstanceRecord) FrameworksString() string

func (*InstanceRecord) LeaseString

func (s *InstanceRecord) LeaseString() string

func (*InstanceRecord) PrintBody

func (s *InstanceRecord) PrintBody(fmt string, all bool) []string

Jump to

Keyboard shortcuts

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