testing

package
v0.0.0-...-d19fc40 Latest Latest
Warning

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

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

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