Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const (
ConsoleQuickStartKind = "ConsoleQuickStart"
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
ConsoleLinkKind = "ConsoleLink"
ConsolePlugin = "ConsolePlugin"
)

var supportedKinds = map[string]struct{}{
Expand All @@ -22,6 +23,7 @@ var supportedKinds = map[string]struct{}{
ConsoleQuickStartKind: {},
ConsoleCLIDownloadKind: {},
ConsoleLinkKind: {},
ConsolePlugin: {},
}

// isSupported returns true if OLM supports this type of CustomResource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const (
ConsoleQuickStartKind = "ConsoleQuickStart"
ConsoleCLIDownloadKind = "ConsoleCLIDownload"
ConsoleLinkKind = "ConsoleLink"
ConsolePlugin = "ConsolePlugin"
)

// Namespaced indicates whether the resource is namespace scoped (true) or cluster-scoped (false).
Expand Down Expand Up @@ -47,6 +48,7 @@ var supportedResources = map[string]Namespaced{
ConsoleQuickStartKind: false,
ConsoleCLIDownloadKind: false,
ConsoleLinkKind: false,
ConsolePlugin: false,
}

// IsSupported checks if the object kind is OLM-supported and if it is namespaced
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.