Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultName = "cluster"
DefaultName is the default name of the OperatorHub config resource on an OpenShift cluster
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Handle(context.Context, *configv1.OperatorHub) error
}
Handler is the interface that wraps the Handle method
type OperatorHub ¶
type OperatorHub interface { Get() map[string]bool Set(spec configv1.OperatorHubSpec) Disabled() bool }
OperatorHub is the interface to interact with the OperatorHub configuration in
memory.
func GetSingleton ¶
func GetSingleton() OperatorHub
GetSingleton returns the singleton instance of HubConfig
Click to show internal directories.
Click to hide internal directories.