extmig

package
v1.0.50 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 23 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 (
	TargetIDMig                = "com.steadybit.extension_gcp.mig"
	MigDeleteInstancesActionId = "com.steadybit.extension_gcp.mig.delete-instances"
)

Variables

This section is empty.

Functions

func NewMigDiscovery

func NewMigDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type MigDeleteInstancesState

type MigDeleteInstancesState struct {
	ProjectID  string
	Scope      string // "zonal" or "regional"
	Location   string // zone (e.g. us-central1-a) or region (e.g. us-central1)
	MigName    string
	Percentage int
	Instances  []string
}

MigDeleteInstancesState holds the sampled instance URLs to recreate on Start. This attack calls the MIG's RecreateInstances API — the target VMs are deleted and replaced from the current instance template. Unlike DeleteInstances, RecreateInstances preserves the MIG's targetSize, so an autoscaler-free MIG (like a fixed-size stateful pool) doesn't stay undersized after the attack. The VMs get new hardware identity (new instance IDs, boot times) but keep their names and any stateful-policy state.

Jump to

Keyboard shortcuts

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