testing

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FakeClusterName = "fake-cluster-name"
	FakeProjectID   = "fake-project-id"
)

Functions

func NewTestClient

func NewTestClient(data TestClientData) metadata.Client

Types

type TestClientData

type TestClientData struct {
	ClusterNameErr error
	ProjectIDErr   error
	CloseErr       error
}

TestClientData is the data used to configure the test metadata client.

Jump to

Keyboard shortcuts

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