services

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logs

func Logs() *cli.Command

func PrintService

func PrintService(client client.Interface, system v1.SystemID, id v1.ServiceID, w io.Writer, f printer.Format) error

func ServiceLogs

func ServiceLogs(
	client client.Interface,
	system v1.SystemID,
	id v1.ServiceID,
	instance *string,
	sidecar *string,
	follow bool,
	previous bool,
	timestamps bool,
	since string,
	tail int64,
	w io.Writer,
) error

func Status

func Status() *cli.Command

func WatchService

func WatchService(client client.Interface, system v1.SystemID, id v1.ServiceID, w io.Writer, f printer.Format) error

Types

type Command

type Command struct {
	Name                   string
	Short                  string
	Args                   cli.Args
	Flags                  cli.Flags
	Run                    func(ctx *ServiceCommandContext, args []string, flags cli.Flags) error
	MutuallyExclusiveFlags [][]string
	RequiredFlagSet        [][]string
	Subcommands            map[string]*cli.Command
	// contains filtered or unexported fields
}

func (*Command) Command

func (c *Command) Command() *cli.Command

type ServiceCommandContext

type ServiceCommandContext struct {
	*command.SystemCommandContext
	Service v1.ServiceID
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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