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
}
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"`
}
Click to show internal directories.
Click to hide internal directories.