Documentation ¶
Index ¶
- Constants
- func CreateMaintenanceWindow(ctx context.Context, state *CreateMaintenanceWindowState, ...) (*action_kit_api.StartResult, error)
- func DeleteMaintenanceWindow(ctx context.Context, state *CreateMaintenanceWindowState, ...) (*action_kit_api.StopResult, error)
- func NewCreateMaintenanceWindowAction() action_kit_sdk.Action[CreateMaintenanceWindowState]
- type CreateMaintenanceWindowAction
- func (m *CreateMaintenanceWindowAction) Describe() action_kit_api.ActionDescription
- func (m *CreateMaintenanceWindowAction) NewEmptyState() CreateMaintenanceWindowState
- func (m *CreateMaintenanceWindowAction) Prepare(_ context.Context, state *CreateMaintenanceWindowState, ...) (*action_kit_api.PrepareResult, error)
- func (m *CreateMaintenanceWindowAction) Start(ctx context.Context, state *CreateMaintenanceWindowState) (*action_kit_api.StartResult, error)
- func (m *CreateMaintenanceWindowAction) Stop(ctx context.Context, state *CreateMaintenanceWindowState) (*action_kit_api.StopResult, error)
- type CreateMaintenanceWindowState
- type MaintenanceWindowApi
Constants ¶
View Source
const (
MaintenanceWindowActionId = "com.steadybit.extension_instana.maintenance-window"
)
Variables ¶
This section is empty.
Functions ¶
func CreateMaintenanceWindow ¶
func CreateMaintenanceWindow(ctx context.Context, state *CreateMaintenanceWindowState, api MaintenanceWindowApi) (*action_kit_api.StartResult, error)
func DeleteMaintenanceWindow ¶
func DeleteMaintenanceWindow(ctx context.Context, state *CreateMaintenanceWindowState, api MaintenanceWindowApi) (*action_kit_api.StopResult, error)
func NewCreateMaintenanceWindowAction ¶
func NewCreateMaintenanceWindowAction() action_kit_sdk.Action[CreateMaintenanceWindowState]
Types ¶
type CreateMaintenanceWindowAction ¶
type CreateMaintenanceWindowAction struct{}
func (*CreateMaintenanceWindowAction) Describe ¶
func (m *CreateMaintenanceWindowAction) Describe() action_kit_api.ActionDescription
func (*CreateMaintenanceWindowAction) NewEmptyState ¶
func (m *CreateMaintenanceWindowAction) NewEmptyState() CreateMaintenanceWindowState
func (*CreateMaintenanceWindowAction) Prepare ¶
func (m *CreateMaintenanceWindowAction) Prepare(_ context.Context, state *CreateMaintenanceWindowState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)
func (*CreateMaintenanceWindowAction) Start ¶
func (m *CreateMaintenanceWindowAction) Start(ctx context.Context, state *CreateMaintenanceWindowState) (*action_kit_api.StartResult, error)
func (*CreateMaintenanceWindowAction) Stop ¶
func (m *CreateMaintenanceWindowAction) Stop(ctx context.Context, state *CreateMaintenanceWindowState) (*action_kit_api.StopResult, error)
Click to show internal directories.
Click to hide internal directories.