internalapi

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeAvailableConditionFormat   = "Node%sAvailable"
	NodeProgressingConditionFormat = "Node%sProgressing"
	NodeDegradedConditionFormat    = "Node%sDegraded"

	NodeSetupAvailableConditionFormat   = "NodeSetup%sAvailable"
	NodeSetupProgressingConditionFormat = "NodeSetup%sProgressing"
	NodeSetupDegradedConditionFormat    = "NodeSetup%sDegraded"

	NodeTuneAvailableConditionFormat   = "NodeTune%sAvailable"
	NodeTuneProgressingConditionFormat = "NodeTune%sProgressing"
	NodeTuneDegradedConditionFormat    = "NodeTune%sDegraded"

	AsExpectedReason        = "AsExpected"
	ErrorReason             = "Error"
	ProgressingReason       = "Progressing"
	AwaitingConditionReason = "AwaitingCondition"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DatacenterUpgradeContext added in v1.15.0

type DatacenterUpgradeContext struct {
	State             UpgradePhase `json:"state"`
	FromVersion       string       `json:"fromVersion"`
	ToVersion         string       `json:"toVersion"`
	SystemSnapshotTag string       `json:"systemSnapshotTag"`
	DataSnapshotTag   string       `json:"dataSnapshotTag"`
}

func (*DatacenterUpgradeContext) Decode added in v1.15.0

func (uc *DatacenterUpgradeContext) Decode(reader io.Reader) error

func (*DatacenterUpgradeContext) Encode added in v1.15.0

func (uc *DatacenterUpgradeContext) Encode() ([]byte, error)

type SidecarRuntimeConfig

type SidecarRuntimeConfig struct {
	// containerID hold the ID of the scylla container this information is valid for.
	// E.g. on restarts, the container gets a new ID.
	ContainerID string `json:"containerID"`

	// matchingNodeConfigs is a list of NodeConfigs that affect this pod.
	MatchingNodeConfigs []string `json:"matchingNodeConfigs"`

	// blockingNodeConfigs is a list of NodeConfigs this pod is waiting on.
	BlockingNodeConfigs []string `json:"blockingNodeConfigs"`
}

type UpgradePhase added in v1.15.0

type UpgradePhase string
const (
	PreHooksUpgradePhase    UpgradePhase = "PreHooks"
	RolloutInitUpgradePhase UpgradePhase = "RolloutInit"
	RolloutRunUpgradePhase  UpgradePhase = "RolloutRun"
	PostHooksUpgradePhase   UpgradePhase = "PostHooks"
)

Jump to

Keyboard shortcuts

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