Documentation
¶
Index ¶
Constants ¶
View Source
const ( InstallerTypeNaked InstallerType = "naked" InstallerTypeArchive = "archive" InstallerTypeDMG = "dmg" InstallerTypeInno = "inno" InstallerTypeNsis = "nsis" InstallerTypeMSI = "msi" InstallerTypeUnknown = "unknown" InstallerTypeUnsupported = "unsupported" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallerInfo ¶
type InstallerInfo struct { Type InstallerType ArchiveListResult archive.ListResult }
type InstallerType ¶
type InstallerType string
type MetaSubcontext ¶
type MetaSubcontext struct {
// contains filtered or unexported fields
}
func (*MetaSubcontext) Data ¶
func (mt *MetaSubcontext) Data() interface{}
func (*MetaSubcontext) Key ¶
func (mt *MetaSubcontext) Key() string
type OperationContext ¶
type OperationContext struct {
// contains filtered or unexported fields
}
func LoadContext ¶
func (*OperationContext) Consumer ¶
func (oc *OperationContext) Consumer() *state.Consumer
func (*OperationContext) Load ¶
func (oc *OperationContext) Load(s Subcontext)
func (*OperationContext) MansionContext ¶
func (oc *OperationContext) MansionContext() *mansion.Context
func (*OperationContext) Save ¶
func (oc *OperationContext) Save(s Subcontext) error
func (*OperationContext) StageFolder ¶
func (oc *OperationContext) StageFolder() string
type OperationError ¶
type OperationError struct { Type string `json:"type"` Code string `json:"code"` Message string `json:"message"` Operation string `json:"operation"` }
func (*OperationError) Error ¶
func (oe *OperationError) Error() string
func (*OperationError) Throw ¶
func (oe *OperationError) Throw() error
type Subcontext ¶
type Subcontext interface { // Key returns a unique string key used for storing // something under the context object Key() string // Data should return a pointer to the underlying struct // of the subcontext Data() interface{} }
Click to show internal directories.
Click to hide internal directories.