extcosmosdb

package
v1.3.13 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 19 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 CosmosDbFailoverActionId = "com.steadybit.extension_azure.cosmosdb.account.failover"
View Source
const (
	TargetIDCosmosDbAccount = "com.steadybit.extension_azure.cosmosdb.account"
)

Variables

This section is empty.

Functions

func NewAccountDiscovery

func NewAccountDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type CosmosDbFailoverState

type CosmosDbFailoverState struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	// PromotedRegion is the region we will promote to priority 0. Captured for log messaging.
	PromotedRegion string
	// NewPolicies is the full priority order to submit at Start (computed from the current order
	// at Prepare, with PromotedRegion swapped to priority 0).
	NewPolicies []failoverPolicy
}

CosmosDbFailoverState carries the computed new failover priorities from Prepare to Start. This attack is one-shot (no Stop / no rollback): Azure's FailoverPriorityChange is async and takes 5-15 min per call, so a transient experiment-style "set & restore" semantics is misleading. Users who want to switch back can run the experiment again against the (now-secondary) region.

Jump to

Keyboard shortcuts

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