Version: v0.0.0-...-9a89ba0 Latest Latest

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

Go to latest
Published: Nov 1, 2014 License: Apache-2.0 Imports: 5 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type DeploymentConfig

type DeploymentConfig struct {
	ContainingDir  string           `json:"-"`
	DeploymentUUID string           `json:"-"`
	VMCID          string           `json:"-"`
	Stemcells      []StemcellRecord `json:"-"`

func (DeploymentConfig) BlobstorePath

func (c DeploymentConfig) BlobstorePath() string

func (DeploymentConfig) CompiledPackagedIndexPath

func (c DeploymentConfig) CompiledPackagedIndexPath() string

func (DeploymentConfig) JobsPath

func (c DeploymentConfig) JobsPath() string

func (DeploymentConfig) PackagesPath

func (c DeploymentConfig) PackagesPath() string

func (DeploymentConfig) TemplatesIndexPath

func (c DeploymentConfig) TemplatesIndexPath() string

type DeploymentConfigService

type DeploymentConfigService interface {
	Load() (DeploymentConfig, error)
	Save(DeploymentConfig) error

func NewFileSystemDeploymentConfigService

func NewFileSystemDeploymentConfigService(configPath string, fs boshsys.FileSystem, logger boshlog.Logger) DeploymentConfigService

type DeploymentFile

type DeploymentFile struct {
	UUID      string           `json:"uuid"`
	Stemcells []StemcellRecord `json:"stemcells"`
	VMCID     string           `json:"vm_cid"`

type StemcellRecord

type StemcellRecord struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	SHA1    string `json:"sha1"`
	CID     string `json:"cid"`

type UserConfig

type UserConfig struct {
	DeploymentFile string `json:"deployment"`

func (UserConfig) DeploymentConfigFilePath

func (c UserConfig) DeploymentConfigFilePath() string

type UserConfigService

type UserConfigService interface {
	Load() (UserConfig, error)
	Save(UserConfig) error

func NewFileSystemUserConfigService

func NewFileSystemUserConfigService(configPath string, fs boshsys.FileSystem, logger boshlog.Logger) UserConfigService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL