Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionOutput ¶
type ActionOutput struct { Action *blueprint.Action Records []*StorageRecord }
ActionOutput struct
func NewActionOutput ¶
func NewActionOutput(action *blueprint.Action, storageRecordValue interface{}, storageRecordValueID *string) *ActionOutput
NewActionOutput func.
type AttrTreeValue ¶
AttrTreeValue struct
type IActor ¶
type IActor interface {
RunAction(action *blueprint.Action) (*ActionOutput, error)
}
IActor interface
type ILogger ¶
type ILogger interface { LogCritical(s string) LogErr(s string) ByteLogErr(b []byte) LogWarn(s string) LogInfo(s string) ByteLogInfo(b []byte) LogDebug(s string) Duplicate() ILogger SetActionID(ai string) }
ILogger interface
type IManager ¶
type IManager interface { PrepareIRB(irb *blueprint.IRBlueprint) GetStore() IStore InitNewStageFromActionID(action *blueprint.Action) (IStage, error) GetExecutionUUID() *string Run() error }
IManager interface
type IProvider ¶
type IProvider interface { HandleAction(action *blueprint.Action) (*ActionOutput, error) DumpStore(freshStore IStore) }
IProvider interface
type IStore ¶
type IStore interface { StoreProvider(name string, provider IProvider) GetProvider(providerName string) (IProvider, error) Duplicate() IStore ExistsProvider(providerName string) bool GetLogger() ILogger SetLogger(logger ILogger) GetPrivateVar(varname string) interface{} SetPrivateVar(varname string, value interface{}) Merge(IStore) GetActionOutputByActionID(actionID *string) (*ActionOutput, error) Insert(record *StorageRecord, providerPrefix string) error Interpolate(sourcetext *string) error GetPlain() (map[string]string, error) GetRawJSONValues() (map[string]json.RawMessage, error) DumpValuesToShellFile() (*os.File, error) DumpValuesToJSONFile() (*os.File, error) GetByRefName(refname string) (*StorageRecord, error) DeepInterpolation(v interface{}) error }
IStore interface
type ProviderInitFunc ¶
ProviderInitFunc type
type StorageRecord ¶
type StorageRecord struct { ValueID string `json:"valueID"` RefName string `json:"refName"` Aout *ActionOutput `json:"-"` Action *blueprint.Action `json:"-"` RawSource interface{} `json:"-"` Value interface{} `json:"value"` PlainValue map[string]*AttrTreeValue `json:"-"` JSONValue []byte `json:"rawjson"` IsString bool `json:"-"` Fail bool `json:"fail"` Error error `json:"-"` ErrorStr string `json:"error"` }
StorageRecord struct
func (*StorageRecord) BuildInternals ¶
func (sr *StorageRecord) BuildInternals() error
Click to show internal directories.
Click to hide internal directories.