Documentation ¶
Index ¶
- func DownloadMonitorPolicy(config *runner.Config) ([]byte, error)
- func ErrorHandler(config *runner.Config, reportKind, description string) error
- func GetWriters(config *runner.Config) (io.Writer, io.Writer, error)
- func MonitorAfterApply(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorAfterDestroy(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorAfterPlan(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorBeforeApply(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorBeforeDestroy(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorBeforePlan(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorPlan(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func MonitorState(r *RunnerAction, policyBytes []byte) (*types.CreateMonitorResultRequest, error)
- func RunMonitorFunc(f MonitorFunc, action *RunnerAction, rc *runner.Config) (string, error)
- func SuccessHandler(config *runner.Config, reportKind, description string) error
- type MonitorFunc
- type PrettyWriter
- type RunnerAction
- type RunnerActionOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorAfterApply ¶
func MonitorAfterApply( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorAfterDestroy ¶
func MonitorAfterDestroy( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorAfterPlan ¶
func MonitorAfterPlan( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorBeforeApply ¶
func MonitorBeforeApply( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorBeforeDestroy ¶
func MonitorBeforeDestroy( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorBeforePlan ¶
func MonitorBeforePlan( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorPlan ¶
func MonitorPlan( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func MonitorState ¶
func MonitorState( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
func RunMonitorFunc ¶
func RunMonitorFunc(f MonitorFunc, action *RunnerAction, rc *runner.Config) (string, error)
Types ¶
type MonitorFunc ¶
type MonitorFunc func( r *RunnerAction, policyBytes []byte, ) (*types.CreateMonitorResultRequest, error)
type PrettyWriter ¶
type PrettyWriter struct {
// contains filtered or unexported fields
}
type RunnerAction ¶
type RunnerAction struct {
// contains filtered or unexported fields
}
func NewRunnerAction ¶
func NewRunnerAction(opts *RunnerActionOpts) *RunnerAction
func (*RunnerAction) Apply ¶
func (r *RunnerAction) Apply( variables map[string]interface{}, ) ([]byte, error)
func (*RunnerAction) Destroy ¶
func (r *RunnerAction) Destroy( variables map[string]interface{}, ) error
func (*RunnerAction) Init ¶
func (r *RunnerAction) Init() error
Click to show internal directories.
Click to hide internal directories.