testing

package
v1.5.5-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 8 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 api.UniqueVolumeName) *volume.Spec

GetTestVolumeSpec returns a test volume spec

func NewPod

func NewPod(uid, name string) *api.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