hooks

package
v1.59.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeckhouseReleaseChecker

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

func NewDeckhouseReleaseChecker

func NewDeckhouseReleaseChecker(input *go_hook.HookInput, dc dependency.Container, releaseChannel string) (*DeckhouseReleaseChecker, error)

func (*DeckhouseReleaseChecker) CalculateReleaseDelay

func (dcr *DeckhouseReleaseChecker) CalculateReleaseDelay(ts time.Time, clusterUUID string) *time.Time

func (*DeckhouseReleaseChecker) FetchReleaseMetadata

func (dcr *DeckhouseReleaseChecker) FetchReleaseMetadata(previousImageHash string) (digestHash string, err error)

func (*DeckhouseReleaseChecker) IsCanaryRelease

func (dcr *DeckhouseReleaseChecker) IsCanaryRelease() bool

func (*DeckhouseReleaseChecker) StepByStepUpdate added in v1.51.0

func (dcr *DeckhouseReleaseChecker) StepByStepUpdate(actual, target *semver.Version) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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