package testing
import "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing"
Index ¶
- func CreateTestClient() *fake.Clientset
- func GetTestVolumeSpec(volumeName string, diskName v1.UniqueVolumeName) *volume.Spec
- func NewPod(uid, name string) *v1.Pod
Functions ¶
func CreateTestClient ¶
func GetTestVolumeSpec ¶
func GetTestVolumeSpec(volumeName string, diskName v1.UniqueVolumeName) *volume.Spec
GetTestVolumeSpec returns a test volume spec
func NewPod ¶
NewPod returns a test pod object
Source Files ¶
testvolumespec.go
- Version
- v1.6.0-rc.1
- Published
- Mar 24, 2017
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 6 seconds ago –
Tools for package owners.