Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment struct { Name string Properties map[string]interface{} Mbus string Registry Registry AgentEnvService string SSHTunnel SSHTunnel Jobs []Job Networks []Network ResourcePools []ResourcePool Update Update }
func (Deployment) NetworksSpec ¶
func (d Deployment) NetworksSpec(jobName string) (map[string]interface{}, error)
type Job ¶
type Job struct { Name string Instances int Templates []ReleaseJobRef Networks []JobNetwork RawProperties map[interface{}]interface{} `yaml:"properties"` }
func (*Job) Properties ¶
type JobNetwork ¶
type ManifestParser ¶
type ManifestParser interface {
Parse(manifestPath string) (Deployment, error)
}
func NewBoshDeploymentParser ¶
func NewBoshDeploymentParser(fs boshsys.FileSystem) ManifestParser
func NewCpiDeploymentParser ¶
func NewCpiDeploymentParser(fs boshsys.FileSystem) ManifestParser
type Network ¶
type Network struct { Name string `yaml:"name"` Type NetworkType `yaml:"type"` RawCloudProperties map[interface{}]interface{} `yaml:"cloud_properties"` IP string `yaml:"ip"` }
func (Network) CloudProperties ¶
type NetworkType ¶
type NetworkType string
const ( Dynamic NetworkType = "dynamic" Manual NetworkType = "manual" VIP NetworkType = "vip" )
func (NetworkType) String ¶
func (n NetworkType) String() string
type ReleaseJobRef ¶
type ResourcePool ¶
type ResourcePool struct { Name string `yaml:"name"` RawCloudProperties map[interface{}]interface{} `yaml:"cloud_properties"` RawEnv map[interface{}]interface{} `yaml:"env"` }
func (ResourcePool) CloudProperties ¶
func (rp ResourcePool) CloudProperties() (map[string]interface{}, error)
func (ResourcePool) Env ¶
func (rp ResourcePool) Env() (map[string]interface{}, error)
type UpdateSpec ¶
type UpdateSpec struct {
UpdateWatchTime *string `yaml:"update_watch_time"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.