Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZ ¶
type AZ struct { Name string `json:"name"` CloudProperties *runtime.RawExtension `json:"cloud_properties,omitempty"` }
type BOSHClient ¶
type BOSHClient interface { HasRelease(string, string) (bool, error) UploadRelease(string, string) error DeleteRelease(string, string) error HasBaseImage(string, string) (bool, error) UploadBaseImage(string, string) error DeleteBaseImage(string, string) error CreateVMExtension(string, VMExtension) error DeleteVMExtension(string) error CreateAZ(string, AZ) error DeleteAZ(string) error CreateNetwork(string, Network) error DeleteNetwork(string) error CreateCompilation(string, Network, AZ, Compilation) error DeleteCompilation(string) error CreateDeployment(string, Deployment) error DeleteDeployment(string) error }
func NewBOSHClient ¶
type Compilation ¶
type Compilation struct { Workers int `json:"workers"` AZ string `json:"az"` OrphanWorkers bool `json:"orphan_workers"` VMResources VMResources `json:"vm_resources"` CloudProperties *runtime.RawExtension `json:"cloud_properties,omitempty"` Network string `json:"network"` ReuseCompilationVMs bool `json:"reuse_compilation_vms"` }
type ConsumesLink ¶
type Deployment ¶
type Deployment struct { Name string `json:"name"` Update DeploymentUpdate `json:"update"` Releases []Release `json:"releases"` Stemcells []Stemcell `json:"stemcells"` InstanceGroups []InstanceGroup `json:"instance_groups"` }
type DeploymentNetwork ¶
type DeploymentNetwork struct {
Name string `json:"name"`
}
type DeploymentUpdate ¶
type InstanceGroup ¶
type InstanceGroup struct { Name string `json:"name"` AZs []string `json:"azs"` Instances int `json:"instances"` Jobs []Job `json:"jobs"` VMExtensions []string `json:"vm_extensions"` VMResources VMResources `json:"vm_resources"` Stemcell string `json:"stemcell"` PersistentDiskSize int `json:"persistent_disk_size"` Networks []DeploymentNetwork `json:"networks"` }
type Job ¶
type Job struct { Name string `json:"name"` Release string `json:"release"` Consumes map[string]ConsumesLink `json:"consumes"` Provides map[string]ProvidesLink `json:"provides"` Properties *runtime.RawExtension `json:"properties,omitempty"` }
type ProvidesLink ¶
type ProvidesLink struct { As string `json:"as"` }
type UAAClient ¶
type VMExtension ¶
type VMExtension struct { Name string `json:"name"` CloudProperties *runtime.RawExtension `json:"cloud_properties"` }
type VMResources ¶
Click to show internal directories.
Click to hide internal directories.