Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppVersion = "v0.2.1" DefaultMaxSequences = 32 DefaultAttributeTTL int = 3600 * 24 // 1 day )
Variables ¶
View Source
var ( ErrNoPolicyResult = goerr.New("no policy result") ErrActionInvalidArgument = goerr.New("invalid action argument", goerr.T(ErrTagAction)) )
View Source
var ( // ErrTagConfig is a tag for configuration and startup option error. ErrTagConfig = goerr.NewTag("config") // ErrTagPolicy is a tag for policy error. It is used for failure of policy evaluation or invalid policy result. ErrTagPolicy = goerr.NewTag("policy") // ErrTagAction is a tag for action error. It is used for failure of action execution or invalid action argument. ErrTagAction = goerr.NewTag("action") // ErrTagBadRequest is a tag for bad request to AlertChain server or runtime. ErrTagBadRequest = goerr.NewTag("bad_request") // ErrTagSystem is a tag for unexpected system behavior. E.g. I/O error, system call failure, database error, error from integrated system, connection error, etc. ErrTagSystem = goerr.NewTag("system") )
Functions ¶
This section is empty.
Types ¶
type ActionName ¶
type ActionName string
type ActionSecret ¶
type ActionSecret any
type EnvVarName ¶
type EnvVarName string
type EnvVarValue ¶
type EnvVarValue string
type RequestID ¶ added in v0.2.1
type RequestID string
func NewRequestID ¶ added in v0.2.1
func NewRequestID() RequestID
type ScenarioID ¶
type ScenarioID string
type ScenarioTitle ¶
type ScenarioTitle string
type WorkflowID ¶
type WorkflowID string
func NewWorkflowID ¶
func NewWorkflowID() WorkflowID
func (WorkflowID) String ¶
func (x WorkflowID) String() string
Click to show internal directories.
Click to hide internal directories.