manifests

package
v1.11.0 Latest Latest
Warning

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

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

Documentation

Overview

+k8s:conversion-gen=package-operator.run/apis/manifests/v1alpha1

+kubebuilder:object:generate=true

Index

Constants

View Source
const (
	PackagePhaseAnnotation          = manifestsv1alpha1.PackagePhaseAnnotation
	PackageConditionMapAnnotation   = manifestsv1alpha1.PackageConditionMapAnnotation
	PackageExternalObjectAnnotation = manifestsv1alpha1.PackageExternalObjectAnnotation
	PackageCELConditionAnnotation   = manifestsv1alpha1.PackageCELConditionAnnotation
)
View Source
const (
	PackageLabel                 = manifestsv1alpha1.PackageLabel
	PackageSourceImageAnnotation = manifestsv1alpha1.PackageSourceImageAnnotation
	PackageConfigAnnotation      = manifestsv1alpha1.PackageConfigAnnotation
	PackageInstanceLabel         = manifestsv1alpha1.PackageInstanceLabel
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "manifests.package-operator.run", Version: runtime.APIVersionInternal}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Convert_manifests_PackageEnvironmentHyperShiftHostedCluster_To_v1alpha1_PackageEnvironmentHyperShiftHostedCluster added in v1.9.4

func Convert_manifests_PackageEnvironmentHyperShiftHostedCluster_To_v1alpha1_PackageEnvironmentHyperShiftHostedCluster(in *PackageEnvironmentHyperShiftHostedCluster, out *v1alpha1.PackageEnvironmentHyperShiftHostedCluster, s conversion.Scope) error

Convert_manifests_PackageEnvironmentHyperShiftHostedCluster_To_v1alpha1_PackageEnvironmentHyperShiftHostedCluster is an autogenerated conversion function.

func Convert_manifests_PackageEnvironmentHyperShift_To_v1alpha1_PackageEnvironmentHyperShift added in v1.9.4

func Convert_manifests_PackageEnvironmentHyperShift_To_v1alpha1_PackageEnvironmentHyperShift(in *PackageEnvironmentHyperShift, out *v1alpha1.PackageEnvironmentHyperShift, s conversion.Scope) error

Convert_manifests_PackageEnvironmentHyperShift_To_v1alpha1_PackageEnvironmentHyperShift is an autogenerated conversion function.

func Convert_manifests_PackageEnvironmentKubernetes_To_v1alpha1_PackageEnvironmentKubernetes

func Convert_manifests_PackageEnvironmentKubernetes_To_v1alpha1_PackageEnvironmentKubernetes(in *PackageEnvironmentKubernetes, out *v1alpha1.PackageEnvironmentKubernetes, s conversion.Scope) error

Convert_manifests_PackageEnvironmentKubernetes_To_v1alpha1_PackageEnvironmentKubernetes is an autogenerated conversion function.

func Convert_manifests_PackageEnvironmentOpenShift_To_v1alpha1_PackageEnvironmentOpenShift

func Convert_manifests_PackageEnvironmentOpenShift_To_v1alpha1_PackageEnvironmentOpenShift(in *PackageEnvironmentOpenShift, out *v1alpha1.PackageEnvironmentOpenShift, s conversion.Scope) error

Convert_manifests_PackageEnvironmentOpenShift_To_v1alpha1_PackageEnvironmentOpenShift is an autogenerated conversion function.

func Convert_manifests_PackageEnvironmentProxy_To_v1alpha1_PackageEnvironmentProxy

func Convert_manifests_PackageEnvironmentProxy_To_v1alpha1_PackageEnvironmentProxy(in *PackageEnvironmentProxy, out *v1alpha1.PackageEnvironmentProxy, s conversion.Scope) error

Convert_manifests_PackageEnvironmentProxy_To_v1alpha1_PackageEnvironmentProxy is an autogenerated conversion function.

func Convert_manifests_PackageEnvironment_To_v1alpha1_PackageEnvironment

func Convert_manifests_PackageEnvironment_To_v1alpha1_PackageEnvironment(in *PackageEnvironment, out *v1alpha1.PackageEnvironment, s conversion.Scope) error

Convert_manifests_PackageEnvironment_To_v1alpha1_PackageEnvironment is an autogenerated conversion function.

func Convert_manifests_PackageManifestComponentsConfig_To_v1alpha1_PackageManifestComponentsConfig

func Convert_manifests_PackageManifestComponentsConfig_To_v1alpha1_PackageManifestComponentsConfig(in *PackageManifestComponentsConfig, out *v1alpha1.PackageManifestComponentsConfig, s conversion.Scope) error

Convert_manifests_PackageManifestComponentsConfig_To_v1alpha1_PackageManifestComponentsConfig is an autogenerated conversion function.

func Convert_manifests_PackageManifestConditionalFiltering_To_v1alpha1_PackageManifestConditionalFiltering added in v1.11.0

func Convert_manifests_PackageManifestConditionalFiltering_To_v1alpha1_PackageManifestConditionalFiltering(in *PackageManifestConditionalFiltering, out *v1alpha1.PackageManifestConditionalFiltering, s conversion.Scope) error

Convert_manifests_PackageManifestConditionalFiltering_To_v1alpha1_PackageManifestConditionalFiltering is an autogenerated conversion function.

func Convert_manifests_PackageManifestConditionalPath_To_v1alpha1_PackageManifestConditionalPath added in v1.11.0

func Convert_manifests_PackageManifestConditionalPath_To_v1alpha1_PackageManifestConditionalPath(in *PackageManifestConditionalPath, out *v1alpha1.PackageManifestConditionalPath, s conversion.Scope) error

Convert_manifests_PackageManifestConditionalPath_To_v1alpha1_PackageManifestConditionalPath is an autogenerated conversion function.

func Convert_manifests_PackageManifestImage_To_v1alpha1_PackageManifestImage

func Convert_manifests_PackageManifestImage_To_v1alpha1_PackageManifestImage(in *PackageManifestImage, out *v1alpha1.PackageManifestImage, s conversion.Scope) error

Convert_manifests_PackageManifestImage_To_v1alpha1_PackageManifestImage is an autogenerated conversion function.

func Convert_manifests_PackageManifestLockImage_To_v1alpha1_PackageManifestLockImage

func Convert_manifests_PackageManifestLockImage_To_v1alpha1_PackageManifestLockImage(in *PackageManifestLockImage, out *v1alpha1.PackageManifestLockImage, s conversion.Scope) error

Convert_manifests_PackageManifestLockImage_To_v1alpha1_PackageManifestLockImage is an autogenerated conversion function.

func Convert_manifests_PackageManifestLockSpec_To_v1alpha1_PackageManifestLockSpec

func Convert_manifests_PackageManifestLockSpec_To_v1alpha1_PackageManifestLockSpec(in *PackageManifestLockSpec, out *v1alpha1.PackageManifestLockSpec, s conversion.Scope) error

Convert_manifests_PackageManifestLockSpec_To_v1alpha1_PackageManifestLockSpec is an autogenerated conversion function.

func Convert_manifests_PackageManifestLock_To_v1alpha1_PackageManifestLock

func Convert_manifests_PackageManifestLock_To_v1alpha1_PackageManifestLock(in *PackageManifestLock, out *v1alpha1.PackageManifestLock, s conversion.Scope) error

Convert_manifests_PackageManifestLock_To_v1alpha1_PackageManifestLock is an autogenerated conversion function.

func Convert_manifests_PackageManifestNamedCondition_To_v1alpha1_PackageManifestNamedCondition added in v1.11.0

func Convert_manifests_PackageManifestNamedCondition_To_v1alpha1_PackageManifestNamedCondition(in *PackageManifestNamedCondition, out *v1alpha1.PackageManifestNamedCondition, s conversion.Scope) error

Convert_manifests_PackageManifestNamedCondition_To_v1alpha1_PackageManifestNamedCondition is an autogenerated conversion function.

func Convert_manifests_PackageManifestPhase_To_v1alpha1_PackageManifestPhase

func Convert_manifests_PackageManifestPhase_To_v1alpha1_PackageManifestPhase(in *PackageManifestPhase, out *v1alpha1.PackageManifestPhase, s conversion.Scope) error

Convert_manifests_PackageManifestPhase_To_v1alpha1_PackageManifestPhase is an autogenerated conversion function.

func Convert_manifests_PackageManifestSpecConfig_To_v1alpha1_PackageManifestSpecConfig

func Convert_manifests_PackageManifestSpecConfig_To_v1alpha1_PackageManifestSpecConfig(in *PackageManifestSpecConfig, out *v1alpha1.PackageManifestSpecConfig, s conversion.Scope) error

Convert_manifests_PackageManifestSpecConfig_To_v1alpha1_PackageManifestSpecConfig is an autogenerated conversion function.

func Convert_manifests_PackageManifestSpec_To_v1alpha1_PackageManifestSpec

func Convert_manifests_PackageManifestSpec_To_v1alpha1_PackageManifestSpec(in *PackageManifestSpec, out *v1alpha1.PackageManifestSpec, s conversion.Scope) error

Convert_manifests_PackageManifestSpec_To_v1alpha1_PackageManifestSpec is an autogenerated conversion function.

func Convert_manifests_PackageManifestTestCaseTemplate_To_v1alpha1_PackageManifestTestCaseTemplate

func Convert_manifests_PackageManifestTestCaseTemplate_To_v1alpha1_PackageManifestTestCaseTemplate(in *PackageManifestTestCaseTemplate, out *v1alpha1.PackageManifestTestCaseTemplate, s conversion.Scope) error

Convert_manifests_PackageManifestTestCaseTemplate_To_v1alpha1_PackageManifestTestCaseTemplate is an autogenerated conversion function.

func Convert_manifests_PackageManifestTestKubeconform_To_v1alpha1_PackageManifestTestKubeconform

func Convert_manifests_PackageManifestTestKubeconform_To_v1alpha1_PackageManifestTestKubeconform(in *PackageManifestTestKubeconform, out *v1alpha1.PackageManifestTestKubeconform, s conversion.Scope) error

Convert_manifests_PackageManifestTestKubeconform_To_v1alpha1_PackageManifestTestKubeconform is an autogenerated conversion function.

func Convert_manifests_PackageManifestTest_To_v1alpha1_PackageManifestTest

func Convert_manifests_PackageManifestTest_To_v1alpha1_PackageManifestTest(in *PackageManifestTest, out *v1alpha1.PackageManifestTest, s conversion.Scope) error

Convert_manifests_PackageManifestTest_To_v1alpha1_PackageManifestTest is an autogenerated conversion function.

func Convert_manifests_PackageManifest_To_v1alpha1_PackageManifest

func Convert_manifests_PackageManifest_To_v1alpha1_PackageManifest(in *PackageManifest, out *v1alpha1.PackageManifest, s conversion.Scope) error

Convert_manifests_PackageManifest_To_v1alpha1_PackageManifest is an autogenerated conversion function.

func Convert_manifests_TemplateContextObjectMeta_To_v1alpha1_TemplateContextObjectMeta

func Convert_manifests_TemplateContextObjectMeta_To_v1alpha1_TemplateContextObjectMeta(in *TemplateContextObjectMeta, out *v1alpha1.TemplateContextObjectMeta, s conversion.Scope) error

Convert_manifests_TemplateContextObjectMeta_To_v1alpha1_TemplateContextObjectMeta is an autogenerated conversion function.

func Convert_manifests_TemplateContextPackage_To_v1alpha1_TemplateContextPackage

func Convert_manifests_TemplateContextPackage_To_v1alpha1_TemplateContextPackage(in *TemplateContextPackage, out *v1alpha1.TemplateContextPackage, s conversion.Scope) error

Convert_manifests_TemplateContextPackage_To_v1alpha1_TemplateContextPackage is an autogenerated conversion function.

func Convert_manifests_TemplateContext_To_v1alpha1_TemplateContext

func Convert_manifests_TemplateContext_To_v1alpha1_TemplateContext(in *TemplateContext, out *v1alpha1.TemplateContext, s conversion.Scope) error

Convert_manifests_TemplateContext_To_v1alpha1_TemplateContext is an autogenerated conversion function.

func Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps added in v1.9.4

func Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(in *apiextensionsv1.JSONSchemaProps, out *apiextensions.JSONSchemaProps, s conversion.Scope) error

Convert_v1_JSONSchemaProps_To_apiextensions_JSONSchemaProps is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironmentHyperShiftHostedCluster_To_manifests_PackageEnvironmentHyperShiftHostedCluster added in v1.9.4

func Convert_v1alpha1_PackageEnvironmentHyperShiftHostedCluster_To_manifests_PackageEnvironmentHyperShiftHostedCluster(in *v1alpha1.PackageEnvironmentHyperShiftHostedCluster, out *PackageEnvironmentHyperShiftHostedCluster, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironmentHyperShiftHostedCluster_To_manifests_PackageEnvironmentHyperShiftHostedCluster is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironmentHyperShift_To_manifests_PackageEnvironmentHyperShift added in v1.9.4

func Convert_v1alpha1_PackageEnvironmentHyperShift_To_manifests_PackageEnvironmentHyperShift(in *v1alpha1.PackageEnvironmentHyperShift, out *PackageEnvironmentHyperShift, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironmentHyperShift_To_manifests_PackageEnvironmentHyperShift is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironmentKubernetes_To_manifests_PackageEnvironmentKubernetes

func Convert_v1alpha1_PackageEnvironmentKubernetes_To_manifests_PackageEnvironmentKubernetes(in *v1alpha1.PackageEnvironmentKubernetes, out *PackageEnvironmentKubernetes, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironmentKubernetes_To_manifests_PackageEnvironmentKubernetes is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironmentOpenShift_To_manifests_PackageEnvironmentOpenShift

func Convert_v1alpha1_PackageEnvironmentOpenShift_To_manifests_PackageEnvironmentOpenShift(in *v1alpha1.PackageEnvironmentOpenShift, out *PackageEnvironmentOpenShift, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironmentOpenShift_To_manifests_PackageEnvironmentOpenShift is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironmentProxy_To_manifests_PackageEnvironmentProxy

func Convert_v1alpha1_PackageEnvironmentProxy_To_manifests_PackageEnvironmentProxy(in *v1alpha1.PackageEnvironmentProxy, out *PackageEnvironmentProxy, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironmentProxy_To_manifests_PackageEnvironmentProxy is an autogenerated conversion function.

func Convert_v1alpha1_PackageEnvironment_To_manifests_PackageEnvironment

func Convert_v1alpha1_PackageEnvironment_To_manifests_PackageEnvironment(in *v1alpha1.PackageEnvironment, out *PackageEnvironment, s conversion.Scope) error

Convert_v1alpha1_PackageEnvironment_To_manifests_PackageEnvironment is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestComponentsConfig_To_manifests_PackageManifestComponentsConfig

func Convert_v1alpha1_PackageManifestComponentsConfig_To_manifests_PackageManifestComponentsConfig(in *v1alpha1.PackageManifestComponentsConfig, out *PackageManifestComponentsConfig, s conversion.Scope) error

Convert_v1alpha1_PackageManifestComponentsConfig_To_manifests_PackageManifestComponentsConfig is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestConditionalFiltering_To_manifests_PackageManifestConditionalFiltering added in v1.11.0

func Convert_v1alpha1_PackageManifestConditionalFiltering_To_manifests_PackageManifestConditionalFiltering(in *v1alpha1.PackageManifestConditionalFiltering, out *PackageManifestConditionalFiltering, s conversion.Scope) error

Convert_v1alpha1_PackageManifestConditionalFiltering_To_manifests_PackageManifestConditionalFiltering is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestConditionalPath_To_manifests_PackageManifestConditionalPath added in v1.11.0

func Convert_v1alpha1_PackageManifestConditionalPath_To_manifests_PackageManifestConditionalPath(in *v1alpha1.PackageManifestConditionalPath, out *PackageManifestConditionalPath, s conversion.Scope) error

Convert_v1alpha1_PackageManifestConditionalPath_To_manifests_PackageManifestConditionalPath is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestImage_To_manifests_PackageManifestImage

func Convert_v1alpha1_PackageManifestImage_To_manifests_PackageManifestImage(in *v1alpha1.PackageManifestImage, out *PackageManifestImage, s conversion.Scope) error

Convert_v1alpha1_PackageManifestImage_To_manifests_PackageManifestImage is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestLockImage_To_manifests_PackageManifestLockImage

func Convert_v1alpha1_PackageManifestLockImage_To_manifests_PackageManifestLockImage(in *v1alpha1.PackageManifestLockImage, out *PackageManifestLockImage, s conversion.Scope) error

Convert_v1alpha1_PackageManifestLockImage_To_manifests_PackageManifestLockImage is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestLockSpec_To_manifests_PackageManifestLockSpec

func Convert_v1alpha1_PackageManifestLockSpec_To_manifests_PackageManifestLockSpec(in *v1alpha1.PackageManifestLockSpec, out *PackageManifestLockSpec, s conversion.Scope) error

Convert_v1alpha1_PackageManifestLockSpec_To_manifests_PackageManifestLockSpec is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestLock_To_manifests_PackageManifestLock

func Convert_v1alpha1_PackageManifestLock_To_manifests_PackageManifestLock(in *v1alpha1.PackageManifestLock, out *PackageManifestLock, s conversion.Scope) error

Convert_v1alpha1_PackageManifestLock_To_manifests_PackageManifestLock is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestNamedCondition_To_manifests_PackageManifestNamedCondition added in v1.11.0

func Convert_v1alpha1_PackageManifestNamedCondition_To_manifests_PackageManifestNamedCondition(in *v1alpha1.PackageManifestNamedCondition, out *PackageManifestNamedCondition, s conversion.Scope) error

Convert_v1alpha1_PackageManifestNamedCondition_To_manifests_PackageManifestNamedCondition is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestPhase_To_manifests_PackageManifestPhase

func Convert_v1alpha1_PackageManifestPhase_To_manifests_PackageManifestPhase(in *v1alpha1.PackageManifestPhase, out *PackageManifestPhase, s conversion.Scope) error

Convert_v1alpha1_PackageManifestPhase_To_manifests_PackageManifestPhase is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestSpecConfig_To_manifests_PackageManifestSpecConfig

func Convert_v1alpha1_PackageManifestSpecConfig_To_manifests_PackageManifestSpecConfig(in *v1alpha1.PackageManifestSpecConfig, out *PackageManifestSpecConfig, s conversion.Scope) error

Convert_v1alpha1_PackageManifestSpecConfig_To_manifests_PackageManifestSpecConfig is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestSpec_To_manifests_PackageManifestSpec

func Convert_v1alpha1_PackageManifestSpec_To_manifests_PackageManifestSpec(in *v1alpha1.PackageManifestSpec, out *PackageManifestSpec, s conversion.Scope) error

Convert_v1alpha1_PackageManifestSpec_To_manifests_PackageManifestSpec is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestTestCaseTemplate_To_manifests_PackageManifestTestCaseTemplate

func Convert_v1alpha1_PackageManifestTestCaseTemplate_To_manifests_PackageManifestTestCaseTemplate(in *v1alpha1.PackageManifestTestCaseTemplate, out *PackageManifestTestCaseTemplate, s conversion.Scope) error

Convert_v1alpha1_PackageManifestTestCaseTemplate_To_manifests_PackageManifestTestCaseTemplate is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestTestKubeconform_To_manifests_PackageManifestTestKubeconform

func Convert_v1alpha1_PackageManifestTestKubeconform_To_manifests_PackageManifestTestKubeconform(in *v1alpha1.PackageManifestTestKubeconform, out *PackageManifestTestKubeconform, s conversion.Scope) error

Convert_v1alpha1_PackageManifestTestKubeconform_To_manifests_PackageManifestTestKubeconform is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifestTest_To_manifests_PackageManifestTest

func Convert_v1alpha1_PackageManifestTest_To_manifests_PackageManifestTest(in *v1alpha1.PackageManifestTest, out *PackageManifestTest, s conversion.Scope) error

Convert_v1alpha1_PackageManifestTest_To_manifests_PackageManifestTest is an autogenerated conversion function.

func Convert_v1alpha1_PackageManifest_To_manifests_PackageManifest

func Convert_v1alpha1_PackageManifest_To_manifests_PackageManifest(in *v1alpha1.PackageManifest, out *PackageManifest, s conversion.Scope) error

Convert_v1alpha1_PackageManifest_To_manifests_PackageManifest is an autogenerated conversion function.

func Convert_v1alpha1_TemplateContextObjectMeta_To_manifests_TemplateContextObjectMeta

func Convert_v1alpha1_TemplateContextObjectMeta_To_manifests_TemplateContextObjectMeta(in *v1alpha1.TemplateContextObjectMeta, out *TemplateContextObjectMeta, s conversion.Scope) error

Convert_v1alpha1_TemplateContextObjectMeta_To_manifests_TemplateContextObjectMeta is an autogenerated conversion function.

func Convert_v1alpha1_TemplateContextPackage_To_manifests_TemplateContextPackage

func Convert_v1alpha1_TemplateContextPackage_To_manifests_TemplateContextPackage(in *v1alpha1.TemplateContextPackage, out *TemplateContextPackage, s conversion.Scope) error

Convert_v1alpha1_TemplateContextPackage_To_manifests_TemplateContextPackage is an autogenerated conversion function.

func Convert_v1alpha1_TemplateContext_To_manifests_TemplateContext

func Convert_v1alpha1_TemplateContext_To_manifests_TemplateContext(in *v1alpha1.TemplateContext, out *TemplateContext, s conversion.Scope) error

Convert_v1alpha1_TemplateContext_To_manifests_TemplateContext is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type PackageEnvironment

type PackageEnvironment struct {
	// Kubernetes environment information. This section is always set.
	Kubernetes PackageEnvironmentKubernetes `json:"kubernetes"`
	// OpenShift environment information. This section is only set when OpenShift is detected.
	OpenShift *PackageEnvironmentOpenShift `json:"openShift,omitempty"`
	// Proxy configuration. Only available on OpenShift when the cluster-wide Proxy is enabled.
	// https://docs.openshift.com/container-platform/latest/networking/enable-cluster-wide-proxy.html
	Proxy *PackageEnvironmentProxy `json:"proxy,omitempty"`
	// HyperShift specific information. Only available when installed alongside HyperShift.
	// https://github.com/openshift/hypershift
	HyperShift *PackageEnvironmentHyperShift `json:"hyperShift,omitempty"`
}

PackageEnvironment information.

func (*PackageEnvironment) DeepCopy

func (in *PackageEnvironment) DeepCopy() *PackageEnvironment

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

func (*PackageEnvironment) DeepCopyInto

func (in *PackageEnvironment) DeepCopyInto(out *PackageEnvironment)

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

type PackageEnvironmentHyperShift added in v1.9.4

type PackageEnvironmentHyperShift struct {
	// Contains HyperShift HostedCluster specific information.
	// This information is only available when installed alongside HyperShift within a HostedCluster Namespace.
	// https://github.com/openshift/hypershift
	HostedCluster *PackageEnvironmentHyperShiftHostedCluster `json:"hostedCluster"`
}

PackageEnvironmentHyperShift contains HyperShift specific information. Only available when installed alongside HyperShift. https://github.com/openshift/hypershift

func (*PackageEnvironmentHyperShift) DeepCopy added in v1.9.4

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

func (*PackageEnvironmentHyperShift) DeepCopyInto added in v1.9.4

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

type PackageEnvironmentHyperShiftHostedCluster added in v1.9.4

type PackageEnvironmentHyperShiftHostedCluster struct {
	TemplateContextObjectMeta `json:"metadata"`
	HostedClusterNamespace    string `json:"hostedClusterNamespace"`
}

PackageEnvironmentHyperShiftHostedCluster contains HyperShift HostedCluster specific information. This information is only available when installed alongside HyperShift within a HostedCluster Namespace. https://github.com/openshift/hypershift

func (*PackageEnvironmentHyperShiftHostedCluster) DeepCopy added in v1.9.4

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

func (*PackageEnvironmentHyperShiftHostedCluster) DeepCopyInto added in v1.9.4

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

type PackageEnvironmentKubernetes

type PackageEnvironmentKubernetes struct {
	// Kubernetes server version.
	Version string `json:"version"`
}

func (*PackageEnvironmentKubernetes) DeepCopy

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

func (*PackageEnvironmentKubernetes) DeepCopyInto

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

type PackageEnvironmentOpenShift

type PackageEnvironmentOpenShift struct {
	// OpenShift server version.
	Version string `json:"version"`
}

func (*PackageEnvironmentOpenShift) DeepCopy

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

func (*PackageEnvironmentOpenShift) DeepCopyInto

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

type PackageEnvironmentProxy

type PackageEnvironmentProxy struct {
	// HTTP_PROXY
	HTTPProxy string `json:"httpProxy,omitempty"`
	// HTTPS_PROXY
	HTTPSProxy string `json:"httpsProxy,omitempty"`
	// NO_PROXY
	NoProxy string `json:"noProxy,omitempty"`
}

Environment proxy settings. On OpenShift, this config is taken from the cluster Proxy object. https://docs.openshift.com/container-platform/4.13/networking/enable-cluster-wide-proxy.html

func (*PackageEnvironmentProxy) DeepCopy

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

func (*PackageEnvironmentProxy) DeepCopyInto

func (in *PackageEnvironmentProxy) DeepCopyInto(out *PackageEnvironmentProxy)

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

type PackageManifest

type PackageManifest struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Spec PackageManifestSpec
	Test PackageManifestTest
}

+kubebuilder:object:root=true

func (*PackageManifest) DeepCopy

func (in *PackageManifest) DeepCopy() *PackageManifest

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

func (*PackageManifest) DeepCopyInto

func (in *PackageManifest) DeepCopyInto(out *PackageManifest)

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

func (*PackageManifest) DeepCopyObject

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

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

type PackageManifestComponentsConfig

type PackageManifestComponentsConfig struct{}

func (*PackageManifestComponentsConfig) DeepCopy

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

func (*PackageManifestComponentsConfig) DeepCopyInto

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

type PackageManifestConditionalFiltering added in v1.11.0

type PackageManifestConditionalFiltering struct {
	// Reusable CEL expressions. Can be used in 'package-operator.run/condition' annotations.
	// They are evaluated once per package.
	// +optional
	NamedConditions []PackageManifestNamedCondition
	// Adds CEL conditions to file system paths matching a glob pattern.
	// If a single condition matching a file system object's path evaluates to false,
	// the object is ignored.
	ConditionalPaths []PackageManifestConditionalPath
}

PackageManifestConditionalFiltering is used to conditionally render objects based on CEL expressions.

func (*PackageManifestConditionalFiltering) DeepCopy added in v1.11.0

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

func (*PackageManifestConditionalFiltering) DeepCopyInto added in v1.11.0

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

type PackageManifestConditionalPath added in v1.11.0

type PackageManifestConditionalPath struct {
	// A file system path glob pattern.
	// Syntax: https://pkg.go.dev/github.com/bmatcuk/doublestar@v1.3.4#Match
	Glob string
	// A CEL expression with a boolean output type.
	// Has access to the full template context and named conditions.
	Expression string
}

PackageManifestConditionalPath is used to conditionally render package objects based on their path.

func (*PackageManifestConditionalPath) DeepCopy added in v1.11.0

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

func (*PackageManifestConditionalPath) DeepCopyInto added in v1.11.0

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

type PackageManifestImage

type PackageManifestImage struct {
	// Image name to be use to reference it in the templates
	Name string
	// Image identifier (REPOSITORY[:TAG])
	Image string
}

PackageManifestImage specifies an image tag to be resolved.

func (*PackageManifestImage) DeepCopy

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

func (*PackageManifestImage) DeepCopyInto

func (in *PackageManifestImage) DeepCopyInto(out *PackageManifestImage)

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

type PackageManifestLock

type PackageManifestLock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec PackageManifestLockSpec `json:"spec,omitempty"`
}

+kubebuilder:object:root=true

func (*PackageManifestLock) DeepCopy

func (in *PackageManifestLock) DeepCopy() *PackageManifestLock

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

func (*PackageManifestLock) DeepCopyInto

func (in *PackageManifestLock) DeepCopyInto(out *PackageManifestLock)

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

func (*PackageManifestLock) DeepCopyObject

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

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

type PackageManifestLockImage

type PackageManifestLockImage struct {
	// Image name to be use to reference it in the templates
	Name string `json:"name"`
	// Image identifier (REPOSITORY[:TAG])
	Image string `json:"image"`
	// Image digest
	Digest string `json:"digest"`
}

PackageManifestLockImage contains information about a resolved image.

func (*PackageManifestLockImage) DeepCopy

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

func (*PackageManifestLockImage) DeepCopyInto

func (in *PackageManifestLockImage) DeepCopyInto(out *PackageManifestLockImage)

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

type PackageManifestLockSpec

type PackageManifestLockSpec struct {
	// List of resolved images
	Images []PackageManifestLockImage `json:"images"`
}

func (*PackageManifestLockSpec) DeepCopy

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

func (*PackageManifestLockSpec) DeepCopyInto

func (in *PackageManifestLockSpec) DeepCopyInto(out *PackageManifestLockSpec)

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

type PackageManifestNamedCondition added in v1.11.0

type PackageManifestNamedCondition struct {
	// A unique name. Must match the CEL identifier pattern: [_a-zA-Z][_a-zA-Z0-9]*
	Name string
	// A CEL expression with a boolean output type.
	// Has access to the full template context.
	Expression string
}

PackageManifestNamedCondition is a reusable named CEL expression. It is injected as a variable into the CEL evaluation environment, and its value is set to the result of Expression ("true"/"false").

func (*PackageManifestNamedCondition) DeepCopy added in v1.11.0

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

func (*PackageManifestNamedCondition) DeepCopyInto added in v1.11.0

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

type PackageManifestPhase

type PackageManifestPhase struct {
	// Name of the reconcile phase. Must be unique within a PackageManifest
	Name string
	// If non empty, phase reconciliation is delegated to another controller.
	// If set to the string "default" the built-in controller reconciling the object.
	// If set to any other string, an out-of-tree controller needs to be present to handle ObjectSetPhase objects.
	Class string
}

func (*PackageManifestPhase) DeepCopy

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

func (*PackageManifestPhase) DeepCopyInto

func (in *PackageManifestPhase) DeepCopyInto(out *PackageManifestPhase)

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

type PackageManifestScope

type PackageManifestScope string

PackageManifestScope declares the available scopes to install this package in.

const (
	// Cluster scope allows the package to be installed for the whole cluster.
	// The package needs to default installation namespaces and create them.
	PackageManifestScopeCluster PackageManifestScope = "Cluster"
	// Namespace scope allows the package to be installed for specific namespaces.
	PackageManifestScopeNamespaced PackageManifestScope = "Namespaced"
)

type PackageManifestSpec

type PackageManifestSpec struct {
	// Scopes declare the available installation scopes for the package.
	// Either Cluster, Namespaced, or both.
	Scopes []PackageManifestScope
	// Phases correspond to the references to the phases which are going to
	// be the part of the ObjectDeployment/ClusterObjectDeployment.
	Phases []PackageManifestPhase
	// Availability Probes check objects that are part of the package.
	// All probes need to succeed for a package to be considered Available.
	// Failing probes will prevent the reconciliation of objects in later phases.
	// +optional
	AvailabilityProbes []corev1alpha1.ObjectSetProbe
	// Configuration specification.
	Config PackageManifestSpecConfig
	// List of images to be resolved
	Images []PackageManifestImage
	// Configuration for multi-component packages. If this field is not set it
	// is assumed that the containing package is a single-component package.
	// +optional
	Components *PackageManifestComponentsConfig
	// Used to conditionally render objects based on CEL expressions.
	// +optional
	ConditionalFiltering PackageManifestConditionalFiltering
}

PackageManifestSpec represents the spec of the packagemanifest containing the details about phases and availability probes.

func (*PackageManifestSpec) DeepCopy

func (in *PackageManifestSpec) DeepCopy() *PackageManifestSpec

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

func (*PackageManifestSpec) DeepCopyInto

func (in *PackageManifestSpec) DeepCopyInto(out *PackageManifestSpec)

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

type PackageManifestSpecConfig

type PackageManifestSpecConfig struct {
	// OpenAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.
	OpenAPIV3Schema *apiextensions.JSONSchemaProps
}

func (*PackageManifestSpecConfig) DeepCopy

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

func (*PackageManifestSpecConfig) DeepCopyInto

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

type PackageManifestTest

type PackageManifestTest struct {
	// Template testing configuration.
	Template    []PackageManifestTestCaseTemplate
	Kubeconform *PackageManifestTestKubeconform
}

PackageManifestTest configures test cases.

func (*PackageManifestTest) DeepCopy

func (in *PackageManifestTest) DeepCopy() *PackageManifestTest

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

func (*PackageManifestTest) DeepCopyInto

func (in *PackageManifestTest) DeepCopyInto(out *PackageManifestTest)

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

type PackageManifestTestCaseTemplate

type PackageManifestTestCaseTemplate struct {
	// Name describing the test case.
	Name string
	// Template data to use in the test case.
	Context TemplateContext
}

PackageManifestTestCaseTemplate template testing configuration.

func (*PackageManifestTestCaseTemplate) DeepCopy

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

func (*PackageManifestTestCaseTemplate) DeepCopyInto

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

type PackageManifestTestKubeconform

type PackageManifestTestKubeconform struct {
	// Kubernetes version to use schemas from.
	KubernetesVersion string
	// OpenAPI schema locations for kubeconform
	// defaults to:
	//nolint:lll
	// - https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}{{ .KindSuffix }}.json
	// - https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json
	SchemaLocations []string
}

func (*PackageManifestTestKubeconform) DeepCopy

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

func (*PackageManifestTestKubeconform) DeepCopyInto

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

type TemplateContext

type TemplateContext struct {
	// Package object.
	Package TemplateContextPackage `json:"package"`
	// Configuration as presented via the (Cluster)Package API after admission.
	Config *runtime.RawExtension `json:"config,omitempty"`
	// Environment specific information.
	Environment PackageEnvironment `json:"environment"`
}

TemplateContext is available within the package templating process.

func (*TemplateContext) DeepCopy

func (in *TemplateContext) DeepCopy() *TemplateContext

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

func (*TemplateContext) DeepCopyInto

func (in *TemplateContext) DeepCopyInto(out *TemplateContext)

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

type TemplateContextObjectMeta

type TemplateContextObjectMeta struct {
	Name        string            `json:"name"`
	Namespace   string            `json:"namespace"`
	Labels      map[string]string `json:"labels"`
	Annotations map[string]string `json:"annotations"`
}

TemplateContextObjectMeta represents a simplified version of metav1.ObjectMeta for use in templates.

func (*TemplateContextObjectMeta) DeepCopy

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

func (*TemplateContextObjectMeta) DeepCopyInto

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

type TemplateContextPackage

type TemplateContextPackage struct {
	TemplateContextObjectMeta `json:"metadata"`
	// Image as presented via the (Cluster)Package API after admission.
	Image string `json:"image"`
}

TemplateContextPackage represents the (Cluster)Package object requesting this package content.

func (*TemplateContextPackage) DeepCopy

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

func (*TemplateContextPackage) DeepCopyInto

func (in *TemplateContextPackage) DeepCopyInto(out *TemplateContextPackage)

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

Jump to

Keyboard shortcuts

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