extfis

package
v2.4.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: MIT Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FisActionId = "com.steadybit.extension_aws.fis.start_experiment"
)

Variables

This section is empty.

Functions

func GetAllFisTemplates

func GetAllFisTemplates(ctx context.Context, fisApi FisApi, account *utils.AwsAccess) ([]discovery_kit_api.Target, error)

func NewFisExperimentAction

func NewFisExperimentAction() action_kit_sdk.Action[FisExperimentState]

Types

type FisApi

type FisApi interface {
	fis.ListExperimentTemplatesAPIClient
	GetExperimentTemplate(ctx context.Context, params *fis.GetExperimentTemplateInput, optFns ...func(*fis.Options)) (*fis.GetExperimentTemplateOutput, error)
}

type FisExperimentAction

type FisExperimentAction struct {
}

func (FisExperimentAction) Describe

func (FisExperimentAction) NewEmptyState

func (f FisExperimentAction) NewEmptyState() FisExperimentState

func (FisExperimentAction) Start

func (FisExperimentAction) Status

func (FisExperimentAction) Stop

type FisExperimentState

type FisExperimentState struct {
	Account          string
	Region           string
	DiscoveredByRole *string
	ExperimentId     string
	TemplateId       string
	LastSummary      string
	ExecutionId      uuid.UUID
}

type FisStartExperimentClient

type FisStartExperimentClient interface {
	StartExperiment(ctx context.Context, params *fis.StartExperimentInput, optFns ...func(*fis.Options)) (*fis.StartExperimentOutput, error)
}

type FisStatusExperimentClient

type FisStatusExperimentClient interface {
	GetExperiment(ctx context.Context, params *fis.GetExperimentInput, optFns ...func(*fis.Options)) (*fis.GetExperimentOutput, error)
}

type FisStopExperimentClient

type FisStopExperimentClient interface {
	GetExperiment(ctx context.Context, params *fis.GetExperimentInput, optFns ...func(*fis.Options)) (*fis.GetExperimentOutput, error)
	StopExperiment(ctx context.Context, params *fis.StopExperimentInput, optFns ...func(*fis.Options)) (*fis.StopExperimentOutput, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL