drain

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 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 NewServiceDrainLister

func NewServiceDrainLister(c cloudcontroller.Curler) *ServiceDrainLister

func (*ServiceDrainLister) Drains

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

func (*ServiceDrainLister) TypeFromDrainURL

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

Jump to

Keyboard shortcuts

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