v1alpha1

package
v1.68.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=deckhouse.io +k8s:deepcopy-gen=package,register

Index

Constants

View Source
const (
	DeckhouseReleasePhasePending    = "Pending"
	DeckhouseReleasePhaseDeployed   = "Deployed"
	DeckhouseReleasePhaseSuperseded = "Superseded"
	DeckhouseReleasePhaseSuspended  = "Suspended"
	DeckhouseReleasePhaseSkipped    = "Skipped"

	DeckhouseReleaseApprovalAnnotation              = "release.deckhouse.io/approved"
	DeckhouseReleaseAnnotationIsUpdating            = "release.deckhouse.io/isUpdating"
	DeckhouseReleaseAnnotationNotified              = "release.deckhouse.io/notified"
	DeckhouseReleaseAnnotationApplyNow              = "release.deckhouse.io/apply-now"
	DeckhouseReleaseAnnotationApplyAfter            = "release.deckhouse.io/applyAfter"
	DeckhouseReleaseAnnotationDisruptionApproved    = "release.deckhouse.io/disruption-approved"
	DeckhouseReleaseAnnotationForce                 = "release.deckhouse.io/force"
	DeckhouseReleaseAnnotationSuspended             = "release.deckhouse.io/suspended"
	DeckhouseReleaseAnnotationNotificationTimeShift = "release.deckhouse.io/notification-time-shift"
	DeckhouseReleaseAnnotationDryrun                = "dryrun"
	DeckhouseReleaseAnnotationTriggeredByDryrun     = "triggered_by_dryrun"
	DeckhouseReleaseAnnotationCurrentRestored       = "release.deckhouse.io/current-restored"
	DeckhouseReleaseAnnotationChangeCause           = "release.deckhouse.io/change-cause"

	// TODO: remove in entire code
	DeckhouseReleaseAnnotationCooldown = "release.deckhouse.io/cooldown"
)
View Source
const (
	ModuleResource = "modules"
	ModuleKind     = "Module"

	ModuleSourceEmbedded = "Embedded"

	ModuleConditionEnabledByModuleConfig  = "EnabledByModuleConfig"
	ModuleConditionEnabledByModuleManager = "EnabledByModuleManager"
	ModuleConditionIsReady                = "IsReady"
	ModuleConditionIsOverridden           = "IsOverridden"

	ModulePhaseAvailable        = "Available"
	ModulePhaseDownloading      = "Downloading"
	ModulePhaseDownloadingError = "DownloadingError"
	ModulePhaseReconciling      = "Reconciling"
	ModulePhaseInstalling       = "Installing"
	ModulePhaseHooksDisabled    = "HooksDisabled"
	ModulePhaseWaitSyncTasks    = "WaitSyncTasks"
	ModulePhaseDownloaded       = "Downloaded"
	ModulePhaseConflict         = "Conflict"
	ModulePhaseReady            = "Ready"
	ModulePhaseError            = "Error"

	ModuleReasonBundle                      = "Bundle"
	ModuleReasonModuleConfig                = "ModuleConfig"
	ModuleReasonDynamicGlobalHookExtender   = "DynamicGlobalHookExtender"
	ModuleReasonEnabledScriptExtender       = "EnabledScriptExtender"
	ModuleReasonDeckhouseVersionExtender    = "DeckhouseVersionExtender"
	ModuleReasonKubernetesVersionExtender   = "KubernetesVersionExtender"
	ModuleReasonClusterBootstrappedExtender = "ClusterBootstrappedExtender"
	ModuleReasonModuleDependencyExtender    = "ModuleDependencyExtender"
	ModuleReasonNotInstalled                = "NotInstalled"
	ModuleReasonDisabled                    = "Disabled"
	ModuleReasonConflict                    = "Conflict"
	ModuleReasonDownloading                 = "Downloading"
	ModuleReasonDownloadingError            = "DownloadingError"
	ModuleReasonHookError                   = "HookError"
	ModuleReasonModuleError                 = "ModuleError"
	ModuleReasonReconciling                 = "Reconciling"
	ModuleReasonInstalling                  = "Installing"
	ModuleReasonHooksDisabled               = "HooksDisabled"
	ModuleReasonWaitSyncTasks               = "WaitSyncTasks"
	ModuleReasonError                       = "Error"

	ModuleMessageBundle                      = "turned off by bundle"
	ModuleMessageModuleConfig                = "turned off by module config"
	ModuleMessageDynamicGlobalHookExtender   = "turned off by global hook"
	ModuleMessageEnabledScriptExtender       = "turned off by enabled script"
	ModuleMessageDeckhouseVersionExtender    = "turned off by deckhouse version"
	ModuleMessageKubernetesVersionExtender   = "turned off by kubernetes version"
	ModuleMessageClusterBootstrappedExtender = "turned off because the cluster not bootstrapped yet"
	ModuleMessageModuleDependencyExtender    = "turned off because of unmet module dependencies"
	ModuleMessageNotInstalled                = "not installed"
	ModuleMessageDisabled                    = "disabled"
	ModuleMessageConflict                    = "several available sources"
	ModuleMessageDownloading                 = "downloading"
	ModuleMessageReconciling                 = "reconciling"
	ModuleMessageInstalling                  = "installing"
	ModuleMessageWaitSyncTasks               = "run sync tasks"
	ModuleMessageOnStartupHook               = "onStartup hooks done"
	ModuleMessageHooksDisabled               = "hooks disabled"

	DeckhouseRequirementFieldName        string = "deckhouse"
	KubernetesRequirementFieldName       string = "kubernetes"
	BootstrappedRequirementFieldName     string = "bootstrapped"
	ModuleDependencyRequirementFieldName string = "modules"
)
View Source
const (
	ModuleConfigResource = "moduleconfigs"
	ModuleConfigKind     = "ModuleConfig"

	ModuleConfigAnnotationAllowDisable = "modules.deckhouse.io/allow-disabling"

	ModuleConfigFinalizer = "modules.deckhouse.io/module-config"

	ModuleConfigMessageUnknownModule = "Ignored: unknown module name"
)
View Source
const (
	ModulePullOverrideAnnotationDeployedOn = "modules.deckhouse.io/deployed-on"

	ModulePullOverrideFinalizer = "modules.deckhouse.io/mpo-finalizer"

	ModulePullOverrideMessageReady          = "Ready"
	ModulePullOverrideMessageModuleEmbedded = "The module is embedded"
	ModulePullOverrideMessageModuleDisabled = "The module disabled"
	ModulePullOverrideMessageModuleNotFound = "The module not found"
	ModulePullOverrideMessageSourceNotFound = "The source not found"
	ModulePullOverrideMessageNoSource       = "The module does not have an active source"
	ModulePullOverrideMessageNoDef          = "The module does not have a module definition"

	ModulePullOverrideAnnotationRenew = "renew"
)
View Source
const (
	ModuleReleaseResource        = "modulereleases"
	ModuleReleaseKind            = "ModuleRelease"
	ModuleReleasePhasePending    = "Pending"
	ModuleReleasePhaseDeployed   = "Deployed"
	ModuleReleasePhaseSuperseded = "Superseded"
	ModuleReleasePhaseSuspended  = "Suspended"
	ModuleReleasePhaseSkipped    = "Skipped"

	ModuleReleaseApprovalAnnotation              = "modules.deckhouse.io/approved"
	ModuleReleaseAnnotationIsUpdating            = "modules.deckhouse.io/isUpdating"
	ModuleReleaseAnnotationNotified              = "modules.deckhouse.io/notified"
	ModuleReleaseAnnotationApplyNow              = "modules.deckhouse.io/apply-now"
	ModuleReleaseAnnotationRegistrySpecChanged   = "modules.deckhouse.io/registry-spec-changed"
	ModuleReleaseLabelUpdatePolicy               = "modules.deckhouse.io/update-policy"
	ModuleReleaseFinalizerExistOnFs              = "modules.deckhouse.io/exist-on-fs"
	ModuleReleaseAnnotationNotificationTimeShift = "modules.deckhouse.io/notification-time-shift"
	ModuleReleaseAnnotationForce                 = "modules.deckhouse.io/force"

	ModuleReleaseLabelStatus          = "status"
	ModuleReleaseLabelSource          = "source"
	ModuleReleaseLabelModule          = "module"
	ModuleReleaseLabelReleaseChecksum = "release-checksum"
)
View Source
const (
	ModuleSourceResource = "modulesources"
	ModuleSourceKind     = "ModuleSource"

	ModuleSourceMessageReady      = "Ready"
	ModuleSourceMessagePullErrors = "Some errors occurred. Inspect status for details"

	ModuleSourceFinalizerReleaseExists = "modules.deckhouse.io/release-exists"
	ModuleSourceFinalizerModuleExists  = "modules.deckhouse.io/module-exists"

	ModuleSourceAnnotationForceDelete      = "modules.deckhouse.io/force-delete"
	ModuleSourceAnnotationRegistryChecksum = "modules.deckhouse.io/registry-spec-checksum"
)
View Source
const (
	ModuleUpdatePolicyResource = "moduleupdatepolicies"
	ModuleUpdatePolicyKind     = "ModuleUpdatePolicy"

	ModuleUpdatePolicyModeIgnore = "Ignore"
)
View Source
const (
	Version              = "v1alpha1"
	DeckhouseReleaseKind = "DeckhouseRelease"
)

Variables

View Source
var (
	// ModuleGVR GroupVersionResource
	ModuleGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: ModuleResource,
	}
	// ModuleGVK GroupVersionKind
	ModuleGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    ModuleKind,
	}
)
View Source
var (
	// ModuleConfigGVR GroupVersionResource
	ModuleConfigGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: ModuleConfigResource,
	}
	ModuleConfigGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    ModuleConfigKind,
	}
)
View Source
var (
	ModuleDocumentationGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "moduledocumentations",
	}
	ModuleDocumentationGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModuleDocumentation",
	}
)
View Source
var (
	ModulePullOverrideGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "modulepulloverrides",
	}
	ModulePullOverrideGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    "ModulePullOverride",
	}
)
View Source
var (
	ModuleReleaseGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: ModuleReleaseResource,
	}
	ModuleReleaseGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    ModuleReleaseKind,
	}
)
View Source
var (
	ModuleSourceGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: ModuleSourceResource,
	}
	ModuleSourceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    ModuleSourceKind,
	}
)
View Source
var (
	ModuleUpdatePolicyGVR = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: ModuleUpdatePolicyResource,
	}
	ModuleUpdatePolicyGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    ModuleUpdatePolicyKind,
	}
)
View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var DeckhouseReleaseGVK = schema.GroupVersionKind{
	Group:   SchemeGroupVersion.Group,
	Version: SchemeGroupVersion.Version,
	Kind:    DeckhouseReleaseKind,
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: deckhouse_io.GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func GetReleaseApprovalAnnotation added in v1.65.0

func GetReleaseApprovalAnnotation(release Release) string

func RegisterDefaults added in v1.56.0

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AvailableModule added in v1.56.0

type AvailableModule struct {
	Name       string `json:"name"`
	Policy     string `json:"policy,omitempty"`
	Checksum   string `json:"checksum,omitempty"`
	PullError  string `json:"pullError,omitempty"`
	Overridden bool   `json:"overridden,omitempty"`
}

func (*AvailableModule) DeepCopy added in v1.56.0

func (in *AvailableModule) DeepCopy() *AvailableModule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableModule.

func (*AvailableModule) DeepCopyInto added in v1.56.0

func (in *AvailableModule) DeepCopyInto(out *AvailableModule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Changelog added in v1.59.0

type Changelog map[string]any

func (Changelog) DeepCopy added in v1.59.0

func (c Changelog) DeepCopy() Changelog

func (Changelog) DeepCopyInto added in v1.59.0

func (in Changelog) DeepCopyInto(out *Changelog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeckhouseRelease added in v1.60.0

type DeckhouseRelease struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Approved bool `json:"approved"`

	Spec DeckhouseReleaseSpec `json:"spec"`

	Status DeckhouseReleaseStatus `json:"status,omitempty"`
}

DeckhouseRelease is a deckhouse release object.

func (*DeckhouseRelease) DeepCopy added in v1.60.0

func (in *DeckhouseRelease) DeepCopy() *DeckhouseRelease

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeckhouseRelease.

func (*DeckhouseRelease) DeepCopyInto added in v1.60.0

func (in *DeckhouseRelease) DeepCopyInto(out *DeckhouseRelease)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeckhouseRelease) DeepCopyObject added in v1.60.0

func (in *DeckhouseRelease) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DeckhouseRelease) GetApplyAfter added in v1.63.0

func (in *DeckhouseRelease) GetApplyAfter() *time.Time

func (*DeckhouseRelease) GetApplyNow added in v1.63.0

func (in *DeckhouseRelease) GetApplyNow() bool

func (*DeckhouseRelease) GetApprovedStatus added in v1.63.0

func (in *DeckhouseRelease) GetApprovedStatus() bool
func (in *DeckhouseRelease) GetChangelogLink() string

func (*DeckhouseRelease) GetCooldownUntil added in v1.63.0

func (in *DeckhouseRelease) GetCooldownUntil() *time.Time

TODO: remove cooldown from entire code

func (*DeckhouseRelease) GetCurrentRestored added in v1.68.0

func (in *DeckhouseRelease) GetCurrentRestored() bool

func (*DeckhouseRelease) GetDisruptionApproved added in v1.63.0

func (in *DeckhouseRelease) GetDisruptionApproved() bool

func (*DeckhouseRelease) GetDisruptions added in v1.63.0

func (in *DeckhouseRelease) GetDisruptions() []string

func (*DeckhouseRelease) GetDryRun added in v1.68.0

func (in *DeckhouseRelease) GetDryRun() bool

func (*DeckhouseRelease) GetForce added in v1.63.0

func (in *DeckhouseRelease) GetForce() bool

func (*DeckhouseRelease) GetIsUpdating added in v1.68.0

func (in *DeckhouseRelease) GetIsUpdating() bool

func (*DeckhouseRelease) GetManuallyApproved added in v1.63.0

func (in *DeckhouseRelease) GetManuallyApproved() bool

func (*DeckhouseRelease) GetMessage added in v1.63.0

func (in *DeckhouseRelease) GetMessage() string

func (*DeckhouseRelease) GetModuleName added in v1.64.0

func (in *DeckhouseRelease) GetModuleName() string

func (*DeckhouseRelease) GetNotificationShift added in v1.63.0

func (in *DeckhouseRelease) GetNotificationShift() bool

func (*DeckhouseRelease) GetNotified added in v1.68.0

func (in *DeckhouseRelease) GetNotified() bool

func (*DeckhouseRelease) GetPhase added in v1.63.0

func (in *DeckhouseRelease) GetPhase() string

func (*DeckhouseRelease) GetRequirements added in v1.63.0

func (in *DeckhouseRelease) GetRequirements() map[string]string

func (*DeckhouseRelease) GetSuspend added in v1.63.0

func (in *DeckhouseRelease) GetSuspend() bool

func (*DeckhouseRelease) GetTriggeredByDryRun added in v1.68.0

func (in *DeckhouseRelease) GetTriggeredByDryRun() bool

func (*DeckhouseRelease) GetVersion added in v1.63.0

func (in *DeckhouseRelease) GetVersion() *semver.Version

func (*DeckhouseRelease) SetApprovedStatus added in v1.63.0

func (in *DeckhouseRelease) SetApprovedStatus(val bool)

type DeckhouseReleaseList added in v1.60.0

type DeckhouseReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []DeckhouseRelease `json:"items"`
}

DeckhouseReleaseList is a list of DeckhouseRelease resources

func (*DeckhouseReleaseList) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeckhouseReleaseList.

func (*DeckhouseReleaseList) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseList) DeepCopyInto(out *DeckhouseReleaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeckhouseReleaseList) DeepCopyObject added in v1.60.0

func (in *DeckhouseReleaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DeckhouseReleaseSpec added in v1.60.0

type DeckhouseReleaseSpec struct {
	Version       string            `json:"version,omitempty"`
	ApplyAfter    *metav1.Time      `json:"applyAfter,omitempty"`
	Requirements  map[string]string `json:"requirements,omitempty"`
	Disruptions   []string          `json:"disruptions,omitempty"`
	Changelog     Changelog         `json:"changelog,omitempty"`
	ChangelogLink string            `json:"changelogLink,omitempty"`
}

func (*DeckhouseReleaseSpec) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeckhouseReleaseSpec.

func (*DeckhouseReleaseSpec) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseSpec) DeepCopyInto(out *DeckhouseReleaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeckhouseReleaseStatus added in v1.60.0

type DeckhouseReleaseStatus struct {
	Phase          string      `json:"phase,omitempty"`
	Approved       bool        `json:"approved"`
	TransitionTime metav1.Time `json:"transitionTime,omitempty"`
	Message        string      `json:"message"`
}

func (*DeckhouseReleaseStatus) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeckhouseReleaseStatus.

func (*DeckhouseReleaseStatus) DeepCopyInto added in v1.60.0

func (in *DeckhouseReleaseStatus) DeepCopyInto(out *DeckhouseReleaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeckhouseReleaseStatus) GetObjectKind added in v1.60.0

func (in *DeckhouseReleaseStatus) GetObjectKind() schema.ObjectKind

type Module added in v1.56.0

type Module struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Properties ModuleProperties `json:"properties,omitempty"`

	Status ModuleStatus `json:"status,omitempty"`
}

Module is a deckhouse module representation.

func (*Module) CheckConditionTrue added in v1.67.6

func (m *Module) CheckConditionTrue(condName string) bool

func (*Module) ConditionStatus added in v1.67.0

func (m *Module) ConditionStatus(condName string) bool

func (*Module) DeepCopy added in v1.56.0

func (in *Module) DeepCopy() *Module

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.

func (*Module) DeepCopyInto added in v1.56.0

func (in *Module) DeepCopyInto(out *Module)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Module) DeepCopyObject added in v1.56.0

func (in *Module) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Module) DisabledByModuleConfigMoreThan added in v1.67.0

func (m *Module) DisabledByModuleConfigMoreThan(timeout time.Duration) bool

func (*Module) GetVersion added in v1.67.6

func (m *Module) GetVersion() string

func (*Module) IsEmbedded added in v1.67.0

func (m *Module) IsEmbedded() bool

func (*Module) SetConditionFalse added in v1.67.0

func (m *Module) SetConditionFalse(condName, reason, message string)

func (*Module) SetConditionTrue added in v1.67.0

func (m *Module) SetConditionTrue(condName string)

type ModuleCondition added in v1.67.0

type ModuleCondition struct {
	// Type is the type of the condition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Type string `json:"type,omitempty"`
	// Machine-readable, UpperCamelCase text indicating the reason for the condition's last transition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Reason string `json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Message string `json:"message,omitempty"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Status corev1.ConditionStatus `json:"status,omitempty"`
	// Timestamp of when the condition was last probed.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}

func (*ModuleCondition) DeepCopy added in v1.67.0

func (in *ModuleCondition) DeepCopy() *ModuleCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleCondition.

func (*ModuleCondition) DeepCopyInto added in v1.67.0

func (in *ModuleCondition) DeepCopyInto(out *ModuleCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleConfig

type ModuleConfig struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleConfigSpec `json:"spec"`

	Status ModuleConfigStatus `json:"status,omitempty"`
}

ModuleConfig is a configuration for module or for global config values.

func (*ModuleConfig) DeepCopy

func (in *ModuleConfig) DeepCopy() *ModuleConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfig.

func (*ModuleConfig) DeepCopyInto

func (in *ModuleConfig) DeepCopyInto(out *ModuleConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleConfig) DeepCopyObject

func (in *ModuleConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModuleConfig) IsEnabled added in v1.67.0

func (m *ModuleConfig) IsEnabled() bool

type ModuleConfigList

type ModuleConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleConfig `json:"items"`
}

ModuleConfigList is a list of ModuleConfig resources

func (*ModuleConfigList) DeepCopy

func (in *ModuleConfigList) DeepCopy() *ModuleConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigList.

func (*ModuleConfigList) DeepCopyInto

func (in *ModuleConfigList) DeepCopyInto(out *ModuleConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleConfigList) DeepCopyObject

func (in *ModuleConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleConfigSpec

type ModuleConfigSpec struct {
	Version      int            `json:"version,omitempty"`
	Settings     SettingsValues `json:"settings,omitempty"`
	Enabled      *bool          `json:"enabled,omitempty"`
	UpdatePolicy string         `json:"updatePolicy,omitempty"`
	Source       string         `json:"source,omitempty"`
}

func (*ModuleConfigSpec) DeepCopy

func (in *ModuleConfigSpec) DeepCopy() *ModuleConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigSpec.

func (*ModuleConfigSpec) DeepCopyInto

func (in *ModuleConfigSpec) DeepCopyInto(out *ModuleConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleConfigStatus

type ModuleConfigStatus struct {
	Version string `json:"version"`
	Message string `json:"message"`
}

func (*ModuleConfigStatus) DeepCopy

func (in *ModuleConfigStatus) DeepCopy() *ModuleConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigStatus.

func (*ModuleConfigStatus) DeepCopyInto

func (in *ModuleConfigStatus) DeepCopyInto(out *ModuleConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleDocumentation added in v1.60.0

type ModuleDocumentation struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleDocumentationSpec `json:"spec"`

	Status ModuleDocumentationStatus `json:"status,omitempty"`
}

ModuleDocumentation is a Module documentation rendering object.

func (*ModuleDocumentation) DeepCopy added in v1.60.0

func (in *ModuleDocumentation) DeepCopy() *ModuleDocumentation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentation.

func (*ModuleDocumentation) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentation) DeepCopyInto(out *ModuleDocumentation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleDocumentation) DeepCopyObject added in v1.60.0

func (in *ModuleDocumentation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModuleDocumentation) GetConditionByAddress added in v1.60.0

func (md *ModuleDocumentation) GetConditionByAddress(addr string) (ModuleDocumentationCondition, int)

type ModuleDocumentationCondition added in v1.60.0

type ModuleDocumentationCondition struct {
	// Type is the type of the condition.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Type     ModuleDocumentationConditionType `json:"type"`
	Version  string                           `json:"version"`
	Checksum string                           `json:"checksum"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
	Address string `json:"address"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message"`
}

func (*ModuleDocumentationCondition) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationCondition.

func (*ModuleDocumentationCondition) DeepCopyInto added in v1.60.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleDocumentationConditionRenderResult added in v1.60.0

type ModuleDocumentationConditionRenderResult string
const (
	ResultRendered  ModuleDocumentationConditionRenderResult = "Rendered"
	ResultPartially ModuleDocumentationConditionRenderResult = "Partially"
	ResultError     ModuleDocumentationConditionRenderResult = "Error"
)

type ModuleDocumentationConditionType added in v1.60.0

type ModuleDocumentationConditionType string
const (
	TypeRendered   ModuleDocumentationConditionType = "Rendered"
	TypeError      ModuleDocumentationConditionType = "Error"
	TypeSuperseded ModuleDocumentationConditionType = "Superseded"
)

type ModuleDocumentationKind added in v1.60.0

type ModuleDocumentationKind struct{}

func (*ModuleDocumentationKind) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationKind.

func (*ModuleDocumentationKind) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationKind) DeepCopyInto(out *ModuleDocumentationKind)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleDocumentationKind) GroupVersionKind added in v1.60.0

func (f *ModuleDocumentationKind) GroupVersionKind() schema.GroupVersionKind

func (*ModuleDocumentationKind) SetGroupVersionKind added in v1.60.0

func (f *ModuleDocumentationKind) SetGroupVersionKind(_ schema.GroupVersionKind)

type ModuleDocumentationList added in v1.60.0

type ModuleDocumentationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleDocumentation `json:"items"`
}

ModuleDocumentationList is a list of ModuleDocumentation resources

func (*ModuleDocumentationList) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationList.

func (*ModuleDocumentationList) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationList) DeepCopyInto(out *ModuleDocumentationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleDocumentationList) DeepCopyObject added in v1.60.0

func (in *ModuleDocumentationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleDocumentationSpec added in v1.60.0

type ModuleDocumentationSpec struct {
	Version  string `json:"version,omitempty"`
	Path     string `json:"path,omitempty"`
	Checksum string `json:"checksum,omitempty"`
}

func (*ModuleDocumentationSpec) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationSpec.

func (*ModuleDocumentationSpec) DeepCopyInto added in v1.60.0

func (in *ModuleDocumentationSpec) DeepCopyInto(out *ModuleDocumentationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleDocumentationStatus added in v1.60.0

type ModuleDocumentationStatus struct {
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions   []ModuleDocumentationCondition           `json:"conditions,omitempty" patchStrategy:"retainKeys" patchKey:"address"`
	RenderResult ModuleDocumentationConditionRenderResult `json:"result,omitempty"`
}

func (*ModuleDocumentationStatus) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationStatus.

func (*ModuleDocumentationStatus) DeepCopyInto added in v1.60.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleDocumentationStatus) GetObjectKind added in v1.60.0

func (in *ModuleDocumentationStatus) GetObjectKind() schema.ObjectKind

type ModuleList added in v1.56.0

type ModuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Module `json:"items"`
}

ModuleList is a list of Module resources

func (*ModuleList) DeepCopy added in v1.56.0

func (in *ModuleList) DeepCopy() *ModuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleList.

func (*ModuleList) DeepCopyInto added in v1.56.0

func (in *ModuleList) DeepCopyInto(out *ModuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleList) DeepCopyObject added in v1.56.0

func (in *ModuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModulePlatformRequirements added in v1.67.6

type ModulePlatformRequirements struct {
	Deckhouse    string `json:"deckhouse,omitempty" yaml:"deckhouse,omitempty"`
	Kubernetes   string `json:"kubernetes,omitempty" yaml:"kubernetes,omitempty"`
	Bootstrapped string `json:"bootstrapped,omitempty" yaml:"bootstrapped,omitempty"`
}

func (*ModulePlatformRequirements) DeepCopy added in v1.67.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePlatformRequirements.

func (*ModulePlatformRequirements) DeepCopyInto added in v1.67.6

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleProperties added in v1.56.0

type ModuleProperties struct {
	Weight           uint32              `json:"weight,omitempty"`
	Source           string              `json:"source,omitempty"`
	ReleaseChannel   string              `json:"releaseChannel,omitempty"`
	Stage            string              `json:"stage,omitempty"`
	Namespace        string              `json:"namespace,omitempty"`
	Subsystems       []string            `json:"subsystems,omitempty"`
	Description      string              `json:"description,omitempty"`
	Version          string              `json:"version,omitempty"`
	UpdatePolicy     string              `json:"updatePolicy,omitempty"`
	AvailableSources []string            `json:"availableSources,omitempty"`
	Requirements     *ModuleRequirements `json:"requirements,omitempty" yaml:"requirements,omitempty"`
}

func (*ModuleProperties) DeepCopy added in v1.56.0

func (in *ModuleProperties) DeepCopy() *ModuleProperties

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleProperties.

func (*ModuleProperties) DeepCopyInto added in v1.56.0

func (in *ModuleProperties) DeepCopyInto(out *ModuleProperties)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModulePullOverride added in v1.56.0

type ModulePullOverride struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of an ModulePullOverride.
	Spec ModulePullOverrideSpec `json:"spec"`

	// Status of an ModulePullOverride.
	Status ModulePullOverrideStatus `json:"status,omitempty"`
}

ModulePullOverride object

func (*ModulePullOverride) DeepCopy added in v1.56.0

func (in *ModulePullOverride) DeepCopy() *ModulePullOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePullOverride.

func (*ModulePullOverride) DeepCopyInto added in v1.56.0

func (in *ModulePullOverride) DeepCopyInto(out *ModulePullOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModulePullOverride) DeepCopyObject added in v1.56.0

func (in *ModulePullOverride) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModulePullOverride) GetModuleName added in v1.60.0

func (mo *ModulePullOverride) GetModuleName() string

GetModuleName returns the module's name of the module pull override

func (*ModulePullOverride) GetModuleSource added in v1.60.0

func (mo *ModulePullOverride) GetModuleSource() string

GetModuleSource returns the module source of the related module

func (*ModulePullOverride) GetReleaseVersion added in v1.60.0

func (mo *ModulePullOverride) GetReleaseVersion() string

GetReleaseVersion returns the version of the related module

func (*ModulePullOverride) GetWeight added in v1.60.0

func (mo *ModulePullOverride) GetWeight() uint32

GetWeight returns the weight of the module

type ModulePullOverrideList added in v1.56.0

type ModulePullOverrideList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModulePullOverride `json:"items"`
}

ModulePullOverrideList is a list of ModulePullOverride resources

func (*ModulePullOverrideList) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePullOverrideList.

func (*ModulePullOverrideList) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideList) DeepCopyInto(out *ModulePullOverrideList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModulePullOverrideList) DeepCopyObject added in v1.56.0

func (in *ModulePullOverrideList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModulePullOverrideSpec added in v1.56.0

type ModulePullOverrideSpec struct {
	Source       string          `json:"source,omitempty"`
	ImageTag     string          `json:"imageTag"`
	ScanInterval libapi.Duration `json:"scanInterval"`
}

func (*ModulePullOverrideSpec) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePullOverrideSpec.

func (*ModulePullOverrideSpec) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideSpec) DeepCopyInto(out *ModulePullOverrideSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModulePullOverrideStatus added in v1.56.0

type ModulePullOverrideStatus struct {
	UpdatedAt   metav1.Time `json:"updatedAt"`
	Message     string      `json:"message"`
	ImageDigest string      `json:"imageDigest"`
	Weight      uint32      `json:"weight,omitempty"`
}

func (*ModulePullOverrideStatus) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePullOverrideStatus.

func (*ModulePullOverrideStatus) DeepCopyInto added in v1.56.0

func (in *ModulePullOverrideStatus) DeepCopyInto(out *ModulePullOverrideStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleRelease added in v1.56.0

type ModuleRelease struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleReleaseSpec `json:"spec"`

	Status ModuleReleaseStatus `json:"status,omitempty"`
}

ModuleRelease is a Module release object.

func (*ModuleRelease) DeepCopy added in v1.56.0

func (in *ModuleRelease) DeepCopy() *ModuleRelease

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleRelease.

func (*ModuleRelease) DeepCopyInto added in v1.56.0

func (in *ModuleRelease) DeepCopyInto(out *ModuleRelease)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleRelease) DeepCopyObject added in v1.56.0

func (in *ModuleRelease) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModuleRelease) GetApplyAfter added in v1.60.0

func (mr *ModuleRelease) GetApplyAfter() *time.Time

func (*ModuleRelease) GetApplyNow added in v1.60.0

func (mr *ModuleRelease) GetApplyNow() bool

func (*ModuleRelease) GetApprovedStatus added in v1.60.0

func (mr *ModuleRelease) GetApprovedStatus() bool
func (mr *ModuleRelease) GetChangelogLink() string

func (*ModuleRelease) GetCooldownUntil added in v1.60.0

func (mr *ModuleRelease) GetCooldownUntil() *time.Time

func (*ModuleRelease) GetDisruptionApproved added in v1.60.0

func (mr *ModuleRelease) GetDisruptionApproved() bool

func (*ModuleRelease) GetDisruptions added in v1.60.0

func (mr *ModuleRelease) GetDisruptions() []string

func (*ModuleRelease) GetForce added in v1.60.0

func (mr *ModuleRelease) GetForce() bool

func (*ModuleRelease) GetManuallyApproved added in v1.60.0

func (mr *ModuleRelease) GetManuallyApproved() bool

func (*ModuleRelease) GetMessage added in v1.60.0

func (mr *ModuleRelease) GetMessage() string

func (*ModuleRelease) GetModuleName added in v1.60.0

func (mr *ModuleRelease) GetModuleName() string

GetModuleName returns the module's name of the release

func (*ModuleRelease) GetModuleReleaseRequirements added in v1.67.6

func (mr *ModuleRelease) GetModuleReleaseRequirements() *ModuleReleaseRequirements

func (*ModuleRelease) GetModuleSource added in v1.56.0

func (mr *ModuleRelease) GetModuleSource() string

GetModuleSource returns module source for this release

func (*ModuleRelease) GetName added in v1.60.0

func (mr *ModuleRelease) GetName() string

func (*ModuleRelease) GetNotified added in v1.68.0

func (mr *ModuleRelease) GetNotified() bool

func (*ModuleRelease) GetPhase added in v1.60.0

func (mr *ModuleRelease) GetPhase() string

func (*ModuleRelease) GetReleaseVersion added in v1.60.0

func (mr *ModuleRelease) GetReleaseVersion() string

GetReleaseVersion returns the version of the release in the form of "vx.y.z"

func (*ModuleRelease) GetRequirements added in v1.60.0

func (mr *ModuleRelease) GetRequirements() map[string]string

func (*ModuleRelease) GetSuspend added in v1.60.0

func (mr *ModuleRelease) GetSuspend() bool

func (*ModuleRelease) GetVersion added in v1.60.0

func (mr *ModuleRelease) GetVersion() *semver.Version

func (*ModuleRelease) GetWeight added in v1.60.0

func (mr *ModuleRelease) GetWeight() uint32

GetWeight returns the weight of the related module

func (*ModuleRelease) SetApprovedStatus added in v1.60.0

func (mr *ModuleRelease) SetApprovedStatus(val bool)

type ModuleReleaseList added in v1.56.0

type ModuleReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleRelease `json:"items"`
}

ModuleReleaseList is a list of ModuleRelease resources

func (*ModuleReleaseList) DeepCopy added in v1.56.0

func (in *ModuleReleaseList) DeepCopy() *ModuleReleaseList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleaseList.

func (*ModuleReleaseList) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseList) DeepCopyInto(out *ModuleReleaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleReleaseList) DeepCopyObject added in v1.56.0

func (in *ModuleReleaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleReleasePlatformRequirements added in v1.67.6

type ModuleReleasePlatformRequirements struct {
	Deckhouse  string `json:"deckhouse,omitempty"`
	Kubernetes string `json:"kubernetes,omitempty"`
}

func (*ModuleReleasePlatformRequirements) DeepCopy added in v1.67.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleasePlatformRequirements.

func (*ModuleReleasePlatformRequirements) DeepCopyInto added in v1.67.6

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleReleaseRequirements added in v1.67.6

type ModuleReleaseRequirements struct {
	ModuleReleasePlatformRequirements `json:",inline"`
	ParentModules                     map[string]string `json:"modules,omitempty"`
}

func (*ModuleReleaseRequirements) DeepCopy added in v1.67.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleaseRequirements.

func (*ModuleReleaseRequirements) DeepCopyInto added in v1.67.6

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleReleaseSpec added in v1.56.0

type ModuleReleaseSpec struct {
	ModuleName string `json:"moduleName"`
	Version    string `json:"version,omitempty"`
	Weight     uint32 `json:"weight,omitempty"`

	ApplyAfter   *metav1.Time               `json:"applyAfter,omitempty"`
	Requirements *ModuleReleaseRequirements `json:"requirements,omitempty"`
	Changelog    Changelog                  `json:"changelog,omitempty"`
}

func (*ModuleReleaseSpec) DeepCopy added in v1.56.0

func (in *ModuleReleaseSpec) DeepCopy() *ModuleReleaseSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleaseSpec.

func (*ModuleReleaseSpec) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseSpec) DeepCopyInto(out *ModuleReleaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleReleaseStatus added in v1.56.0

type ModuleReleaseStatus struct {
	Phase          string          `json:"phase,omitempty"`
	Approved       bool            `json:"approved"`
	TransitionTime metav1.Time     `json:"transitionTime,omitempty"`
	Message        string          `json:"message"`
	Size           uint32          `json:"size"`
	PullDuration   metav1.Duration `json:"pullDuration"`
}

func (*ModuleReleaseStatus) DeepCopy added in v1.56.0

func (in *ModuleReleaseStatus) DeepCopy() *ModuleReleaseStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleaseStatus.

func (*ModuleReleaseStatus) DeepCopyInto added in v1.56.0

func (in *ModuleReleaseStatus) DeepCopyInto(out *ModuleReleaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleRequirements added in v1.67.6

type ModuleRequirements struct {
	ModulePlatformRequirements `json:",inline" yaml:",inline"`
	ParentModules              map[string]string `json:"modules,omitempty" yaml:"modules,omitempty"`
}

func (*ModuleRequirements) DeepCopy added in v1.67.6

func (in *ModuleRequirements) DeepCopy() *ModuleRequirements

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleRequirements.

func (*ModuleRequirements) DeepCopyInto added in v1.67.6

func (in *ModuleRequirements) DeepCopyInto(out *ModuleRequirements)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleSource added in v1.56.0

type ModuleSource struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of an ModuleSource.
	Spec ModuleSourceSpec `json:"spec"`

	// Status of an ModuleSource.
	Status ModuleSourceStatus `json:"status,omitempty"`
}

ModuleSource source

func (*ModuleSource) DeepCopy added in v1.56.0

func (in *ModuleSource) DeepCopy() *ModuleSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSource.

func (*ModuleSource) DeepCopyInto added in v1.56.0

func (in *ModuleSource) DeepCopyInto(out *ModuleSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleSource) DeepCopyObject added in v1.56.0

func (in *ModuleSource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleSourceList added in v1.56.0

type ModuleSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleSource `json:"items"`
}

ModuleSourceList is a list of ModuleSource resources

func (*ModuleSourceList) DeepCopy added in v1.56.0

func (in *ModuleSourceList) DeepCopy() *ModuleSourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSourceList.

func (*ModuleSourceList) DeepCopyInto added in v1.56.0

func (in *ModuleSourceList) DeepCopyInto(out *ModuleSourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleSourceList) DeepCopyObject added in v1.56.0

func (in *ModuleSourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleSourceSpec added in v1.56.0

type ModuleSourceSpec struct {
	Registry ModuleSourceSpecRegistry `json:"registry"`
}

func (*ModuleSourceSpec) DeepCopy added in v1.56.0

func (in *ModuleSourceSpec) DeepCopy() *ModuleSourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSourceSpec.

func (*ModuleSourceSpec) DeepCopyInto added in v1.56.0

func (in *ModuleSourceSpec) DeepCopyInto(out *ModuleSourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleSourceSpecRegistry added in v1.56.0

type ModuleSourceSpecRegistry struct {
	Scheme    string `json:"scheme,omitempty"`
	Repo      string `json:"repo"`
	DockerCFG string `json:"dockerCfg"`
	CA        string `json:"ca"`
}

func (*ModuleSourceSpecRegistry) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSourceSpecRegistry.

func (*ModuleSourceSpecRegistry) DeepCopyInto added in v1.56.0

func (in *ModuleSourceSpecRegistry) DeepCopyInto(out *ModuleSourceSpecRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleSourceStatus added in v1.56.0

type ModuleSourceStatus struct {
	SyncTime         metav1.Time       `json:"syncTime"`
	ModulesCount     int               `json:"modulesCount"`
	AvailableModules []AvailableModule `json:"modules"`
	Message          string            `json:"message"`
}

func (*ModuleSourceStatus) DeepCopy added in v1.56.0

func (in *ModuleSourceStatus) DeepCopy() *ModuleSourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSourceStatus.

func (*ModuleSourceStatus) DeepCopyInto added in v1.56.0

func (in *ModuleSourceStatus) DeepCopyInto(out *ModuleSourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleStatus added in v1.59.0

type ModuleStatus struct {
	Phase      string            `json:"phase,omitempty"`
	HooksState string            `json:"hooksState,omitempty"`
	Conditions []ModuleCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*ModuleStatus) DeepCopy added in v1.59.0

func (in *ModuleStatus) DeepCopy() *ModuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleStatus.

func (*ModuleStatus) DeepCopyInto added in v1.59.0

func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleUpdatePolicy added in v1.56.0

type ModuleUpdatePolicy struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ModuleUpdatePolicySpec `json:"spec"`
}

ModuleUpdatePolicy source

func (*ModuleUpdatePolicy) DeepCopy added in v1.56.0

func (in *ModuleUpdatePolicy) DeepCopy() *ModuleUpdatePolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicy.

func (*ModuleUpdatePolicy) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicy) DeepCopyInto(out *ModuleUpdatePolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleUpdatePolicy) DeepCopyObject added in v1.56.0

func (in *ModuleUpdatePolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleUpdatePolicyList added in v1.56.0

type ModuleUpdatePolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ModuleUpdatePolicy `json:"items"`
}

ModuleUpdatePolicyList is a list of ModuleUpdatePolicy resources

func (*ModuleUpdatePolicyList) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicyList.

func (*ModuleUpdatePolicyList) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicyList) DeepCopyInto(out *ModuleUpdatePolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModuleUpdatePolicyList) DeepCopyObject added in v1.56.0

func (in *ModuleUpdatePolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleUpdatePolicySpec added in v1.56.0

type ModuleUpdatePolicySpec struct {
	Update                ModuleUpdatePolicySpecUpdate          `json:"update"`
	ReleaseChannel        string                                `json:"releaseChannel"`
	ModuleReleaseSelector ModuleUpdatePolicySpecReleaseSelector `json:"moduleReleaseSelector"`
}

func (*ModuleUpdatePolicySpec) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicySpec.

func (*ModuleUpdatePolicySpec) DeepCopyInto added in v1.56.0

func (in *ModuleUpdatePolicySpec) DeepCopyInto(out *ModuleUpdatePolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleUpdatePolicySpecReleaseSelector added in v1.56.0

type ModuleUpdatePolicySpecReleaseSelector struct {
	LabelSelector *metav1.LabelSelector `json:"labelSelector"`
}

func (*ModuleUpdatePolicySpecReleaseSelector) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicySpecReleaseSelector.

func (*ModuleUpdatePolicySpecReleaseSelector) DeepCopyInto added in v1.56.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ModuleUpdatePolicySpecUpdate added in v1.56.0

type ModuleUpdatePolicySpecUpdate struct {
	Mode    string         `json:"mode"`
	Windows update.Windows `json:"windows"`
}

func (*ModuleUpdatePolicySpecUpdate) DeepCopy added in v1.56.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicySpecUpdate.

func (*ModuleUpdatePolicySpecUpdate) DeepCopyInto added in v1.56.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Release added in v1.65.0

type Release interface {
	GetName() string
	GetModuleName() string
	GetApplyAfter() *time.Time
	GetVersion() *semver.Version
	GetRequirements() map[string]string
	GetChangelogLink() string
	GetCooldownUntil() *time.Time
	GetDisruptions() []string
	GetDisruptionApproved() bool
	GetPhase() string
	GetForce() bool
	GetApplyNow() bool
	GetApprovedStatus() bool
	SetApprovedStatus(b bool)
	GetSuspend() bool
	GetManuallyApproved() bool
	GetMessage() string
	GetNotified() bool
}

type SettingsValues

type SettingsValues map[string]interface{}

SettingsValues empty interface in needed to handle DeepCopy generation. DeepCopy does not work with unnamed empty interfaces

func (*SettingsValues) DeepCopy

func (v *SettingsValues) DeepCopy() *SettingsValues

func (SettingsValues) DeepCopyInto

func (v SettingsValues) DeepCopyInto(out *SettingsValues)

type UpdateMode added in v1.68.0

type UpdateMode string
const (
	// UpdateModeAutoPatch is default mode for updater,
	// deckhouse automatically applies patch releases, but asks for approval of minor releases
	UpdateModeAutoPatch UpdateMode = "AutoPatch"
	// UpdateModeAuto is updater mode when deckhouse automatically applies all releases
	UpdateModeAuto UpdateMode = "Auto"
	// UpdateModeManual is updater mode when deckhouse downloads releases info, but does not apply them
	UpdateModeManual UpdateMode = "Manual"
)

func ParseUpdateMode added in v1.68.0

func ParseUpdateMode(name string) UpdateMode

ParseUpdateMode attempts to convert a string to a UpdateMode.

AutoPatch used by default

func (UpdateMode) IsValid added in v1.68.0

func (x UpdateMode) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (UpdateMode) String added in v1.68.0

func (x UpdateMode) String() string

String implements the Stringer interface.

Jump to

Keyboard shortcuts

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