olm

package
v0.10.1-0...-fa89fd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

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?

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

This section is empty.

Variables

View Source
var Scheme = scheme.Scheme

Functions

This section is empty.

Types

type Client

type Client struct {
	KubeClient client.Client
}

func ClientForConfig

func ClientForConfig(cfg *rest.Config) (*Client, error)

func (Client) DoCSVWait

func (c Client) DoCSVWait(ctx context.Context, key types.NamespacedName) error

func (Client) DoCreate

func (c Client) DoCreate(ctx context.Context, objs ...runtime.Object) error

func (Client) DoDelete

func (c Client) DoDelete(ctx context.Context, objs ...runtime.Object) error

func (Client) DoRolloutWait

func (c Client) DoRolloutWait(ctx context.Context, key types.NamespacedName) error

func (Client) GetObjectsStatus

func (c Client) GetObjectsStatus(ctx context.Context, objs ...runtime.Object) Status

type ResourceStatus

type ResourceStatus struct {
	NamespacedName types.NamespacedName
	Resource       *unstructured.Unstructured
	GVK            schema.GroupVersionKind
	Error          error
}

type Status

type Status struct {
	Resources []ResourceStatus
}

func (Status) HasExistingResources

func (s Status) HasExistingResources() bool

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL