Documentation ¶
Index ¶
- Constants
- type BlockchainUser
- type Client
- type CoreSettings
- type Details
- type DockerProperties
- type Job
- type Jobs
- type Manifest
- type MemberServiceProperties
- type PeerProperties
- type Properties
- type Release
- type Releases
- type SecuritySettings
- type Stemcell
- type Stemcells
- type StoreSettings
- type Task
- type Update
Constants ¶
View Source
const ( BoshStateProcessing = "processing" BoshStateQueued = "queued" BoshStateDone = "done" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainUser ¶
type Client ¶
type Client interface { CreateDeployment(manifest Manifest) (*Task, error) DeleteDeployment(deploymentName string) (*Task, error) GetTask(taskId string) (*Task, error) GetVmIps(deploymentName string) (map[string][]string, error) }
func NewBoshHttpClient ¶
type CoreSettings ¶
type CoreSettings struct {
DataPath string `yaml:"data_path"`
}
type Details ¶
type Details struct { StemcellName string DirectorUUID string NetworkNames []string Vmtype string BoshDirectorUrl string PeerDataDir string DockerDataDir string }
func NewDetails ¶
type DockerProperties ¶
type DockerProperties struct {
Store StoreSettings `yaml:"store"`
}
type Job ¶
type Job struct { Instances uint `yaml:"instances"` AZs []string `yaml:"azs"` Name string `yaml:"name"` Networks []map[string]string `yaml:"networks"` PersistentDisk uint `yaml:"persistent_disk"` VmType string `yaml:"vm_type"` Stemcell string `yaml:"stemcell"` Templates []map[string]string `yaml:"templates"` }
type Manifest ¶
type Manifest struct { Name string `yaml:"name"` DirectorUuid string `yaml:"director_uuid"` Stemcells Stemcells `yaml:"stemcells"` Releases Releases `yaml:"releases"` Update Update `yaml:"update"` Jobs Jobs `yaml:"jobs"` Properties Properties `yaml:"properties"` }
func NewManifest ¶
type MemberServiceProperties ¶
type MemberServiceProperties struct { Affiliations map[string]interface{} `yaml:"affiliations"` Clients []BlockchainUser `yaml:"clients"` Validators []BlockchainUser `yaml:"validators"` NonValidators []BlockchainUser `yaml:"non_validators"` Auditors []BlockchainUser `yaml:"auditors"` }
type PeerProperties ¶
type PeerProperties struct { Network map[string]string `yaml:"network"` Consensus map[string]string `yaml:"consensus"` Security SecuritySettings `yaml:"security,omitempty"` Core CoreSettings `yaml:"core,omitempty"` }
type Properties ¶
type Properties struct { Peer PeerProperties `yaml:"peer"` Docker DockerProperties `yaml:"docker,omitempty"` MemberService MemberServiceProperties `yaml:"membersrvc,omitempty"` }
type SecuritySettings ¶
type SecuritySettings struct {
Enabled bool `yaml:"enabled"`
}
type StoreSettings ¶
type StoreSettings struct {
Dir string `yaml:"dir"`
}
Click to show internal directories.
Click to hide internal directories.