Documentation
¶
Overview ¶
Package v1alpha1 contains resources types for version v1alpha1 of the operators.coreos.com API group.
Index ¶
- Constants
- Variables
- func Convert_operators_APIResourceReference_To_v1alpha1_APIResourceReference(in *operators.APIResourceReference, out *APIResourceReference, ...) error
- func Convert_operators_APIServiceDefinitions_To_v1alpha1_APIServiceDefinitions(in *operators.APIServiceDefinitions, out *APIServiceDefinitions, ...) error
- func Convert_operators_APIServiceDescription_To_v1alpha1_APIServiceDescription(in *operators.APIServiceDescription, out *APIServiceDescription, ...) error
- func Convert_operators_ActionDescriptor_To_v1alpha1_ActionDescriptor(in *operators.ActionDescriptor, out *ActionDescriptor, s conversion.Scope) error
- func Convert_operators_AppLink_To_v1alpha1_AppLink(in *operators.AppLink, out *AppLink, s conversion.Scope) error
- func Convert_operators_BundleLookupCondition_To_v1alpha1_BundleLookupCondition(in *operators.BundleLookupCondition, out *BundleLookupCondition, ...) error
- func Convert_operators_BundleLookup_To_v1alpha1_BundleLookup(in *operators.BundleLookup, out *BundleLookup, s conversion.Scope) error
- func Convert_operators_CRDDescription_To_v1alpha1_CRDDescription(in *operators.CRDDescription, out *CRDDescription, s conversion.Scope) error
- func Convert_operators_CatalogSourceList_To_v1alpha1_CatalogSourceList(in *operators.CatalogSourceList, out *CatalogSourceList, s conversion.Scope) error
- func Convert_operators_CatalogSourceSpec_To_v1alpha1_CatalogSourceSpec(in *operators.CatalogSourceSpec, out *CatalogSourceSpec, s conversion.Scope) error
- func Convert_operators_CatalogSourceStatus_To_v1alpha1_CatalogSourceStatus(in *operators.CatalogSourceStatus, out *CatalogSourceStatus, ...) error
- func Convert_operators_CatalogSource_To_v1alpha1_CatalogSource(in *operators.CatalogSource, out *CatalogSource, s conversion.Scope) error
- func Convert_operators_ClusterServiceVersionCondition_To_v1alpha1_ClusterServiceVersionCondition(in *operators.ClusterServiceVersionCondition, ...) error
- func Convert_operators_ClusterServiceVersionList_To_v1alpha1_ClusterServiceVersionList(in *operators.ClusterServiceVersionList, out *ClusterServiceVersionList, ...) error
- func Convert_operators_ClusterServiceVersionSpec_To_v1alpha1_ClusterServiceVersionSpec(in *operators.ClusterServiceVersionSpec, out *ClusterServiceVersionSpec, ...) error
- func Convert_operators_ClusterServiceVersionStatus_To_v1alpha1_ClusterServiceVersionStatus(in *operators.ClusterServiceVersionStatus, out *ClusterServiceVersionStatus, ...) error
- func Convert_operators_ClusterServiceVersion_To_v1alpha1_ClusterServiceVersion(in *operators.ClusterServiceVersion, out *ClusterServiceVersion, ...) error
- func Convert_operators_ConfigMapResourceReference_To_v1alpha1_ConfigMapResourceReference(in *operators.ConfigMapResourceReference, out *ConfigMapResourceReference, ...) error
- func Convert_operators_CustomResourceDefinitions_To_v1alpha1_CustomResourceDefinitions(in *operators.CustomResourceDefinitions, out *CustomResourceDefinitions, ...) error
- func Convert_operators_DependentStatus_To_v1alpha1_DependentStatus(in *operators.DependentStatus, out *DependentStatus, s conversion.Scope) error
- func Convert_operators_GRPCConnectionState_To_v1alpha1_GRPCConnectionState(in *operators.GRPCConnectionState, out *GRPCConnectionState, ...) error
- func Convert_operators_Icon_To_v1alpha1_Icon(in *operators.Icon, out *Icon, s conversion.Scope) error
- func Convert_operators_InstallMode_To_v1alpha1_InstallMode(in *operators.InstallMode, out *InstallMode, s conversion.Scope) error
- func Convert_operators_InstallPlanCondition_To_v1alpha1_InstallPlanCondition(in *operators.InstallPlanCondition, out *InstallPlanCondition, ...) error
- func Convert_operators_InstallPlanList_To_v1alpha1_InstallPlanList(in *operators.InstallPlanList, out *InstallPlanList, s conversion.Scope) error
- func Convert_operators_InstallPlanReference_To_v1alpha1_InstallPlanReference(in *operators.InstallPlanReference, out *InstallPlanReference, ...) error
- func Convert_operators_InstallPlanSpec_To_v1alpha1_InstallPlanSpec(in *operators.InstallPlanSpec, out *InstallPlanSpec, s conversion.Scope) error
- func Convert_operators_InstallPlanStatus_To_v1alpha1_InstallPlanStatus(in *operators.InstallPlanStatus, out *InstallPlanStatus, s conversion.Scope) error
- func Convert_operators_InstallPlan_To_v1alpha1_InstallPlan(in *operators.InstallPlan, out *InstallPlan, s conversion.Scope) error
- func Convert_operators_Maintainer_To_v1alpha1_Maintainer(in *operators.Maintainer, out *Maintainer, s conversion.Scope) error
- func Convert_operators_NamedInstallStrategy_To_v1alpha1_NamedInstallStrategy(in *operators.NamedInstallStrategy, out *NamedInstallStrategy, ...) error
- func Convert_operators_RegistryPoll_To_v1alpha1_RegistryPoll(in *operators.RegistryPoll, out *RegistryPoll, s conversion.Scope) error
- func Convert_operators_RegistryServiceStatus_To_v1alpha1_RegistryServiceStatus(in *operators.RegistryServiceStatus, out *RegistryServiceStatus, ...) error
- func Convert_operators_RequirementStatus_To_v1alpha1_RequirementStatus(in *operators.RequirementStatus, out *RequirementStatus, s conversion.Scope) error
- func Convert_operators_SpecDescriptor_To_v1alpha1_SpecDescriptor(in *operators.SpecDescriptor, out *SpecDescriptor, s conversion.Scope) error
- func Convert_operators_StatusDescriptor_To_v1alpha1_StatusDescriptor(in *operators.StatusDescriptor, out *StatusDescriptor, s conversion.Scope) error
- func Convert_operators_StepResource_To_v1alpha1_StepResource(in *operators.StepResource, out *StepResource, s conversion.Scope) error
- func Convert_operators_Step_To_v1alpha1_Step(in *operators.Step, out *Step, s conversion.Scope) error
- func Convert_operators_StrategyDeploymentPermissions_To_v1alpha1_StrategyDeploymentPermissions(in *operators.StrategyDeploymentPermissions, ...) error
- func Convert_operators_StrategyDeploymentSpec_To_v1alpha1_StrategyDeploymentSpec(in *operators.StrategyDeploymentSpec, out *StrategyDeploymentSpec, ...) error
- func Convert_operators_StrategyDetailsDeployment_To_v1alpha1_StrategyDetailsDeployment(in *operators.StrategyDetailsDeployment, out *StrategyDetailsDeployment, ...) error
- func Convert_operators_SubscriptionCatalogHealth_To_v1alpha1_SubscriptionCatalogHealth(in *operators.SubscriptionCatalogHealth, out *SubscriptionCatalogHealth, ...) error
- func Convert_operators_SubscriptionCondition_To_v1alpha1_SubscriptionCondition(in *operators.SubscriptionCondition, out *SubscriptionCondition, ...) error
- func Convert_operators_SubscriptionConfig_To_v1alpha1_SubscriptionConfig(in *operators.SubscriptionConfig, out *SubscriptionConfig, s conversion.Scope) error
- func Convert_operators_SubscriptionList_To_v1alpha1_SubscriptionList(in *operators.SubscriptionList, out *SubscriptionList, s conversion.Scope) error
- func Convert_operators_SubscriptionSpec_To_v1alpha1_SubscriptionSpec(in *operators.SubscriptionSpec, out *SubscriptionSpec, s conversion.Scope) error
- func Convert_operators_SubscriptionStatus_To_v1alpha1_SubscriptionStatus(in *operators.SubscriptionStatus, out *SubscriptionStatus, s conversion.Scope) error
- func Convert_operators_Subscription_To_v1alpha1_Subscription(in *operators.Subscription, out *Subscription, s conversion.Scope) error
- func Convert_operators_UpdateStrategy_To_v1alpha1_UpdateStrategy(in *operators.UpdateStrategy, out *UpdateStrategy, s conversion.Scope) error
- func Convert_v1alpha1_APIResourceReference_To_operators_APIResourceReference(in *APIResourceReference, out *operators.APIResourceReference, ...) error
- func Convert_v1alpha1_APIServiceDefinitions_To_operators_APIServiceDefinitions(in *APIServiceDefinitions, out *operators.APIServiceDefinitions, ...) error
- func Convert_v1alpha1_APIServiceDescription_To_operators_APIServiceDescription(in *APIServiceDescription, out *operators.APIServiceDescription, ...) error
- func Convert_v1alpha1_ActionDescriptor_To_operators_ActionDescriptor(in *ActionDescriptor, out *operators.ActionDescriptor, s conversion.Scope) error
- func Convert_v1alpha1_AppLink_To_operators_AppLink(in *AppLink, out *operators.AppLink, s conversion.Scope) error
- func Convert_v1alpha1_BundleLookupCondition_To_operators_BundleLookupCondition(in *BundleLookupCondition, out *operators.BundleLookupCondition, ...) error
- func Convert_v1alpha1_BundleLookup_To_operators_BundleLookup(in *BundleLookup, out *operators.BundleLookup, s conversion.Scope) error
- func Convert_v1alpha1_CRDDescription_To_operators_CRDDescription(in *CRDDescription, out *operators.CRDDescription, s conversion.Scope) error
- func Convert_v1alpha1_CatalogSourceList_To_operators_CatalogSourceList(in *CatalogSourceList, out *operators.CatalogSourceList, s conversion.Scope) error
- func Convert_v1alpha1_CatalogSourceSpec_To_operators_CatalogSourceSpec(in *CatalogSourceSpec, out *operators.CatalogSourceSpec, s conversion.Scope) error
- func Convert_v1alpha1_CatalogSourceStatus_To_operators_CatalogSourceStatus(in *CatalogSourceStatus, out *operators.CatalogSourceStatus, ...) error
- func Convert_v1alpha1_CatalogSource_To_operators_CatalogSource(in *CatalogSource, out *operators.CatalogSource, s conversion.Scope) error
- func Convert_v1alpha1_ClusterServiceVersionCondition_To_operators_ClusterServiceVersionCondition(in *ClusterServiceVersionCondition, ...) error
- func Convert_v1alpha1_ClusterServiceVersionList_To_operators_ClusterServiceVersionList(in *ClusterServiceVersionList, out *operators.ClusterServiceVersionList, ...) error
- func Convert_v1alpha1_ClusterServiceVersionSpec_To_operators_ClusterServiceVersionSpec(in *ClusterServiceVersionSpec, out *operators.ClusterServiceVersionSpec, ...) error
- func Convert_v1alpha1_ClusterServiceVersionStatus_To_operators_ClusterServiceVersionStatus(in *ClusterServiceVersionStatus, out *operators.ClusterServiceVersionStatus, ...) error
- func Convert_v1alpha1_ClusterServiceVersion_To_operators_ClusterServiceVersion(in *ClusterServiceVersion, out *operators.ClusterServiceVersion, ...) error
- func Convert_v1alpha1_ConfigMapResourceReference_To_operators_ConfigMapResourceReference(in *ConfigMapResourceReference, out *operators.ConfigMapResourceReference, ...) error
- func Convert_v1alpha1_CustomResourceDefinitions_To_operators_CustomResourceDefinitions(in *CustomResourceDefinitions, out *operators.CustomResourceDefinitions, ...) error
- func Convert_v1alpha1_DependentStatus_To_operators_DependentStatus(in *DependentStatus, out *operators.DependentStatus, s conversion.Scope) error
- func Convert_v1alpha1_GRPCConnectionState_To_operators_GRPCConnectionState(in *GRPCConnectionState, out *operators.GRPCConnectionState, ...) error
- func Convert_v1alpha1_Icon_To_operators_Icon(in *Icon, out *operators.Icon, s conversion.Scope) error
- func Convert_v1alpha1_InstallMode_To_operators_InstallMode(in *InstallMode, out *operators.InstallMode, s conversion.Scope) error
- func Convert_v1alpha1_InstallPlanCondition_To_operators_InstallPlanCondition(in *InstallPlanCondition, out *operators.InstallPlanCondition, ...) error
- func Convert_v1alpha1_InstallPlanList_To_operators_InstallPlanList(in *InstallPlanList, out *operators.InstallPlanList, s conversion.Scope) error
- func Convert_v1alpha1_InstallPlanReference_To_operators_InstallPlanReference(in *InstallPlanReference, out *operators.InstallPlanReference, ...) error
- func Convert_v1alpha1_InstallPlanSpec_To_operators_InstallPlanSpec(in *InstallPlanSpec, out *operators.InstallPlanSpec, s conversion.Scope) error
- func Convert_v1alpha1_InstallPlanStatus_To_operators_InstallPlanStatus(in *InstallPlanStatus, out *operators.InstallPlanStatus, s conversion.Scope) error
- func Convert_v1alpha1_InstallPlan_To_operators_InstallPlan(in *InstallPlan, out *operators.InstallPlan, s conversion.Scope) error
- func Convert_v1alpha1_Maintainer_To_operators_Maintainer(in *Maintainer, out *operators.Maintainer, s conversion.Scope) error
- func Convert_v1alpha1_NamedInstallStrategy_To_operators_NamedInstallStrategy(in *NamedInstallStrategy, out *operators.NamedInstallStrategy, ...) error
- func Convert_v1alpha1_RegistryPoll_To_operators_RegistryPoll(in *RegistryPoll, out *operators.RegistryPoll, s conversion.Scope) error
- func Convert_v1alpha1_RegistryServiceStatus_To_operators_RegistryServiceStatus(in *RegistryServiceStatus, out *operators.RegistryServiceStatus, ...) error
- func Convert_v1alpha1_RequirementStatus_To_operators_RequirementStatus(in *RequirementStatus, out *operators.RequirementStatus, s conversion.Scope) error
- func Convert_v1alpha1_SpecDescriptor_To_operators_SpecDescriptor(in *SpecDescriptor, out *operators.SpecDescriptor, s conversion.Scope) error
- func Convert_v1alpha1_StatusDescriptor_To_operators_StatusDescriptor(in *StatusDescriptor, out *operators.StatusDescriptor, s conversion.Scope) error
- func Convert_v1alpha1_StepResource_To_operators_StepResource(in *StepResource, out *operators.StepResource, s conversion.Scope) error
- func Convert_v1alpha1_Step_To_operators_Step(in *Step, out *operators.Step, s conversion.Scope) error
- func Convert_v1alpha1_StrategyDeploymentPermissions_To_operators_StrategyDeploymentPermissions(in *StrategyDeploymentPermissions, ...) error
- func Convert_v1alpha1_StrategyDeploymentSpec_To_operators_StrategyDeploymentSpec(in *StrategyDeploymentSpec, out *operators.StrategyDeploymentSpec, ...) error
- func Convert_v1alpha1_StrategyDetailsDeployment_To_operators_StrategyDetailsDeployment(in *StrategyDetailsDeployment, out *operators.StrategyDetailsDeployment, ...) error
- func Convert_v1alpha1_SubscriptionCatalogHealth_To_operators_SubscriptionCatalogHealth(in *SubscriptionCatalogHealth, out *operators.SubscriptionCatalogHealth, ...) error
- func Convert_v1alpha1_SubscriptionCondition_To_operators_SubscriptionCondition(in *SubscriptionCondition, out *operators.SubscriptionCondition, ...) error
- func Convert_v1alpha1_SubscriptionConfig_To_operators_SubscriptionConfig(in *SubscriptionConfig, out *operators.SubscriptionConfig, s conversion.Scope) error
- func Convert_v1alpha1_SubscriptionList_To_operators_SubscriptionList(in *SubscriptionList, out *operators.SubscriptionList, s conversion.Scope) error
- func Convert_v1alpha1_SubscriptionSpec_To_operators_SubscriptionSpec(in *SubscriptionSpec, out *operators.SubscriptionSpec, s conversion.Scope) error
- func Convert_v1alpha1_SubscriptionStatus_To_operators_SubscriptionStatus(in *SubscriptionStatus, out *operators.SubscriptionStatus, s conversion.Scope) error
- func Convert_v1alpha1_Subscription_To_operators_Subscription(in *Subscription, out *operators.Subscription, s conversion.Scope) error
- func Convert_v1alpha1_UpdateStrategy_To_operators_UpdateStrategy(in *UpdateStrategy, out *operators.UpdateStrategy, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type APIResourceReference
- type APIServiceDefinitions
- type APIServiceDescription
- type ActionDescriptor
- type AppLink
- type Approval
- type BundleLookup
- func (in *BundleLookup) DeepCopy() *BundleLookup
- func (in *BundleLookup) DeepCopyInto(out *BundleLookup)
- func (b BundleLookup) GetCondition(conditionType BundleLookupConditionType) BundleLookupCondition
- func (b *BundleLookup) RemoveCondition(conditionType BundleLookupConditionType)
- func (b *BundleLookup) SetCondition(cond BundleLookupCondition) BundleLookupCondition
- type BundleLookupCondition
- type BundleLookupConditionType
- type CRDDescription
- type CatalogSource
- func (c *CatalogSource) Address() string
- func (in *CatalogSource) DeepCopy() *CatalogSource
- func (in *CatalogSource) DeepCopyInto(out *CatalogSource)
- func (in *CatalogSource) DeepCopyObject() runtime.Object
- func (c *CatalogSource) Poll() bool
- func (c *CatalogSource) SetError(reason ConditionReason, err error)
- func (c *CatalogSource) SetLastUpdateTime()
- func (c *CatalogSource) Update() bool
- type CatalogSourceList
- type CatalogSourceSpec
- type CatalogSourceStatus
- type ClusterServiceVersion
- func (in *ClusterServiceVersion) DeepCopy() *ClusterServiceVersion
- func (in *ClusterServiceVersion) DeepCopyInto(out *ClusterServiceVersion)
- func (in *ClusterServiceVersion) DeepCopyObject() runtime.Object
- func (csv ClusterServiceVersion) GetAllAPIServiceDescriptions() []APIServiceDescription
- func (csv ClusterServiceVersion) GetAllCRDDescriptions() []CRDDescription
- func (csv ClusterServiceVersion) GetOwnedAPIServiceDescriptions() []APIServiceDescription
- func (csv ClusterServiceVersion) GetRequiredAPIServiceDescriptions() []APIServiceDescription
- func (c *ClusterServiceVersion) IsCopied() bool
- func (c *ClusterServiceVersion) IsObsolete() bool
- func (c *ClusterServiceVersion) IsSafeToUpdateOperatorGroupAnnotations() bool
- func (c *ClusterServiceVersion) IsUncopiable() bool
- func (csv ClusterServiceVersion) OwnsAPIService(name string) bool
- func (csv ClusterServiceVersion) OwnsCRD(name string) bool
- func (c *ClusterServiceVersion) SetPhase(phase ClusterServiceVersionPhase, reason ConditionReason, message string, ...)
- func (c *ClusterServiceVersion) SetPhaseWithEvent(phase ClusterServiceVersionPhase, reason ConditionReason, message string, ...)
- func (c *ClusterServiceVersion) SetPhaseWithEventIfChanged(phase ClusterServiceVersionPhase, reason ConditionReason, message string, ...)
- func (c *ClusterServiceVersion) SetRequirementStatus(statuses []RequirementStatus)
- func (c *ClusterServiceVersion) TrimConditionsIfLimitExceeded()
- type ClusterServiceVersionCondition
- type ClusterServiceVersionList
- type ClusterServiceVersionPhase
- type ClusterServiceVersionSpec
- type ClusterServiceVersionStatus
- type ConditionReason
- type ConfigMapResourceReference
- type CustomResourceDefinitions
- type DependentStatus
- type GRPCConnectionState
- type Icon
- type InstallMode
- type InstallModeSet
- type InstallModeType
- type InstallPlan
- type InstallPlanCondition
- type InstallPlanConditionReason
- type InstallPlanConditionType
- type InstallPlanList
- type InstallPlanPhase
- type InstallPlanReference
- type InstallPlanSpec
- type InstallPlanStatus
- func (in *InstallPlanStatus) DeepCopy() *InstallPlanStatus
- func (in *InstallPlanStatus) DeepCopyInto(out *InstallPlanStatus)
- func (s InstallPlanStatus) GetCondition(conditionType InstallPlanConditionType) InstallPlanCondition
- func (s InstallPlanStatus) NeedsRequeue() bool
- func (s *InstallPlanStatus) SetCondition(cond InstallPlanCondition) InstallPlanCondition
- type Maintainer
- type NamedInstallStrategy
- type RegistryPoll
- type RegistryServiceStatus
- type RequirementStatus
- type SourceType
- type SpecDescriptor
- type StatusDescriptor
- type StatusReason
- type Step
- type StepResource
- type StepStatus
- type StrategyDeploymentPermissions
- type StrategyDeploymentSpec
- type StrategyDetailsDeployment
- type Subscription
- type SubscriptionCatalogHealth
- type SubscriptionCondition
- type SubscriptionConditionType
- type SubscriptionConfig
- type SubscriptionList
- type SubscriptionSpec
- type SubscriptionState
- type SubscriptionStatus
- func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus
- func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)
- func (s SubscriptionStatus) GetCondition(conditionType SubscriptionConditionType) SubscriptionCondition
- func (s *SubscriptionStatus) RemoveConditions(remove ...SubscriptionConditionType)
- func (s *SubscriptionStatus) SetCondition(condition SubscriptionCondition)
- type UpdateStrategy
Constants ¶
const ( CatalogSourceCRDAPIVersion = GroupName + "/" + GroupVersion CatalogSourceKind = "CatalogSource" )
const ( CopiedLabelKey = "olm.copiedFrom" // ConditionsLengthLimit is the maximum length of Status.Conditions of a // given ClusterServiceVersion object. The oldest condition(s) are removed // from the list as it grows over time to keep it at limit. ConditionsLengthLimit = 20 )
const ( ClusterServiceVersionAPIVersion = GroupName + "/" + GroupVersion ClusterServiceVersionKind = "ClusterServiceVersion" OperatorGroupNamespaceAnnotationKey = "olm.operatorNamespace" InstallStrategyNameDeployment = "deployment" )
const ( InstallPlanKind = "InstallPlan" InstallPlanAPIVersion = GroupName + "/" + GroupVersion )
const ( // GroupName is the group name used in this package. GroupName = operators.GroupName // GroupVersion is the group version used in this package. GroupVersion = "v1alpha1" )
const ( SubscriptionKind = "Subscription" SubscriptionCRDAPIVersion = GroupName + "/" + GroupVersion )
const ( SubscriptionStateNone = "" SubscriptionStateFailed = "UpgradeFailed" SubscriptionStateUpgradeAvailable = "UpgradeAvailable" SubscriptionStateUpgradePending = "UpgradePending" SubscriptionStateAtLatest = "AtLatestKnown" )
const ( // NoCatalogSourcesFound is a reason string for Subscriptions with unhealthy CatalogSources due to none being available. NoCatalogSourcesFound = "NoCatalogSourcesFound" // AllCatalogSourcesHealthy is a reason string for Subscriptions that transitioned due to all CatalogSources being healthy. AllCatalogSourcesHealthy = "AllCatalogSourcesHealthy" // CatalogSourcesAdded is a reason string for Subscriptions that transitioned due to CatalogSources being added. CatalogSourcesAdded = "CatalogSourcesAdded" // CatalogSourcesUpdated is a reason string for Subscriptions that transitioned due to CatalogSource being updated. CatalogSourcesUpdated = "CatalogSourcesUpdated" // CatalogSourcesDeleted is a reason string for Subscriptions that transitioned due to CatalogSources being removed. CatalogSourcesDeleted = "CatalogSourcesDeleted" // UnhealthyCatalogSourceFound is a reason string for Subscriptions that transitioned because an unhealthy CatalogSource was found. UnhealthyCatalogSourceFound = "UnhealthyCatalogSourceFound" // ReferencedInstallPlanNotFound is a reason string for Subscriptions that transitioned due to a referenced InstallPlan not being found. ReferencedInstallPlanNotFound = "ReferencedInstallPlanNotFound" // InstallPlanNotYetReconciled is a reason string for Subscriptions that transitioned due to a referenced InstallPlan not being reconciled yet. InstallPlanNotYetReconciled = "InstallPlanNotYetReconciled" // InstallPlanFailed is a reason string for Subscriptions that transitioned due to a referenced InstallPlan failing without setting an explicit failure condition. InstallPlanFailed = "InstallPlanFailed" )
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var ErrInvalidInstallPlan = errors.New("the InstallPlan contains invalid data")
ErrInvalidInstallPlan is the error returned by functions that operate on InstallPlans when the InstallPlan does not contain totally valid data.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_operators_APIResourceReference_To_v1alpha1_APIResourceReference ¶
func Convert_operators_APIResourceReference_To_v1alpha1_APIResourceReference(in *operators.APIResourceReference, out *APIResourceReference, s conversion.Scope) error
Convert_operators_APIResourceReference_To_v1alpha1_APIResourceReference is an autogenerated conversion function.
func Convert_operators_APIServiceDefinitions_To_v1alpha1_APIServiceDefinitions ¶
func Convert_operators_APIServiceDefinitions_To_v1alpha1_APIServiceDefinitions(in *operators.APIServiceDefinitions, out *APIServiceDefinitions, s conversion.Scope) error
Convert_operators_APIServiceDefinitions_To_v1alpha1_APIServiceDefinitions is an autogenerated conversion function.
func Convert_operators_APIServiceDescription_To_v1alpha1_APIServiceDescription ¶
func Convert_operators_APIServiceDescription_To_v1alpha1_APIServiceDescription(in *operators.APIServiceDescription, out *APIServiceDescription, s conversion.Scope) error
Convert_operators_APIServiceDescription_To_v1alpha1_APIServiceDescription is an autogenerated conversion function.
func Convert_operators_ActionDescriptor_To_v1alpha1_ActionDescriptor ¶
func Convert_operators_ActionDescriptor_To_v1alpha1_ActionDescriptor(in *operators.ActionDescriptor, out *ActionDescriptor, s conversion.Scope) error
Convert_operators_ActionDescriptor_To_v1alpha1_ActionDescriptor is an autogenerated conversion function.
func Convert_operators_AppLink_To_v1alpha1_AppLink ¶
func Convert_operators_AppLink_To_v1alpha1_AppLink(in *operators.AppLink, out *AppLink, s conversion.Scope) error
Convert_operators_AppLink_To_v1alpha1_AppLink is an autogenerated conversion function.
func Convert_operators_BundleLookupCondition_To_v1alpha1_BundleLookupCondition ¶
func Convert_operators_BundleLookupCondition_To_v1alpha1_BundleLookupCondition(in *operators.BundleLookupCondition, out *BundleLookupCondition, s conversion.Scope) error
Convert_operators_BundleLookupCondition_To_v1alpha1_BundleLookupCondition is an autogenerated conversion function.
func Convert_operators_BundleLookup_To_v1alpha1_BundleLookup ¶
func Convert_operators_BundleLookup_To_v1alpha1_BundleLookup(in *operators.BundleLookup, out *BundleLookup, s conversion.Scope) error
Convert_operators_BundleLookup_To_v1alpha1_BundleLookup is an autogenerated conversion function.
func Convert_operators_CRDDescription_To_v1alpha1_CRDDescription ¶
func Convert_operators_CRDDescription_To_v1alpha1_CRDDescription(in *operators.CRDDescription, out *CRDDescription, s conversion.Scope) error
Convert_operators_CRDDescription_To_v1alpha1_CRDDescription is an autogenerated conversion function.
func Convert_operators_CatalogSourceList_To_v1alpha1_CatalogSourceList ¶
func Convert_operators_CatalogSourceList_To_v1alpha1_CatalogSourceList(in *operators.CatalogSourceList, out *CatalogSourceList, s conversion.Scope) error
Convert_operators_CatalogSourceList_To_v1alpha1_CatalogSourceList is an autogenerated conversion function.
func Convert_operators_CatalogSourceSpec_To_v1alpha1_CatalogSourceSpec ¶
func Convert_operators_CatalogSourceSpec_To_v1alpha1_CatalogSourceSpec(in *operators.CatalogSourceSpec, out *CatalogSourceSpec, s conversion.Scope) error
Convert_operators_CatalogSourceSpec_To_v1alpha1_CatalogSourceSpec is an autogenerated conversion function.
func Convert_operators_CatalogSourceStatus_To_v1alpha1_CatalogSourceStatus ¶
func Convert_operators_CatalogSourceStatus_To_v1alpha1_CatalogSourceStatus(in *operators.CatalogSourceStatus, out *CatalogSourceStatus, s conversion.Scope) error
Convert_operators_CatalogSourceStatus_To_v1alpha1_CatalogSourceStatus is an autogenerated conversion function.
func Convert_operators_CatalogSource_To_v1alpha1_CatalogSource ¶
func Convert_operators_CatalogSource_To_v1alpha1_CatalogSource(in *operators.CatalogSource, out *CatalogSource, s conversion.Scope) error
Convert_operators_CatalogSource_To_v1alpha1_CatalogSource is an autogenerated conversion function.
func Convert_operators_ClusterServiceVersionCondition_To_v1alpha1_ClusterServiceVersionCondition ¶
func Convert_operators_ClusterServiceVersionCondition_To_v1alpha1_ClusterServiceVersionCondition(in *operators.ClusterServiceVersionCondition, out *ClusterServiceVersionCondition, s conversion.Scope) error
Convert_operators_ClusterServiceVersionCondition_To_v1alpha1_ClusterServiceVersionCondition is an autogenerated conversion function.
func Convert_operators_ClusterServiceVersionList_To_v1alpha1_ClusterServiceVersionList ¶
func Convert_operators_ClusterServiceVersionList_To_v1alpha1_ClusterServiceVersionList(in *operators.ClusterServiceVersionList, out *ClusterServiceVersionList, s conversion.Scope) error
Convert_operators_ClusterServiceVersionList_To_v1alpha1_ClusterServiceVersionList is an autogenerated conversion function.
func Convert_operators_ClusterServiceVersionSpec_To_v1alpha1_ClusterServiceVersionSpec ¶
func Convert_operators_ClusterServiceVersionSpec_To_v1alpha1_ClusterServiceVersionSpec(in *operators.ClusterServiceVersionSpec, out *ClusterServiceVersionSpec, s conversion.Scope) error
Convert_operators_ClusterServiceVersionSpec_To_v1alpha1_ClusterServiceVersionSpec is an autogenerated conversion function.
func Convert_operators_ClusterServiceVersionStatus_To_v1alpha1_ClusterServiceVersionStatus ¶
func Convert_operators_ClusterServiceVersionStatus_To_v1alpha1_ClusterServiceVersionStatus(in *operators.ClusterServiceVersionStatus, out *ClusterServiceVersionStatus, s conversion.Scope) error
Convert_operators_ClusterServiceVersionStatus_To_v1alpha1_ClusterServiceVersionStatus is an autogenerated conversion function.
func Convert_operators_ClusterServiceVersion_To_v1alpha1_ClusterServiceVersion ¶
func Convert_operators_ClusterServiceVersion_To_v1alpha1_ClusterServiceVersion(in *operators.ClusterServiceVersion, out *ClusterServiceVersion, s conversion.Scope) error
Convert_operators_ClusterServiceVersion_To_v1alpha1_ClusterServiceVersion is an autogenerated conversion function.
func Convert_operators_ConfigMapResourceReference_To_v1alpha1_ConfigMapResourceReference ¶
func Convert_operators_ConfigMapResourceReference_To_v1alpha1_ConfigMapResourceReference(in *operators.ConfigMapResourceReference, out *ConfigMapResourceReference, s conversion.Scope) error
Convert_operators_ConfigMapResourceReference_To_v1alpha1_ConfigMapResourceReference is an autogenerated conversion function.
func Convert_operators_CustomResourceDefinitions_To_v1alpha1_CustomResourceDefinitions ¶
func Convert_operators_CustomResourceDefinitions_To_v1alpha1_CustomResourceDefinitions(in *operators.CustomResourceDefinitions, out *CustomResourceDefinitions, s conversion.Scope) error
Convert_operators_CustomResourceDefinitions_To_v1alpha1_CustomResourceDefinitions is an autogenerated conversion function.
func Convert_operators_DependentStatus_To_v1alpha1_DependentStatus ¶
func Convert_operators_DependentStatus_To_v1alpha1_DependentStatus(in *operators.DependentStatus, out *DependentStatus, s conversion.Scope) error
Convert_operators_DependentStatus_To_v1alpha1_DependentStatus is an autogenerated conversion function.
func Convert_operators_GRPCConnectionState_To_v1alpha1_GRPCConnectionState ¶
func Convert_operators_GRPCConnectionState_To_v1alpha1_GRPCConnectionState(in *operators.GRPCConnectionState, out *GRPCConnectionState, s conversion.Scope) error
Convert_operators_GRPCConnectionState_To_v1alpha1_GRPCConnectionState is an autogenerated conversion function.
func Convert_operators_Icon_To_v1alpha1_Icon ¶
func Convert_operators_Icon_To_v1alpha1_Icon(in *operators.Icon, out *Icon, s conversion.Scope) error
Convert_operators_Icon_To_v1alpha1_Icon is an autogenerated conversion function.
func Convert_operators_InstallMode_To_v1alpha1_InstallMode ¶
func Convert_operators_InstallMode_To_v1alpha1_InstallMode(in *operators.InstallMode, out *InstallMode, s conversion.Scope) error
Convert_operators_InstallMode_To_v1alpha1_InstallMode is an autogenerated conversion function.
func Convert_operators_InstallPlanCondition_To_v1alpha1_InstallPlanCondition ¶
func Convert_operators_InstallPlanCondition_To_v1alpha1_InstallPlanCondition(in *operators.InstallPlanCondition, out *InstallPlanCondition, s conversion.Scope) error
Convert_operators_InstallPlanCondition_To_v1alpha1_InstallPlanCondition is an autogenerated conversion function.
func Convert_operators_InstallPlanList_To_v1alpha1_InstallPlanList ¶
func Convert_operators_InstallPlanList_To_v1alpha1_InstallPlanList(in *operators.InstallPlanList, out *InstallPlanList, s conversion.Scope) error
Convert_operators_InstallPlanList_To_v1alpha1_InstallPlanList is an autogenerated conversion function.
func Convert_operators_InstallPlanReference_To_v1alpha1_InstallPlanReference ¶
func Convert_operators_InstallPlanReference_To_v1alpha1_InstallPlanReference(in *operators.InstallPlanReference, out *InstallPlanReference, s conversion.Scope) error
Convert_operators_InstallPlanReference_To_v1alpha1_InstallPlanReference is an autogenerated conversion function.
func Convert_operators_InstallPlanSpec_To_v1alpha1_InstallPlanSpec ¶
func Convert_operators_InstallPlanSpec_To_v1alpha1_InstallPlanSpec(in *operators.InstallPlanSpec, out *InstallPlanSpec, s conversion.Scope) error
Convert_operators_InstallPlanSpec_To_v1alpha1_InstallPlanSpec is an autogenerated conversion function.
func Convert_operators_InstallPlanStatus_To_v1alpha1_InstallPlanStatus ¶
func Convert_operators_InstallPlanStatus_To_v1alpha1_InstallPlanStatus(in *operators.InstallPlanStatus, out *InstallPlanStatus, s conversion.Scope) error
Convert_operators_InstallPlanStatus_To_v1alpha1_InstallPlanStatus is an autogenerated conversion function.
func Convert_operators_InstallPlan_To_v1alpha1_InstallPlan ¶
func Convert_operators_InstallPlan_To_v1alpha1_InstallPlan(in *operators.InstallPlan, out *InstallPlan, s conversion.Scope) error
Convert_operators_InstallPlan_To_v1alpha1_InstallPlan is an autogenerated conversion function.
func Convert_operators_Maintainer_To_v1alpha1_Maintainer ¶
func Convert_operators_Maintainer_To_v1alpha1_Maintainer(in *operators.Maintainer, out *Maintainer, s conversion.Scope) error
Convert_operators_Maintainer_To_v1alpha1_Maintainer is an autogenerated conversion function.
func Convert_operators_NamedInstallStrategy_To_v1alpha1_NamedInstallStrategy ¶
func Convert_operators_NamedInstallStrategy_To_v1alpha1_NamedInstallStrategy(in *operators.NamedInstallStrategy, out *NamedInstallStrategy, s conversion.Scope) error
Convert_operators_NamedInstallStrategy_To_v1alpha1_NamedInstallStrategy is an autogenerated conversion function.
func Convert_operators_RegistryPoll_To_v1alpha1_RegistryPoll ¶
func Convert_operators_RegistryPoll_To_v1alpha1_RegistryPoll(in *operators.RegistryPoll, out *RegistryPoll, s conversion.Scope) error
Convert_operators_RegistryPoll_To_v1alpha1_RegistryPoll is an autogenerated conversion function.
func Convert_operators_RegistryServiceStatus_To_v1alpha1_RegistryServiceStatus ¶
func Convert_operators_RegistryServiceStatus_To_v1alpha1_RegistryServiceStatus(in *operators.RegistryServiceStatus, out *RegistryServiceStatus, s conversion.Scope) error
Convert_operators_RegistryServiceStatus_To_v1alpha1_RegistryServiceStatus is an autogenerated conversion function.
func Convert_operators_RequirementStatus_To_v1alpha1_RequirementStatus ¶
func Convert_operators_RequirementStatus_To_v1alpha1_RequirementStatus(in *operators.RequirementStatus, out *RequirementStatus, s conversion.Scope) error
Convert_operators_RequirementStatus_To_v1alpha1_RequirementStatus is an autogenerated conversion function.
func Convert_operators_SpecDescriptor_To_v1alpha1_SpecDescriptor ¶
func Convert_operators_SpecDescriptor_To_v1alpha1_SpecDescriptor(in *operators.SpecDescriptor, out *SpecDescriptor, s conversion.Scope) error
Convert_operators_SpecDescriptor_To_v1alpha1_SpecDescriptor is an autogenerated conversion function.
func Convert_operators_StatusDescriptor_To_v1alpha1_StatusDescriptor ¶
func Convert_operators_StatusDescriptor_To_v1alpha1_StatusDescriptor(in *operators.StatusDescriptor, out *StatusDescriptor, s conversion.Scope) error
Convert_operators_StatusDescriptor_To_v1alpha1_StatusDescriptor is an autogenerated conversion function.
func Convert_operators_StepResource_To_v1alpha1_StepResource ¶
func Convert_operators_StepResource_To_v1alpha1_StepResource(in *operators.StepResource, out *StepResource, s conversion.Scope) error
Convert_operators_StepResource_To_v1alpha1_StepResource is an autogenerated conversion function.
func Convert_operators_Step_To_v1alpha1_Step ¶
func Convert_operators_Step_To_v1alpha1_Step(in *operators.Step, out *Step, s conversion.Scope) error
Convert_operators_Step_To_v1alpha1_Step is an autogenerated conversion function.
func Convert_operators_StrategyDeploymentPermissions_To_v1alpha1_StrategyDeploymentPermissions ¶
func Convert_operators_StrategyDeploymentPermissions_To_v1alpha1_StrategyDeploymentPermissions(in *operators.StrategyDeploymentPermissions, out *StrategyDeploymentPermissions, s conversion.Scope) error
Convert_operators_StrategyDeploymentPermissions_To_v1alpha1_StrategyDeploymentPermissions is an autogenerated conversion function.
func Convert_operators_StrategyDeploymentSpec_To_v1alpha1_StrategyDeploymentSpec ¶
func Convert_operators_StrategyDeploymentSpec_To_v1alpha1_StrategyDeploymentSpec(in *operators.StrategyDeploymentSpec, out *StrategyDeploymentSpec, s conversion.Scope) error
Convert_operators_StrategyDeploymentSpec_To_v1alpha1_StrategyDeploymentSpec is an autogenerated conversion function.
func Convert_operators_StrategyDetailsDeployment_To_v1alpha1_StrategyDetailsDeployment ¶
func Convert_operators_StrategyDetailsDeployment_To_v1alpha1_StrategyDetailsDeployment(in *operators.StrategyDetailsDeployment, out *StrategyDetailsDeployment, s conversion.Scope) error
Convert_operators_StrategyDetailsDeployment_To_v1alpha1_StrategyDetailsDeployment is an autogenerated conversion function.
func Convert_operators_SubscriptionCatalogHealth_To_v1alpha1_SubscriptionCatalogHealth ¶
func Convert_operators_SubscriptionCatalogHealth_To_v1alpha1_SubscriptionCatalogHealth(in *operators.SubscriptionCatalogHealth, out *SubscriptionCatalogHealth, s conversion.Scope) error
Convert_operators_SubscriptionCatalogHealth_To_v1alpha1_SubscriptionCatalogHealth is an autogenerated conversion function.
func Convert_operators_SubscriptionCondition_To_v1alpha1_SubscriptionCondition ¶
func Convert_operators_SubscriptionCondition_To_v1alpha1_SubscriptionCondition(in *operators.SubscriptionCondition, out *SubscriptionCondition, s conversion.Scope) error
Convert_operators_SubscriptionCondition_To_v1alpha1_SubscriptionCondition is an autogenerated conversion function.
func Convert_operators_SubscriptionConfig_To_v1alpha1_SubscriptionConfig ¶
func Convert_operators_SubscriptionConfig_To_v1alpha1_SubscriptionConfig(in *operators.SubscriptionConfig, out *SubscriptionConfig, s conversion.Scope) error
Convert_operators_SubscriptionConfig_To_v1alpha1_SubscriptionConfig is an autogenerated conversion function.
func Convert_operators_SubscriptionList_To_v1alpha1_SubscriptionList ¶
func Convert_operators_SubscriptionList_To_v1alpha1_SubscriptionList(in *operators.SubscriptionList, out *SubscriptionList, s conversion.Scope) error
Convert_operators_SubscriptionList_To_v1alpha1_SubscriptionList is an autogenerated conversion function.
func Convert_operators_SubscriptionSpec_To_v1alpha1_SubscriptionSpec ¶
func Convert_operators_SubscriptionSpec_To_v1alpha1_SubscriptionSpec(in *operators.SubscriptionSpec, out *SubscriptionSpec, s conversion.Scope) error
Convert_operators_SubscriptionSpec_To_v1alpha1_SubscriptionSpec is an autogenerated conversion function.
func Convert_operators_SubscriptionStatus_To_v1alpha1_SubscriptionStatus ¶
func Convert_operators_SubscriptionStatus_To_v1alpha1_SubscriptionStatus(in *operators.SubscriptionStatus, out *SubscriptionStatus, s conversion.Scope) error
Convert_operators_SubscriptionStatus_To_v1alpha1_SubscriptionStatus is an autogenerated conversion function.
func Convert_operators_Subscription_To_v1alpha1_Subscription ¶
func Convert_operators_Subscription_To_v1alpha1_Subscription(in *operators.Subscription, out *Subscription, s conversion.Scope) error
Convert_operators_Subscription_To_v1alpha1_Subscription is an autogenerated conversion function.
func Convert_operators_UpdateStrategy_To_v1alpha1_UpdateStrategy ¶
func Convert_operators_UpdateStrategy_To_v1alpha1_UpdateStrategy(in *operators.UpdateStrategy, out *UpdateStrategy, s conversion.Scope) error
Convert_operators_UpdateStrategy_To_v1alpha1_UpdateStrategy is an autogenerated conversion function.
func Convert_v1alpha1_APIResourceReference_To_operators_APIResourceReference ¶
func Convert_v1alpha1_APIResourceReference_To_operators_APIResourceReference(in *APIResourceReference, out *operators.APIResourceReference, s conversion.Scope) error
Convert_v1alpha1_APIResourceReference_To_operators_APIResourceReference is an autogenerated conversion function.
func Convert_v1alpha1_APIServiceDefinitions_To_operators_APIServiceDefinitions ¶
func Convert_v1alpha1_APIServiceDefinitions_To_operators_APIServiceDefinitions(in *APIServiceDefinitions, out *operators.APIServiceDefinitions, s conversion.Scope) error
Convert_v1alpha1_APIServiceDefinitions_To_operators_APIServiceDefinitions is an autogenerated conversion function.
func Convert_v1alpha1_APIServiceDescription_To_operators_APIServiceDescription ¶
func Convert_v1alpha1_APIServiceDescription_To_operators_APIServiceDescription(in *APIServiceDescription, out *operators.APIServiceDescription, s conversion.Scope) error
Convert_v1alpha1_APIServiceDescription_To_operators_APIServiceDescription is an autogenerated conversion function.
func Convert_v1alpha1_ActionDescriptor_To_operators_ActionDescriptor ¶
func Convert_v1alpha1_ActionDescriptor_To_operators_ActionDescriptor(in *ActionDescriptor, out *operators.ActionDescriptor, s conversion.Scope) error
Convert_v1alpha1_ActionDescriptor_To_operators_ActionDescriptor is an autogenerated conversion function.
func Convert_v1alpha1_AppLink_To_operators_AppLink ¶
func Convert_v1alpha1_AppLink_To_operators_AppLink(in *AppLink, out *operators.AppLink, s conversion.Scope) error
Convert_v1alpha1_AppLink_To_operators_AppLink is an autogenerated conversion function.
func Convert_v1alpha1_BundleLookupCondition_To_operators_BundleLookupCondition ¶
func Convert_v1alpha1_BundleLookupCondition_To_operators_BundleLookupCondition(in *BundleLookupCondition, out *operators.BundleLookupCondition, s conversion.Scope) error
Convert_v1alpha1_BundleLookupCondition_To_operators_BundleLookupCondition is an autogenerated conversion function.
func Convert_v1alpha1_BundleLookup_To_operators_BundleLookup ¶
func Convert_v1alpha1_BundleLookup_To_operators_BundleLookup(in *BundleLookup, out *operators.BundleLookup, s conversion.Scope) error
Convert_v1alpha1_BundleLookup_To_operators_BundleLookup is an autogenerated conversion function.
func Convert_v1alpha1_CRDDescription_To_operators_CRDDescription ¶
func Convert_v1alpha1_CRDDescription_To_operators_CRDDescription(in *CRDDescription, out *operators.CRDDescription, s conversion.Scope) error
Convert_v1alpha1_CRDDescription_To_operators_CRDDescription is an autogenerated conversion function.
func Convert_v1alpha1_CatalogSourceList_To_operators_CatalogSourceList ¶
func Convert_v1alpha1_CatalogSourceList_To_operators_CatalogSourceList(in *CatalogSourceList, out *operators.CatalogSourceList, s conversion.Scope) error
Convert_v1alpha1_CatalogSourceList_To_operators_CatalogSourceList is an autogenerated conversion function.
func Convert_v1alpha1_CatalogSourceSpec_To_operators_CatalogSourceSpec ¶
func Convert_v1alpha1_CatalogSourceSpec_To_operators_CatalogSourceSpec(in *CatalogSourceSpec, out *operators.CatalogSourceSpec, s conversion.Scope) error
Convert_v1alpha1_CatalogSourceSpec_To_operators_CatalogSourceSpec is an autogenerated conversion function.
func Convert_v1alpha1_CatalogSourceStatus_To_operators_CatalogSourceStatus ¶
func Convert_v1alpha1_CatalogSourceStatus_To_operators_CatalogSourceStatus(in *CatalogSourceStatus, out *operators.CatalogSourceStatus, s conversion.Scope) error
Convert_v1alpha1_CatalogSourceStatus_To_operators_CatalogSourceStatus is an autogenerated conversion function.
func Convert_v1alpha1_CatalogSource_To_operators_CatalogSource ¶
func Convert_v1alpha1_CatalogSource_To_operators_CatalogSource(in *CatalogSource, out *operators.CatalogSource, s conversion.Scope) error
Convert_v1alpha1_CatalogSource_To_operators_CatalogSource is an autogenerated conversion function.
func Convert_v1alpha1_ClusterServiceVersionCondition_To_operators_ClusterServiceVersionCondition ¶
func Convert_v1alpha1_ClusterServiceVersionCondition_To_operators_ClusterServiceVersionCondition(in *ClusterServiceVersionCondition, out *operators.ClusterServiceVersionCondition, s conversion.Scope) error
Convert_v1alpha1_ClusterServiceVersionCondition_To_operators_ClusterServiceVersionCondition is an autogenerated conversion function.
func Convert_v1alpha1_ClusterServiceVersionList_To_operators_ClusterServiceVersionList ¶
func Convert_v1alpha1_ClusterServiceVersionList_To_operators_ClusterServiceVersionList(in *ClusterServiceVersionList, out *operators.ClusterServiceVersionList, s conversion.Scope) error
Convert_v1alpha1_ClusterServiceVersionList_To_operators_ClusterServiceVersionList is an autogenerated conversion function.
func Convert_v1alpha1_ClusterServiceVersionSpec_To_operators_ClusterServiceVersionSpec ¶
func Convert_v1alpha1_ClusterServiceVersionSpec_To_operators_ClusterServiceVersionSpec(in *ClusterServiceVersionSpec, out *operators.ClusterServiceVersionSpec, s conversion.Scope) error
Convert_v1alpha1_ClusterServiceVersionSpec_To_operators_ClusterServiceVersionSpec is an autogenerated conversion function.
func Convert_v1alpha1_ClusterServiceVersionStatus_To_operators_ClusterServiceVersionStatus ¶
func Convert_v1alpha1_ClusterServiceVersionStatus_To_operators_ClusterServiceVersionStatus(in *ClusterServiceVersionStatus, out *operators.ClusterServiceVersionStatus, s conversion.Scope) error
Convert_v1alpha1_ClusterServiceVersionStatus_To_operators_ClusterServiceVersionStatus is an autogenerated conversion function.
func Convert_v1alpha1_ClusterServiceVersion_To_operators_ClusterServiceVersion ¶
func Convert_v1alpha1_ClusterServiceVersion_To_operators_ClusterServiceVersion(in *ClusterServiceVersion, out *operators.ClusterServiceVersion, s conversion.Scope) error
Convert_v1alpha1_ClusterServiceVersion_To_operators_ClusterServiceVersion is an autogenerated conversion function.
func Convert_v1alpha1_ConfigMapResourceReference_To_operators_ConfigMapResourceReference ¶
func Convert_v1alpha1_ConfigMapResourceReference_To_operators_ConfigMapResourceReference(in *ConfigMapResourceReference, out *operators.ConfigMapResourceReference, s conversion.Scope) error
Convert_v1alpha1_ConfigMapResourceReference_To_operators_ConfigMapResourceReference is an autogenerated conversion function.
func Convert_v1alpha1_CustomResourceDefinitions_To_operators_CustomResourceDefinitions ¶
func Convert_v1alpha1_CustomResourceDefinitions_To_operators_CustomResourceDefinitions(in *CustomResourceDefinitions, out *operators.CustomResourceDefinitions, s conversion.Scope) error
Convert_v1alpha1_CustomResourceDefinitions_To_operators_CustomResourceDefinitions is an autogenerated conversion function.
func Convert_v1alpha1_DependentStatus_To_operators_DependentStatus ¶
func Convert_v1alpha1_DependentStatus_To_operators_DependentStatus(in *DependentStatus, out *operators.DependentStatus, s conversion.Scope) error
Convert_v1alpha1_DependentStatus_To_operators_DependentStatus is an autogenerated conversion function.
func Convert_v1alpha1_GRPCConnectionState_To_operators_GRPCConnectionState ¶
func Convert_v1alpha1_GRPCConnectionState_To_operators_GRPCConnectionState(in *GRPCConnectionState, out *operators.GRPCConnectionState, s conversion.Scope) error
Convert_v1alpha1_GRPCConnectionState_To_operators_GRPCConnectionState is an autogenerated conversion function.
func Convert_v1alpha1_Icon_To_operators_Icon ¶
func Convert_v1alpha1_Icon_To_operators_Icon(in *Icon, out *operators.Icon, s conversion.Scope) error
Convert_v1alpha1_Icon_To_operators_Icon is an autogenerated conversion function.
func Convert_v1alpha1_InstallMode_To_operators_InstallMode ¶
func Convert_v1alpha1_InstallMode_To_operators_InstallMode(in *InstallMode, out *operators.InstallMode, s conversion.Scope) error
Convert_v1alpha1_InstallMode_To_operators_InstallMode is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlanCondition_To_operators_InstallPlanCondition ¶
func Convert_v1alpha1_InstallPlanCondition_To_operators_InstallPlanCondition(in *InstallPlanCondition, out *operators.InstallPlanCondition, s conversion.Scope) error
Convert_v1alpha1_InstallPlanCondition_To_operators_InstallPlanCondition is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlanList_To_operators_InstallPlanList ¶
func Convert_v1alpha1_InstallPlanList_To_operators_InstallPlanList(in *InstallPlanList, out *operators.InstallPlanList, s conversion.Scope) error
Convert_v1alpha1_InstallPlanList_To_operators_InstallPlanList is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlanReference_To_operators_InstallPlanReference ¶
func Convert_v1alpha1_InstallPlanReference_To_operators_InstallPlanReference(in *InstallPlanReference, out *operators.InstallPlanReference, s conversion.Scope) error
Convert_v1alpha1_InstallPlanReference_To_operators_InstallPlanReference is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlanSpec_To_operators_InstallPlanSpec ¶
func Convert_v1alpha1_InstallPlanSpec_To_operators_InstallPlanSpec(in *InstallPlanSpec, out *operators.InstallPlanSpec, s conversion.Scope) error
Convert_v1alpha1_InstallPlanSpec_To_operators_InstallPlanSpec is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlanStatus_To_operators_InstallPlanStatus ¶
func Convert_v1alpha1_InstallPlanStatus_To_operators_InstallPlanStatus(in *InstallPlanStatus, out *operators.InstallPlanStatus, s conversion.Scope) error
Convert_v1alpha1_InstallPlanStatus_To_operators_InstallPlanStatus is an autogenerated conversion function.
func Convert_v1alpha1_InstallPlan_To_operators_InstallPlan ¶
func Convert_v1alpha1_InstallPlan_To_operators_InstallPlan(in *InstallPlan, out *operators.InstallPlan, s conversion.Scope) error
Convert_v1alpha1_InstallPlan_To_operators_InstallPlan is an autogenerated conversion function.
func Convert_v1alpha1_Maintainer_To_operators_Maintainer ¶
func Convert_v1alpha1_Maintainer_To_operators_Maintainer(in *Maintainer, out *operators.Maintainer, s conversion.Scope) error
Convert_v1alpha1_Maintainer_To_operators_Maintainer is an autogenerated conversion function.
func Convert_v1alpha1_NamedInstallStrategy_To_operators_NamedInstallStrategy ¶
func Convert_v1alpha1_NamedInstallStrategy_To_operators_NamedInstallStrategy(in *NamedInstallStrategy, out *operators.NamedInstallStrategy, s conversion.Scope) error
Convert_v1alpha1_NamedInstallStrategy_To_operators_NamedInstallStrategy is an autogenerated conversion function.
func Convert_v1alpha1_RegistryPoll_To_operators_RegistryPoll ¶
func Convert_v1alpha1_RegistryPoll_To_operators_RegistryPoll(in *RegistryPoll, out *operators.RegistryPoll, s conversion.Scope) error
Convert_v1alpha1_RegistryPoll_To_operators_RegistryPoll is an autogenerated conversion function.
func Convert_v1alpha1_RegistryServiceStatus_To_operators_RegistryServiceStatus ¶
func Convert_v1alpha1_RegistryServiceStatus_To_operators_RegistryServiceStatus(in *RegistryServiceStatus, out *operators.RegistryServiceStatus, s conversion.Scope) error
Convert_v1alpha1_RegistryServiceStatus_To_operators_RegistryServiceStatus is an autogenerated conversion function.
func Convert_v1alpha1_RequirementStatus_To_operators_RequirementStatus ¶
func Convert_v1alpha1_RequirementStatus_To_operators_RequirementStatus(in *RequirementStatus, out *operators.RequirementStatus, s conversion.Scope) error
Convert_v1alpha1_RequirementStatus_To_operators_RequirementStatus is an autogenerated conversion function.
func Convert_v1alpha1_SpecDescriptor_To_operators_SpecDescriptor ¶
func Convert_v1alpha1_SpecDescriptor_To_operators_SpecDescriptor(in *SpecDescriptor, out *operators.SpecDescriptor, s conversion.Scope) error
Convert_v1alpha1_SpecDescriptor_To_operators_SpecDescriptor is an autogenerated conversion function.
func Convert_v1alpha1_StatusDescriptor_To_operators_StatusDescriptor ¶
func Convert_v1alpha1_StatusDescriptor_To_operators_StatusDescriptor(in *StatusDescriptor, out *operators.StatusDescriptor, s conversion.Scope) error
Convert_v1alpha1_StatusDescriptor_To_operators_StatusDescriptor is an autogenerated conversion function.
func Convert_v1alpha1_StepResource_To_operators_StepResource ¶
func Convert_v1alpha1_StepResource_To_operators_StepResource(in *StepResource, out *operators.StepResource, s conversion.Scope) error
Convert_v1alpha1_StepResource_To_operators_StepResource is an autogenerated conversion function.
func Convert_v1alpha1_Step_To_operators_Step ¶
func Convert_v1alpha1_Step_To_operators_Step(in *Step, out *operators.Step, s conversion.Scope) error
Convert_v1alpha1_Step_To_operators_Step is an autogenerated conversion function.
func Convert_v1alpha1_StrategyDeploymentPermissions_To_operators_StrategyDeploymentPermissions ¶
func Convert_v1alpha1_StrategyDeploymentPermissions_To_operators_StrategyDeploymentPermissions(in *StrategyDeploymentPermissions, out *operators.StrategyDeploymentPermissions, s conversion.Scope) error
Convert_v1alpha1_StrategyDeploymentPermissions_To_operators_StrategyDeploymentPermissions is an autogenerated conversion function.
func Convert_v1alpha1_StrategyDeploymentSpec_To_operators_StrategyDeploymentSpec ¶
func Convert_v1alpha1_StrategyDeploymentSpec_To_operators_StrategyDeploymentSpec(in *StrategyDeploymentSpec, out *operators.StrategyDeploymentSpec, s conversion.Scope) error
Convert_v1alpha1_StrategyDeploymentSpec_To_operators_StrategyDeploymentSpec is an autogenerated conversion function.
func Convert_v1alpha1_StrategyDetailsDeployment_To_operators_StrategyDetailsDeployment ¶
func Convert_v1alpha1_StrategyDetailsDeployment_To_operators_StrategyDetailsDeployment(in *StrategyDetailsDeployment, out *operators.StrategyDetailsDeployment, s conversion.Scope) error
Convert_v1alpha1_StrategyDetailsDeployment_To_operators_StrategyDetailsDeployment is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionCatalogHealth_To_operators_SubscriptionCatalogHealth ¶
func Convert_v1alpha1_SubscriptionCatalogHealth_To_operators_SubscriptionCatalogHealth(in *SubscriptionCatalogHealth, out *operators.SubscriptionCatalogHealth, s conversion.Scope) error
Convert_v1alpha1_SubscriptionCatalogHealth_To_operators_SubscriptionCatalogHealth is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionCondition_To_operators_SubscriptionCondition ¶
func Convert_v1alpha1_SubscriptionCondition_To_operators_SubscriptionCondition(in *SubscriptionCondition, out *operators.SubscriptionCondition, s conversion.Scope) error
Convert_v1alpha1_SubscriptionCondition_To_operators_SubscriptionCondition is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionConfig_To_operators_SubscriptionConfig ¶
func Convert_v1alpha1_SubscriptionConfig_To_operators_SubscriptionConfig(in *SubscriptionConfig, out *operators.SubscriptionConfig, s conversion.Scope) error
Convert_v1alpha1_SubscriptionConfig_To_operators_SubscriptionConfig is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionList_To_operators_SubscriptionList ¶
func Convert_v1alpha1_SubscriptionList_To_operators_SubscriptionList(in *SubscriptionList, out *operators.SubscriptionList, s conversion.Scope) error
Convert_v1alpha1_SubscriptionList_To_operators_SubscriptionList is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionSpec_To_operators_SubscriptionSpec ¶
func Convert_v1alpha1_SubscriptionSpec_To_operators_SubscriptionSpec(in *SubscriptionSpec, out *operators.SubscriptionSpec, s conversion.Scope) error
Convert_v1alpha1_SubscriptionSpec_To_operators_SubscriptionSpec is an autogenerated conversion function.
func Convert_v1alpha1_SubscriptionStatus_To_operators_SubscriptionStatus ¶
func Convert_v1alpha1_SubscriptionStatus_To_operators_SubscriptionStatus(in *SubscriptionStatus, out *operators.SubscriptionStatus, s conversion.Scope) error
Convert_v1alpha1_SubscriptionStatus_To_operators_SubscriptionStatus is an autogenerated conversion function.
func Convert_v1alpha1_Subscription_To_operators_Subscription ¶
func Convert_v1alpha1_Subscription_To_operators_Subscription(in *Subscription, out *operators.Subscription, s conversion.Scope) error
Convert_v1alpha1_Subscription_To_operators_Subscription is an autogenerated conversion function.
func Convert_v1alpha1_UpdateStrategy_To_operators_UpdateStrategy ¶
func Convert_v1alpha1_UpdateStrategy_To_operators_UpdateStrategy(in *UpdateStrategy, out *operators.UpdateStrategy, s conversion.Scope) error
Convert_v1alpha1_UpdateStrategy_To_operators_UpdateStrategy is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type APIResourceReference ¶
type APIResourceReference struct {
Name string `json:"name"`
Kind string `json:"kind"`
Version string `json:"version"`
}
APIResourceReference is a Kubernetes resource type used by a custom resource +k8s:openapi-gen=true
func (*APIResourceReference) DeepCopy ¶
func (in *APIResourceReference) DeepCopy() *APIResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceReference.
func (*APIResourceReference) DeepCopyInto ¶
func (in *APIResourceReference) DeepCopyInto(out *APIResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIServiceDefinitions ¶
type APIServiceDefinitions struct {
// +listType=set
Owned []APIServiceDescription `json:"owned,omitempty"`
// +listType=set
Required []APIServiceDescription `json:"required,omitempty"`
}
APIServiceDefinitions declares all of the extension apis managed or required by an operator being ran by ClusterServiceVersion. +k8s:openapi-gen=true
func (*APIServiceDefinitions) DeepCopy ¶
func (in *APIServiceDefinitions) DeepCopy() *APIServiceDefinitions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceDefinitions.
func (*APIServiceDefinitions) DeepCopyInto ¶
func (in *APIServiceDefinitions) DeepCopyInto(out *APIServiceDefinitions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIServiceDescription ¶
type APIServiceDescription struct {
Name string `json:"name"`
Group string `json:"group"`
Version string `json:"version"`
Kind string `json:"kind"`
DeploymentName string `json:"deploymentName,omitempty"`
ContainerPort int32 `json:"containerPort,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
// +listType=set
Resources []APIResourceReference `json:"resources,omitempty"`
// +listType=set
StatusDescriptors []StatusDescriptor `json:"statusDescriptors,omitempty"`
// +listType=set
SpecDescriptors []SpecDescriptor `json:"specDescriptors,omitempty"`
// +listType=set
ActionDescriptors []ActionDescriptor `json:"actionDescriptors,omitempty"`
}
APIServiceDescription provides details to OLM about apis provided via aggregation +k8s:openapi-gen=true
func (*APIServiceDescription) DeepCopy ¶
func (in *APIServiceDescription) DeepCopy() *APIServiceDescription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceDescription.
func (*APIServiceDescription) DeepCopyInto ¶
func (in *APIServiceDescription) DeepCopyInto(out *APIServiceDescription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (APIServiceDescription) GetName ¶
func (d APIServiceDescription) GetName() string
GetName returns the name of an APIService as derived from its group and version.
type ActionDescriptor ¶
type ActionDescriptor struct {
Path string `json:"path"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
// +listType=set
XDescriptors []string `json:"x-descriptors,omitempty"`
Value *json.RawMessage `json:"value,omitempty"`
}
ActionDescriptor describes a declarative action that can be performed on a custom resource instance +k8s:openapi-gen=true
func (*ActionDescriptor) DeepCopy ¶
func (in *ActionDescriptor) DeepCopy() *ActionDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionDescriptor.
func (*ActionDescriptor) DeepCopyInto ¶
func (in *ActionDescriptor) DeepCopyInto(out *ActionDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppLink ¶
func (*AppLink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppLink.
func (*AppLink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleLookup ¶
type BundleLookup struct {
// Path refers to the location of a bundle to pull.
// It's typically an image reference.
Path string `json:"path"`
// Replaces is the name of the bundle to replace with the one found at Path.
Replaces string `json:"replaces"`
// CatalogSourceRef is a reference to the CatalogSource the bundle path was resolved from.
CatalogSourceRef *corev1.ObjectReference `json:"catalogSourceRef"`
// Conditions represents the overall state of a BundleLookup.
// +optional
Conditions []BundleLookupCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}
BundleLookup is a request to pull and unpackage the content of a bundle to the cluster.
func (*BundleLookup) DeepCopy ¶
func (in *BundleLookup) DeepCopy() *BundleLookup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleLookup.
func (*BundleLookup) DeepCopyInto ¶
func (in *BundleLookup) DeepCopyInto(out *BundleLookup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BundleLookup) GetCondition ¶
func (b BundleLookup) GetCondition(conditionType BundleLookupConditionType) BundleLookupCondition
GetCondition returns the BundleLookupCondition of the given type if it exists in the BundleLookup's Conditions. Returns a condition of the given type with a ConditionStatus of "Unknown" if not found.
func (*BundleLookup) RemoveCondition ¶
func (b *BundleLookup) RemoveCondition(conditionType BundleLookupConditionType)
RemoveCondition removes the BundleLookupCondition of the given type from the BundleLookup's Conditions if it exists.
func (*BundleLookup) SetCondition ¶
func (b *BundleLookup) SetCondition(cond BundleLookupCondition) BundleLookupCondition
SetCondition replaces the existing BundleLookupCondition of the same type, or adds it if it was not found.
type BundleLookupCondition ¶
type BundleLookupCondition struct {
// Type of condition.
Type BundleLookupConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown.
Status corev1.ConditionStatus `json:"status"`
// The reason for the condition's last transition.
// +optional
Reason string `json:"reason,omitempty"`
// A human readable message indicating details about the transition.
// +optional
Message string `json:"message,omitempty"`
// Last time the condition was probed.
// +optional
LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
// Last time the condition transitioned from one status to another.
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
}
func (*BundleLookupCondition) DeepCopy ¶
func (in *BundleLookupCondition) DeepCopy() *BundleLookupCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleLookupCondition.
func (*BundleLookupCondition) DeepCopyInto ¶
func (in *BundleLookupCondition) DeepCopyInto(out *BundleLookupCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleLookupConditionType ¶
type BundleLookupConditionType string
BundleLookupConditionType is a category of the overall state of a BundleLookup.
const ( // BundleLookupPending describes BundleLookups that are not complete. BundleLookupPending BundleLookupConditionType = "BundleLookupPending" )
type CRDDescription ¶
type CRDDescription struct {
Name string `json:"name"`
Version string `json:"version"`
Kind string `json:"kind"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
// +listType=set
Resources []APIResourceReference `json:"resources,omitempty"`
// +listType=set
StatusDescriptors []StatusDescriptor `json:"statusDescriptors,omitempty"`
// +listType=set
SpecDescriptors []SpecDescriptor `json:"specDescriptors,omitempty"`
// +listType=set
ActionDescriptors []ActionDescriptor `json:"actionDescriptors,omitempty"`
}
CRDDescription provides details to OLM about the CRDs +k8s:openapi-gen=true
func (*CRDDescription) DeepCopy ¶
func (in *CRDDescription) DeepCopy() *CRDDescription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDDescription.
func (*CRDDescription) DeepCopyInto ¶
func (in *CRDDescription) DeepCopyInto(out *CRDDescription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CatalogSource ¶
type CatalogSource struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec CatalogSourceSpec `json:"spec"`
// +optional
Status CatalogSourceStatus `json:"status"`
}
CatalogSource is a repository of CSVs, CRDs, and operator packages.
func (*CatalogSource) Address ¶
func (c *CatalogSource) Address() string
func (*CatalogSource) DeepCopy ¶
func (in *CatalogSource) DeepCopy() *CatalogSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSource.
func (*CatalogSource) DeepCopyInto ¶
func (in *CatalogSource) DeepCopyInto(out *CatalogSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CatalogSource) DeepCopyObject ¶
func (in *CatalogSource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CatalogSource) Poll ¶
func (c *CatalogSource) Poll() bool
Poll determines whether the polling feature is enabled on the particular catalog source
func (*CatalogSource) SetError ¶
func (c *CatalogSource) SetError(reason ConditionReason, err error)
func (*CatalogSource) SetLastUpdateTime ¶
func (c *CatalogSource) SetLastUpdateTime()
func (*CatalogSource) Update ¶
func (c *CatalogSource) Update() bool
Check if it is time to update based on polling setting
type CatalogSourceList ¶
type CatalogSourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []CatalogSource `json:"items"`
}
CatalogSourceList is a repository of CSVs, CRDs, and operator packages.
func (*CatalogSourceList) DeepCopy ¶
func (in *CatalogSourceList) DeepCopy() *CatalogSourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceList.
func (*CatalogSourceList) DeepCopyInto ¶
func (in *CatalogSourceList) DeepCopyInto(out *CatalogSourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CatalogSourceList) DeepCopyObject ¶
func (in *CatalogSourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CatalogSourceSpec ¶
type CatalogSourceSpec struct {
// SourceType is the type of source
SourceType SourceType `json:"sourceType"`
// ConfigMap is the name of the ConfigMap to be used to back a configmap-server registry.
// Only used when SourceType = SourceTypeConfigmap or SourceTypeInternal.
// +Optional
ConfigMap string `json:"configMap,omitempty"`
// Address is a host that OLM can use to connect to a pre-existing registry.
// Format: <registry-host or ip>:<port>
// Only used when SourceType = SourceTypeGrpc.
// Ignored when the Image field is set.
// +Optional
Address string `json:"address,omitempty"`
// Image is an operator-registry container image to instantiate a registry-server with.
// Only used when SourceType = SourceTypeGrpc.
// If present, the address field is ignored.
// +Optional
Image string `json:"image,omitempty"`
// UpdateStrategy defines how updated catalog source images can be discovered
// Consists of an interval that defines polling duration and an embedded strategy type
// +Optional
UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
// Secrets represent set of secrets that can be used to access the contents of the catalog.
// It is best to keep this list small, since each will need to be tried for every catalog entry.
// +Optional
Secrets []string `json:"secrets,omitempty"`
// Metadata
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
Publisher string `json:"publisher,omitempty"`
Icon Icon `json:"icon,omitempty"`
}
func (*CatalogSourceSpec) DeepCopy ¶
func (in *CatalogSourceSpec) DeepCopy() *CatalogSourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceSpec.
func (*CatalogSourceSpec) DeepCopyInto ¶
func (in *CatalogSourceSpec) DeepCopyInto(out *CatalogSourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CatalogSourceStatus ¶
type CatalogSourceStatus struct {
// A human readable message indicating details about why the ClusterServiceVersion is in this condition.
// +optional
Message string `json:"message,omitempty"`
// Reason is the reason the Subscription was transitioned to its current state.
// +optional
Reason ConditionReason `json:"reason,omitempty"`
// The last time the CatalogSource image registry has been polled to ensure the image is up-to-date
LatestImageRegistryPoll *metav1.Time `json:"latestImageRegistryPoll,omitempty"`
ConfigMapResource *ConfigMapResourceReference `json:"configMapReference,omitempty"`
RegistryServiceStatus *RegistryServiceStatus `json:"registryService,omitempty"`
GRPCConnectionState *GRPCConnectionState `json:"connectionState,omitempty"`
}
func (*CatalogSourceStatus) DeepCopy ¶
func (in *CatalogSourceStatus) DeepCopy() *CatalogSourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceStatus.
func (*CatalogSourceStatus) DeepCopyInto ¶
func (in *CatalogSourceStatus) DeepCopyInto(out *CatalogSourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterServiceVersion ¶
type ClusterServiceVersion struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec ClusterServiceVersionSpec `json:"spec"`
// +optional
Status ClusterServiceVersionStatus `json:"status"`
}
ClusterServiceVersion is a Custom Resource of type `ClusterServiceVersionSpec`.
func (*ClusterServiceVersion) DeepCopy ¶
func (in *ClusterServiceVersion) DeepCopy() *ClusterServiceVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersion.
func (*ClusterServiceVersion) DeepCopyInto ¶
func (in *ClusterServiceVersion) DeepCopyInto(out *ClusterServiceVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterServiceVersion) DeepCopyObject ¶
func (in *ClusterServiceVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ClusterServiceVersion) GetAllAPIServiceDescriptions ¶
func (csv ClusterServiceVersion) GetAllAPIServiceDescriptions() []APIServiceDescription
GetAllAPIServiceDescriptions returns a deduplicated set of APIServiceDescriptions that is the union of the owned and required APIServiceDescriptions.
Descriptions with the same name prefer the value in Owned. Descriptions are returned in alphabetical order.
func (ClusterServiceVersion) GetAllCRDDescriptions ¶
func (csv ClusterServiceVersion) GetAllCRDDescriptions() []CRDDescription
GetAllCRDDescriptions returns a deduplicated set of CRDDescriptions that is the union of the owned and required CRDDescriptions.
Descriptions with the same name prefer the value in Owned. Descriptions are returned in alphabetical order.
func (ClusterServiceVersion) GetOwnedAPIServiceDescriptions ¶
func (csv ClusterServiceVersion) GetOwnedAPIServiceDescriptions() []APIServiceDescription
GetOwnedAPIServiceDescriptions returns a deduplicated set of owned APIServiceDescriptions
Descriptions are returned in alphabetical order.
func (ClusterServiceVersion) GetRequiredAPIServiceDescriptions ¶
func (csv ClusterServiceVersion) GetRequiredAPIServiceDescriptions() []APIServiceDescription
GetRequiredAPIServiceDescriptions returns a deduplicated set of required APIServiceDescriptions with the intersection of required and owned removed Equivalent to the set subtraction required - owned
Descriptions are returned in alphabetical order.
func (*ClusterServiceVersion) IsCopied ¶
func (c *ClusterServiceVersion) IsCopied() bool
IsCopied returns true if the CSV has been copied and false otherwise.
func (*ClusterServiceVersion) IsObsolete ¶
func (c *ClusterServiceVersion) IsObsolete() bool
IsObsolete returns if this CSV is being replaced or is marked for deletion
func (*ClusterServiceVersion) IsSafeToUpdateOperatorGroupAnnotations ¶
func (c *ClusterServiceVersion) IsSafeToUpdateOperatorGroupAnnotations() bool
func (*ClusterServiceVersion) IsUncopiable ¶
func (c *ClusterServiceVersion) IsUncopiable() bool
func (ClusterServiceVersion) OwnsAPIService ¶
func (csv ClusterServiceVersion) OwnsAPIService(name string) bool
OwnsAPIService determines whether the current CSV owns a particular APIService.
func (ClusterServiceVersion) OwnsCRD ¶
func (csv ClusterServiceVersion) OwnsCRD(name string) bool
OwnsCRD determines whether the current CSV owns a particular CRD.
func (*ClusterServiceVersion) SetPhase ¶
func (c *ClusterServiceVersion) SetPhase(phase ClusterServiceVersionPhase, reason ConditionReason, message string, now *metav1.Time)
SetPhase sets the current phase and adds a condition if necessary
func (*ClusterServiceVersion) SetPhaseWithEvent ¶
func (c *ClusterServiceVersion) SetPhaseWithEvent(phase ClusterServiceVersionPhase, reason ConditionReason, message string, now *metav1.Time, recorder record.EventRecorder)
SetPhaseWithEvent generates a Kubernetes event with details about the phase change and sets the current phase
func (*ClusterServiceVersion) SetPhaseWithEventIfChanged ¶
func (c *ClusterServiceVersion) SetPhaseWithEventIfChanged(phase ClusterServiceVersionPhase, reason ConditionReason, message string, now *metav1.Time, recorder record.EventRecorder)
SetPhaseWithEventIfChanged emits a Kubernetes event with details of a phase change and sets the current phase if phase, reason, or message would changed
func (*ClusterServiceVersion) SetRequirementStatus ¶
func (c *ClusterServiceVersion) SetRequirementStatus(statuses []RequirementStatus)
SetRequirementStatus adds the status of all requirements to the CSV status
func (*ClusterServiceVersion) TrimConditionsIfLimitExceeded ¶
func (c *ClusterServiceVersion) TrimConditionsIfLimitExceeded()
type ClusterServiceVersionCondition ¶
type ClusterServiceVersionCondition struct {
// Condition of the ClusterServiceVersion
Phase ClusterServiceVersionPhase `json:"phase,omitempty"`
// A human readable message indicating details about why the ClusterServiceVersion is in this condition.
// +optional
Message string `json:"message,omitempty"`
// A brief CamelCase message indicating details about why the ClusterServiceVersion is in this state.
// e.g. 'RequirementsNotMet'
// +optional
Reason ConditionReason `json:"reason,omitempty"`
// Last time we updated the status
// +optional
LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
// Last time the status transitioned from one status to another.
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
}
Conditions appear in the status as a record of state transitions on the ClusterServiceVersion
func (*ClusterServiceVersionCondition) DeepCopy ¶
func (in *ClusterServiceVersionCondition) DeepCopy() *ClusterServiceVersionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionCondition.
func (*ClusterServiceVersionCondition) DeepCopyInto ¶
func (in *ClusterServiceVersionCondition) DeepCopyInto(out *ClusterServiceVersionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterServiceVersionList ¶
type ClusterServiceVersionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
// +listType=set
Items []ClusterServiceVersion `json:"items"`
}
ClusterServiceVersionList represents a list of ClusterServiceVersions.
func (*ClusterServiceVersionList) DeepCopy ¶
func (in *ClusterServiceVersionList) DeepCopy() *ClusterServiceVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionList.
func (*ClusterServiceVersionList) DeepCopyInto ¶
func (in *ClusterServiceVersionList) DeepCopyInto(out *ClusterServiceVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterServiceVersionList) DeepCopyObject ¶
func (in *ClusterServiceVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterServiceVersionPhase ¶
type ClusterServiceVersionPhase string
ClusterServiceVersionPhase is a label for the condition of a ClusterServiceVersion at the current time.
const ( CSVPhaseNone = "" // CSVPhasePending means the csv has been accepted by the system, but the install strategy has not been attempted. // This is likely because there are unmet requirements. CSVPhasePending ClusterServiceVersionPhase = "Pending" // CSVPhaseInstallReady means that the requirements are met but the install strategy has not been run. CSVPhaseInstallReady ClusterServiceVersionPhase = "InstallReady" // CSVPhaseInstalling means that the install strategy has been initiated but not completed. CSVPhaseInstalling ClusterServiceVersionPhase = "Installing" // CSVPhaseSucceeded means that the resources in the CSV were created successfully. CSVPhaseSucceeded ClusterServiceVersionPhase = "Succeeded" // CSVPhaseFailed means that the install strategy could not be successfully completed. CSVPhaseFailed ClusterServiceVersionPhase = "Failed" // CSVPhaseUnknown means that for some reason the state of the csv could not be obtained. CSVPhaseUnknown ClusterServiceVersionPhase = "Unknown" // CSVPhaseReplacing means that a newer CSV has been created and the csv's resources will be transitioned to a new owner. CSVPhaseReplacing ClusterServiceVersionPhase = "Replacing" // CSVPhaseDeleting means that a CSV has been replaced by a new one and will be checked for safety before being deleted CSVPhaseDeleting ClusterServiceVersionPhase = "Deleting" // CSVPhaseAny matches all other phases in CSV queries CSVPhaseAny ClusterServiceVersionPhase = "" )
These are the valid phases of ClusterServiceVersion
type ClusterServiceVersionSpec ¶
type ClusterServiceVersionSpec struct {
InstallStrategy NamedInstallStrategy `json:"install"`
Version version.OperatorVersion `json:"version,omitempty"`
Maturity string `json:"maturity,omitempty"`
CustomResourceDefinitions CustomResourceDefinitions `json:"customresourcedefinitions,omitempty"`
APIServiceDefinitions APIServiceDefinitions `json:"apiservicedefinitions,omitempty"`
// +listType=set
NativeAPIs []metav1.GroupVersionKind `json:"nativeAPIs,omitempty"`
MinKubeVersion string `json:"minKubeVersion,omitempty"`
DisplayName string `json:"displayName"`
Description string `json:"description,omitempty"`
// +listType=set
Keywords []string `json:"keywords,omitempty"`
// +listType=set
Maintainers []Maintainer `json:"maintainers,omitempty"`
Provider AppLink `json:"provider,omitempty"`
// +listType=set
Links []AppLink `json:"links,omitempty"`
// +listType=set
Icon []Icon `json:"icon,omitempty"`
// InstallModes specify supported installation types
// +optional
// +listType=set
InstallModes []InstallMode `json:"installModes,omitempty"`
// The name of a CSV this one replaces. Should match the `metadata.Name` field of the old CSV.
// +optional
Replaces string `json:"replaces,omitempty"`
// Map of string keys and values that can be used to organize and categorize
// (scope and select) objects.
// +optional
// +listType=map
Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"`
// Annotations is an unstructured key value map stored with a resource that may be
// set by external tools to store and retrieve arbitrary metadata.
// +optional
// +listType=map
Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"`
// Label selector for related resources.
// +optional
Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`
}
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
func (*ClusterServiceVersionSpec) DeepCopy ¶
func (in *ClusterServiceVersionSpec) DeepCopy() *ClusterServiceVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionSpec.
func (*ClusterServiceVersionSpec) DeepCopyInto ¶
func (in *ClusterServiceVersionSpec) DeepCopyInto(out *ClusterServiceVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterServiceVersionStatus ¶
type ClusterServiceVersionStatus struct {
// Current condition of the ClusterServiceVersion
Phase ClusterServiceVersionPhase `json:"phase,omitempty"`
// A human readable message indicating details about why the ClusterServiceVersion is in this condition.
// +optional
Message string `json:"message,omitempty"`
// A brief CamelCase message indicating details about why the ClusterServiceVersion is in this state.
// e.g. 'RequirementsNotMet'
// +optional
Reason ConditionReason `json:"reason,omitempty"`
// Last time we updated the status
// +optional
LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
// Last time the status transitioned from one status to another.
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
// List of conditions, a history of state transitions
// +listType=set
Conditions []ClusterServiceVersionCondition `json:"conditions,omitempty"`
// The status of each requirement for this CSV
// +listType=set
RequirementStatus []RequirementStatus `json:"requirementStatus,omitempty"`
// Last time the owned APIService certs were updated
// +optional
CertsLastUpdated *metav1.Time `json:"certsLastUpdated,omitempty"`
// Time the owned APIService certs will rotate next
// +optional
CertsRotateAt *metav1.Time `json:"certsRotateAt,omitempty"`
}
ClusterServiceVersionStatus represents information about the status of a pod. Status may trail the actual state of a system.
func (*ClusterServiceVersionStatus) DeepCopy ¶
func (in *ClusterServiceVersionStatus) DeepCopy() *ClusterServiceVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionStatus.
func (*ClusterServiceVersionStatus) DeepCopyInto ¶
func (in *ClusterServiceVersionStatus) DeepCopyInto(out *ClusterServiceVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionReason ¶
type ConditionReason string
ConditionReason is a camelcased reason for the state transition
const ( CatalogSourceConfigMapError ConditionReason = "ConfigMapError" CatalogSourceRegistryServerError ConditionReason = "RegistryServerError" )
const ( CSVReasonRequirementsUnknown ConditionReason = "RequirementsUnknown" CSVReasonRequirementsNotMet ConditionReason = "RequirementsNotMet" CSVReasonRequirementsMet ConditionReason = "AllRequirementsMet" CSVReasonOwnerConflict ConditionReason = "OwnerConflict" CSVReasonComponentFailed ConditionReason = "InstallComponentFailed" CSVReasonComponentFailedNoRetry ConditionReason = "InstallComponentFailedNoRetry" CSVReasonInvalidStrategy ConditionReason = "InvalidInstallStrategy" CSVReasonWaiting ConditionReason = "InstallWaiting" CSVReasonInstallSuccessful ConditionReason = "InstallSucceeded" CSVReasonInstallCheckFailed ConditionReason = "InstallCheckFailed" CSVReasonComponentUnhealthy ConditionReason = "ComponentUnhealthy" CSVReasonBeingReplaced ConditionReason = "BeingReplaced" CSVReasonReplaced ConditionReason = "Replaced" CSVReasonNeedsReinstall ConditionReason = "NeedsReinstall" CSVReasonNeedsCertRotation ConditionReason = "NeedsCertRotation" CSVReasonAPIServiceResourceIssue ConditionReason = "APIServiceResourceIssue" CSVReasonAPIServiceResourcesNeedReinstall ConditionReason = "APIServiceResourcesNeedReinstall" CSVReasonAPIServiceInstallFailed ConditionReason = "APIServiceInstallFailed" CSVReasonCopied ConditionReason = "Copied" CSVReasonInvalidInstallModes ConditionReason = "InvalidInstallModes" CSVReasonNoTargetNamespaces ConditionReason = "NoTargetNamespaces" CSVReasonUnsupportedOperatorGroup ConditionReason = "UnsupportedOperatorGroup" CSVReasonNoOperatorGroup ConditionReason = "NoOperatorGroup" CSVReasonTooManyOperatorGroups ConditionReason = "TooManyOperatorGroups" CSVReasonInterOperatorGroupOwnerConflict ConditionReason = "InterOperatorGroupOwnerConflict" CSVReasonCannotModifyStaticOperatorGroupProvidedAPIs ConditionReason = "CannotModifyStaticOperatorGroupProvidedAPIs" CSVReasonDetectedClusterChange ConditionReason = "DetectedClusterChange" )
const ( SubscriptionReasonInvalidCatalog ConditionReason = "InvalidCatalog" SubscriptionReasonUpgradeSucceeded ConditionReason = "UpgradeSucceeded" )
type ConfigMapResourceReference ¶
type ConfigMapResourceReference struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
UID types.UID `json:"uid,omitempty"`
ResourceVersion string `json:"resourceVersion,omitempty"`
LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
}
func (*ConfigMapResourceReference) DeepCopy ¶
func (in *ConfigMapResourceReference) DeepCopy() *ConfigMapResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapResourceReference.
func (*ConfigMapResourceReference) DeepCopyInto ¶
func (in *ConfigMapResourceReference) DeepCopyInto(out *ConfigMapResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapResourceReference) IsAMatch ¶
func (r *ConfigMapResourceReference) IsAMatch(object *metav1.ObjectMeta) bool
type CustomResourceDefinitions ¶
type CustomResourceDefinitions struct {
// +listType=set
Owned []CRDDescription `json:"owned,omitempty"`
// +listType=set
Required []CRDDescription `json:"required,omitempty"`
}
CustomResourceDefinitions declares all of the CRDs managed or required by an operator being ran by ClusterServiceVersion.
If the CRD is present in the Owned list, it is implicitly required. +k8s:openapi-gen=true
func (*CustomResourceDefinitions) DeepCopy ¶
func (in *CustomResourceDefinitions) DeepCopy() *CustomResourceDefinitions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitions.
func (*CustomResourceDefinitions) DeepCopyInto ¶
func (in *CustomResourceDefinitions) DeepCopyInto(out *CustomResourceDefinitions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependentStatus ¶
type DependentStatus struct {
Group string `json:"group"`
Version string `json:"version"`
Kind string `json:"kind"`
Status StatusReason `json:"status"`
UUID string `json:"uuid,omitempty"`
Message string `json:"message,omitempty"`
}
DependentStatus is the status for a dependent requirement (to prevent infinite nesting)
func (*DependentStatus) DeepCopy ¶
func (in *DependentStatus) DeepCopy() *DependentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependentStatus.
func (*DependentStatus) DeepCopyInto ¶
func (in *DependentStatus) DeepCopyInto(out *DependentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPCConnectionState ¶
type GRPCConnectionState struct {
Address string `json:"address,omitempty"`
LastObservedState string `json:"lastObservedState"`
LastConnectTime metav1.Time `json:"lastConnect,omitempty"`
}
func (*GRPCConnectionState) DeepCopy ¶
func (in *GRPCConnectionState) DeepCopy() *GRPCConnectionState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCConnectionState.
func (*GRPCConnectionState) DeepCopyInto ¶
func (in *GRPCConnectionState) DeepCopyInto(out *GRPCConnectionState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Icon ¶
func (*Icon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Icon.
func (*Icon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallMode ¶
type InstallMode struct {
Type InstallModeType `json:"type"`
Supported bool `json:"supported"`
}
InstallMode associates an InstallModeType with a flag representing if the CSV supports it +k8s:openapi-gen=true
func (*InstallMode) DeepCopy ¶
func (in *InstallMode) DeepCopy() *InstallMode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallMode.
func (*InstallMode) DeepCopyInto ¶
func (in *InstallMode) DeepCopyInto(out *InstallMode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallModeSet ¶
type InstallModeSet map[InstallModeType]bool
InstallModeSet is a mapping of unique InstallModeTypes to whether they are supported.
func NewInstallModeSet ¶
func NewInstallModeSet(modes []InstallMode) (InstallModeSet, error)
NewInstallModeSet returns an InstallModeSet instantiated from the given list of InstallModes. If the given list is not a set, an error is returned.
func (InstallModeSet) DeepCopy ¶
func (in InstallModeSet) DeepCopy() InstallModeSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallModeSet.
func (InstallModeSet) DeepCopyInto ¶
func (in InstallModeSet) DeepCopyInto(out *InstallModeSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallModeType ¶
type InstallModeType string
InstallModeType is a supported type of install mode for CSV installation
const ( // InstallModeTypeOwnNamespace indicates that the operator can be a member of an `OperatorGroup` that selects its own namespace. InstallModeTypeOwnNamespace InstallModeType = "OwnNamespace" // InstallModeTypeSingleNamespace indicates that the operator can be a member of an `OperatorGroup` that selects one namespace. InstallModeTypeSingleNamespace InstallModeType = "SingleNamespace" // InstallModeTypeMultiNamespace indicates that the operator can be a member of an `OperatorGroup` that selects more than one namespace. InstallModeTypeMultiNamespace InstallModeType = "MultiNamespace" // InstallModeTypeAllNamespaces indicates that the operator can be a member of an `OperatorGroup` that selects all namespaces (target namespace set is the empty string ""). InstallModeTypeAllNamespaces InstallModeType = "AllNamespaces" )
type InstallPlan ¶
type InstallPlan struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec InstallPlanSpec `json:"spec"`
// +optional
Status InstallPlanStatus `json:"status"`
}
InstallPlan defines the installation of a set of operators.
func (*InstallPlan) DeepCopy ¶
func (in *InstallPlan) DeepCopy() *InstallPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlan.
func (*InstallPlan) DeepCopyInto ¶
func (in *InstallPlan) DeepCopyInto(out *InstallPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstallPlan) DeepCopyObject ¶
func (in *InstallPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstallPlan) EnsureCatalogSource ¶
func (p *InstallPlan) EnsureCatalogSource(sourceName string)
EnsureCatalogSource ensures that a CatalogSource is present in the Status block of an InstallPlan.
type InstallPlanCondition ¶
type InstallPlanCondition struct {
Type InstallPlanConditionType `json:"type,omitempty"`
Status corev1.ConditionStatus `json:"status,omitempty"` // True, False, or Unknown
LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
Reason InstallPlanConditionReason `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
}
InstallPlanCondition represents the overall status of the execution of an InstallPlan.
func ConditionFailed ¶
func ConditionFailed(cond InstallPlanConditionType, reason InstallPlanConditionReason, message string, now *metav1.Time) InstallPlanCondition
func ConditionMet ¶
func ConditionMet(cond InstallPlanConditionType, now *metav1.Time) InstallPlanCondition
func (*InstallPlanCondition) DeepCopy ¶
func (in *InstallPlanCondition) DeepCopy() *InstallPlanCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanCondition.
func (*InstallPlanCondition) DeepCopyInto ¶
func (in *InstallPlanCondition) DeepCopyInto(out *InstallPlanCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallPlanConditionReason ¶
type InstallPlanConditionReason string
ConditionReason is a camelcased reason for the state transition.
const ( InstallPlanReasonPlanUnknown InstallPlanConditionReason = "PlanUnknown" InstallPlanReasonInstallCheckFailed InstallPlanConditionReason = "InstallCheckFailed" InstallPlanReasonDependencyConflict InstallPlanConditionReason = "DependenciesConflict" InstallPlanReasonComponentFailed InstallPlanConditionReason = "InstallComponentFailed" )
type InstallPlanConditionType ¶
type InstallPlanConditionType string
InstallPlanConditionType describes the state of an InstallPlan at a certain point as a whole.
const ( InstallPlanResolved InstallPlanConditionType = "Resolved" InstallPlanInstalled InstallPlanConditionType = "Installed" )
type InstallPlanList ¶
type InstallPlanList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []InstallPlan `json:"items"`
}
InstallPlanList is a list of InstallPlan resources.
func (*InstallPlanList) DeepCopy ¶
func (in *InstallPlanList) DeepCopy() *InstallPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanList.
func (*InstallPlanList) DeepCopyInto ¶
func (in *InstallPlanList) DeepCopyInto(out *InstallPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstallPlanList) DeepCopyObject ¶
func (in *InstallPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstallPlanPhase ¶
type InstallPlanPhase string
InstallPlanPhase is the current status of a InstallPlan as a whole.
const ( InstallPlanPhaseNone InstallPlanPhase = "" InstallPlanPhasePlanning InstallPlanPhase = "Planning" InstallPlanPhaseRequiresApproval InstallPlanPhase = "RequiresApproval" InstallPlanPhaseInstalling InstallPlanPhase = "Installing" InstallPlanPhaseComplete InstallPlanPhase = "Complete" InstallPlanPhaseFailed InstallPlanPhase = "Failed" )
type InstallPlanReference ¶
type InstallPlanReference struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Name string `json:"name"`
UID types.UID `json:"uuid"`
}
func NewInstallPlanReference ¶
func NewInstallPlanReference(ref *corev1.ObjectReference) *InstallPlanReference
NewInstallPlanReference returns an InstallPlanReference for the given ObjectReference.
func (*InstallPlanReference) DeepCopy ¶
func (in *InstallPlanReference) DeepCopy() *InstallPlanReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanReference.
func (*InstallPlanReference) DeepCopyInto ¶
func (in *InstallPlanReference) DeepCopyInto(out *InstallPlanReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallPlanSpec ¶
type InstallPlanSpec struct {
CatalogSource string `json:"source,omitempty"`
CatalogSourceNamespace string `json:"sourceNamespace,omitempty"`
ClusterServiceVersionNames []string `json:"clusterServiceVersionNames"`
Approval Approval `json:"approval"`
Approved bool `json:"approved"`
Generation int `json:"generation"`
}
InstallPlanSpec defines a set of Application resources to be installed
func (*InstallPlanSpec) DeepCopy ¶
func (in *InstallPlanSpec) DeepCopy() *InstallPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanSpec.
func (*InstallPlanSpec) DeepCopyInto ¶
func (in *InstallPlanSpec) DeepCopyInto(out *InstallPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallPlanStatus ¶
type InstallPlanStatus struct {
Phase InstallPlanPhase `json:"phase"`
Conditions []InstallPlanCondition `json:"conditions,omitempty"`
CatalogSources []string `json:"catalogSources"`
Plan []*Step `json:"plan,omitempty"`
// BundleLookups is the set of in-progress requests to pull and unpackage bundle content to the cluster.
// +optional
BundleLookups []BundleLookup `json:"bundleLookups,omitempty"`
// AttenuatedServiceAccountRef references the service account that is used
// to do scoped operator install.
AttenuatedServiceAccountRef *corev1.ObjectReference `json:"attenuatedServiceAccountRef,omitempty"`
}
InstallPlanStatus represents the information about the status of steps required to complete installation.
Status may trail the actual state of a system.
func (*InstallPlanStatus) DeepCopy ¶
func (in *InstallPlanStatus) DeepCopy() *InstallPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanStatus.
func (*InstallPlanStatus) DeepCopyInto ¶
func (in *InstallPlanStatus) DeepCopyInto(out *InstallPlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (InstallPlanStatus) GetCondition ¶
func (s InstallPlanStatus) GetCondition(conditionType InstallPlanConditionType) InstallPlanCondition
GetCondition returns the InstallPlanCondition of the given type if it exists in the InstallPlanStatus' Conditions. Returns a condition of the given type with a ConditionStatus of "Unknown" if not found.
func (InstallPlanStatus) NeedsRequeue ¶
func (s InstallPlanStatus) NeedsRequeue() bool
func (*InstallPlanStatus) SetCondition ¶
func (s *InstallPlanStatus) SetCondition(cond InstallPlanCondition) InstallPlanCondition
SetCondition adds or updates a condition, using `Type` as merge key.
type Maintainer ¶
type Maintainer struct {
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
}
func (*Maintainer) DeepCopy ¶
func (in *Maintainer) DeepCopy() *Maintainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Maintainer.
func (*Maintainer) DeepCopyInto ¶
func (in *Maintainer) DeepCopyInto(out *Maintainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedInstallStrategy ¶
type NamedInstallStrategy struct {
StrategyName string `json:"strategy"`
StrategySpec StrategyDetailsDeployment `json:"spec,omitempty"`
}
NamedInstallStrategy represents the block of an ClusterServiceVersion resource where the install strategy is specified.
func (*NamedInstallStrategy) DeepCopy ¶
func (in *NamedInstallStrategy) DeepCopy() *NamedInstallStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedInstallStrategy.
func (*NamedInstallStrategy) DeepCopyInto ¶
func (in *NamedInstallStrategy) DeepCopyInto(out *NamedInstallStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryPoll ¶
type RegistryPoll struct {
// Interval is used to determine the time interval between checks of the latest catalog source version.
// The catalog operator polls to see if a new version of the catalog source is available.
// If available, the latest image is pulled and gRPC traffic is directed to the latest catalog source.
Interval *metav1.Duration `json:"interval,omitempty"`
}
func (*RegistryPoll) DeepCopy ¶
func (in *RegistryPoll) DeepCopy() *RegistryPoll
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryPoll.
func (*RegistryPoll) DeepCopyInto ¶
func (in *RegistryPoll) DeepCopyInto(out *RegistryPoll)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryServiceStatus ¶
type RegistryServiceStatus struct {
Protocol string `json:"protocol,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
ServiceNamespace string `json:"serviceNamespace,omitempty"`
Port string `json:"port,omitempty"`
CreatedAt metav1.Time `json:"createdAt,omitempty"`
}
func (*RegistryServiceStatus) Address ¶
func (s *RegistryServiceStatus) Address() string
func (*RegistryServiceStatus) DeepCopy ¶
func (in *RegistryServiceStatus) DeepCopy() *RegistryServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryServiceStatus.
func (*RegistryServiceStatus) DeepCopyInto ¶
func (in *RegistryServiceStatus) DeepCopyInto(out *RegistryServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequirementStatus ¶
type RequirementStatus struct {
Group string `json:"group"`
Version string `json:"version"`
Kind string `json:"kind"`
Name string `json:"name"`
Status StatusReason `json:"status"`
Message string `json:"message"`
UUID string `json:"uuid,omitempty"`
// +listType=set
Dependents []DependentStatus `json:"dependents,omitempty"`
}
func (*RequirementStatus) DeepCopy ¶
func (in *RequirementStatus) DeepCopy() *RequirementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequirementStatus.
func (*RequirementStatus) DeepCopyInto ¶
func (in *RequirementStatus) DeepCopyInto(out *RequirementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceType ¶
type SourceType string
SourceType indicates the type of backing store for a CatalogSource
const ( // SourceTypeInternal (deprecated) specifies a CatalogSource of type SourceTypeConfigmap SourceTypeInternal SourceType = "internal" // SourceTypeConfigmap specifies a CatalogSource that generates a configmap-server registry SourceTypeConfigmap SourceType = "configmap" // SourceTypeGrpc specifies a CatalogSource that can use an operator registry image to generate a // registry-server or connect to a pre-existing registry at an address. SourceTypeGrpc SourceType = "grpc" )
type SpecDescriptor ¶
type SpecDescriptor struct {
Path string `json:"path"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
// +listType=set
XDescriptors []string `json:"x-descriptors,omitempty"`
Value *json.RawMessage `json:"value,omitempty"`
}
SpecDescriptor describes a field in a spec block of a CRD so that OLM can consume it +k8s:openapi-gen=true
func (*SpecDescriptor) DeepCopy ¶
func (in *SpecDescriptor) DeepCopy() *SpecDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecDescriptor.
func (*SpecDescriptor) DeepCopyInto ¶
func (in *SpecDescriptor) DeepCopyInto(out *SpecDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusDescriptor ¶
type StatusDescriptor struct {
Path string `json:"path"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
// +listType=set
XDescriptors []string `json:"x-descriptors,omitempty"`
Value *json.RawMessage `json:"value,omitempty"`
}
StatusDescriptor describes a field in a status block of a CRD so that OLM can consume it +k8s:openapi-gen=true
func (*StatusDescriptor) DeepCopy ¶
func (in *StatusDescriptor) DeepCopy() *StatusDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDescriptor.
func (*StatusDescriptor) DeepCopyInto ¶
func (in *StatusDescriptor) DeepCopyInto(out *StatusDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusReason ¶
type StatusReason string
StatusReason is a camelcased reason for the status of a RequirementStatus or DependentStatus
const ( RequirementStatusReasonPresent StatusReason = "Present" RequirementStatusReasonNotPresent StatusReason = "NotPresent" RequirementStatusReasonPresentNotSatisfied StatusReason = "PresentNotSatisfied" // The CRD is present but the Established condition is False (not available) RequirementStatusReasonNotAvailable StatusReason = "PresentNotAvailable" DependentStatusReasonSatisfied StatusReason = "Satisfied" DependentStatusReasonNotSatisfied StatusReason = "NotSatisfied" )
type Step ¶
type Step struct {
Resolving string `json:"resolving"`
Resource StepResource `json:"resource"`
Status StepStatus `json:"status"`
}
Step represents the status of an individual step in an InstallPlan.
func OrderSteps ¶
func (*Step) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepResource ¶
type StepResource struct {
CatalogSource string `json:"sourceName"`
CatalogSourceNamespace string `json:"sourceNamespace"`
Group string `json:"group"`
Version string `json:"version"`
Kind string `json:"kind"`
Name string `json:"name"`
Manifest string `json:"manifest,omitempty"`
}
StepResource represents the status of a resource to be tracked by an InstallPlan.
func (*StepResource) DeepCopy ¶
func (in *StepResource) DeepCopy() *StepResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepResource.
func (*StepResource) DeepCopyInto ¶
func (in *StepResource) DeepCopyInto(out *StepResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StepResource) String ¶
func (r StepResource) String() string
type StepStatus ¶
type StepStatus string
StepStatus is the current status of a particular resource an in InstallPlan
const ( StepStatusUnknown StepStatus = "Unknown" StepStatusNotPresent StepStatus = "NotPresent" StepStatusPresent StepStatus = "Present" StepStatusCreated StepStatus = "Created" StepStatusWaitingForAPI StepStatus = "WaitingForApi" StepStatusUnsupportedResource StepStatus = "UnsupportedResource" )
type StrategyDeploymentPermissions ¶
type StrategyDeploymentPermissions struct {
ServiceAccountName string `json:"serviceAccountName"`
// +listType=set
Rules []rbac.PolicyRule `json:"rules"`
}
StrategyDeploymentPermissions describe the rbac rules and service account needed by the install strategy
func (*StrategyDeploymentPermissions) DeepCopy ¶
func (in *StrategyDeploymentPermissions) DeepCopy() *StrategyDeploymentPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDeploymentPermissions.
func (*StrategyDeploymentPermissions) DeepCopyInto ¶
func (in *StrategyDeploymentPermissions) DeepCopyInto(out *StrategyDeploymentPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StrategyDeploymentSpec ¶
type StrategyDeploymentSpec struct {
Name string `json:"name"`
Spec appsv1.DeploymentSpec `json:"spec"`
}
StrategyDeploymentSpec contains the name and spec for the deployment ALM should create
func (*StrategyDeploymentSpec) DeepCopy ¶
func (in *StrategyDeploymentSpec) DeepCopy() *StrategyDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDeploymentSpec.
func (*StrategyDeploymentSpec) DeepCopyInto ¶
func (in *StrategyDeploymentSpec) DeepCopyInto(out *StrategyDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StrategyDetailsDeployment ¶
type StrategyDetailsDeployment struct {
DeploymentSpecs []StrategyDeploymentSpec `json:"deployments"`
Permissions []StrategyDeploymentPermissions `json:"permissions,omitempty"`
ClusterPermissions []StrategyDeploymentPermissions `json:"clusterPermissions,omitempty"`
}
StrategyDetailsDeployment represents the parsed details of a Deployment InstallStrategy.
func (*StrategyDetailsDeployment) DeepCopy ¶
func (in *StrategyDetailsDeployment) DeepCopy() *StrategyDetailsDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDetailsDeployment.
func (*StrategyDetailsDeployment) DeepCopyInto ¶
func (in *StrategyDetailsDeployment) DeepCopyInto(out *StrategyDetailsDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StrategyDetailsDeployment) GetStrategyName ¶
func (d *StrategyDetailsDeployment) GetStrategyName() string
type Subscription ¶
type Subscription struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec *SubscriptionSpec `json:"spec"`
// +optional
Status SubscriptionStatus `json:"status"`
}
Subscription keeps operators up to date by tracking changes to Catalogs.
func (*Subscription) DeepCopy ¶
func (in *Subscription) DeepCopy() *Subscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription.
func (*Subscription) DeepCopyInto ¶
func (in *Subscription) DeepCopyInto(out *Subscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subscription) DeepCopyObject ¶
func (in *Subscription) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Subscription) GetInstallPlanApproval ¶
func (s *Subscription) GetInstallPlanApproval() Approval
GetInstallPlanApproval gets the configured install plan approval or the default
type SubscriptionCatalogHealth ¶
type SubscriptionCatalogHealth struct {
// CatalogSourceRef is a reference to a CatalogSource.
CatalogSourceRef *corev1.ObjectReference `json:"catalogSourceRef"`
// LastUpdated represents the last time that the CatalogSourceHealth changed
LastUpdated *metav1.Time `json:"lastUpdated"`
// Healthy is true if the CatalogSource is healthy; false otherwise.
Healthy bool `json:"healthy"`
}
SubscriptionCatalogHealth describes the health of a CatalogSource the Subscription knows about.
func (*SubscriptionCatalogHealth) DeepCopy ¶
func (in *SubscriptionCatalogHealth) DeepCopy() *SubscriptionCatalogHealth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCatalogHealth.
func (*SubscriptionCatalogHealth) DeepCopyInto ¶
func (in *SubscriptionCatalogHealth) DeepCopyInto(out *SubscriptionCatalogHealth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SubscriptionCatalogHealth) Equals ¶
func (s SubscriptionCatalogHealth) Equals(health SubscriptionCatalogHealth) bool
Equals returns true if a SubscriptionCatalogHealth equals the one given, false otherwise. Equality is based SOLEY on health and UID.
type SubscriptionCondition ¶
type SubscriptionCondition struct {
// Type is the type of Subscription condition.
Type SubscriptionConditionType `json:"type" description:"type of Subscription condition"`
// Status is the status of the condition, one of True, False, Unknown.
Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`
// Reason is a one-word CamelCase reason for the condition's last transition.
// +optional
Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`
// Message is a human-readable message indicating details about last transition.
// +optional
Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
// LastHeartbeatTime is the last time we got an update on a given condition
// +optional
LastHeartbeatTime *metav1.Time `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"`
// LastTransitionTime is the last time the condition transit from one status to another
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another" hash:"ignore"`
}
SubscriptionCondition represents the latest available observations of a Subscription's state.
func (*SubscriptionCondition) DeepCopy ¶
func (in *SubscriptionCondition) DeepCopy() *SubscriptionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCondition.
func (*SubscriptionCondition) DeepCopyInto ¶
func (in *SubscriptionCondition) DeepCopyInto(out *SubscriptionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SubscriptionCondition) Equals ¶
func (s SubscriptionCondition) Equals(condition SubscriptionCondition) bool
Equals returns true if a SubscriptionCondition equals the one given, false otherwise. Equality is determined by the equality of the type, status, reason, and message fields ONLY.
type SubscriptionConditionType ¶
type SubscriptionConditionType string
SubscriptionConditionType indicates an explicit state condition about a Subscription in "abnormal-true" polarity form (see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties).
const ( // SubscriptionCatalogSourcesUnhealthy indicates that some or all of the CatalogSources to be used in resolution are unhealthy. SubscriptionCatalogSourcesUnhealthy SubscriptionConditionType = "CatalogSourcesUnhealthy" // SubscriptionInstallPlanMissing indicates that a Subscription's InstallPlan is missing. SubscriptionInstallPlanMissing SubscriptionConditionType = "InstallPlanMissing" // SubscriptionInstallPlanPending indicates that a Subscription's InstallPlan is pending installation. SubscriptionInstallPlanPending SubscriptionConditionType = "InstallPlanPending" // SubscriptionInstallPlanFailed indicates that the installation of a Subscription's InstallPlan has failed. SubscriptionInstallPlanFailed SubscriptionConditionType = "InstallPlanFailed" )
type SubscriptionConfig ¶
type SubscriptionConfig struct {
// Selector is the label selector for pods to be configured.
// Existing ReplicaSets whose pods are
// selected by this will be the ones affected by this deployment.
// It must match the pod template's labels.
Selector *metav1.LabelSelector `json:"selector,omitempty"`
// NodeSelector is a selector which must be true for the pod to fit on a node.
// Selector which must match a node's labels for the pod to be scheduled on that node.
// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// Tolerations are the pod's tolerations.
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// Resources represents compute resources required by this container.
// Immutable.
// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
// +optional
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
// EnvFrom is a list of sources to populate environment variables in the container.
// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
// will be reported as an event when the container is starting. When a key exists in multiple
// sources, the value associated with the last source will take precedence.
// Values defined by an Env with a duplicate key will take precedence.
// Immutable.
// +optional
EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"`
// Env is a list of environment variables to set in the container.
// Cannot be updated.
// +patchMergeKey=name
// +patchStrategy=merge
// +optional
Env []corev1.EnvVar `json:"env,omitempty" patchMergeKey:"name" patchStrategy:"merge"`
// List of Volumes to set in the podSpec.
// +optional
Volumes []corev1.Volume `json:"volumes,omitempty"`
// List of VolumeMounts to set in the container.
// +optional
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
}
SubscriptionConfig contains configuration specified for a subscription.
func (*SubscriptionConfig) DeepCopy ¶
func (in *SubscriptionConfig) DeepCopy() *SubscriptionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionConfig.
func (*SubscriptionConfig) DeepCopyInto ¶
func (in *SubscriptionConfig) DeepCopyInto(out *SubscriptionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionList ¶
type SubscriptionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []Subscription `json:"items"`
}
SubscriptionList is a list of Subscription resources.
func (*SubscriptionList) DeepCopy ¶
func (in *SubscriptionList) DeepCopy() *SubscriptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionList.
func (*SubscriptionList) DeepCopyInto ¶
func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubscriptionList) DeepCopyObject ¶
func (in *SubscriptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubscriptionSpec ¶
type SubscriptionSpec struct {
CatalogSource string `json:"source"`
CatalogSourceNamespace string `json:"sourceNamespace"`
Package string `json:"name"`
Channel string `json:"channel,omitempty"`
StartingCSV string `json:"startingCSV,omitempty"`
InstallPlanApproval Approval `json:"installPlanApproval,omitempty"`
Config SubscriptionConfig `json:"config,omitempty"`
}
SubscriptionSpec defines an Application that can be installed
func (*SubscriptionSpec) DeepCopy ¶
func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpec.
func (*SubscriptionSpec) DeepCopyInto ¶
func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubscriptionState ¶
type SubscriptionState string
SubscriptionState tracks when updates are available, installing, or service is up to date
type SubscriptionStatus ¶
type SubscriptionStatus struct {
// CurrentCSV is the CSV the Subscription is progressing to.
// +optional
CurrentCSV string `json:"currentCSV,omitempty"`
// InstalledCSV is the CSV currently installed by the Subscription.
// +optional
InstalledCSV string `json:"installedCSV,omitempty"`
// Install is a reference to the latest InstallPlan generated for the Subscription.
// DEPRECATED: InstallPlanRef
// +optional
Install *InstallPlanReference `json:"installplan,omitempty"`
// State represents the current state of the Subscription
// +optional
State SubscriptionState `json:"state,omitempty"`
// Reason is the reason the Subscription was transitioned to its current state.
// +optional
Reason ConditionReason `json:"reason,omitempty"`
// InstallPlanGeneration is the current generation of the installplan
// +optional
InstallPlanGeneration int `json:"installPlanGeneration,omitempty"`
// InstallPlanRef is a reference to the latest InstallPlan that contains the Subscription's current CSV.
// +optional
InstallPlanRef *corev1.ObjectReference `json:"installPlanRef,omitempty"`
// CatalogHealth contains the Subscription's view of its relevant CatalogSources' status.
// It is used to determine SubscriptionStatusConditions related to CatalogSources.
// +optional
CatalogHealth []SubscriptionCatalogHealth `json:"catalogHealth,omitempty"`
// Conditions is a list of the latest available observations about a Subscription's current state.
// +optional
Conditions []SubscriptionCondition `json:"conditions,omitempty" hash:"set"`
// LastUpdated represents the last time that the Subscription status was updated.
LastUpdated metav1.Time `json:"lastUpdated"`
}
func (*SubscriptionStatus) DeepCopy ¶
func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatus.
func (*SubscriptionStatus) DeepCopyInto ¶
func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SubscriptionStatus) GetCondition ¶
func (s SubscriptionStatus) GetCondition(conditionType SubscriptionConditionType) SubscriptionCondition
GetCondition returns the SubscriptionCondition of the given type if it exists in the SubscriptionStatus' Conditions. Returns a condition of the given type with a ConditionStatus of "Unknown" if not found.
func (*SubscriptionStatus) RemoveConditions ¶
func (s *SubscriptionStatus) RemoveConditions(remove ...SubscriptionConditionType)
RemoveConditions removes any conditions of the given types from the SubscriptionStatus' Conditions.
func (*SubscriptionStatus) SetCondition ¶
func (s *SubscriptionStatus) SetCondition(condition SubscriptionCondition)
SetCondition sets the given SubscriptionCondition in the SubscriptionStatus' Conditions.
type UpdateStrategy ¶
type UpdateStrategy struct {
*RegistryPoll `json:"registryPoll,omitempty"`
}
UpdateStrategy holds all the different types of catalog source update strategies Currently only registry polling strategy is implemented
func (*UpdateStrategy) DeepCopy ¶
func (in *UpdateStrategy) DeepCopy() *UpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateStrategy.
func (*UpdateStrategy) DeepCopyInto ¶
func (in *UpdateStrategy) DeepCopyInto(out *UpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.