Documentation ¶
Index ¶
- Constants
- func CreateMutingRuleStart(ctx context.Context, state *CreateMutingRuleState, api MutingRuleApi) (*action_kit_api.StartResult, error)
- func CreateMutingRuleStop(ctx context.Context, state *CreateMutingRuleState, api MutingRuleApi) (*action_kit_api.StopResult, error)
- func NewAccountDiscovery() discovery_kit_sdk.TargetDiscovery
- func NewCreateMutingRuleAction() action_kit_sdk.Action[CreateMutingRuleState]
- type CreateMutingRuleAction
- func (m *CreateMutingRuleAction) Describe() action_kit_api.ActionDescription
- func (m *CreateMutingRuleAction) NewEmptyState() CreateMutingRuleState
- func (m *CreateMutingRuleAction) Prepare(_ context.Context, state *CreateMutingRuleState, ...) (*action_kit_api.PrepareResult, error)
- func (m *CreateMutingRuleAction) Start(ctx context.Context, state *CreateMutingRuleState) (*action_kit_api.StartResult, error)
- func (m *CreateMutingRuleAction) Stop(ctx context.Context, state *CreateMutingRuleState) (*action_kit_api.StopResult, error)
- type CreateMutingRuleState
- type GetAccountsApi
- type MutingRuleApi
Constants ¶
View Source
const ( AccountTargetId = "com.steadybit.extension_newrelic.account" CreateMutingRuleActionId = "com.steadybit.extension_newrelic.create_muting_rule" )
Variables ¶
This section is empty.
Functions ¶
func CreateMutingRuleStart ¶
func CreateMutingRuleStart(ctx context.Context, state *CreateMutingRuleState, api MutingRuleApi) (*action_kit_api.StartResult, error)
func CreateMutingRuleStop ¶
func CreateMutingRuleStop(ctx context.Context, state *CreateMutingRuleState, api MutingRuleApi) (*action_kit_api.StopResult, error)
func NewAccountDiscovery ¶
func NewAccountDiscovery() discovery_kit_sdk.TargetDiscovery
func NewCreateMutingRuleAction ¶
func NewCreateMutingRuleAction() action_kit_sdk.Action[CreateMutingRuleState]
Types ¶
type CreateMutingRuleAction ¶
type CreateMutingRuleAction struct{}
func (*CreateMutingRuleAction) Describe ¶
func (m *CreateMutingRuleAction) Describe() action_kit_api.ActionDescription
func (*CreateMutingRuleAction) NewEmptyState ¶
func (m *CreateMutingRuleAction) NewEmptyState() CreateMutingRuleState
func (*CreateMutingRuleAction) Prepare ¶
func (m *CreateMutingRuleAction) Prepare(_ context.Context, state *CreateMutingRuleState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)
func (*CreateMutingRuleAction) Start ¶
func (m *CreateMutingRuleAction) Start(ctx context.Context, state *CreateMutingRuleState) (*action_kit_api.StartResult, error)
func (*CreateMutingRuleAction) Stop ¶
func (m *CreateMutingRuleAction) Stop(ctx context.Context, state *CreateMutingRuleState) (*action_kit_api.StopResult, error)
type CreateMutingRuleState ¶
type GetAccountsApi ¶
Click to show internal directories.
Click to hide internal directories.