Documentation ¶
Index ¶
- Constants
- Variables
- func AsActionErr(err *goerr.Error) *goerr.Error
- func AsBadRequestErr(err *goerr.Error) *goerr.Error
- func AsConfigErr(err *goerr.Error) *goerr.Error
- func AsPolicyErr(err *goerr.Error) *goerr.Error
- func AsRuntimeErr(err *goerr.Error) *goerr.Error
- type ActionID
- type ActionName
- type ActionSecret
- type AlertID
- type AttrID
- type AttrKey
- type AttrTTL
- type AttrType
- type AttrValue
- type EnvVarName
- type EnvVarValue
- type EnvVars
- type ErrorType
- type Namespace
- type RawData
- type ScenarioID
- type ScenarioTitle
- type Schema
- type WorkflowID
Constants ¶
View Source
const ( AppVersion = "v0.0.12" DefaultMaxSequences = 32 DefaultAttributeTTL int = 3600 * 24 // 1 day )
Variables ¶
View Source
var ( ErrInvalidOption = AsConfigErr(goerr.New("invalid option")) ErrNoPolicyData = AsConfigErr(goerr.New("no policy data")) ErrActionInvalidArgument = AsPolicyErr(goerr.New("invalid action argument")) ErrActionNotFound = AsPolicyErr(goerr.New("action not found")) ErrActionFailed = AsPolicyErr(goerr.New("action failed")) ErrInvalidScenario = goerr.New("invalid play scenario") ErrInvalidHTTPRequest = AsBadRequestErr(goerr.New("invalid HTTP request")) ErrInvalidLambdaRequest = AsBadRequestErr(goerr.New("invalid Lambda request")) ErrNoPolicyResult = goerr.New("no policy result") )
Functions ¶
Types ¶
type ActionName ¶
type ActionName string
type ActionSecret ¶
type ActionSecret any
type EnvVarName ¶
type EnvVarName string
type EnvVarValue ¶
type EnvVarValue string
type ScenarioID ¶
type ScenarioID string
type ScenarioTitle ¶
type ScenarioTitle string
type WorkflowID ¶ added in v0.0.15
type WorkflowID string
func NewWorkflowID ¶ added in v0.0.15
func NewWorkflowID() WorkflowID
func (WorkflowID) String ¶ added in v0.0.15
func (x WorkflowID) String() string
Click to show internal directories.
Click to hide internal directories.