environment

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpsManagerQuery

type OpsManagerQuery interface {
	// Tile returns a TileQuery interface if a tile is installed
	// or an error if it's not found
	Tile(name string) (TileQuery, error)

	// MustGetTile returns a TileQuery or panics if it is not installed
	MustGetTile(name string) TileQuery

	// Director returns information about the deployed BOSH director
	Director() *ops_manager.DirectorProperties
}

type TargetSite

type TargetSite interface {
	// OpsManager returns an OpsManagerQuery that can be used
	// to access properties about the target Ops Manager
	OpsManager() OpsManagerQuery
	// GoogleClient returns an authenticated http client that
	// can be used to create service objects for GCP APIs
	GoogleClient() *http.Client
}

TargetSite represents the PCF Environment

func Target

func Target() TargetSite

Target returns the specific PCF Environment being tested

type TileQuery

type TileQuery interface {
	// Property returns the value of the given property set on the tile
	Property(name string) ops_manager.Property

	// Resource returns information about a given resource for a job declared by the tile
	Resource(name string) ops_manager.Resource
}

Jump to

Keyboard shortcuts

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