testing

package
v1.5.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 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