Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the packages v1alpha1 API group +kubebuilder:object:generate=true +groupName=packages.eks.amazonaws.com
Index ¶
- Constants
- Variables
- func InitActiveBundleValidator(mgr ctrl.Manager) error
- type BundleControllerStateEnum
- type BundlePackage
- type BundlePackageSource
- type Package
- type PackageAvailableUpgrade
- type PackageBundle
- func (in *PackageBundle) DeepCopy() *PackageBundle
- func (in *PackageBundle) DeepCopyInto(out *PackageBundle)
- func (in *PackageBundle) DeepCopyObject() runtime.Object
- func (config *PackageBundle) ExpectedKind() string
- func (config *PackageBundle) FindSource(pkgName, pkgVersion string) (retSource PackageOCISource, err error)
- func (config *PackageBundle) MetaKind() string
- func (r *PackageBundle) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *PackageBundle) ValidateCreate() error
- func (r *PackageBundle) ValidateDelete() error
- func (r *PackageBundle) ValidateUpdate(old runtime.Object) error
- type PackageBundleController
- func (in *PackageBundleController) DeepCopy() *PackageBundleController
- func (in *PackageBundleController) DeepCopyInto(out *PackageBundleController)
- func (in *PackageBundleController) DeepCopyObject() runtime.Object
- func (config *PackageBundleController) ExpectedKind() string
- func (config *PackageBundleController) MetaKind() string
- type PackageBundleControllerList
- type PackageBundleControllerSource
- type PackageBundleControllerSpec
- type PackageBundleControllerStatus
- type PackageBundleList
- type PackageBundleSpec
- type PackageBundleStateEnum
- type PackageBundleStatus
- type PackageController
- type PackageControllerList
- type PackageControllerSpec
- type PackageControllerStatus
- type PackageList
- type PackageOCISource
- type PackageSpec
- type PackageStatus
- type SourceVersion
- type StateEnum
- type VersionConfiguration
- type VersionImages
Constants ¶
const ( PackageBundleKind = "PackageBundle" Latest = "latest" )
const PackageBundleControllerKind = "PackageBundleController"
const PackageControllerKind = "PackageController"
const PackageKind = "Package"
const (
PublicKeyEnvVar = "EKSA_PUBLIC_KEY"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "packages.eks.amazonaws.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
Types ¶
type BundleControllerStateEnum ¶
type BundleControllerStateEnum string
+kubebuilder:validation:Enum=ignored;active
const ( BundleControllerStateIgnored BundleControllerStateEnum = "ignored" BundleControllerStateActive BundleControllerStateEnum = "active" )
type BundlePackage ¶
type BundlePackage struct {
// +kubebuilder:validation:Required
// Name of the package
Name string `json:"name,omitempty"`
// +kubebuilder:validation:Required
// Source location for the package (probably a helm chart).
Source BundlePackageSource `json:"source"`
}
BundlePackage specifies a package within a bundle.
func (*BundlePackage) DeepCopy ¶
func (in *BundlePackage) DeepCopy() *BundlePackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundlePackage.
func (*BundlePackage) DeepCopyInto ¶
func (in *BundlePackage) DeepCopyInto(out *BundlePackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundlePackageSource ¶
type BundlePackageSource struct {
// +kubebuilder:validation:Required
// Registry in which the package is found.
Registry string `json:"registry"`
// +kubebuilder:validation:Required
// Repository within the Registry where the package is found.
Repository string `json:"repository"`
// +kubebuilder:validation:MinItems=1
// Versions of the package supported by this bundle.
Versions []SourceVersion `json:"versions"`
}
BundlePackageSource identifies the location of a package.
func (*BundlePackageSource) DeepCopy ¶
func (in *BundlePackageSource) DeepCopy() *BundlePackageSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundlePackageSource.
func (*BundlePackageSource) DeepCopyInto ¶
func (in *BundlePackageSource) DeepCopyInto(out *BundlePackageSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BundlePackageSource) Matches ¶
func (s BundlePackageSource) Matches(other BundlePackageSource) bool
VersionsMatch returns true if the given source locations match one another.
type Package ¶
type Package struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PackageSpec `json:"spec,omitempty"`
Status PackageStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Package",type=string,JSONPath=`.spec.packageName` +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` +kubebuilder:printcolumn:name="CurrentVersion",type=string,JSONPath=`.status.currentVersion` +kubebuilder:printcolumn:name="TargetVersion",type=string,JSONPath=`.status.targetVersion` +kubebuilder:printcolumn:name="Detail",type=string,JSONPath=`.status.detail` Package is the Schema for the package API
func (*Package) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (*Package) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Package) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Package) ExpectedKind ¶
type PackageAvailableUpgrade ¶
type PackageAvailableUpgrade struct {
// +kubebuilder:validation:Required
// Version is a human-friendly version name for the package upgrade.
Version string `json:"version"`
// +kubebuilder:validation:Required
// Tag is a specific version number or sha256 checksum for the package
// upgrade.
Tag string `json:"tag"`
}
PackageAvailableUpgrade details the package's available upgrades' versions.
func (*PackageAvailableUpgrade) DeepCopy ¶
func (in *PackageAvailableUpgrade) DeepCopy() *PackageAvailableUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageAvailableUpgrade.
func (*PackageAvailableUpgrade) DeepCopyInto ¶
func (in *PackageAvailableUpgrade) DeepCopyInto(out *PackageAvailableUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBundle ¶
type PackageBundle struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PackageBundleSpec `json:"spec,omitempty"`
Status PackageBundleStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.kubeVersion` +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` PackageBundle is the Schema for the packagebundles API
func MustPackageBundleFromFilename ¶
func MustPackageBundleFromFilename(t *testing.T, filename string) (bundle *PackageBundle)
MustPackageBundleFromFilename is a helper to load a bundle or fail trying.
It is intended primarily for use in automated tests or utilities.
func (*PackageBundle) DeepCopy ¶
func (in *PackageBundle) DeepCopy() *PackageBundle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundle.
func (*PackageBundle) DeepCopyInto ¶
func (in *PackageBundle) DeepCopyInto(out *PackageBundle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageBundle) DeepCopyObject ¶
func (in *PackageBundle) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PackageBundle) ExpectedKind ¶
func (config *PackageBundle) ExpectedKind() string
func (*PackageBundle) FindSource ¶
func (config *PackageBundle) FindSource(pkgName, pkgVersion string) (retSource PackageOCISource, err error)
func (*PackageBundle) MetaKind ¶
func (config *PackageBundle) MetaKind() string
func (*PackageBundle) SetupWebhookWithManager ¶
func (r *PackageBundle) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*PackageBundle) ValidateCreate ¶
func (r *PackageBundle) ValidateCreate() error
func (*PackageBundle) ValidateDelete ¶
func (r *PackageBundle) ValidateDelete() error
func (*PackageBundle) ValidateUpdate ¶
func (r *PackageBundle) ValidateUpdate(old runtime.Object) error
type PackageBundleController ¶
type PackageBundleController struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PackageBundleControllerSpec `json:"spec,omitempty"`
Status PackageBundleControllerStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` PackageBundleController is the Schema for the packagebundlecontrollers API
func (*PackageBundleController) DeepCopy ¶
func (in *PackageBundleController) DeepCopy() *PackageBundleController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleController.
func (*PackageBundleController) DeepCopyInto ¶
func (in *PackageBundleController) DeepCopyInto(out *PackageBundleController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageBundleController) DeepCopyObject ¶
func (in *PackageBundleController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PackageBundleController) ExpectedKind ¶
func (config *PackageBundleController) ExpectedKind() string
func (*PackageBundleController) MetaKind ¶
func (config *PackageBundleController) MetaKind() string
type PackageBundleControllerList ¶
type PackageBundleControllerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PackageBundleController `json:"items"`
}
+kubebuilder:object:root=true PackageBundleControllerList contains a list of PackageBundleController
func (*PackageBundleControllerList) DeepCopy ¶
func (in *PackageBundleControllerList) DeepCopy() *PackageBundleControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleControllerList.
func (*PackageBundleControllerList) DeepCopyInto ¶
func (in *PackageBundleControllerList) DeepCopyInto(out *PackageBundleControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageBundleControllerList) DeepCopyObject ¶
func (in *PackageBundleControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageBundleControllerSource ¶
type PackageBundleControllerSource struct {
// +kubebuilder:validation:Required
// Registry is the OCR address hosting the bundle.
Registry string `json:"registry"`
// +kubebuilder:validation:Required
// Repository is the location of the bundle within the OCR registry.
Repository string `json:"repository"`
}
func (*PackageBundleControllerSource) BaseRef ¶
func (s *PackageBundleControllerSource) BaseRef() (baseRef string)
func (*PackageBundleControllerSource) DeepCopy ¶
func (in *PackageBundleControllerSource) DeepCopy() *PackageBundleControllerSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleControllerSource.
func (*PackageBundleControllerSource) DeepCopyInto ¶
func (in *PackageBundleControllerSource) DeepCopyInto(out *PackageBundleControllerSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBundleControllerSpec ¶
type PackageBundleControllerSpec struct {
// LogLevel controls the verbosity of logging in the controller.
// +optional
LogLevel *int32 `json:"logLevel,omitempty"`
// +kubebuilder:default:="1d"
// UpgradeCheckInterval is the time between upgrade checks.
//
// The format is that of time's ParseDuration.
// +optional
UpgradeCheckInterval metav1.Duration `json:"upgradeCheckInterval,omitempty"`
// +kubebuilder:default:="1h"
// UpgradeCheckShortInterval if there is a problem this is the time between upgrade checks.
//
// The format is that of time's ParseDuration.
// +optional
UpgradeCheckShortInterval metav1.Duration `json:"upgradeCheckShortInterval,omitempty"`
// ActiveBundle is name of the bundle from which packages should be sourced.
// +optional
ActiveBundle string `json:"activeBundle"`
// +kubebuilder:validation:Required
// Source of the bundle.
Source PackageBundleControllerSource `json:"source"`
}
PackageBundleControllerSpec defines the desired state of PackageBundleController
func (*PackageBundleControllerSpec) DeepCopy ¶
func (in *PackageBundleControllerSpec) DeepCopy() *PackageBundleControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleControllerSpec.
func (*PackageBundleControllerSpec) DeepCopyInto ¶
func (in *PackageBundleControllerSpec) DeepCopyInto(out *PackageBundleControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBundleControllerStatus ¶
type PackageBundleControllerStatus struct {
// State of the bundle controller
State BundleControllerStateEnum `json:"state,omitempty"`
}
PackageBundleControllerStatus defines the observed state of PackageBundleController
func (*PackageBundleControllerStatus) DeepCopy ¶
func (in *PackageBundleControllerStatus) DeepCopy() *PackageBundleControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleControllerStatus.
func (*PackageBundleControllerStatus) DeepCopyInto ¶
func (in *PackageBundleControllerStatus) DeepCopyInto(out *PackageBundleControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBundleList ¶
type PackageBundleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PackageBundle `json:"items"`
}
+kubebuilder:object:root=true PackageBundleList contains a list of PackageBundle
func (*PackageBundleList) DeepCopy ¶
func (in *PackageBundleList) DeepCopy() *PackageBundleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleList.
func (*PackageBundleList) DeepCopyInto ¶
func (in *PackageBundleList) DeepCopyInto(out *PackageBundleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageBundleList) DeepCopyObject ¶
func (in *PackageBundleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageBundleSpec ¶
type PackageBundleSpec struct {
// +kubebuilder:validation:Required
// KubeVersion is the Kubernetes version to which this bundle is compatible.
KubeVersion string `json:"kubeVersion,omitempty"`
// +kubebuilder:validation:Required
// Packages supported by this bundle.
Packages []BundlePackage `json:"packages"`
}
PackageBundleSpec defines the desired state of PackageBundle
func (*PackageBundleSpec) DeepCopy ¶
func (in *PackageBundleSpec) DeepCopy() *PackageBundleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleSpec.
func (*PackageBundleSpec) DeepCopyInto ¶
func (in *PackageBundleSpec) DeepCopyInto(out *PackageBundleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBundleStateEnum ¶
type PackageBundleStateEnum string
+kubebuilder:validation:Enum={"inactive","active","active (upgrade available)"}
const ( PackageBundleStateInactive PackageBundleStateEnum = "inactive" PackageBundleStateActive PackageBundleStateEnum = "active" PackageBundleStateUpgradeAvailable PackageBundleStateEnum = "active (upgrade available)" )
type PackageBundleStatus ¶
type PackageBundleStatus struct {
Spec PackageBundleSpec `json:"spec,omitempty"`
State PackageBundleStateEnum `json:"state"`
}
PackageBundleStatus defines the observed state of PackageBundle
func (*PackageBundleStatus) DeepCopy ¶
func (in *PackageBundleStatus) DeepCopy() *PackageBundleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBundleStatus.
func (*PackageBundleStatus) DeepCopyInto ¶
func (in *PackageBundleStatus) DeepCopyInto(out *PackageBundleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageController ¶
type PackageController struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PackageControllerSpec `json:"spec,omitempty"`
Status PackageControllerStatus `json:"status,omitempty"`
}
PackageController is the Schema for the packagecontrollers API
func (*PackageController) DeepCopy ¶
func (in *PackageController) DeepCopy() *PackageController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageController.
func (*PackageController) DeepCopyInto ¶
func (in *PackageController) DeepCopyInto(out *PackageController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageController) DeepCopyObject ¶
func (in *PackageController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PackageController) ExpectedKind ¶
func (config *PackageController) ExpectedKind() string
func (*PackageController) MetaKind ¶
func (config *PackageController) MetaKind() string
type PackageControllerList ¶
type PackageControllerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PackageController `json:"items"`
}
PackageControllerList contains a list of PackageController
func (*PackageControllerList) DeepCopy ¶
func (in *PackageControllerList) DeepCopy() *PackageControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageControllerList.
func (*PackageControllerList) DeepCopyInto ¶
func (in *PackageControllerList) DeepCopyInto(out *PackageControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageControllerList) DeepCopyObject ¶
func (in *PackageControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageControllerSpec ¶
type PackageControllerSpec struct {
// Optional log level for packages controller
// +optional
LogLevel *int32 `json:"logLevel,omitempty"`
// UpgradeCheckInterval is the time between upgrade checks.
//
// The format is that of time's ParseDuration.
UpgradeCheckInterval metav1.Duration `json:"upgradeCheckInterval,omitempty"`
}
PackageControllerSpec defines the desired state of PackageController
func (*PackageControllerSpec) DeepCopy ¶
func (in *PackageControllerSpec) DeepCopy() *PackageControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageControllerSpec.
func (*PackageControllerSpec) DeepCopyInto ¶
func (in *PackageControllerSpec) DeepCopyInto(out *PackageControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageControllerStatus ¶
type PackageControllerStatus struct {
}
PackageControllerStatus defines the observed state of PackageController
func (*PackageControllerStatus) DeepCopy ¶
func (in *PackageControllerStatus) DeepCopy() *PackageControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageControllerStatus.
func (*PackageControllerStatus) DeepCopyInto ¶
func (in *PackageControllerStatus) DeepCopyInto(out *PackageControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageList ¶
type PackageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Package `json:"items"`
}
+kubebuilder:object:root=true PackageList contains a list of Package
func (*PackageList) DeepCopy ¶
func (in *PackageList) DeepCopy() *PackageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageList.
func (*PackageList) DeepCopyInto ¶
func (in *PackageList) DeepCopyInto(out *PackageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PackageList) DeepCopyObject ¶
func (in *PackageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageOCISource ¶
type PackageOCISource struct {
Version string `json:"version"`
Registry string `json:"registry"`
Repository string `json:"repository"`
Digest string `json:"digest"`
}
func (PackageOCISource) AsRepoURI ¶
func (s PackageOCISource) AsRepoURI() string
func (*PackageOCISource) DeepCopy ¶
func (in *PackageOCISource) DeepCopy() *PackageOCISource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageOCISource.
func (*PackageOCISource) DeepCopyInto ¶
func (in *PackageOCISource) DeepCopyInto(out *PackageOCISource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageSpec ¶
type PackageSpec struct {
// PackageName is the name of the package as specified in the bundle.
PackageName string `json:"packageName"`
// PackageVersion is a human-friendly version name or sha256 checksum for the
// package, as specified in the bundle.
PackageVersion string `json:"packageVersion,omitempty"`
// Config for the package
Config string `json:"config,omitempty"`
// TargetNamespace where package resources will be deployed.
TargetNamespace string `json:"targetNamespace,omitempty"`
}
PackageSpec defines the desired state of an package.
func (*PackageSpec) DeepCopy ¶
func (in *PackageSpec) DeepCopy() *PackageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSpec.
func (*PackageSpec) DeepCopyInto ¶
func (in *PackageSpec) DeepCopyInto(out *PackageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageStatus ¶
type PackageStatus struct {
// +kubebuilder:validation:Required
// Source associated with the installation
Source PackageOCISource `json:"source"`
// +kubebuilder:validation:Required
// Version currently installed
CurrentVersion string `json:"currentVersion"`
// +kubebuilder:validation:Required
// Version to be installed
TargetVersion string `json:"targetVersion,omitempty"`
// State of the installation
State StateEnum `json:"state,omitempty"`
// Detail of the state
Detail string `json:"detail,omitempty"`
// UpgradesAvailable indicates upgraded versions in the bundle.
UpgradesAvailable []PackageAvailableUpgrade `json:"upgradesAvailable,omitempty"`
}
PackageStatus defines the observed state of Package
func (*PackageStatus) DeepCopy ¶
func (in *PackageStatus) DeepCopy() *PackageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStatus.
func (*PackageStatus) DeepCopyInto ¶
func (in *PackageStatus) DeepCopyInto(out *PackageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceVersion ¶
type SourceVersion struct {
// +kubebuilder:validation:Required
// Name is a human-friendly description of the version, e.g. "v1.0".
Name string `json:"name"`
// +kubebuilder:validation:Required
// Digest is a checksum value identifying the version of the package and its contents.
Digest string `json:"digest"`
// Images is a list of images used by this version of the package
Images []VersionImages `json:"images,omitempty"`
// Configurations is a list of configurations used by this version of the package. The configurations are used for configuration validation and to generate sample configurations for users.
Configurations []VersionConfiguration `json:"configurations,omitempty"`
}
SourceVersion describes a version of a package within a repository.
func (*SourceVersion) DeepCopy ¶
func (in *SourceVersion) DeepCopy() *SourceVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceVersion.
func (*SourceVersion) DeepCopyInto ¶
func (in *SourceVersion) DeepCopyInto(out *SourceVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SourceVersion) Key ¶
func (v SourceVersion) Key() string
type StateEnum ¶
type StateEnum string
+kubebuilder:validation:Enum=initializing;installing;installed;updating;uninstalling;unknown
type VersionConfiguration ¶ added in v0.1.3
type VersionConfiguration struct {
// +kubebuilder:validation:Required
// Name is the name of the configuration
Name string `json:"name"`
// Required configuration parameter the user must specify
Required bool `json:"required"`
}
VersionConfiguration is a configuration used by a version of a package.
func (*VersionConfiguration) DeepCopy ¶ added in v0.1.3
func (in *VersionConfiguration) DeepCopy() *VersionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionConfiguration.
func (*VersionConfiguration) DeepCopyInto ¶ added in v0.1.3
func (in *VersionConfiguration) DeepCopyInto(out *VersionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionImages ¶ added in v0.1.3
type VersionImages struct {
// +kubebuilder:validation:Required
// Repository is source in the registry for the image
Repository string `json:"repository"`
// +kubebuilder:validation:Required
// Digest is a checksum value identifying the version of the package and its contents.
Digest string `json:"digest"`
}
VersionImages is an image used by a version of a package.
func (*VersionImages) DeepCopy ¶ added in v0.1.3
func (in *VersionImages) DeepCopy() *VersionImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionImages.
func (*VersionImages) DeepCopyInto ¶ added in v0.1.3
func (in *VersionImages) DeepCopyInto(out *VersionImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.