cloudconfig

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

README

How to work with cpis

$ enaml generate-jobs https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-aws-cpi-release?v=51
Could not find release in local cache. Downloading now.
27874562/27874562
completed generating release job structs for  https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-aws-cpi-release?v=51

$ enaml generate-jobs https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=24
Could not find release in local cache. Downloading now.
32781885/32781885
completed generating release job structs for  https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=24

$ enaml generate-jobs https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=20
Could not find release in local cache. Downloading now.
29587401/29587401
completed generating release job structs for  https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=20

$ ls enaml-gen/*
enaml-gen/aws_cpi:
agent.go             aws.go               awscpi.go            blobstore.go         connectionoptions.go env.go               nats.go              registry.go          stemcell.go

enaml-gen/openstack_cpi:
agent.go        blobstore.go    env.go          nats.go         openstack.go    openstackcpi.go registry.go

enaml-gen/vsphere_cpi:
agent.go             blobstore.go         connectionoptions.go env.go               nats.go              vcenter.go           vspherecpi.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSCloudConfig

func NewAWSCloudConfig(c *cli.Context) cloudconfigs.CloudConfigProvider

Types

type AWSCloudConfig added in v1.0.0

type AWSCloudConfig struct {
	Context *cli.Context
}

func (*AWSCloudConfig) CreateAZs added in v1.0.0

func (c *AWSCloudConfig) CreateAZs() ([]enaml.AZ, error)

func (*AWSCloudConfig) CreateCompilation added in v1.0.0

func (c *AWSCloudConfig) CreateCompilation() (*enaml.Compilation, error)

func (*AWSCloudConfig) CreateDiskTypes added in v1.0.0

func (c *AWSCloudConfig) CreateDiskTypes() ([]enaml.DiskType, error)

func (*AWSCloudConfig) CreateNetworks added in v1.0.0

func (c *AWSCloudConfig) CreateNetworks() ([]enaml.DeploymentNetwork, error)

func (*AWSCloudConfig) CreateVMTypes added in v1.0.0

func (c *AWSCloudConfig) CreateVMTypes() ([]enaml.VMType, error)

type AZCloudProperties added in v1.0.0

type AZCloudProperties struct {
	AvailabiltyZone string `yaml:"availability_zone"`
}

Directories

Path Synopsis
enaml-gen

Jump to

Keyboard shortcuts

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