Documentation ¶
Index ¶
- func EnsurePackageIsUnpacked(context interfaces.Context, pkg string) error
- type Archiver
- type Context
- func (c *Context) CompileEscapePlan() error
- func (c *Context) GetDependencyMetadata(dep *core.DependencyConfig) (*core.ReleaseMetadata, error)
- func (c *Context) GetEnvironmentState() *types.EnvironmentState
- func (c *Context) GetEscapeConfig() *config.EscapeConfig
- func (c *Context) GetEscapePlan() *escape_plan.EscapePlan
- func (c *Context) GetInventory() inventory.Inventory
- func (c *Context) GetLogger() api.Logger
- func (c *Context) GetReleaseMetadata() *core.ReleaseMetadata
- func (c *Context) GetRootDeploymentName() string
- func (c *Context) InitFromLocalEscapePlanAndState(state, environment, planPath string) error
- func (c *Context) InitReleaseMetadataByReleaseId(releaseId string) error
- func (c *Context) LoadEscapeConfig(cfgFile, cfgProfile string) error
- func (c *Context) LoadEscapePlan(cfgFile string) error
- func (c *Context) LoadLocalState(stateFile, environment string, useProfileState bool) error
- func (c *Context) LoadReleaseJson() error
- func (c *Context) LoadRemoteState(project, environment string) error
- func (c *Context) Log(key string, values map[string]string)
- func (c *Context) PopLogRelease()
- func (c *Context) PopLogSection()
- func (c *Context) PushLogRelease(release string)
- func (c *Context) PushLogSection(section string)
- func (c *Context) QueryReleaseMetadata(dep *core.DependencyConfig) (*core.ReleaseMetadata, error)
- func (c *Context) SetLogger(logger api.Logger)
- func (c *Context) SetRootDeploymentName(name string)
- type DependencyResolver
- type ReleaseFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsurePackageIsUnpacked ¶
func EnsurePackageIsUnpacked(context interfaces.Context, pkg string) error
Types ¶
type Archiver ¶
type Archiver struct{}
func NewReleaseArchiver ¶
func NewReleaseArchiver() *Archiver
type Context ¶
type Context struct { EscapeConfig *config.EscapeConfig EscapePlan *escape_plan.EscapePlan ReleaseMetadata *core.ReleaseMetadata EnvironmentState *types.EnvironmentState Logger api.Logger LogConsumers []api.LogConsumer DependencyMetadata map[string]*core.ReleaseMetadata RootDeploymentName string }
func NewContext ¶
func NewContext() *Context
func (*Context) CompileEscapePlan ¶
func (*Context) GetDependencyMetadata ¶
func (*Context) GetEnvironmentState ¶
func (c *Context) GetEnvironmentState() *types.EnvironmentState
func (*Context) GetEscapeConfig ¶
func (c *Context) GetEscapeConfig() *config.EscapeConfig
func (*Context) GetEscapePlan ¶
func (c *Context) GetEscapePlan() *escape_plan.EscapePlan
func (*Context) GetInventory ¶
func (*Context) GetReleaseMetadata ¶
func (c *Context) GetReleaseMetadata() *core.ReleaseMetadata
func (*Context) GetRootDeploymentName ¶
func (*Context) InitFromLocalEscapePlanAndState ¶
func (*Context) InitReleaseMetadataByReleaseId ¶
func (*Context) LoadEscapeConfig ¶
func (*Context) LoadEscapePlan ¶
func (*Context) LoadLocalState ¶
func (*Context) LoadReleaseJson ¶
func (*Context) LoadRemoteState ¶
func (*Context) PopLogRelease ¶
func (c *Context) PopLogRelease()
func (*Context) PopLogSection ¶
func (c *Context) PopLogSection()
func (*Context) PushLogRelease ¶
func (*Context) PushLogSection ¶
func (*Context) QueryReleaseMetadata ¶
func (*Context) SetRootDeploymentName ¶
type DependencyResolver ¶
type DependencyResolver struct{}
func (DependencyResolver) Resolve ¶
func (resolver DependencyResolver) Resolve(cfg *config.EscapeConfig, resolveDependencies []*core.DependencyConfig) error
type ReleaseFetcher ¶
type ReleaseFetcher struct{}
func (ReleaseFetcher) Fetch ¶
func (ReleaseFetcher) Fetch(cfg *config.EscapeConfig, path *paths.Path, dep *core.Dependency) error
Click to show internal directories.
Click to hide internal directories.