extdeployment

package
v2.6.13 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentTargetType            = "com.steadybit.extension_kubernetes.kubernetes-deployment"
	PodCountMetricActionId          = "com.steadybit.extension_kubernetes.pod_count_metric"
	DeploymentPodCountCheckActionId = "com.steadybit.extension_kubernetes.pod_count_check"
	RolloutRestartActionId          = "com.steadybit.extension_kubernetes.rollout-restart"
	RolloutStatusActionId           = "com.steadybit.extension_kubernetes.rollout-status"
	ScaleDeploymentActionId         = "com.steadybit.extension_kubernetes.scale_deployment"
	SetImageActionId                = "com.steadybit.extension_kubernetes.set_image"
)

Variables

This section is empty.

Functions

func NewDeploymentDiscovery

func NewDeploymentDiscovery(k8s *client.Client) discovery_kit_sdk.TargetDiscovery

func NewPodCountMetricsAction

func NewPodCountMetricsAction() action_kit_sdk.Action[PodCountMetricsState]

func NewSetImageAction added in v2.6.4

Types

type CheckDeploymentRolloutConfig

type CheckDeploymentRolloutConfig struct {
	Duration int
}

type CheckDeploymentRolloutStatusAction

type CheckDeploymentRolloutStatusAction struct {
}

func (CheckDeploymentRolloutStatusAction) Describe

func (CheckDeploymentRolloutStatusAction) NewEmptyState

func (CheckDeploymentRolloutStatusAction) Status

type CheckDeploymentRolloutStatusState

type CheckDeploymentRolloutStatusState struct {
	Cluster    string        `json:"cluster"`
	Namespace  string        `json:"namespace"`
	Deployment string        `json:"deployment"`
	EndOffset  time.Duration `json:"endOffset"`
}

type DeploymentRolloutRestartAction

type DeploymentRolloutRestartAction struct {
}

func (DeploymentRolloutRestartAction) Describe

func (DeploymentRolloutRestartAction) NewEmptyState

func (DeploymentRolloutRestartAction) Start

func (DeploymentRolloutRestartAction) Status

type DeploymentRolloutRestartConfig

type DeploymentRolloutRestartConfig struct {
	Wait        bool
	CheckBefore bool
}

type DeploymentRolloutRestartState

type DeploymentRolloutRestartState struct {
	Cluster    string `json:"cluster"`
	Namespace  string `json:"namespace"`
	Deployment string `json:"deployment"`
	Wait       bool   `json:"wait"`
}

type PodCountMetricsAction

type PodCountMetricsAction struct {
}

func (PodCountMetricsAction) Describe

func (PodCountMetricsAction) NewEmptyState

func (f PodCountMetricsAction) NewEmptyState() PodCountMetricsState

func (PodCountMetricsAction) Start

func (PodCountMetricsAction) Status

type PodCountMetricsConfig

type PodCountMetricsConfig struct {
	Duration int
}

type PodCountMetricsState

type PodCountMetricsState struct {
	End         time.Time
	LastMetrics map[string]int32
}

type ScaleDeploymentConfig

type ScaleDeploymentConfig struct {
	ReplicaCount int
}

type SetImageConfig added in v2.6.4

type SetImageConfig struct {
	Image         string `json:"image"`
	ContainerName string `json:"container_name"`
}

Jump to

Keyboard shortcuts

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