drain

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drain

type Drain struct {
	Name     string
	Guid     string
	Apps     []string
	AppGuids []string
	Type     string
	DrainURL string
}

type ServiceDrainLister

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

func (*ServiceDrainLister) Drains

func (l *ServiceDrainLister) Drains(spaceGuid string) ([]Drain, error)

func (*ServiceDrainLister) TypeFromDrainURL

func (l *ServiceDrainLister) TypeFromDrainURL(URL string) (string, error)

type ServiceDrainListerOption added in v1.2.0

type ServiceDrainListerOption func(l *ServiceDrainLister)

func WithServiceDrainAppBatchLimit added in v1.2.0

func WithServiceDrainAppBatchLimit(limit int) ServiceDrainListerOption

Jump to

Keyboard shortcuts

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