bosh

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AZs added in v0.6.0

type AZs struct {
	CPI  string `yaml:"cpi"`
	Name string `yaml:"name"`
}

type Client

type Client struct {
	ClientID     string
	ClientSecret string
	Environment  string
	// contains filtered or unexported fields
}

func New

func New(environment, clientID, clientSecret string) *Client

func NewFromGogoBoshClient added in v0.6.0

func NewFromGogoBoshClient(client GogoBoshClient) *Client

func (*Client) VMsAndStemcells

func (c *Client) VMsAndStemcells(ctx context.Context) ([]VM, error)

type CloudConfig added in v0.6.0

type CloudConfig struct {
	AZs []AZs `yaml:"azs"`
}

type GogoBoshClient added in v0.6.0

type GogoBoshClient interface {
	GetDeploymentVMs(deployment string) ([]gogobosh.VM, error)
	GetCloudConfig(latest bool) ([]gogobosh.Cfg, error)
	GetDeployments() ([]gogobosh.Deployment, error)
	GetStemcells() ([]gogobosh.Stemcell, error)
}

type VM

type VM struct {
	Name string
	AZ   string
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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