service

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServiceCommand

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

func ServiceCommandFunc

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

Types

type ServicePrinter

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

func (*ServicePrinter) Flags

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

func (*ServicePrinter) PrintBody

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

func (*ServicePrinter) PrintTitle

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

func (*ServicePrinter) SetOutputFormat

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

func (*ServicePrinter) Sorter

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

type ServiceRecord

type ServiceRecord struct {
	model.Service
}

func (*ServiceRecord) AgeString

func (s *ServiceRecord) AgeString() string

func (*ServiceRecord) Domain

func (s *ServiceRecord) Domain() string

func (*ServiceRecord) EndpointsString

func (s *ServiceRecord) EndpointsString() string

func (*ServiceRecord) FrameworksString

func (s *ServiceRecord) FrameworksString() string

func (*ServiceRecord) PrintBody

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

func (*ServiceRecord) VersionsString

func (s *ServiceRecord) VersionsString() string

Jump to

Keyboard shortcuts

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