operator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateOperator(ctx context.Context, obj *v1alpha1.Operator) error
	GetPackageManifest(ctx context.Context, obj *v1alpha1.Operator) (*operatorsv1.PackageManifest, error)
	ParsePackageManifest(op *v1alpha1.Operator, obj *operatorsv1.PackageManifest) *string
	CheckCSV(ctx context.Context, csv string, op *v1alpha1.Operator) (bool, bool)
	DeleteCSV(ctx context.Context, csv string, op *v1alpha1.Operator) error
	DeleteSubscription(ctx context.Context, op *v1alpha1.Operator) error
}

Client is the interface for the operator client

func NewClient

func NewClient(rc *rest.Config, logger logging.Logger) (Client, error)

NewClient creates the client for the openshift controller

Jump to

Keyboard shortcuts

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