tenantcluster

package
v0.0.0-...-9b8bc36 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 9 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 {
	PatchMachine(machine *machinev1.Machine, originMachineCopy *machinev1.Machine) error
	StatusPatchMachine(machine *machinev1.Machine, originMachineCopy *machinev1.Machine) error
	GetSecret(ctx context.Context, secretName string, namespace string) (*corev1.Secret, error)
	GetConfigMapValue(ctx context.Context, configMapName, configMapNamespace, configMapDataKeyName string) (*map[string]string, error)
}

Client is a wrapper object for actual tenant-cluster clients: kubernetesClient and runtimeClient

func New

func New(mgr manager.Manager) (Client, error)

New creates our client wrapper object for the actual KubeVirt and VirtCtl clients we use.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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