Documentation ¶
Index ¶
- func NewDeckhouseUpdater(input *go_hook.HookInput, mode string, data updater.DeckhouseReleaseData, ...) (*updater.Updater[*DeckhouseRelease], error)
- type DeckhouseRelease
- func (d *DeckhouseRelease) GetApplyAfter() *time.Time
- func (d *DeckhouseRelease) GetApplyNow() bool
- func (d *DeckhouseRelease) GetApprovedStatus() bool
- func (d *DeckhouseRelease) GetChangelogLink() string
- func (d *DeckhouseRelease) GetCooldownUntil() *time.Time
- func (d *DeckhouseRelease) GetDisruptionApproved() bool
- func (d *DeckhouseRelease) GetDisruptions() []string
- func (d *DeckhouseRelease) GetForce() bool
- func (d *DeckhouseRelease) GetManuallyApproved() bool
- func (d *DeckhouseRelease) GetMessage() string
- func (d *DeckhouseRelease) GetName() string
- func (d *DeckhouseRelease) GetPhase() string
- func (d *DeckhouseRelease) GetRequirements() map[string]string
- func (d *DeckhouseRelease) GetSuspend() bool
- func (d *DeckhouseRelease) GetVersion() *semver.Version
- func (d *DeckhouseRelease) SetApprovedStatus(val bool)
- type DeckhouseReleaseAnnotationsFlags
- type StatusPatch
- type ValueSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeckhouseUpdater ¶
func NewDeckhouseUpdater(input *go_hook.HookInput, mode string, data updater.DeckhouseReleaseData, podIsReady, isBootstrapping bool) (*updater.Updater[*DeckhouseRelease], error)
Types ¶
type DeckhouseRelease ¶
type DeckhouseRelease struct { Name string Version *semver.Version ManuallyApproved bool AnnotationFlags DeckhouseReleaseAnnotationsFlags Requirements map[string]string ChangelogLink string Disruptions []string ApplyAfter *metav1.Time CooldownUntil *metav1.Time Status v1alpha1.DeckhouseReleaseStatus // don't set transition time here to avoid snapshot overload }
func (*DeckhouseRelease) GetApplyAfter ¶ added in v1.60.0
func (d *DeckhouseRelease) GetApplyAfter() *time.Time
func (*DeckhouseRelease) GetApplyNow ¶ added in v1.60.0
func (d *DeckhouseRelease) GetApplyNow() bool
func (*DeckhouseRelease) GetApprovedStatus ¶ added in v1.60.0
func (d *DeckhouseRelease) GetApprovedStatus() bool
func (*DeckhouseRelease) GetChangelogLink ¶ added in v1.60.0
func (d *DeckhouseRelease) GetChangelogLink() string
func (*DeckhouseRelease) GetCooldownUntil ¶ added in v1.60.0
func (d *DeckhouseRelease) GetCooldownUntil() *time.Time
func (*DeckhouseRelease) GetDisruptionApproved ¶ added in v1.60.0
func (d *DeckhouseRelease) GetDisruptionApproved() bool
func (*DeckhouseRelease) GetDisruptions ¶ added in v1.60.0
func (d *DeckhouseRelease) GetDisruptions() []string
func (*DeckhouseRelease) GetForce ¶ added in v1.60.0
func (d *DeckhouseRelease) GetForce() bool
func (*DeckhouseRelease) GetManuallyApproved ¶ added in v1.60.0
func (d *DeckhouseRelease) GetManuallyApproved() bool
func (*DeckhouseRelease) GetMessage ¶ added in v1.60.0
func (d *DeckhouseRelease) GetMessage() string
func (*DeckhouseRelease) GetName ¶ added in v1.60.0
func (d *DeckhouseRelease) GetName() string
func (*DeckhouseRelease) GetPhase ¶ added in v1.60.0
func (d *DeckhouseRelease) GetPhase() string
func (*DeckhouseRelease) GetRequirements ¶ added in v1.60.0
func (d *DeckhouseRelease) GetRequirements() map[string]string
func (*DeckhouseRelease) GetSuspend ¶ added in v1.60.0
func (d *DeckhouseRelease) GetSuspend() bool
func (*DeckhouseRelease) GetVersion ¶ added in v1.60.0
func (d *DeckhouseRelease) GetVersion() *semver.Version
func (*DeckhouseRelease) SetApprovedStatus ¶ added in v1.60.0
func (d *DeckhouseRelease) SetApprovedStatus(val bool)
type StatusPatch ¶
type StatusPatch v1alpha1.DeckhouseReleaseStatus
func (StatusPatch) MarshalJSON ¶
func (sp StatusPatch) MarshalJSON() ([]byte, error)
type ValueSettings ¶ added in v1.60.0
type ValueSettings struct {
// contains filtered or unexported fields
}
func (*ValueSettings) GetDisruptionApprovalMode ¶ added in v1.60.0
func (v *ValueSettings) GetDisruptionApprovalMode() (string, bool)
Click to show internal directories.
Click to hide internal directories.