Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GoDoc for Phase #199

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion api/core/v1alpha1/catalog_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ type CatalogStatus struct {

// ResolvedSource contains information about the resolved source
ResolvedSource *ResolvedCatalogSource `json:"resolvedSource,omitempty"`
Phase string `json:"phase,omitempty"`
// Phase represents a human-readable status of resolution of the content source.
// It is not appropriate to use for business logic determination.
Phase string `json:"phase,omitempty"`
// ContentURL is a cluster-internal address that on-cluster components
// can read the content of a catalog from
ContentURL string `json:"contentURL,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ spec:
format: int64
type: integer
phase:
description: Phase represents a human-readable status of resolution
of the content source. It is not appropriate to use for business
logic determination.
type: string
resolvedSource:
description: ResolvedSource contains information about the resolved
Expand Down