Documentation
¶
Index ¶
- type MaintenanceWindowPreflight
- func (preflight *MaintenanceWindowPreflight) Describe() preflight_kit_api.PreflightDescription
- func (preflight *MaintenanceWindowPreflight) NewEmptyState() MaintenanceWindowPreflightState
- func (preflight *MaintenanceWindowPreflight) Start(_ context.Context, state *MaintenanceWindowPreflightState, ...) (*preflight_kit_api.StartResult, error)
- func (preflight *MaintenanceWindowPreflight) Status(_ context.Context, state *MaintenanceWindowPreflightState) (*preflight_kit_api.StatusResult, error)
- type MaintenanceWindowPreflightState
- type SimplePreflight
- func (preflight *SimplePreflight) Describe() preflight_kit_api.PreflightDescription
- func (preflight *SimplePreflight) NewEmptyState() SimplePreflightState
- func (preflight *SimplePreflight) Start(_ context.Context, state *SimplePreflightState, ...) (*preflight_kit_api.StartResult, error)
- func (preflight *SimplePreflight) Status(_ context.Context, state *SimplePreflightState) (*preflight_kit_api.StatusResult, error)
- type SimplePreflightState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaintenanceWindowPreflight ¶
type MaintenanceWindowPreflight struct {
}
MaintenanceWindowPreflight actions if experiments run within allowed time windows
func NewMaintenanceWindowPreflight ¶
func NewMaintenanceWindowPreflight() *MaintenanceWindowPreflight
NewMaintenanceWindowPreflight creates a new maintenance window preflight
func (*MaintenanceWindowPreflight) Describe ¶
func (preflight *MaintenanceWindowPreflight) Describe() preflight_kit_api.PreflightDescription
Describe returns the preflight description
func (*MaintenanceWindowPreflight) NewEmptyState ¶
func (preflight *MaintenanceWindowPreflight) NewEmptyState() MaintenanceWindowPreflightState
func (*MaintenanceWindowPreflight) Start ¶
func (preflight *MaintenanceWindowPreflight) Start(_ context.Context, state *MaintenanceWindowPreflightState, request preflight_kit_api.StartPreflightRequestBody) (*preflight_kit_api.StartResult, error)
Start initiates the preflight action
func (*MaintenanceWindowPreflight) Status ¶
func (preflight *MaintenanceWindowPreflight) Status(_ context.Context, state *MaintenanceWindowPreflightState) (*preflight_kit_api.StatusResult, error)
Status checks the current status of the preflight
type SimplePreflight ¶
type SimplePreflight struct {
}
func NewSimplePreflight ¶
func NewSimplePreflight() *SimplePreflight
func (*SimplePreflight) Describe ¶
func (preflight *SimplePreflight) Describe() preflight_kit_api.PreflightDescription
func (*SimplePreflight) NewEmptyState ¶
func (preflight *SimplePreflight) NewEmptyState() SimplePreflightState
func (*SimplePreflight) Start ¶
func (preflight *SimplePreflight) Start(_ context.Context, state *SimplePreflightState, request preflight_kit_api.StartPreflightRequestBody) (*preflight_kit_api.StartResult, error)
func (*SimplePreflight) Status ¶
func (preflight *SimplePreflight) Status(_ context.Context, state *SimplePreflightState) (*preflight_kit_api.StatusResult, error)
type SimplePreflightState ¶
type SimplePreflightState struct {
StatusCount int
}
Click to show internal directories.
Click to hide internal directories.