package testing

import "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing"

Index

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

Source Files

testvolumespec.go

Version
v1.5.0-alpha.2
Published
Oct 27, 2016
Platform
js/wasm
Imports
8 packages
Last checked
56 seconds ago

Tools for package owners.