adminactions

package
v0.0.0-...-a580c8e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	K8sGet(groupKind, namespace, name string) ([]byte, error)
	K8sList(groupKind, namespace string) ([]byte, error)
	K8sCreateOrUpdate(obj *unstructured.Unstructured) error
	K8sDelete(groupKind, namespace, name string) error
	MustGather(ctx context.Context, w http.ResponseWriter) error
	ResourcesList(ctx context.Context) ([]byte, error)
	Upgrade(ctx context.Context) error
	VMRedeployAndWait(ctx context.Context, vmName string) error
	VMSerialConsole(ctx context.Context, w http.ResponseWriter,
		log *logrus.Entry, vmName string) error
}

Interface for adminactions

func New

func New(log *logrus.Entry, env env.Interface, oc *api.OpenShiftCluster,
	subscriptionDoc *api.SubscriptionDocument) (Interface, error)

New returns an adminactions Interface

Jump to

Keyboard shortcuts

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