Documentation ¶
Index ¶
- func BigFloatToInt64(input *big.Float) int64
- func CalculateHash(s, salt string) string
- func GetHost() string
- func NewExecutionID() string
- func NewPipelineExecutionID() string
- func NewProcessID() string
- func NewSessionID() string
- func NewStepExecutionID() string
- func NewUniqueID() string
- func RunSendEmail(ctx context.Context, input modconfig.Input) (*modconfig.Output, error)
- func ValidateEmailInput(ctx context.Context, i modconfig.Input) error
- type CommandBusMock
- type HclExpressionMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigFloatToInt64 ¶ added in v0.2.0
func CalculateHash ¶
func NewExecutionID ¶
func NewExecutionID() string
func NewPipelineExecutionID ¶
func NewPipelineExecutionID() string
func NewProcessID ¶
func NewProcessID() string
func NewSessionID ¶
func NewSessionID() string
func NewStepExecutionID ¶
func NewStepExecutionID() string
func NewUniqueID ¶
func NewUniqueID() string
func RunSendEmail ¶
TODO: Sync up with email step - once the variable names are in sync, we can use the same schema
Types ¶
type CommandBusMock ¶ added in v0.2.0
type CommandBusMock struct { SendFunc func(ctx context.Context, command interface{}) error SendWithLockFunc func(ctx context.Context, command interface{}, lock *sync.Mutex) error }
func (*CommandBusMock) Send ¶ added in v0.2.0
func (c *CommandBusMock) Send(ctx context.Context, command interface{}) error
func (*CommandBusMock) SendWithLock ¶ added in v0.2.0
type HclExpressionMock ¶ added in v0.2.0
type HclExpressionMock struct {
ValueFunc func(evalCtx *hcl.EvalContext) (cty.Value, hcl.Diagnostics)
}
func (*HclExpressionMock) Range ¶ added in v0.2.0
func (*HclExpressionMock) Range() hcl.Range
func (*HclExpressionMock) StartRange ¶ added in v0.2.0
func (*HclExpressionMock) StartRange() hcl.Range
func (*HclExpressionMock) Value ¶ added in v0.2.0
func (h *HclExpressionMock) Value(evalCtx *hcl.EvalContext) (cty.Value, hcl.Diagnostics)
func (*HclExpressionMock) Variables ¶ added in v0.2.0
func (*HclExpressionMock) Variables() []hcl.Traversal
Click to show internal directories.
Click to hide internal directories.