Documentation ¶
Index ¶
- func InitializeContext(ctx context.Context) context.Context
- type ConsumedCapacity
- type ContextKey
- type Logger
- type Session
- func (s *Session) CreateStepFunctionMachine(ctx context.Context, sfnStateMachineName, sfnDefinition string) error
- func (s *Session) DeleteSfnStateMachine() error
- func (s *Session) DescribeSfnStateExecution(ctx context.Context, key string) error
- func (s *Session) SetAwsSfnClient()
- func (s *Session) StartSfnExecution(executionName string) error
- func (s *Session) ValidateSfnOutput(ctx context.Context, key, expectedOutput string) error
- type Steps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsumedCapacity ¶
type ContextKey ¶
type ContextKey string
ContextKey defines a type to store the integration HTTP session in context.Context.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger logs the sfn operations in a configurable file.
func GetLogger ¶
func GetLogger() *Logger
GetLogger returns the logger for sfn operations. If the logger is not created yet, it creates a new instance of Logger.
type Session ¶
func GetSession ¶
GetSession returns the integration HTTP session stored in context. Note that the context should be previously initialized with InitializeContext function.
func (*Session) CreateStepFunctionMachine ¶
func (*Session) DeleteSfnStateMachine ¶
func (*Session) DescribeSfnStateExecution ¶
func (*Session) SetAwsSfnClient ¶
func (s *Session) SetAwsSfnClient()
func (*Session) StartSfnExecution ¶
Click to show internal directories.
Click to hide internal directories.