package testsuites
import "k8s.io/kubernetes/test/e2e/storage/testsuites"
Index ¶
- func RunTestSuite(f *framework.Framework, config framework.VolumeTestConfig, driver drivers.TestDriver, tsInits []func() TestSuite)
- func SubpathTestPod(f *framework.Framework, subpath, volumeType string, source *v1.VolumeSource, privilegedSecurityContext bool) *v1.Pod
- func TestBasicSubpath(f *framework.Framework, contents string, pod *v1.Pod)
- func TestBasicSubpathFile(f *framework.Framework, contents string, pod *v1.Pod, filepath string)
- type TestResource
- type TestSuite
- func InitSubPathTestSuite() TestSuite
- func InitVolumeIOTestSuite() TestSuite
- func InitVolumeModeTestSuite() TestSuite
- func InitVolumesTestSuite() TestSuite
- type TestSuiteInfo
Functions ¶
func RunTestSuite ¶
func RunTestSuite(f *framework.Framework, config framework.VolumeTestConfig, driver drivers.TestDriver, tsInits []func() TestSuite)
RunTestSuite runs all testpatterns of all testSuites for a driver
func SubpathTestPod ¶
func SubpathTestPod(f *framework.Framework, subpath, volumeType string, source *v1.VolumeSource, privilegedSecurityContext bool) *v1.Pod
SubpathTestPod returns a pod spec for subpath tests
func TestBasicSubpath ¶
TestBasicSubpath runs basic subpath test
func TestBasicSubpathFile ¶
TestBasicSubpathFile runs basic subpath file test
Types ¶
type TestResource ¶
type TestResource interface {
// contains filtered or unexported methods
}
TestResource represents an interface for resources that is used by TestSuite
type TestSuite ¶
type TestSuite interface {
// contains filtered or unexported methods
}
TestSuite represents an interface for a set of tests whchi works with TestDriver
func InitSubPathTestSuite ¶
func InitSubPathTestSuite() TestSuite
InitSubPathTestSuite returns subPathTestSuite that implements TestSuite interface
func InitVolumeIOTestSuite ¶
func InitVolumeIOTestSuite() TestSuite
InitVolumeIOTestSuite returns volumeIOTestSuite that implements TestSuite interface
func InitVolumeModeTestSuite ¶
func InitVolumeModeTestSuite() TestSuite
InitVolumeModeTestSuite returns volumeModeTestSuite that implements TestSuite interface
func InitVolumesTestSuite ¶
func InitVolumesTestSuite() TestSuite
InitVolumesTestSuite returns volumesTestSuite that implements TestSuite interface
type TestSuiteInfo ¶
type TestSuiteInfo struct {
// contains filtered or unexported fields
}
Source Files ¶
base.go subpath.go volume_io.go volumemode.go volumes.go
- Version
- v1.12.1
- Published
- Oct 5, 2018
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 20 minutes ago –
Tools for package owners.