deckhouse_release

package
v1.69.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: Apache-2.0 Imports: 49 Imported by: ? modules, 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

This section is empty.

Variables

View Source
var ErrDeploymentContainerIsNotFound = errors.New("deployment container is not found")
View Source
var ErrImageIsNil = errors.New("image is nil")
View Source
var ErrImageNotChanged = errors.New("image not changed")
View Source
var ErrPreApplyCheckIsFailed = errors.New("pre apply check is failed")

Functions

func NewDeckhouseReleaseController

func NewDeckhouseReleaseController(ctx context.Context, mgr manager.Manager, dc dependency.Container,
	moduleManager moduleManager, updateSettings *helpers.DeckhouseSettingsContainer, metricStorage metric.Storage,
	preflightCountDown *sync.WaitGroup, deckhouseVersion string, logger *log.Logger,
) error

Types

type DeckhouseReleaseFetcher added in v1.68.2

type DeckhouseReleaseFetcher struct {
	// contains filtered or unexported fields
}

func NewDeckhouseReleaseFetcher added in v1.68.2

func NewDeckhouseReleaseFetcher(cfg *DeckhouseReleaseFetcherConfig) *DeckhouseReleaseFetcher

func (*DeckhouseReleaseFetcher) GetNewImageInfo added in v1.68.2

func (f *DeckhouseReleaseFetcher) GetNewImageInfo(ctx context.Context, previousImageHash string) (*ImageInfo, error)

func (*DeckhouseReleaseFetcher) GetNewReleasesMetadata added in v1.68.2

func (f *DeckhouseReleaseFetcher) GetNewReleasesMetadata(ctx context.Context, actual, target *semver.Version) ([]ReleaseMetadata, error)

FetchReleasesMetadata realize step by step update

func (*DeckhouseReleaseFetcher) GetReleaseChannel added in v1.68.2

func (f *DeckhouseReleaseFetcher) GetReleaseChannel() string

type DeckhouseReleaseFetcherConfig added in v1.68.2

type DeckhouseReleaseFetcherConfig struct {
	// contains filtered or unexported fields
}

type ImageInfo added in v1.68.2

type ImageInfo struct {
	Metadata *ReleaseMetadata
	Image    registryv1.Image
	Digest   registryv1.Hash
}

type MetricsUpdater added in v1.68.0

type MetricsUpdater interface {
	UpdateReleaseMetric(string, releaseUpdater.MetricLabels)
	PurgeReleaseMetric(string)
}

type ReleaseMetadata added in v1.65.0

type ReleaseMetadata struct {
	Version      string                    `json:"version"`
	Canary       map[string]canarySettings `json:"canary"`
	Requirements map[string]string         `json:"requirements"`
	Disruptions  map[string][]string       `json:"disruptions"`
	Suspend      bool                      `json:"suspend"`

	Changelog map[string]interface{} `json:"-"`

	Cooldown *metav1.Time `json:"-"`
}

func (*ReleaseMetadata) CalculateReleaseDelay added in v1.68.2

func (m *ReleaseMetadata) CalculateReleaseDelay(channel string, ts metav1.Time, clusterUUID string) *metav1.Time

https://github.com/deckhouse/deckhouse/issues/332

func (*ReleaseMetadata) IsCanaryRelease added in v1.68.2

func (m *ReleaseMetadata) IsCanaryRelease(channel string) bool

type TimeResult added in v1.68.0

type TimeResult struct {
	*releaseUpdater.ProcessedDeployTimeResult
	Notified bool
}

Jump to

Keyboard shortcuts

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