Documentation ¶
Overview ¶
Package olm provides an API to install, uninstall, and check the status of an Operator Lifecycle Manager installation. TODO: move to OLM repository?
Index ¶
- Constants
- Variables
- type Client
- func (c Client) GetInstalledVersion(ctx context.Context) (string, error)
- func (c Client) GetStatus(ctx context.Context, version string) (*olmresourceclient.Status, error)
- func (c Client) InstallVersion(ctx context.Context, version string) (*olmresourceclient.Status, error)
- func (c Client) UninstallVersion(ctx context.Context, version string) error
- type Manager
Constants ¶
View Source
const ( DefaultVersion = "latest" DefaultTimeout = time.Minute * 2 )
Variables ¶
View Source
var ErrOLMNotInstalled = errors.New("no existing installation found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *olmresourceclient.Client HTTPClient http.Client BaseDownloadURL string }
func (Client) GetInstalledVersion ¶
func (Client) InstallVersion ¶
Click to show internal directories.
Click to hide internal directories.