Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=deckhouse.io
Index ¶
- Constants
- Variables
- func GetReleaseApprovalAnnotation(release Release) string
- func MakeApplicationPackageVersionName(repository, packageName, version string) string
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func WithTimer(fn func() time.Time) func(opts *ConditionSettings)
- type Application
- type ApplicationInternalStatusCondition
- type ApplicationList
- type ApplicationPackage
- type ApplicationPackageList
- type ApplicationPackageStatus
- type ApplicationPackageStatusInstance
- type ApplicationPackageVersion
- type ApplicationPackageVersionCondition
- type ApplicationPackageVersionList
- type ApplicationPackageVersionSpec
- type ApplicationPackageVersionStatus
- type ApplicationPackageVersionStatusInstance
- type ApplicationPackageVersionStatusMetadata
- type ApplicationSpec
- type ApplicationStatus
- type ApplicationStatusCondition
- type ApplicationStatusVersion
- type AvailableModule
- type Changelog
- type ConditionOption
- type ConditionSettings
- type DeckhouseRelease
- func (in *DeckhouseRelease) DeepCopy() *DeckhouseRelease
- func (in *DeckhouseRelease) DeepCopyInto(out *DeckhouseRelease)
- func (in *DeckhouseRelease) DeepCopyObject() runtime.Object
- func (in *DeckhouseRelease) GetApplyAfter() *time.Time
- func (in *DeckhouseRelease) GetApplyNow() bool
- func (in *DeckhouseRelease) GetApprovedStatus() bool
- func (in *DeckhouseRelease) GetChangelogLink() string
- func (in *DeckhouseRelease) GetCurrentRestored() bool
- func (in *DeckhouseRelease) GetDisruptionApproved() bool
- func (in *DeckhouseRelease) GetDisruptions() []string
- func (in *DeckhouseRelease) GetDryRun() bool
- func (in *DeckhouseRelease) GetForce() bool
- func (in *DeckhouseRelease) GetIsUpdating() bool
- func (in *DeckhouseRelease) GetManuallyApproved() bool
- func (in *DeckhouseRelease) GetMessage() string
- func (in *DeckhouseRelease) GetModuleName() string
- func (in *DeckhouseRelease) GetNotificationShift() bool
- func (in *DeckhouseRelease) GetNotified() bool
- func (in *DeckhouseRelease) GetPhase() string
- func (*DeckhouseRelease) GetReinstall() bool
- func (in *DeckhouseRelease) GetRequirements() map[string]string
- func (in *DeckhouseRelease) GetSuspend() bool
- func (in *DeckhouseRelease) GetTriggeredByDryRun() bool
- func (in *DeckhouseRelease) GetUpdateSpec() *UpdateSpec
- func (in *DeckhouseRelease) GetVersion() *semver.Version
- func (in *DeckhouseRelease) SetApprovedStatus(val bool)
- type DeckhouseReleaseList
- type DeckhouseReleaseSpec
- type DeckhouseReleaseStatus
- type FollowObjectRef
- type Module
- func (in *Module) DeepCopy() *Module
- func (in *Module) DeepCopyInto(out *Module)
- func (in *Module) DeepCopyObject() runtime.Object
- func (m *Module) DisabledByModuleConfigMoreThan(timeout time.Duration) bool
- func (m *Module) GetVersion() string
- func (m *Module) HasCondition(condName string) bool
- func (m *Module) IsCondition(condName string, status corev1.ConditionStatus) bool
- func (m *Module) IsDeprecated() bool
- func (m *Module) IsEmbedded() bool
- func (m *Module) IsEnabledByBundle(editionName, bundleName string) bool
- func (m *Module) IsExperimental() bool
- func (m *Module) SetConditionFalse(condName, reason, message string, opts ...ConditionOption)
- func (m *Module) SetConditionTrue(condName string, opts ...ConditionOption)
- func (m *Module) SetConditionUnknown(condName, reason, message string, opts ...ConditionOption)
- type ModuleAccessibility
- type ModuleCondition
- type ModuleConfig
- type ModuleConfigList
- type ModuleConfigSpec
- type ModuleConfigStatus
- type ModuleDisableOptions
- type ModuleDocumentation
- type ModuleDocumentationCondition
- type ModuleDocumentationConditionRenderResult
- type ModuleDocumentationConditionType
- type ModuleDocumentationKind
- func (in *ModuleDocumentationKind) DeepCopy() *ModuleDocumentationKind
- func (in *ModuleDocumentationKind) DeepCopyInto(out *ModuleDocumentationKind)
- func (f *ModuleDocumentationKind) GroupVersionKind() schema.GroupVersionKind
- func (f *ModuleDocumentationKind) SetGroupVersionKind(_ schema.GroupVersionKind)
- type ModuleDocumentationList
- type ModuleDocumentationSpec
- type ModuleDocumentationStatus
- type ModuleEdition
- type ModuleList
- type ModulePlatformRequirements
- type ModuleProperties
- type ModulePullOverride
- func (in *ModulePullOverride) DeepCopy() *ModulePullOverride
- func (in *ModulePullOverride) DeepCopyInto(out *ModulePullOverride)
- func (in *ModulePullOverride) DeepCopyObject() runtime.Object
- func (mo *ModulePullOverride) GetModuleName() string
- func (mo *ModulePullOverride) GetModuleSource() string
- func (mo *ModulePullOverride) GetReleaseVersion() string
- func (mo *ModulePullOverride) GetWeight() uint32
- type ModulePullOverrideList
- type ModulePullOverrideSpec
- type ModulePullOverrideStatus
- type ModuleRelease
- func (in *ModuleRelease) DeepCopy() *ModuleRelease
- func (in *ModuleRelease) DeepCopyInto(out *ModuleRelease)
- func (in *ModuleRelease) DeepCopyObject() runtime.Object
- func (mr *ModuleRelease) GetApplyAfter() *time.Time
- func (mr *ModuleRelease) GetApplyNow() bool
- func (mr *ModuleRelease) GetApprovedStatus() bool
- func (mr *ModuleRelease) GetChangelogLink() string
- func (mr *ModuleRelease) GetCooldownUntil() *time.Time
- func (mr *ModuleRelease) GetDisruptionApproved() bool
- func (mr *ModuleRelease) GetDisruptions() []string
- func (mr *ModuleRelease) GetDryRun() bool
- func (mr *ModuleRelease) GetForce() bool
- func (mr *ModuleRelease) GetIsUpdating() bool
- func (mr *ModuleRelease) GetManuallyApproved() bool
- func (mr *ModuleRelease) GetMessage() string
- func (mr *ModuleRelease) GetModuleName() string
- func (mr *ModuleRelease) GetModuleReleaseRequirements() *ModuleReleaseRequirements
- func (mr *ModuleRelease) GetModuleSource() string
- func (mr *ModuleRelease) GetModuleVersion() string
- func (mr *ModuleRelease) GetName() string
- func (mr *ModuleRelease) GetNotified() bool
- func (mr *ModuleRelease) GetPhase() string
- func (mr *ModuleRelease) GetReinstall() bool
- func (mr *ModuleRelease) GetReleaseVersion() string
- func (mr *ModuleRelease) GetRequirements() map[string]string
- func (mr *ModuleRelease) GetSuspend() bool
- func (mr *ModuleRelease) GetTriggeredByDryRun() bool
- func (mr *ModuleRelease) GetUpdateSpec() *UpdateSpec
- func (mr *ModuleRelease) GetVersion() *semver.Version
- func (mr *ModuleRelease) GetWeight() uint32
- func (mr *ModuleRelease) SetApprovedStatus(val bool)
- type ModuleReleaseList
- type ModuleReleasePlatformRequirements
- type ModuleReleaseRequirements
- type ModuleReleaseSpec
- type ModuleReleaseStatus
- type ModuleRequirements
- type ModuleSettingsConversion
- type ModuleSettingsConversionDescriptions
- type ModuleSettingsDefinition
- func (in *ModuleSettingsDefinition) DeepCopy() *ModuleSettingsDefinition
- func (in *ModuleSettingsDefinition) DeepCopyInto(out *ModuleSettingsDefinition)
- func (in *ModuleSettingsDefinition) DeepCopyObject() runtime.Object
- func (s *ModuleSettingsDefinition) SetVersion(rawSchema []byte, conversions []ModuleSettingsConversion) error
- type ModuleSettingsDefinitionList
- type ModuleSettingsDefinitionSpec
- type ModuleSettingsDefinitionVersion
- type ModuleSource
- type ModuleSourceList
- type ModuleSourceSpec
- type ModuleSourceSpecRegistry
- type ModuleSourceStatus
- type ModuleStatus
- type ModuleUpdatePolicy
- type ModuleUpdatePolicyList
- type ModuleUpdatePolicySpec
- type ModuleUpdatePolicySpecReleaseSelector
- type ModuleUpdatePolicySpecUpdate
- type NamespaceName
- type ObjectKeeper
- type ObjectKeeperList
- type ObjectKeeperPhase
- type ObjectKeeperSpec
- type ObjectKeeperStatus
- type PackageChangelog
- type PackageDescription
- type PackageEdition
- type PackageLicensing
- type PackageRepository
- type PackageRepositoryList
- type PackageRepositoryOperation
- type PackageRepositoryOperationList
- type PackageRepositoryOperationSpec
- type PackageRepositoryOperationStatus
- type PackageRepositoryOperationStatusCondition
- type PackageRepositoryOperationStatusPackageQueue
- type PackageRepositoryOperationStatusPackages
- type PackageRepositoryOperationUpdate
- type PackageRepositorySpec
- type PackageRepositorySpecRegistry
- type PackageRepositoryStatus
- type PackageRepositoryStatusPackage
- type PackageRequirements
- type PackageVersionCompatibilityRule
- type PackageVersionCompatibilityRules
- type Release
- type SettingsValues
- type UpdateConstraint
- type UpdateMode
- type UpdateSpec
Constants ¶
const ( ApplicationResource = "applications" ApplicationKind = "Application" ApplicationConditionRequirementsMet = "RequirementsMet" ApplicationConditionStartupHooksSuccessful = "StartupHooksSuccessful" ApplicationConditionManifestsDeployed = "ManifestsDeployed" ApplicationConditionReplicasAvailable = "ReplicasAvailable" // ApplicationConditionTypeProcessed changes only by application controller ApplicationConditionTypeProcessed = "Processed" ApplicationConditionReasonVersionNotFound = "VersionNotFound" ApplicationConditionReasonVersionIsDraft = "VersionIsDraft" ApplicationConditionReasonVersionSpecIsCorrupted = "VersionSpecIsCorrupted" // Application condition types ApplicationConditionInstalled = "Installed" ApplicationConditionUpdateInstalled = "UpdateInstalled" ApplicationConditionConfigurationApplied = "ConfigurationApplied" ApplicationConditionPartiallyDegraded = "PartiallyDegraded" ApplicationConditionManaged = "Managed" ApplicationConditionReady = "Ready" // Application condition reasons ApplicationConditionInstalledReasonDownloading = "Downloading" ApplicationConditionInstalledReasonInstallationInProgress = "InstallationInProgress" ApplicationConditionInstalledReasonDownloadWasFailed = "DownloadWasFailed" ApplicationConditionInstalledReasonRequirementsNotMet = "RequirementsNotMet" ApplicationConditionInstalledReasonManifestsDeploymentFailed = "ManifestsDeploymentFailed" ApplicationConditionInstalledReasonLicenseCheckFailed = "LicenseCheckFailed" ApplicationConditionInstalledReasonUpdateWasFailed = "UpdateWasFailed" ApplicationConditionUpdateInstalledReasonDownloading = "Downloading" ApplicationConditionUpdateInstalledReasonUpdateInProgress = "UpdateInProgress" ApplicationConditionUpdateInstalledReasonUpdateFailed = "UpdateFailed" ApplicationConditionUpdateInstalledReasonRequirementsNotMet = "RequirementsNotMet" ApplicationConditionConfigurationAppliedReasonConfigurationValidationFailed = "ConfigurationValidationFailed" ApplicationConditionPartiallyDegradedReasonScalingInProgress = "ScalingInProgress" ApplicationConditionManagedReasonOperationFailed = "OperationFailed" ApplicationConditionReadyReasonNotReady = "NotReady" )
const ( ApplicationPackageResource = "applicationpackages" ApplicationPackageKind = "ApplicationPackage" )
const ( ApplicationPackageVersionResource = "applicationpackageversions" ApplicationPackageVersionKind = "ApplicationPackageVersion" ApplicationPackageVersionLabelDraft = "packages.deckhouse.io/draft" ApplicationPackageVersionLabelPackage = "packages.deckhouse.io/package" ApplicationPackageVersionLabelRepository = "packages.deckhouse.io/repository" ApplicationPackageVersionLabelExistInRegistry = "packages.deckhouse.io/exist-in-registry" ApplicationPackageVersionConditionTypeMetadataLoaded = "MetadataLoaded" ApplicationPackageVersionConditionReasonFetchErr = "FetchingReleaseError" ApplicationPackageVersionConditionReasonGetPackageRepoErr = "GetPackageRepositoryError" ApplicationPackageVersionConditionReasonGetRegistryClientErr = "GetRegistryClientError" ApplicationPackageVersionConditionReasonGetImageErr = "GetImageError" ApplicationPackageVersionFinalizer = "applicationpackageversion.deckhouse.io/used-by-application" )
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" DeckhouseReleaseAnnotationCurrentRestored = "release.deckhouse.io/current-restored" DeckhouseReleaseAnnotationChangeCause = "release.deckhouse.io/change-cause" DeckhouseReleaseAnnotationUpdateInfo = "release.deckhouse.io/update-info" DeckhouseReleaseAnnotationDryrun = "dryrun" DeckhouseReleaseAnnotationTriggeredByDryrun = "triggered_by_dryrun" )
const ( ModuleResource = "modules" ModuleKind = "Module" ModuleSourceEmbedded = "Embedded" ModuleAnnotationDescriptionRu = "ru.meta.deckhouse.io/description" ModuleAnnotationDescriptionEn = "en.meta.deckhouse.io/description" ModuleConditionEnabledByModuleConfig = "EnabledByModuleConfig" ModuleConditionEnabledByModuleManager = "EnabledByModuleManager" ModuleConditionLastReleaseDeployed = "LastReleaseDeployed" ModuleConditionIsReady = "IsReady" ModuleConditionIsOverridden = "IsOverridden" ModulePhaseAvailable = "Available" ModulePhaseDownloading = "Downloading" ModulePhaseDownloadingError = "DownloadingError" ModulePhaseReconciling = "Reconciling" ModulePhaseInstalling = "Installing" ModulePhaseDownloaded = "Downloaded" ModulePhaseConflict = "Conflict" ModulePhaseReady = "Ready" ModulePhaseError = "Error" ModuleReasonBundle = "Bundle" ModuleReasonModuleConfig = "ModuleConfig" ModuleReasonDynamicGlobalHookExtender = "DynamicGlobalHookExtender" ModuleReasonEnabledScriptExtender = "EnabledScriptExtender" ModuleReasonDeckhouseVersionExtender = "DeckhouseVersionExtender" ModuleReasonKubernetesVersionExtender = "KubernetesVersionExtender" ModuleReasonBootstrappedExtender = "BootstrappedExtender" ModuleReasonModuleDependencyExtender = "ModuleDependencyExtender" ModuleReasonEditionAvailableExtender = "EditionAvailableExtender" ModuleReasonEditionEnabledExtender = "EditionEnabledExtender" ModuleReasonNotInstalled = "NotInstalled" ModuleReasonDisabled = "Disabled" ModuleReasonConflict = "Conflict" ModuleReasonDownloading = "Downloading" ModuleReasonHookError = "HookError" ModuleReasonModuleError = "ModuleError" ModuleReasonReconciling = "Reconciling" ModuleReasonInstalling = "Installing" 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" ModuleMessageBootstrappedExtender = "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" ModuleMessageOnStartupHook = "onStartup hooks done" DeckhouseRequirementFieldName string = "deckhouse" KubernetesRequirementFieldName string = "kubernetes" ModuleDependencyRequirementFieldName string = "modules" ExperimentalModuleStage = "Experimental" DeprecatedModuleStage = "Deprecated" )
const ( ModuleConfigResource = "moduleconfigs" ModuleConfigKind = "ModuleConfig" ModuleConfigAnnotationAllowDisable = "modules.deckhouse.io/allow-disabling" // TODO: remove after 1.73+ ModuleConfigFinalizerOld = "modules.deckhouse.io/module-config" ModuleConfigFinalizer = "modules.deckhouse.io/module-registered" ModuleConfigMessageUnknownModule = "Ignored: unknown module name" )
const ( 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" ModulePullOverrideAnnotationRenew = "renew" )
const ( ModuleReleaseResource = "modulereleases" ModuleReleaseKind = "ModuleRelease" ModuleReleasePhasePending = "Pending" ModuleReleasePhaseDeployed = "Deployed" ModuleReleasePhaseSuperseded = "Superseded" ModuleReleasePhaseSuspended = "Suspended" ModuleReleasePhaseSkipped = "Skipped" ModuleReleasePhaseTerminating = "Terminating" 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" ModuleReleaseAnnotationReinstall = "modules.deckhouse.io/reinstall" ModuleReleaseAnnotationChangeCause = "modules.deckhouse.io/change-cause" ModuleReleaseAnnotationDryrun = "dryrun" ModuleReleaseAnnotationTriggeredByDryrun = "triggered_by_dryrun" ModuleReleaseLabelStatus = "status" ModuleReleaseLabelSource = "source" ModuleReleaseLabelModule = "module" ModuleReleaseLabelReleaseChecksum = "release-checksum" )
const ( ModuleSettingsDefinitionResource = "modulesettingsdefinitions" ModuleSettingsDefinitionKind = "ModuleSettingsDefinition" )
const ( ModuleSourceResource = "modulesources" ModuleSourceKind = "ModuleSource" ModuleSourcePhaseActive = "Active" ModuleSourcePhaseTerminating = "Terminating" ModuleSourceMessageErrors = "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" )
const ( ModuleUpdatePolicyResource = "moduleupdatepolicies" ModuleUpdatePolicyKind = "ModuleUpdatePolicy" ModuleUpdatePolicyModeIgnore = "Ignore" )
const ( PackageRepositoryResource = "packagerepositories" PackageRepositoryKind = "PackageRepository" PackageRepositoryPhaseActive = "Active" PackageRepositoryPhaseTerminating = "Terminating" PackageRepositoryFinalizerPackageVersionExists = "packages.deckhouse.io/package-version-exists" )
const ( PackageRepositoryOperationResource = "packagerepositoryoperations" PackageRepositoryOperationKind = "PackageRepositoryOperation" PackageRepositoryOperationPhasePending = "Pending" PackageRepositoryOperationPhaseProcessing = "Processing" PackageRepositoryOperationPhaseCompleted = "Completed" // PackageRepositoryOperation condition types PackageRepositoryOperationConditionProcessed = "Processed" // PackageRepositoryOperation condition reasons PackageRepositoryOperationReasonPackageRepositoryNotFound = "PackageRepositoryNotFound" PackageRepositoryOperationReasonRegistryClientCreationFailed = "RegistryClientCreationFailed" PackageRepositoryOperationReasonPackageListingFailed = "PackageListingFailed" // PackagesRepositoryOperationLabelRepository is the label used to identify PackageRepositoryOperations // that belong to a specific PackageRepository PackagesRepositoryOperationLabelRepository = "packages.deckhouse.io/repository" PackagesRepositoryOperationLabelOperationType = "packages.deckhouse.io/operation-type" PackageRepositoryOperationTypeUpdate = "Update" PackagesRepositoryOperationLabelOperationTrigger = "packages.deckhouse.io/operation-trigger" PackagesRepositoryTriggerManual = "manual" PackagesRepositoryTriggerAuto = "auto" )
const ( Version = "v1alpha1" DeckhouseReleaseKind = "DeckhouseRelease" )
Variables ¶
var ( ApplicationGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ApplicationResource, } ApplicationGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ApplicationKind, } )
var ( ApplicationPackageGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ApplicationPackageResource, } ApplicationPackageGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ApplicationPackageKind, } )
var ( ApplicationPackageVersionGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ApplicationPackageVersionResource, } ApplicationPackageVersionGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ApplicationPackageVersionKind, } )
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, } )
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, } )
var ( ModuleDocumentationGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: "moduledocumentations", } ModuleDocumentationGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: "ModuleDocumentation", } )
var ( ModulePullOverrideGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: "modulepulloverrides", } ModulePullOverrideGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: "ModulePullOverride", } )
var ( ModuleReleaseLabelDeployed = strings.ToLower(ModuleReleasePhaseDeployed) ModuleReleaseGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ModuleReleaseResource, } ModuleReleaseGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ModuleReleaseKind, } )
var ( // ModuleSettingsDefinitionGVR GroupVersionResource ModuleSettingsDefinitionGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ModuleSettingsDefinitionResource, } ModuleSettingsDefinitionGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ModuleSettingsDefinitionKind, } )
var ( ModuleSourceGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ModuleSourceResource, } ModuleSourceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ModuleSourceKind, } )
var ( ModuleUpdatePolicyGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: ModuleUpdatePolicyResource, } ModuleUpdatePolicyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: ModuleUpdatePolicyKind, } )
var ( PackageRepositoryGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: PackageRepositoryResource, } PackageRepositoryGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: PackageRepositoryKind, } )
var ( PackageRepositoryOperationGVR = schema.GroupVersionResource{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Resource: PackageRepositoryOperationResource, } PackageRepositoryOperationGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: PackageRepositoryOperationKind, } )
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var DeckhouseReleaseGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: DeckhouseReleaseKind, }
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 MakeApplicationPackageVersionName ¶ added in v1.74.0
Returns a name following the format <repository>-<packageName>-<version>
func RegisterDefaults ¶ added in v1.56.0
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
func WithTimer ¶ added in v1.71.0
func WithTimer(fn func() time.Time) func(opts *ConditionSettings)
Types ¶
type Application ¶ added in v1.74.0
type Application 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 Application.
Spec ApplicationSpec `json:"spec"`
// Status of an Application.
Status ApplicationStatus `json:"status,omitempty"`
}
Application represents a namespace-scoped application instance.
func (*Application) DeepCopy ¶ added in v1.74.0
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶ added in v1.74.0
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶ added in v1.74.0
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationInternalStatusCondition ¶ added in v1.74.0
type ApplicationInternalStatusCondition struct {
Type string `json:"type"`
Status corev1.ConditionStatus `json:"status"`
LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}
func (*ApplicationInternalStatusCondition) DeepCopy ¶ added in v1.74.0
func (in *ApplicationInternalStatusCondition) DeepCopy() *ApplicationInternalStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInternalStatusCondition.
func (*ApplicationInternalStatusCondition) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationInternalStatusCondition) DeepCopyInto(out *ApplicationInternalStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationList ¶ added in v1.74.0
type ApplicationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []Application `json:"items"`
}
ApplicationList is a list of Application resources
func (*ApplicationList) DeepCopy ¶ added in v1.74.0
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶ added in v1.74.0
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPackage ¶ added in v1.74.0
type ApplicationPackage 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"`
// Status of an ApplicationPackage.
Status ApplicationPackageStatus `json:"status,omitempty"`
}
ApplicationPackage represents information about available application package.
func (*ApplicationPackage) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackage) DeepCopy() *ApplicationPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackage.
func (*ApplicationPackage) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackage) DeepCopyInto(out *ApplicationPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationPackage) DeepCopyObject ¶ added in v1.74.0
func (in *ApplicationPackage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPackageList ¶ added in v1.74.0
type ApplicationPackageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []ApplicationPackage `json:"items"`
}
ApplicationPackageList is a list of ApplicationPackage resources
func (*ApplicationPackageList) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageList) DeepCopy() *ApplicationPackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageList.
func (*ApplicationPackageList) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageList) DeepCopyInto(out *ApplicationPackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationPackageList) DeepCopyObject ¶ added in v1.74.0
func (in *ApplicationPackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPackageStatus ¶ added in v1.74.0
type ApplicationPackageStatus struct {
Instances map[NamespaceName][]ApplicationPackageStatusInstance `json:"instances,omitempty"`
InstancesOverall int `json:"instancesOverall,omitempty"`
AvailableRepositories []string `json:"availableRepositories,omitempty"`
}
func (*ApplicationPackageStatus) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageStatus) DeepCopy() *ApplicationPackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageStatus.
func (*ApplicationPackageStatus) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageStatus) DeepCopyInto(out *ApplicationPackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageStatusInstance ¶ added in v1.74.0
type ApplicationPackageStatusInstance struct {
Name string `json:"name,omitempty"`
}
func (*ApplicationPackageStatusInstance) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageStatusInstance) DeepCopy() *ApplicationPackageStatusInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageStatusInstance.
func (*ApplicationPackageStatusInstance) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageStatusInstance) DeepCopyInto(out *ApplicationPackageStatusInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageVersion ¶ added in v1.74.0
type ApplicationPackageVersion 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 ApplicationPackageVersionSpec `json:"spec,omitempty"`
// Status of an ApplicationPackageVersion.
Status ApplicationPackageVersionStatus `json:"status,omitempty"`
}
ApplicationPackageVersion represents a version of an application package.
func (*ApplicationPackageVersion) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersion) DeepCopy() *ApplicationPackageVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersion.
func (*ApplicationPackageVersion) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersion) DeepCopyInto(out *ApplicationPackageVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationPackageVersion) DeepCopyObject ¶ added in v1.74.0
func (in *ApplicationPackageVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApplicationPackageVersion) IsDraft ¶ added in v1.74.0
func (a *ApplicationPackageVersion) IsDraft() bool
type ApplicationPackageVersionCondition ¶ added in v1.74.0
type ApplicationPackageVersionCondition 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 (*ApplicationPackageVersionCondition) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionCondition) DeepCopy() *ApplicationPackageVersionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionCondition.
func (*ApplicationPackageVersionCondition) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionCondition) DeepCopyInto(out *ApplicationPackageVersionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageVersionList ¶ added in v1.74.0
type ApplicationPackageVersionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []ApplicationPackageVersion `json:"items"`
}
ApplicationPackageVersionList is a list of ApplicationPackageVersion resources
func (*ApplicationPackageVersionList) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionList) DeepCopy() *ApplicationPackageVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionList.
func (*ApplicationPackageVersionList) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionList) DeepCopyInto(out *ApplicationPackageVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationPackageVersionList) DeepCopyObject ¶ added in v1.74.0
func (in *ApplicationPackageVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationPackageVersionSpec ¶ added in v1.74.0
type ApplicationPackageVersionSpec struct {
PackageName string `json:"packageName,omitempty"`
PackageRepository string `json:"packageRepository,omitempty"`
Version string `json:"version,omitempty"`
}
func (*ApplicationPackageVersionSpec) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionSpec) DeepCopy() *ApplicationPackageVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionSpec.
func (*ApplicationPackageVersionSpec) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionSpec) DeepCopyInto(out *ApplicationPackageVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageVersionStatus ¶ added in v1.74.0
type ApplicationPackageVersionStatus struct {
PackageName string `json:"packageName,omitempty"`
PackageMetadata *ApplicationPackageVersionStatusMetadata `json:"packageMetadata,omitempty"`
Version string `json:"version,omitempty"`
Conditions []ApplicationPackageVersionCondition `json:"conditions,omitempty"`
UsedBy []ApplicationPackageVersionStatusInstance `json:"usedBy,omitempty"`
UsedByCount int `json:"usedByCount,omitempty"`
}
func (*ApplicationPackageVersionStatus) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatus) DeepCopy() *ApplicationPackageVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionStatus.
func (*ApplicationPackageVersionStatus) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatus) DeepCopyInto(out *ApplicationPackageVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageVersionStatusInstance ¶ added in v1.74.0
type ApplicationPackageVersionStatusInstance struct {
Namespace string `json:"namespace,omitempty"`
Name string `json:"name,omitempty"`
}
func (*ApplicationPackageVersionStatusInstance) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatusInstance) DeepCopy() *ApplicationPackageVersionStatusInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionStatusInstance.
func (*ApplicationPackageVersionStatusInstance) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatusInstance) DeepCopyInto(out *ApplicationPackageVersionStatusInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPackageVersionStatusMetadata ¶ added in v1.74.0
type ApplicationPackageVersionStatusMetadata struct {
Description *PackageDescription `json:"description,omitempty"`
Category string `json:"category,omitempty"`
Stage string `json:"stage,omitempty"`
Requirements *PackageRequirements `json:"requirements,omitempty"`
Licensing *PackageLicensing `json:"licensing,omitempty"`
Changelog *PackageChangelog `json:"changelog,omitempty"`
Compatibility *PackageVersionCompatibilityRules `json:"versionCompatibilityRules,omitempty"`
}
func (*ApplicationPackageVersionStatusMetadata) DeepCopy ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatusMetadata) DeepCopy() *ApplicationPackageVersionStatusMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPackageVersionStatusMetadata.
func (*ApplicationPackageVersionStatusMetadata) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationPackageVersionStatusMetadata) DeepCopyInto(out *ApplicationPackageVersionStatusMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSpec ¶ added in v1.74.0
type ApplicationSpec struct {
PackageName string `json:"packageName"`
PackageRepository string `json:"packageRepository,omitempty"`
Version string `json:"version"`
ReleaseChannel string `json:"releaseChannel,omitempty"`
Settings SettingsValues `json:"settings,omitempty"`
}
func (*ApplicationSpec) DeepCopy ¶ added in v1.74.0
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶ added in v1.74.0
type ApplicationStatus struct {
CurrentVersion *ApplicationStatusVersion `json:"currentVersion,omitempty"`
Repository string `json:"repository,omitempty"`
Status string `json:"status,omitempty"`
Conditions []ApplicationStatusCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
InternalConditions []ApplicationInternalStatusCondition `json:"internalConditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
func (*ApplicationStatus) DeepCopy ¶ added in v1.74.0
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatusCondition ¶ added in v1.74.0
type ApplicationStatusCondition struct {
Type string `json:"type"`
Status corev1.ConditionStatus `json:"status"`
Reason string `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}
func (*ApplicationStatusCondition) DeepCopy ¶ added in v1.74.0
func (in *ApplicationStatusCondition) DeepCopy() *ApplicationStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatusCondition.
func (*ApplicationStatusCondition) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationStatusCondition) DeepCopyInto(out *ApplicationStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatusVersion ¶ added in v1.74.0
type ApplicationStatusVersion struct {
Current string `json:"current,omitempty"`
Channel string `json:"channel,omitempty"`
}
func (*ApplicationStatusVersion) DeepCopy ¶ added in v1.74.0
func (in *ApplicationStatusVersion) DeepCopy() *ApplicationStatusVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatusVersion.
func (*ApplicationStatusVersion) DeepCopyInto ¶ added in v1.74.0
func (in *ApplicationStatusVersion) DeepCopyInto(out *ApplicationStatusVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailableModule ¶ added in v1.56.0
type AvailableModule struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
Policy string `json:"policy,omitempty"`
Checksum string `json:"checksum,omitempty"`
Error string `json:"error,omitempty"`
// Deprecated: use Error instead
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
func (Changelog) DeepCopyInto ¶ added in v1.59.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionOption ¶ added in v1.71.0
type ConditionOption func(opts *ConditionSettings)
+kubebuilder:object:generate=false
type ConditionSettings ¶ added in v1.71.0
+kubebuilder:object:generate=false
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 (*DeckhouseRelease) GetChangelogLink ¶ added in v1.63.0
func (in *DeckhouseRelease) GetChangelogLink() string
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) GetReinstall ¶ added in v1.69.0
func (*DeckhouseRelease) GetReinstall() bool
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) GetUpdateSpec ¶ added in v1.72.0
func (in *DeckhouseRelease) GetUpdateSpec() *UpdateSpec
GetUpdateSpec returns the optional update spec of the related release
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
func (in *DeckhouseReleaseList) DeepCopy() *DeckhouseReleaseList
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
func (in *DeckhouseReleaseSpec) DeepCopy() *DeckhouseReleaseSpec
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
func (in *DeckhouseReleaseStatus) DeepCopy() *DeckhouseReleaseStatus
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 FollowObjectRef ¶ added in v1.74.0
type FollowObjectRef struct {
// APIVersion of the object to follow
APIVersion string `json:"apiVersion"`
// Kind of the object to follow
Kind string `json:"kind"`
// Namespace of the object to follow
Namespace string `json:"namespace"`
// Name of the object to follow
Name string `json:"name"`
// UID of the object to follow (required for verification)
// Used by ObjectKeeperController to detect object deletion or recreation
// +kubebuilder:validation:Required
UID string `json:"uid"`
}
+k8s:deepcopy-gen=true
func (*FollowObjectRef) DeepCopy ¶ added in v1.74.0
func (in *FollowObjectRef) DeepCopy() *FollowObjectRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FollowObjectRef.
func (*FollowObjectRef) DeepCopyInto ¶ added in v1.74.0
func (in *FollowObjectRef) DeepCopyInto(out *FollowObjectRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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) DeepCopy ¶ added in v1.56.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶ added in v1.56.0
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
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Module) DisabledByModuleConfigMoreThan ¶ added in v1.67.0
func (*Module) GetVersion ¶ added in v1.67.6
func (*Module) HasCondition ¶ added in v1.68.6
func (*Module) IsCondition ¶ added in v1.72.0
func (m *Module) IsCondition(condName string, status corev1.ConditionStatus) bool
func (*Module) IsDeprecated ¶ added in v1.73.0
func (*Module) IsEmbedded ¶ added in v1.67.0
func (*Module) IsEnabledByBundle ¶ added in v1.72.0
IsEnabledByBundle checks if the module enabled in the specific edition and bundle
func (*Module) IsExperimental ¶ added in v1.72.0
func (*Module) SetConditionFalse ¶ added in v1.67.0
func (m *Module) SetConditionFalse(condName, reason, message string, opts ...ConditionOption)
func (*Module) SetConditionTrue ¶ added in v1.67.0
func (m *Module) SetConditionTrue(condName string, opts ...ConditionOption)
func (*Module) SetConditionUnknown ¶ added in v1.71.0
func (m *Module) SetConditionUnknown(condName, reason, message string, opts ...ConditionOption)
type ModuleAccessibility ¶ added in v1.72.0
type ModuleAccessibility struct {
Editions map[string]ModuleEdition `json:"editions" yaml:"editions"`
}
func (*ModuleAccessibility) DeepCopy ¶ added in v1.73.0
func (in *ModuleAccessibility) DeepCopy() *ModuleAccessibility
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleAccessibility.
func (*ModuleAccessibility) DeepCopyInto ¶ added in v1.73.0
func (in *ModuleAccessibility) DeepCopyInto(out *ModuleAccessibility)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"`
Maintenance string `json:"maintenance,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 ¶
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 ModuleDisableOptions ¶ added in v1.69.0
type ModuleDisableOptions struct {
Confirmation bool `json:"confirmation" yaml:"confirmation"`
Message string `json:"message" yaml:"message"`
}
func (*ModuleDisableOptions) DeepCopy ¶ added in v1.69.0
func (in *ModuleDisableOptions) DeepCopy() *ModuleDisableOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDisableOptions.
func (*ModuleDisableOptions) DeepCopyInto ¶ added in v1.69.0
func (in *ModuleDisableOptions) DeepCopyInto(out *ModuleDisableOptions)
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
func (in *ModuleDocumentationCondition) DeepCopy() *ModuleDocumentationCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationCondition.
func (*ModuleDocumentationCondition) DeepCopyInto ¶ added in v1.60.0
func (in *ModuleDocumentationCondition) DeepCopyInto(out *ModuleDocumentationCondition)
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
func (in *ModuleDocumentationKind) DeepCopy() *ModuleDocumentationKind
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
func (in *ModuleDocumentationList) DeepCopy() *ModuleDocumentationList
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
func (in *ModuleDocumentationSpec) DeepCopy() *ModuleDocumentationSpec
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
func (in *ModuleDocumentationStatus) DeepCopy() *ModuleDocumentationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleDocumentationStatus.
func (*ModuleDocumentationStatus) DeepCopyInto ¶ added in v1.60.0
func (in *ModuleDocumentationStatus) DeepCopyInto(out *ModuleDocumentationStatus)
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 ModuleEdition ¶ added in v1.72.0
type ModuleEdition struct {
Available bool `json:"available" yaml:"available"`
EnabledInBundles []string `json:"enabledInBundles" yaml:"enabledInBundles"`
}
func (*ModuleEdition) DeepCopy ¶ added in v1.73.0
func (in *ModuleEdition) DeepCopy() *ModuleEdition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleEdition.
func (*ModuleEdition) DeepCopyInto ¶ added in v1.73.0
func (in *ModuleEdition) DeepCopyInto(out *ModuleEdition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"`
}
func (*ModulePlatformRequirements) DeepCopy ¶ added in v1.67.6
func (in *ModulePlatformRequirements) DeepCopy() *ModulePlatformRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModulePlatformRequirements.
func (*ModulePlatformRequirements) DeepCopyInto ¶ added in v1.67.6
func (in *ModulePlatformRequirements) DeepCopyInto(out *ModulePlatformRequirements)
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"`
Critical bool `json:"critical,omitempty"`
Namespace string `json:"namespace,omitempty"`
Subsystems []string `json:"subsystems,omitempty"`
Version string `json:"version,omitempty"`
UpdatePolicy string `json:"updatePolicy,omitempty"`
ExclusiveGroup string `json:"exclusiveGroup,omitempty" yaml:"exclusiveGroup,omitempty"`
AvailableSources []string `json:"availableSources,omitempty"`
Requirements *ModuleRequirements `json:"requirements,omitempty" yaml:"requirements,omitempty"`
DisableOptions *ModuleDisableOptions `json:"disableOptions,omitempty" yaml:"disableOptions,omitempty"`
Accessibility *ModuleAccessibility `json:"accessibility,omitempty" yaml:"accessibility,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
func (in *ModulePullOverrideList) DeepCopy() *ModulePullOverrideList
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
func (in *ModulePullOverrideSpec) DeepCopy() *ModulePullOverrideSpec
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
func (in *ModulePullOverrideStatus) DeepCopy() *ModulePullOverrideStatus
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 (*ModuleRelease) GetChangelogLink ¶ added in v1.60.0
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) GetDryRun ¶ added in v1.69.0
func (mr *ModuleRelease) GetDryRun() bool
func (*ModuleRelease) GetForce ¶ added in v1.60.0
func (mr *ModuleRelease) GetForce() bool
func (*ModuleRelease) GetIsUpdating ¶ added in v1.71.0
func (mr *ModuleRelease) GetIsUpdating() 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) GetModuleVersion ¶ added in v1.69.0
func (mr *ModuleRelease) GetModuleVersion() string
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) GetReinstall ¶ added in v1.69.0
func (mr *ModuleRelease) GetReinstall() bool
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) GetTriggeredByDryRun ¶ added in v1.69.0
func (mr *ModuleRelease) GetTriggeredByDryRun() bool
func (*ModuleRelease) GetUpdateSpec ¶ added in v1.72.0
func (mr *ModuleRelease) GetUpdateSpec() *UpdateSpec
GetUpdateSpec returns the optional update spec of the related release
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
func (in *ModuleReleasePlatformRequirements) DeepCopy() *ModuleReleasePlatformRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleasePlatformRequirements.
func (*ModuleReleasePlatformRequirements) DeepCopyInto ¶ added in v1.67.6
func (in *ModuleReleasePlatformRequirements) DeepCopyInto(out *ModuleReleasePlatformRequirements)
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
func (in *ModuleReleaseRequirements) DeepCopy() *ModuleReleaseRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleReleaseRequirements.
func (*ModuleReleaseRequirements) DeepCopyInto ¶ added in v1.67.6
func (in *ModuleReleaseRequirements) DeepCopyInto(out *ModuleReleaseRequirements)
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"`
UpdateSpec *UpdateSpec `json:"update,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 ModuleSettingsConversion ¶ added in v1.73.0
type ModuleSettingsConversion struct {
Expr []string `json:"expr"`
Descriptions *ModuleSettingsConversionDescriptions `json:"descriptions,omitempty"`
}
func (*ModuleSettingsConversion) DeepCopy ¶ added in v1.73.0
func (in *ModuleSettingsConversion) DeepCopy() *ModuleSettingsConversion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsConversion.
func (*ModuleSettingsConversion) DeepCopyInto ¶ added in v1.73.0
func (in *ModuleSettingsConversion) DeepCopyInto(out *ModuleSettingsConversion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleSettingsConversionDescriptions ¶ added in v1.73.0
type ModuleSettingsConversionDescriptions struct {
Ru string `json:"ru,omitempty"`
En string `json:"en,omitempty"`
}
func (*ModuleSettingsConversionDescriptions) DeepCopy ¶ added in v1.73.0
func (in *ModuleSettingsConversionDescriptions) DeepCopy() *ModuleSettingsConversionDescriptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsConversionDescriptions.
func (*ModuleSettingsConversionDescriptions) DeepCopyInto ¶ added in v1.73.0
func (in *ModuleSettingsConversionDescriptions) DeepCopyInto(out *ModuleSettingsConversionDescriptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleSettingsDefinition ¶ added in v1.69.0
type ModuleSettingsDefinition 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 ModuleSettingsDefinitionSpec `json:"spec"`
}
ModuleSettingsDefinition is a configuration for module or for global config values.
func (*ModuleSettingsDefinition) DeepCopy ¶ added in v1.69.0
func (in *ModuleSettingsDefinition) DeepCopy() *ModuleSettingsDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsDefinition.
func (*ModuleSettingsDefinition) DeepCopyInto ¶ added in v1.69.0
func (in *ModuleSettingsDefinition) DeepCopyInto(out *ModuleSettingsDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleSettingsDefinition) DeepCopyObject ¶ added in v1.69.0
func (in *ModuleSettingsDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ModuleSettingsDefinition) SetVersion ¶ added in v1.69.0
func (s *ModuleSettingsDefinition) SetVersion(rawSchema []byte, conversions []ModuleSettingsConversion) error
SetVersion adds or updates a version in the ModuleSettingsSpec.
type ModuleSettingsDefinitionList ¶ added in v1.69.0
type ModuleSettingsDefinitionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []ModuleSettingsDefinition `json:"items"`
}
ModuleSettingsDefinitionList is a list of ModuleSettings resources
func (*ModuleSettingsDefinitionList) DeepCopy ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionList) DeepCopy() *ModuleSettingsDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsDefinitionList.
func (*ModuleSettingsDefinitionList) DeepCopyInto ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionList) DeepCopyInto(out *ModuleSettingsDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleSettingsDefinitionList) DeepCopyObject ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleSettingsDefinitionSpec ¶ added in v1.69.0
type ModuleSettingsDefinitionSpec struct {
Versions []ModuleSettingsDefinitionVersion `json:"versions"`
}
func (*ModuleSettingsDefinitionSpec) DeepCopy ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionSpec) DeepCopy() *ModuleSettingsDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsDefinitionSpec.
func (*ModuleSettingsDefinitionSpec) DeepCopyInto ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionSpec) DeepCopyInto(out *ModuleSettingsDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleSettingsDefinitionVersion ¶ added in v1.69.0
type ModuleSettingsDefinitionVersion struct {
Name string `json:"name"`
Schema *apiextensionsv1.CustomResourceValidation `json:"schema,omitempty"`
Conversions []ModuleSettingsConversion `json:"conversions,omitempty"`
}
func (*ModuleSettingsDefinitionVersion) DeepCopy ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionVersion) DeepCopy() *ModuleSettingsDefinitionVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSettingsDefinitionVersion.
func (*ModuleSettingsDefinitionVersion) DeepCopyInto ¶ added in v1.69.0
func (in *ModuleSettingsDefinitionVersion) DeepCopyInto(out *ModuleSettingsDefinitionVersion)
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
func (in *ModuleSourceSpecRegistry) DeepCopy() *ModuleSourceSpecRegistry
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"`
Phase string `json:"phase"`
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
func (in *ModuleUpdatePolicyList) DeepCopy() *ModuleUpdatePolicyList
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
func (in *ModuleUpdatePolicySpec) DeepCopy() *ModuleUpdatePolicySpec
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
func (in *ModuleUpdatePolicySpecReleaseSelector) DeepCopy() *ModuleUpdatePolicySpecReleaseSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicySpecReleaseSelector.
func (*ModuleUpdatePolicySpecReleaseSelector) DeepCopyInto ¶ added in v1.56.0
func (in *ModuleUpdatePolicySpecReleaseSelector) DeepCopyInto(out *ModuleUpdatePolicySpecReleaseSelector)
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
func (in *ModuleUpdatePolicySpecUpdate) DeepCopy() *ModuleUpdatePolicySpecUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleUpdatePolicySpecUpdate.
func (*ModuleUpdatePolicySpecUpdate) DeepCopyInto ¶ added in v1.56.0
func (in *ModuleUpdatePolicySpecUpdate) DeepCopyInto(out *ModuleUpdatePolicySpecUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceName ¶ added in v1.74.0
type NamespaceName string
type ObjectKeeper ¶ added in v1.74.0
type ObjectKeeper struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ObjectKeeperSpec `json:"spec"`
Status ObjectKeeperStatus `json:"status,omitempty"`
}
+genclient +genclient:nonNamespaced +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:printcolumn:name="Mode",type=string,JSONPath=`.spec.mode` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="FollowObject",type=string,JSONPath=`.spec.followObjectRef.name`
func (*ObjectKeeper) DeepCopy ¶ added in v1.74.0
func (in *ObjectKeeper) DeepCopy() *ObjectKeeper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectKeeper.
func (*ObjectKeeper) DeepCopyInto ¶ added in v1.74.0
func (in *ObjectKeeper) DeepCopyInto(out *ObjectKeeper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectKeeper) DeepCopyObject ¶ added in v1.74.0
func (in *ObjectKeeper) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectKeeperList ¶ added in v1.74.0
type ObjectKeeperList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ObjectKeeper `json:"items"`
}
+kubebuilder:object:root=true
func (*ObjectKeeperList) DeepCopy ¶ added in v1.74.0
func (in *ObjectKeeperList) DeepCopy() *ObjectKeeperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectKeeperList.
func (*ObjectKeeperList) DeepCopyInto ¶ added in v1.74.0
func (in *ObjectKeeperList) DeepCopyInto(out *ObjectKeeperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectKeeperList) DeepCopyObject ¶ added in v1.74.0
func (in *ObjectKeeperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectKeeperPhase ¶ added in v1.74.0
type ObjectKeeperPhase string
+kubebuilder:validation:Enum=Pending;Tracking;Expiring
const ( // PhasePending indicates that the ObjectKeeper cannot be processed yet, // most likely due to missing or invalid configuration (e.g., TTL or FollowObjectRef is not set). PhasePending ObjectKeeperPhase = "Pending" // PhaseTracking means the ObjectKeeper is actively tracking the referenced object, // and the object exists with a matching UID. PhaseTracking ObjectKeeperPhase = "Tracking" // Expiring indicates that the ObjectKeeper is waiting for the TTL to expire, // typically after the referenced object was deleted or its UID no longer matches. PhaseExpiring ObjectKeeperPhase = "Expiring" )
type ObjectKeeperSpec ¶ added in v1.74.0
type ObjectKeeperSpec struct {
// Mode controls retention behavior
// +kubebuilder:validation:Required
// +kubebuilder:validation:Enum=FollowObject;TTL;FollowObjectWithTTL
Mode string `json:"mode"`
// FollowObjectRef references the namespaced object that controls retention
// Required when mode = FollowObject or FollowObjectWithTTL
// The ObjectKeeper will be garbage collected when the referenced object is deleted
// (or after TTL expires if mode = FollowObjectWithTTL)
FollowObjectRef *FollowObjectRef `json:"followObjectRef,omitempty"`
// TTL specifies how long the ObjectKeeper must live
// Required when mode = TTL or FollowObjectWithTTL
// The ObjectKeeper will expire after this duration
// For FollowObjectWithTTL: TTL starts counting from object deletion time
TTL *metav1.Duration `json:"ttl,omitempty"`
}
+k8s:deepcopy-gen=true +kubebuilder:validation:XValidation:rule="self.mode in ['FollowObject','FollowObjectWithTTL'] ? has(self.followObjectRef) : true",message="followObjectRef is required when mode is FollowObject or FollowObjectWithTTL" +kubebuilder:validation:XValidation:rule="self.mode in ['TTL','FollowObjectWithTTL'] ? has(self.ttl) : true",message="ttl is required when mode is TTL or FollowObjectWithTTL" +kubebuilder:validation:XValidation:rule="self.mode == 'TTL' ? !has(self.followObjectRef) : true",message="followObjectRef must not be set when mode is TTL" +kubebuilder:validation:XValidation:rule="self.mode == 'FollowObject' ? !has(self.ttl) : true",message="ttl must not be set when mode is FollowObject"
func (*ObjectKeeperSpec) DeepCopy ¶ added in v1.74.0
func (in *ObjectKeeperSpec) DeepCopy() *ObjectKeeperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectKeeperSpec.
func (*ObjectKeeperSpec) DeepCopyInto ¶ added in v1.74.0
func (in *ObjectKeeperSpec) DeepCopyInto(out *ObjectKeeperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectKeeperStatus ¶ added in v1.74.0
type ObjectKeeperStatus struct {
// Phase of the objectkeeper
Phase ObjectKeeperPhase `json:"phase,omitempty"`
// Conditions represent the latest available observations of the objectkeeper state
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Message provides additional information about the status
Message string `json:"message,omitempty"`
// Timestamp when the referenced object was no longer found (deleted or UID mismatch).
LostAt *metav1.Time `json:"lostAt,omitempty"`
}
+k8s:deepcopy-gen=true
func (*ObjectKeeperStatus) DeepCopy ¶ added in v1.74.0
func (in *ObjectKeeperStatus) DeepCopy() *ObjectKeeperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectKeeperStatus.
func (*ObjectKeeperStatus) DeepCopyInto ¶ added in v1.74.0
func (in *ObjectKeeperStatus) DeepCopyInto(out *ObjectKeeperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageChangelog ¶ added in v1.74.0
type PackageChangelog struct {
Features []string `json:"features,omitempty"`
Fixes []string `json:"fixes,omitempty"`
}
func (*PackageChangelog) DeepCopy ¶ added in v1.74.0
func (in *PackageChangelog) DeepCopy() *PackageChangelog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageChangelog.
func (*PackageChangelog) DeepCopyInto ¶ added in v1.74.0
func (in *PackageChangelog) DeepCopyInto(out *PackageChangelog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageDescription ¶ added in v1.74.0
func (*PackageDescription) DeepCopy ¶ added in v1.74.0
func (in *PackageDescription) DeepCopy() *PackageDescription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageDescription.
func (*PackageDescription) DeepCopyInto ¶ added in v1.74.0
func (in *PackageDescription) DeepCopyInto(out *PackageDescription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageEdition ¶ added in v1.74.0
type PackageEdition struct {
Available bool `json:"available,omitempty"`
}
func (*PackageEdition) DeepCopy ¶ added in v1.74.0
func (in *PackageEdition) DeepCopy() *PackageEdition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageEdition.
func (*PackageEdition) DeepCopyInto ¶ added in v1.74.0
func (in *PackageEdition) DeepCopyInto(out *PackageEdition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageLicensing ¶ added in v1.74.0
type PackageLicensing struct {
Editions map[string]PackageEdition `json:"editions,omitempty"`
}
func (*PackageLicensing) DeepCopy ¶ added in v1.74.0
func (in *PackageLicensing) DeepCopy() *PackageLicensing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageLicensing.
func (*PackageLicensing) DeepCopyInto ¶ added in v1.74.0
func (in *PackageLicensing) DeepCopyInto(out *PackageLicensing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepository ¶ added in v1.74.0
type PackageRepository 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 a PackageRepository.
Spec PackageRepositorySpec `json:"spec"`
// Status of a PackageRepository.
Status PackageRepositoryStatus `json:"status,omitempty"`
}
PackageRepository is a source of packages for Deckhouse.
func (*PackageRepository) DeepCopy ¶ added in v1.74.0
func (in *PackageRepository) DeepCopy() *PackageRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepository.
func (*PackageRepository) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepository) DeepCopyInto(out *PackageRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRepository) DeepCopyObject ¶ added in v1.74.0
func (in *PackageRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRepositoryList ¶ added in v1.74.0
type PackageRepositoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []PackageRepository `json:"items"`
}
PackageRepositoryList is a list of PackageRepository resources
func (*PackageRepositoryList) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryList) DeepCopy() *PackageRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryList.
func (*PackageRepositoryList) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryList) DeepCopyInto(out *PackageRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRepositoryList) DeepCopyObject ¶ added in v1.74.0
func (in *PackageRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRepositoryOperation ¶ added in v1.74.0
type PackageRepositoryOperation 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 a PackageRepositoryOperation.
Spec PackageRepositoryOperationSpec `json:"spec"`
// Status of a PackageRepositoryOperation.
Status PackageRepositoryOperationStatus `json:"status,omitempty"`
}
PackageRepositoryOperation represents an operation to scan/update a package repository.
func (*PackageRepositoryOperation) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperation) DeepCopy() *PackageRepositoryOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperation.
func (*PackageRepositoryOperation) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperation) DeepCopyInto(out *PackageRepositoryOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRepositoryOperation) DeepCopyObject ¶ added in v1.74.0
func (in *PackageRepositoryOperation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRepositoryOperationList ¶ added in v1.74.0
type PackageRepositoryOperationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []PackageRepositoryOperation `json:"items"`
}
PackageRepositoryOperationList is a list of PackageRepositoryOperation resources
func (*PackageRepositoryOperationList) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationList) DeepCopy() *PackageRepositoryOperationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationList.
func (*PackageRepositoryOperationList) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationList) DeepCopyInto(out *PackageRepositoryOperationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageRepositoryOperationList) DeepCopyObject ¶ added in v1.74.0
func (in *PackageRepositoryOperationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageRepositoryOperationSpec ¶ added in v1.74.0
type PackageRepositoryOperationSpec struct {
PackageRepository string `json:"packageRepository"`
Type string `json:"type"`
Update *PackageRepositoryOperationUpdate `json:"update,omitempty"`
}
func (*PackageRepositoryOperationSpec) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationSpec) DeepCopy() *PackageRepositoryOperationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationSpec.
func (*PackageRepositoryOperationSpec) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationSpec) DeepCopyInto(out *PackageRepositoryOperationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryOperationStatus ¶ added in v1.74.0
type PackageRepositoryOperationStatus struct {
Phase string `json:"phase,omitempty"`
StartTime *metav1.Time `json:"startTime,omitempty"`
CompletionTime *metav1.Time `json:"completionTime,omitempty"`
Packages *PackageRepositoryOperationStatusPackages `json:"packages,omitempty"`
PackagesToProcess []PackageRepositoryOperationStatusPackageQueue `json:"packagesToProcess,omitempty"`
Conditions []PackageRepositoryOperationStatusCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
func (*PackageRepositoryOperationStatus) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatus) DeepCopy() *PackageRepositoryOperationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationStatus.
func (*PackageRepositoryOperationStatus) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatus) DeepCopyInto(out *PackageRepositoryOperationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryOperationStatusCondition ¶ added in v1.74.0
type PackageRepositoryOperationStatusCondition struct {
Type string `json:"type"`
Status corev1.ConditionStatus `json:"status"`
Reason string `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
}
func (*PackageRepositoryOperationStatusCondition) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusCondition) DeepCopy() *PackageRepositoryOperationStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationStatusCondition.
func (*PackageRepositoryOperationStatusCondition) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusCondition) DeepCopyInto(out *PackageRepositoryOperationStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryOperationStatusPackageQueue ¶ added in v1.74.0
type PackageRepositoryOperationStatusPackageQueue struct {
Name string `json:"name"`
Type string `json:"type"`
}
func (*PackageRepositoryOperationStatusPackageQueue) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusPackageQueue) DeepCopy() *PackageRepositoryOperationStatusPackageQueue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationStatusPackageQueue.
func (*PackageRepositoryOperationStatusPackageQueue) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusPackageQueue) DeepCopyInto(out *PackageRepositoryOperationStatusPackageQueue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryOperationStatusPackages ¶ added in v1.74.0
type PackageRepositoryOperationStatusPackages struct {
Discovered int `json:"discovered,omitempty"`
Processed int `json:"processed,omitempty"`
Total int `json:"total,omitempty"`
}
func (*PackageRepositoryOperationStatusPackages) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusPackages) DeepCopy() *PackageRepositoryOperationStatusPackages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationStatusPackages.
func (*PackageRepositoryOperationStatusPackages) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationStatusPackages) DeepCopyInto(out *PackageRepositoryOperationStatusPackages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryOperationUpdate ¶ added in v1.74.0
type PackageRepositoryOperationUpdate struct {
FullScan bool `json:"fullScan,omitempty"`
Timeout string `json:"timeout,omitempty"`
}
func (*PackageRepositoryOperationUpdate) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryOperationUpdate) DeepCopy() *PackageRepositoryOperationUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryOperationUpdate.
func (*PackageRepositoryOperationUpdate) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryOperationUpdate) DeepCopyInto(out *PackageRepositoryOperationUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositorySpec ¶ added in v1.74.0
type PackageRepositorySpec struct {
Registry PackageRepositorySpecRegistry `json:"registry"`
}
func (*PackageRepositorySpec) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositorySpec) DeepCopy() *PackageRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositorySpec.
func (*PackageRepositorySpec) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositorySpec) DeepCopyInto(out *PackageRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositorySpecRegistry ¶ added in v1.74.0
type PackageRepositorySpecRegistry struct {
Scheme string `json:"scheme,omitempty"`
Repo string `json:"repo"`
DockerCFG string `json:"dockerCfg"`
CA string `json:"ca"`
}
func (*PackageRepositorySpecRegistry) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositorySpecRegistry) DeepCopy() *PackageRepositorySpecRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositorySpecRegistry.
func (*PackageRepositorySpecRegistry) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositorySpecRegistry) DeepCopyInto(out *PackageRepositorySpecRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryStatus ¶ added in v1.74.0
type PackageRepositoryStatus struct {
SyncTime metav1.Time `json:"syncTime,omitempty"`
Packages []PackageRepositoryStatusPackage `json:"packages,omitempty"`
PackagesCount int `json:"packagesCount,omitempty"`
Phase string `json:"phase,omitempty"`
Message string `json:"message,omitempty"`
}
func (*PackageRepositoryStatus) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryStatus) DeepCopy() *PackageRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryStatus.
func (*PackageRepositoryStatus) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryStatus) DeepCopyInto(out *PackageRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRepositoryStatusPackage ¶ added in v1.74.0
func (*PackageRepositoryStatusPackage) DeepCopy ¶ added in v1.74.0
func (in *PackageRepositoryStatusPackage) DeepCopy() *PackageRepositoryStatusPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRepositoryStatusPackage.
func (*PackageRepositoryStatusPackage) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRepositoryStatusPackage) DeepCopyInto(out *PackageRepositoryStatusPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageRequirements ¶ added in v1.74.0
type PackageRequirements struct {
Deckhouse string `json:"deckhouse,omitempty"`
Kubernetes string `json:"kubernetes,omitempty"`
Modules map[string]string `json:"modules,omitempty"`
}
func (*PackageRequirements) DeepCopy ¶ added in v1.74.0
func (in *PackageRequirements) DeepCopy() *PackageRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageRequirements.
func (*PackageRequirements) DeepCopyInto ¶ added in v1.74.0
func (in *PackageRequirements) DeepCopyInto(out *PackageRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageVersionCompatibilityRule ¶ added in v1.74.0
type PackageVersionCompatibilityRule struct {
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
AllowSkipPatches int `json:"allowSkipPatches,omitempty"`
AllowSkipMinor int `json:"allowSkipMinor,omitempty"`
AllowSkipMajor int `json:"allowSkipMajor,omitempty"`
MaxRollback int `json:"maxRollback,omitempty"`
}
func (*PackageVersionCompatibilityRule) DeepCopy ¶ added in v1.74.0
func (in *PackageVersionCompatibilityRule) DeepCopy() *PackageVersionCompatibilityRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVersionCompatibilityRule.
func (*PackageVersionCompatibilityRule) DeepCopyInto ¶ added in v1.74.0
func (in *PackageVersionCompatibilityRule) DeepCopyInto(out *PackageVersionCompatibilityRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageVersionCompatibilityRules ¶ added in v1.74.0
type PackageVersionCompatibilityRules struct {
Upgrade *PackageVersionCompatibilityRule `json:"upgrade,omitempty"`
Downgrade *PackageVersionCompatibilityRule `json:"downgrade,omitempty"`
}
func (*PackageVersionCompatibilityRules) DeepCopy ¶ added in v1.74.0
func (in *PackageVersionCompatibilityRules) DeepCopy() *PackageVersionCompatibilityRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVersionCompatibilityRules.
func (*PackageVersionCompatibilityRules) DeepCopyInto ¶ added in v1.74.0
func (in *PackageVersionCompatibilityRules) DeepCopyInto(out *PackageVersionCompatibilityRules)
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
GetDisruptions() []string
GetDisruptionApproved() bool
GetPhase() string
GetForce() bool
GetReinstall() bool
GetApplyNow() bool
GetApprovedStatus() bool
SetApprovedStatus(b bool)
GetSuspend() bool
GetManuallyApproved() bool
GetMessage() string
GetNotified() bool
GetUpdateSpec() *UpdateSpec
}
+kubebuilder:object:generate=false
type SettingsValues ¶
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 UpdateConstraint ¶ added in v1.72.0
UpdateConstraint defines a semver range [from, to] where From is the minimal version that can upgrade directly to the To endpoint. Values support major.minor or full semver.
func (*UpdateConstraint) DeepCopy ¶ added in v1.73.0
func (in *UpdateConstraint) DeepCopy() *UpdateConstraint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateConstraint.
func (*UpdateConstraint) DeepCopyInto ¶ added in v1.73.0
func (in *UpdateConstraint) DeepCopyInto(out *UpdateConstraint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
type UpdateSpec ¶ added in v1.72.0
type UpdateSpec struct {
Versions []UpdateConstraint `json:"versions,omitempty"`
}
func (*UpdateSpec) DeepCopy ¶ added in v1.73.0
func (in *UpdateSpec) DeepCopy() *UpdateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateSpec.
func (*UpdateSpec) DeepCopyInto ¶ added in v1.73.0
func (in *UpdateSpec) DeepCopyInto(out *UpdateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- application.go
- application_package.go
- application_package_version.go
- deckhouse_release.go
- module.go
- module_config.go
- module_documentation.go
- module_pull_override.go
- module_release.go
- module_settings_definition.go
- module_source.go
- module_update_policy.go
- objectkeeper.go
- package_repository.go
- package_repository_operation.go
- register.go
- release.go
- zz_generated.deepcopy.go
- zz_generated.defaults.go