Documentation
¶
Index ¶
- Constants
- func NewK8sEventsAction() action_kit_sdk.Action[K8sEventsState]
- type K8sEventsAction
- func (f K8sEventsAction) Describe() action_kit_api.ActionDescription
- func (f K8sEventsAction) NewEmptyState() K8sEventsState
- func (f K8sEventsAction) Prepare(_ context.Context, state *K8sEventsState, ...) (*action_kit_api.PrepareResult, error)
- func (f K8sEventsAction) Start(_ context.Context, state *K8sEventsState) (*action_kit_api.StartResult, error)
- func (f K8sEventsAction) Status(_ context.Context, state *K8sEventsState) (*action_kit_api.StatusResult, error)
- func (f K8sEventsAction) Stop(_ context.Context, state *K8sEventsState) (*action_kit_api.StopResult, error)
- type K8sEventsConfig
- type K8sEventsState
Constants ¶
View Source
const LogType = "KUBERNETES_EVENTS"
Variables ¶
This section is empty.
Functions ¶
func NewK8sEventsAction ¶
func NewK8sEventsAction() action_kit_sdk.Action[K8sEventsState]
Types ¶
type K8sEventsAction ¶
type K8sEventsAction struct {
}
func (K8sEventsAction) Describe ¶
func (f K8sEventsAction) Describe() action_kit_api.ActionDescription
func (K8sEventsAction) NewEmptyState ¶
func (f K8sEventsAction) NewEmptyState() K8sEventsState
func (K8sEventsAction) Prepare ¶
func (f K8sEventsAction) Prepare(_ context.Context, state *K8sEventsState, request action_kit_api.PrepareActionRequestBody) (*action_kit_api.PrepareResult, error)
func (K8sEventsAction) Start ¶
func (f K8sEventsAction) Start(_ context.Context, state *K8sEventsState) (*action_kit_api.StartResult, error)
func (K8sEventsAction) Status ¶
func (f K8sEventsAction) Status(_ context.Context, state *K8sEventsState) (*action_kit_api.StatusResult, error)
func (K8sEventsAction) Stop ¶
func (f K8sEventsAction) Stop(_ context.Context, state *K8sEventsState) (*action_kit_api.StopResult, error)
type K8sEventsConfig ¶
type K8sEventsConfig struct {
Duration int
}
Click to show internal directories.
Click to hide internal directories.