deploy

package
v0.0.0-...-ed9f9c9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 42 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator interface {
	Install(context.Context) error
	Update(context.Context) error
	CreateOrUpdateCredentialsRequest(context.Context) error
	IsReady(context.Context) (bool, error)
	Restart(context.Context, []string) error
	IsRunningDesiredVersion(context.Context) (bool, error)
	RenewMDSDCertificate(context.Context) error
	EnsureUpgradeAnnotation(context.Context) error
	SyncClusterObject(context.Context) error
	SetForceReconcile(context.Context, bool) error
}

func New

func New(log *logrus.Entry, env env.Interface, oc *api.OpenShiftCluster, subscriptionDoc *api.SubscriptionDocument, arocli aroclient.Interface, client clienthelper.Interface, extensionscli extensionsclient.Interface, kubernetescli kubernetes.Interface, operatorcli operatorclient.Interface) (Operator, error)

Jump to

Keyboard shortcuts

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