testing

package
v1.6.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestClient

func CreateTestClient() *fake.Clientset

func GetTestVolumeSpec

func GetTestVolumeSpec(volumeName string, diskName v1.UniqueVolumeName) *volume.Spec

GetTestVolumeSpec returns a test volume spec

func NewPod

func NewPod(uid, name string) *v1.Pod

NewPod returns a test pod object

Types

This section is empty.

Jump to

Keyboard shortcuts

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