testing

package
v0.0.0-...-33ee089 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGetClusterSuccessfully

func HandleGetClusterSuccessfully(t *testing.T)

HandleGetClusterSuccessfully creates an HTTP handler at `/v1/clusters/:cluster_id` on the test handler mux that responds with a single cluster.

func HandleListClustersSuccessfully

func HandleListClustersSuccessfully(t *testing.T)

HandleListClustersSuccessfully creates an HTTP handler at `/v1/clusters` on the test handler mux that responds with a list of (two) clusters.

func HandleUpdateClusterSuccessfully

func HandleUpdateClusterSuccessfully(t *testing.T)

HandleUpdateClusterSuccessfully creates an HTTP handler at `/v1/clusters/:cluster_id` on the test handler mux that tests cluster update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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