extloadtest

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 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 (
	TYPE_LOG_EXAMPLE              = "EXAMPLE-LOGS"
	TYPE_MARKDOWN_APPEND_EXAMPLE  = "EXAMPLE-MARKDOWN-APPEND"
	TYPE_MARKDOWN_REPLACE_EXAMPLE = "EXAMPLE-MARKDOWN-REPLACE"
)

Variables

This section is empty.

Functions

func GetAdviceDescriptionKubernetesDeploymentLoadtest

func GetAdviceDescriptionKubernetesDeploymentLoadtest() advice_kit_api.AdviceDefinition

func NewLogAction

func NewLogAction(targetId string, selectionTemplate action_kit_api.TargetSelectionTemplate) action_kit_sdk.Action[LogActionState]

func NewRecreateAction

func NewRecreateAction(targetId string, selectionTemplate action_kit_api.TargetSelectionTemplate, callbackFn func(name string)) action_kit_sdk.Action[RecreateActionState]

func RegisterEventListenerHandlers

func RegisterEventListenerHandlers()

Types

type DoNothingActionConfig

type DoNothingActionConfig struct {
}

type DoNothingActionState

type DoNothingActionState struct {
}

type LogActionConfig

type LogActionConfig struct {
	Message         string
	ErrorEndpoint   string
	LatencyEndpoint string
	LatencyDuration int64
	TargetFilter    string
}

type LogActionState

type LogActionState struct {
	FormattedMessage string
	ErrorEndpoint    string
	LatencyEndpoint  string
	LatencyDuration  time.Duration
	TargetFilter     string
	TargetName       string
}

type NodeData

type NodeData struct {
	Deployments          map[string]bool
	Pods                 map[string]bool
	Namespaces           map[string]bool
	ContainerIds         map[string]bool
	ContainerIdsStripped map[string]bool
}

type RecreateActionConfig

type RecreateActionConfig struct {
	PrepareFailureRate int `json:"prepareFailureRate"`
	StartFailureRate   int `json:"startFailureRate"`
}

type RecreateActionState

type RecreateActionState struct {
	Name             string  `json:"name"`
	StartFailureRate float64 `json:"startFailureRate"`
}

type TargetData

type TargetData struct {
	// contains filtered or unexported fields
}

func NewTargetData

func NewTargetData() *TargetData

func (*TargetData) RegisterConfigUpdateHandlers

func (t *TargetData) RegisterConfigUpdateHandlers()

func (*TargetData) RegisterDiscoveries

func (t *TargetData) RegisterDiscoveries()

func (*TargetData) RegisterRecreateActions

func (t *TargetData) RegisterRecreateActions()

func (*TargetData) ScheduleUpdates

func (t *TargetData) ScheduleUpdates()

type TargetlessActionState

type TargetlessActionState struct {
}

type WidgetActionConfig

type WidgetActionConfig struct {
}

type WidgetActionState

type WidgetActionState struct {
}

Jump to

Keyboard shortcuts

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