list

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Project  string
	Services []string
}

Filter parameters for the list command

type List

type List struct {
	Detailed           bool
	Filter             Filter
	PoolingInterval    time.Duration
	Projects           []projects.Project
	HandleRequestError func(error) string
	StopCondition      (func() bool)
	Teardown           func(l *List)
	// contains filtered or unexported fields
}

List services object

func New

func New(filter Filter) *List

New creates a list using the values of a passed Filter

func (*List) Flush

func (l *List) Flush()

Flush list

func (*List) Printf

func (l *List) Printf(format string, a ...interface{})

Printf list

func (*List) Start

func (l *List) Start(wectx config.Context)

Start for the list

func (*List) Stop

func (l *List) Stop()

Stop for the list

type RestartWatchList

type RestartWatchList struct {
	Project        string
	Services       []string
	IsStillRunning func() bool
	// contains filtered or unexported fields
}

RestartWatchList is a temporary watch

func (*RestartWatchList) SetInitialProjectHealthUID

func (rwl *RestartWatchList) SetInitialProjectHealthUID(healthUID string)

SetInitialProjectHealthUID sets the initial state for the HealthUID for the project

func (*RestartWatchList) SetInitialServicesHealthUID

func (rwl *RestartWatchList) SetInitialServicesHealthUID(healthUIDs map[string]string)

SetInitialServicesHealthUID sets the initial state for the HealthUID for the services

func (*RestartWatchList) Watch

func (rwl *RestartWatchList) Watch()

Watch the RestartWatchList

Jump to

Keyboard shortcuts

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