Package v1alpha1 contains resources types for version v1alpha1 of the operators.coreos.com API group.
const ( CopiedLabelKey = "olm.copiedFrom" ConditionsLengthLimit = 20 )View Source
const ( ClusterServiceVersionAPIVersion = GroupName + "/" + GroupVersion ClusterServiceVersionKind = "ClusterServiceVersion" OperatorGroupNamespaceAnnotationKey = "olm.operatorNamespace" InstallStrategyNameDeployment = "deployment" SkipRangeAnnotationKey = "olm.skipRange" )View Source
const ( SubscriptionStateNone = "" SubscriptionStateFailed = "UpgradeFailed" SubscriptionStateUpgradeAvailable = "UpgradeAvailable" SubscriptionStateUpgradePending = "UpgradePending" SubscriptionStateAtLatest = "AtLatestKnown" )View Source
const ( NoCatalogSourcesFound = "NoCatalogSourcesFound" AllCatalogSourcesHealthy = "AllCatalogSourcesHealthy" CatalogSourcesAdded = "CatalogSourcesAdded" CatalogSourcesUpdated = "CatalogSourcesUpdated" CatalogSourcesDeleted = "CatalogSourcesDeleted" UnhealthyCatalogSourceFound = "UnhealthyCatalogSourceFound" ReferencedInstallPlanNotFound = "ReferencedInstallPlanNotFound" InstallPlanNotYetReconciled = "InstallPlanNotYetReconciled" InstallPlanFailed = "InstallPlanFailed" )
ErrInvalidInstallPlan is the error returned by functions that operate on InstallPlans when the InstallPlan does not contain totally valid data.
SchemeGroupVersion is group version used to register these objects
Kind takes an unqualified kind and returns back a Group qualified GroupKind
Resource takes an unqualified resource and returns a Group qualified GroupResource
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceReference.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
APIServiceDefinitions declares all of the extension apis managed or required by an operator being ran by ClusterServiceVersion. +k8s:openapi-gen=true
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceDefinitions.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` Resources []APIResourceReference `json:"resources,omitempty"` StatusDescriptors []StatusDescriptor `json:"statusDescriptors,omitempty"` SpecDescriptors []SpecDescriptor `json:"specDescriptors,omitempty"` ActionDescriptor []ActionDescriptor `json:"actionDescriptors,omitempty"` }
APIServiceDescription provides details to OLM about apis provided via aggregation +k8s:openapi-gen=true
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceDescription.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
GetName returns the name of an APIService as derived from its group and version.
type ActionDescriptor struct { Path string `json:"path"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionDescriptor.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppLink struct { Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppLink.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Approval is the user approval policy for an InstallPlan. It must be one of "Automatic" or "Manual".
const ( ApprovalAutomatic Approval = "Automatic" ApprovalManual Approval = "Manual" )
type BundleLookup struct { Path string `json:"path"` Identifier string `json:"identifier"` Replaces string `json:"replaces"` CatalogSourceRef *corev1.ObjectReference `json:"catalogSourceRef"` Conditions []BundleLookupCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` Properties string `json:"properties,omitempty"` }
BundleLookup is a request to pull and unpackage the content of a bundle to the cluster.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleLookup.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
RemoveCondition removes the BundleLookupCondition of the given type from the BundleLookup's Conditions if it exists.
SetCondition replaces the existing BundleLookupCondition of the same type, or adds it if it was not found.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleLookupCondition.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BundleLookupConditionType string
BundleLookupConditionType is a category of the overall state of a BundleLookup.
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"` Resources []APIResourceReference `json:"resources,omitempty"` StatusDescriptors []StatusDescriptor `json:"statusDescriptors,omitempty"` SpecDescriptors []SpecDescriptor `json:"specDescriptors,omitempty"` ActionDescriptor []ActionDescriptor `json:"actionDescriptors,omitempty"` }
CRDDescription provides details to OLM about the CRDs +k8s:openapi-gen=true
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDDescription.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
CatalogSource is a repository of CSVs, CRDs, and operator packages.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSource.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Poll determines whether the polling feature is enabled on the particular catalog source
Check if it is time to update based on polling setting
CatalogSourceList is a repository of CSVs, CRDs, and operator packages.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceList.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CatalogSourceSpec struct { SourceType SourceType `json:"sourceType"` Priority int `json:"priority,omitempty"` ConfigMap string `json:"configMap,omitempty"` Address string `json:"address,omitempty"` Image string `json:"image,omitempty"` UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"` Secrets []string `json:"secrets,omitempty"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` Publisher string `json:"publisher,omitempty"` Icon Icon `json:"icon,omitempty"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSourceStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CleanupSpec struct { Enabled bool `json:"enabled"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanupSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CleanupStatus struct { PendingDeletion []ResourceList `json:"pendingDeletion,omitempty"` }
CleanupStatus represents information about the status of cleanup while a CSV is pending deletion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanupStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
ClusterServiceVersion is a Custom Resource of type `ClusterServiceVersionSpec`.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersion.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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.
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.
GetOwnedAPIServiceDescriptions returns a deduplicated set of owned APIServiceDescriptions
Descriptions are returned in alphabetical order.
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.
HasCaResources returns true if the CSV has owned APIServices or Webhooks.
IsCopied returns true if the CSV has been copied and false otherwise.
IsObsolete returns if this CSV is being replaced or is marked for deletion
OwnsAPIService determines whether the current CSV owns a particular APIService.
OwnsCRD determines whether the current CSV owns a particular CRD.
SetPhase sets the current phase and adds a condition if necessary
SetPhaseWithEvent generates a Kubernetes event with details about the phase change and sets the current phase
SetPhaseWithEventIfChanged emits a Kubernetes event with details of a phase change and sets the current phase if phase, reason, or message would changed
SetRequirementStatus adds the status of all requirements to the CSV status
Conditions appear in the status as a record of state transitions on the ClusterServiceVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionCondition.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
ClusterServiceVersionList represents a list of ClusterServiceVersions.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionList.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterServiceVersionPhase string
ClusterServiceVersionPhase is a label for the condition of a ClusterServiceVersion at the current time.
These are the valid phases of ClusterServiceVersion
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"` WebhookDefinitions []WebhookDescription `json:"webhookdefinitions,omitempty"` NativeAPIs []metav1.GroupVersionKind `json:"nativeAPIs,omitempty"` MinKubeVersion string `json:"minKubeVersion,omitempty"` DisplayName string `json:"displayName"` Description string `json:"description,omitempty"` Keywords []string `json:"keywords,omitempty"` Maintainers []Maintainer `json:"maintainers,omitempty"` Provider AppLink `json:"provider,omitempty"` Links []AppLink `json:"links,omitempty"` Icon []Icon `json:"icon,omitempty"` InstallModes []InstallMode `json:"installModes,omitempty"` Replaces string `json:"replaces,omitempty"` Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"` Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"` Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` Cleanup CleanupSpec `json:"cleanup,omitempty"` Skips []string `json:"skips,omitempty"` RelatedImages []RelatedImage `json:"relatedImages,omitempty"` }
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterServiceVersionStatus struct { Phase ClusterServiceVersionPhase `json:"phase,omitempty"` Message string `json:"message,omitempty"` Reason ConditionReason `json:"reason,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Conditions []ClusterServiceVersionCondition `json:"conditions,omitempty"` RequirementStatus []RequirementStatus `json:"requirementStatus,omitempty"` CertsLastUpdated *metav1.Time `json:"certsLastUpdated,omitempty"` CertsRotateAt *metav1.Time `json:"certsRotateAt,omitempty"` Cleanup CleanupStatus `json:"cleanup,omitempty"` }
ClusterServiceVersionStatus represents information about the status of a CSV. Status may trail the actual state of a system.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceVersionStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
ConditionReason is a camelcased reason for the state transition
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"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapResourceReference.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomResourceDefinitions struct { Owned []CRDDescription `json:"owned,omitempty"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitions.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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)
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependentStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GRPCConnectionState struct { Address string `json:"address,omitempty"` LastObservedState string `json:"lastObservedState"` LastConnectTime metav1.Time `json:"lastConnect,omitempty"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GRPCConnectionState.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Icon struct { Data string `json:"base64data"` MediaType string `json:"mediatype"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Icon.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallMode.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
InstallModeSet is a mapping of unique InstallModeTypes to whether they are supported.
NewInstallModeSet returns an InstallModeSet instantiated from the given list of InstallModes. If the given list is not a set, an error is returned.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallModeSet.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Supports returns an error if the InstallModeSet does not support configuration for the given operatorNamespace and list of target namespaces.
InstallModeType is a supported type of install mode for CSV installation
InstallPlan defines the installation of a set of operators.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlan.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
EnsureCatalogSource ensures that a CatalogSource is present in the Status block of an InstallPlan.
InstallPlanCondition represents the overall status of the execution of an InstallPlan.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanCondition.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallPlanConditionReason string
ConditionReason is a camelcased reason for the state transition.
type InstallPlanConditionType string
InstallPlanConditionType describes the state of an InstallPlan at a certain point as a whole.
InstallPlanList is a list of InstallPlan resources.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanList.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
InstallPlanPhase is the current status of a InstallPlan as a whole.
type InstallPlanReference struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Name string `json:"name"` UID types.UID `json:"uuid"` }
NewInstallPlanReference returns an InstallPlanReference for the given ObjectReference.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanReference.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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,omitempty"` }
InstallPlanSpec defines a set of Application resources to be installed
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallPlanStatus struct { Phase InstallPlanPhase `json:"phase"` Conditions []InstallPlanCondition `json:"conditions,omitempty"` CatalogSources []string `json:"catalogSources"` Plan []*Step `json:"plan,omitempty"` BundleLookups []BundleLookup `json:"bundleLookups,omitempty"` AttenuatedServiceAccountRef *corev1.ObjectReference `json:"attenuatedServiceAccountRef,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"` Message string `json:"message,omitempty"` }
InstallPlanStatus represents the information about the status of steps required to complete installation.
Status may trail the actual state of a system.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallPlanStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Maintainer.
func (*Maintainer) DeepCopyInto ¶DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
NamedInstallStrategy represents the block of an ClusterServiceVersion resource where the install strategy is specified.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedInstallStrategy.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryPoll struct { Interval *metav1.Duration `json:"interval,omitempty"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryPoll.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryServiceStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelatedImage struct { }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelatedImage.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequirementStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceInstance struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` }
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInstance.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
ResourceList represents a list of resources which are of the same Group/Kind
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
SourceType indicates the type of backing store for a CatalogSource
type SpecDescriptor struct { Path string `json:"path"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecDescriptor.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusDescriptor struct { Path string `json:"path"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDescriptor.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
StatusReason is a camelcased reason for the status of a RequirementStatus or DependentStatus
const ( RequirementStatusReasonPresent StatusReason = "Present" RequirementStatusReasonNotPresent StatusReason = "NotPresent" RequirementStatusReasonPresentNotSatisfied StatusReason = "PresentNotSatisfied" RequirementStatusReasonNotAvailable StatusReason = "PresentNotAvailable" DependentStatusReasonSatisfied StatusReason = "Satisfied" DependentStatusReasonNotSatisfied StatusReason = "NotSatisfied" )
Step represents the status of an individual step in an InstallPlan.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepResource.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
StepStatus is the current status of a particular resource an in InstallPlan
type StrategyDeploymentPermissions struct { ServiceAccountName string `json:"serviceAccountName"` Rules []rbac.PolicyRule `json:"rules"` }
StrategyDeploymentPermissions describe the rbac rules and service account needed by the install strategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDeploymentPermissions.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
StrategyDeploymentSpec contains the name, spec and labels for the deployment ALM should create
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDeploymentSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
StrategyDetailsDeployment represents the parsed details of a Deployment InstallStrategy.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyDetailsDeployment.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Subscription keeps operators up to date by tracking changes to Catalogs.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
GetInstallPlanApproval gets the configured install plan approval or the default
type SubscriptionCatalogHealth struct { CatalogSourceRef *corev1.ObjectReference `json:"catalogSourceRef"` LastUpdated *metav1.Time `json:"lastUpdated"` Healthy bool `json:"healthy"` }
SubscriptionCatalogHealth describes the health of a CatalogSource the Subscription knows about.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCatalogHealth.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Equals returns true if a SubscriptionCatalogHealth equals the one given, false otherwise. Equality is based SOLEY on health and UID.
type SubscriptionCondition struct { Type SubscriptionConditionType `json:"type" description:"type of Subscription condition"` Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"` Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"` Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"` LastHeartbeatTime *metav1.Time `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"` 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.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionCondition.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
SubscriptionConfig contains configuration specified for a subscription.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionConfig.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
SubscriptionList is a list of Subscription resources.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionList.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpec.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
SubscriptionState tracks when updates are available, installing, or service is up to date
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatus.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
RemoveConditions removes any conditions of the given types from the SubscriptionStatus' Conditions.
SetCondition sets the given SubscriptionCondition in the SubscriptionStatus' Conditions.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateStrategy.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookAdmissionType string
WebhookAdmissionType is the type of admission webhooks supported by OLM
type WebhookDescription struct { GenerateName string `json:"generateName"` Type WebhookAdmissionType `json:"type"` DeploymentName string `json:"deploymentName,omitempty"` ContainerPort int32 `json:"containerPort,omitempty"` TargetPort *intstr.IntOrString `json:"targetPort,omitempty"` Rules []admissionregistrationv1.RuleWithOperations `json:"rules,omitempty"` FailurePolicy *admissionregistrationv1.FailurePolicyType `json:"failurePolicy,omitempty"` MatchPolicy *admissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"` ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty"` SideEffects *admissionregistrationv1.SideEffectClass `json:"sideEffects"` TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` AdmissionReviewVersions []string `json:"admissionReviewVersions"` ReinvocationPolicy *admissionregistrationv1.ReinvocationPolicyType `json:"reinvocationPolicy,omitempty"` WebhookPath *string `json:"webhookPath,omitempty"` ConversionCRDs []string `json:"conversionCRDs,omitempty"` }
WebhookDescription provides details to OLM about required webhooks +k8s:openapi-gen=true
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookDescription.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebhookDescription) DomainName ¶DomainName returns the result of replacing all periods in the given Webhook name with hyphens
GetMutatingWebhook returns a MutatingWebhook generated from the WebhookDescription
GetValidatingWebhook returns a ValidatingWebhook generated from the WebhookDescription
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4