package testing
import "k8s.io/kubernetes/pkg/controller/volume/attachdetach/testing"
Index ¶
- func CreateTestClient() *fake.Clientset
- func GetTestVolumeSpec(volumeName string, diskName api.UniqueVolumeName) *volume.Spec
- func NewPod(uid, name string) *api.Pod
Functions ¶
func CreateTestClient ¶
func GetTestVolumeSpec ¶
func GetTestVolumeSpec(volumeName string, diskName api.UniqueVolumeName) *volume.Spec
GetTestVolumeSpec returns a test volume spec
func NewPod ¶
NewPod returns a test pod object
Source Files ¶
testvolumespec.go
- Version
- v1.4.2
- Published
- Oct 15, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 3 minutes ago –
Tools for package owners.