orchestrator

package
v1.73.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionTypeReady                          = "Ready"
	ConditionTypeInClusterProxy                 = "InClusterProxyReady"
	ConditionTypeInClusterProxyCleanup          = "CleanupInClusterProxy"
	ConditionTypeBashiblePreflightCheck         = "ContainerdConfigPreflightReady"
	ConditionTypeBashibleTransitionStage        = "TransitionContainerdConfigReady"
	ConditionTypeBashibleFinalStage             = "FinalContainerdConfigReady"
	ConditionTypeDeckhouseRegistrySwitch        = "DeckhouseRegistrySwitchReady"
	ConditionTypeRegistryContainsRequiredImages = "RegistryContainsRequiredImages"

	ConditionReasonReady      = "Ready"
	ConditionReasonProcessing = "Processing"
	ConditionReasonError      = "Error"
)
View Source
const (
	SubmoduleName = "orchestrator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrTransitionNotSupported

type ErrTransitionNotSupported struct {
	From, To registry_const.ModeType
}

func (ErrTransitionNotSupported) Error

func (err ErrTransitionNotSupported) Error() string

type Inputs

type Inputs struct {
	Params         Params
	RegistrySecret deckhouse_registry.Config

	PKI              pki.Inputs
	Secrets          secrets.Inputs
	Users            users.Inputs
	InClusterProxy   inclusterproxy.Inputs
	RegistryService  registryservice.Inputs
	Bashible         bashible.Inputs
	RegistrySwitcher registryswither.Inputs
	CheckerStatus    checker.Status
}

type Params

type Params struct {
	Generation int64
	Mode       registry_const.ModeType
	ImagesRepo string
	UserName   string
	Password   string
	TTL        string
	Scheme     string
	CA         *x509.Certificate // optional

	CheckMode registry_const.CheckModeType
}

func (Params) Validate

func (p Params) Validate() error

type State

type State struct {
	Mode       registry_const.ModeType `json:"mode,omitempty"`
	TargetMode registry_const.ModeType `json:"target_mode,omitempty"`

	PKI             pki.State              `json:"pki,omitempty"`
	Secrets         secrets.State          `json:"secrets,omitempty"`
	Users           users.State            `json:"users,omitempty"`
	InClusterProxy  inclusterproxy.State   `json:"in_cluster_proxy,omitempty"`
	IngressEnabled  bool                   `json:"ingress_enabled,omitempty"`
	RegistryService registryservice.Mode   `json:"registry_service,omitempty"`
	Bashible        bashible.State         `json:"bashible,omitempty"`
	RegistrySecret  registryswitcher.State `json:"-"`
	CheckerParams   checker.Params         `json:"-"`

	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

type Values

type Values struct {
	Hash  string `json:"hash,omitempty"`
	State State  `json:"state,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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