Documentation ¶
Index ¶
- Constants
- func NewWorkloadCheckAction() action_kit_sdk.Action[WorkloadCheckState]
- func NewWorkloadDiscovery() discovery_kit_sdk.TargetDiscovery
- func WorkloadCheckStatus(ctx context.Context, state *WorkloadCheckState, api WorkloadStatusApi) (*action_kit_api.StatusResult, error)
- type GetWorkloadsApi
- type WorkloadCheckAction
- func (m *WorkloadCheckAction) Describe() action_kit_api.ActionDescription
- func (m *WorkloadCheckAction) NewEmptyState() WorkloadCheckState
- func (m *WorkloadCheckAction) Prepare(_ context.Context, state *WorkloadCheckState, ...) (*action_kit_api.PrepareResult, error)
- func (m *WorkloadCheckAction) Start(ctx context.Context, state *WorkloadCheckState) (*action_kit_api.StartResult, error)
- func (m *WorkloadCheckAction) Status(ctx context.Context, state *WorkloadCheckState) (*action_kit_api.StatusResult, error)
- type WorkloadCheckState
- type WorkloadStatusApi
Constants ¶
View Source
const ( WorkloadTargetId = "com.steadybit.extension_newrelic.workload" WorkloadCheckActionId = "com.steadybit.extension_newrelic.workload_check" )
Variables ¶
This section is empty.
Functions ¶
func NewWorkloadCheckAction ¶
func NewWorkloadCheckAction() action_kit_sdk.Action[WorkloadCheckState]
func NewWorkloadDiscovery ¶
func NewWorkloadDiscovery() discovery_kit_sdk.TargetDiscovery
func WorkloadCheckStatus ¶
func WorkloadCheckStatus(ctx context.Context, state *WorkloadCheckState, api WorkloadStatusApi) (*action_kit_api.StatusResult, error)
Types ¶
type GetWorkloadsApi ¶
type WorkloadCheckAction ¶
type WorkloadCheckAction struct{}
func (*WorkloadCheckAction) Describe ¶
func (m *WorkloadCheckAction) Describe() action_kit_api.ActionDescription
func (*WorkloadCheckAction) NewEmptyState ¶
func (m *WorkloadCheckAction) NewEmptyState() WorkloadCheckState
func (*WorkloadCheckAction) Prepare ¶
func (m *WorkloadCheckAction) Prepare(_ context.Context, state *WorkloadCheckState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)
func (*WorkloadCheckAction) Start ¶
func (m *WorkloadCheckAction) Start(ctx context.Context, state *WorkloadCheckState) (*action_kit_api.StartResult, error)
func (*WorkloadCheckAction) Status ¶
func (m *WorkloadCheckAction) Status(ctx context.Context, state *WorkloadCheckState) (*action_kit_api.StatusResult, error)
type WorkloadCheckState ¶
Click to show internal directories.
Click to hide internal directories.