package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateTestPVC returns a provisionable PVC for tests.
FindEmptyDirectoryUsageOnTmpfs finds the expected usage of an empty directory existing on a tmpfs filesystem on this system.
GetTestVolumePluginMgr creates, initializes, and returns a test volume plugin manager and fake volume plugin using a fake volume host.
No description provided by the author
NewDeviceHandler Create a new IoHandler implementation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VerifyAttachCallCount ensures that at least one of the Attachers for this plugin has the expectedAttachCallCount number of calls.
VerifyDetachCallCount ensures that at least one of the Attachers for this plugin has the expectedDetachCallCount number of calls.
VerifyGetGlobalMapPathCallCount ensures that at least one of the Mappers for this plugin has the expectedGlobalMapPathCallCount number of calls.
VerifyGetMapDeviceCallCount ensures that at least one of the Mappers for this plugin has the expectedMapDeviceCallCount number of calls.
VerifyGetPodDeviceMapPathCallCount ensures that at least one of the Mappers for this plugin has the expectedPodDeviceMapPathCallCount number of calls.
VerifyMountDeviceCallCount ensures that at least one of the Mounters for this plugin has the expectedMountDeviceCallCount number of calls.
VerifySetUpCallCount ensures that at least one of the Mounters for this plugin has the expectedSetUpCallCount number of calls.
VerifySetUpDeviceCallCount ensures that at least one of the Mappers for this plugin has the expectedSetUpDeviceCallCount number of calls.
VerifyTearDownCallCount ensures that at least one of the Unounters for this plugin has the expectedTearDownCallCount number of calls.
VerifyTearDownDeviceCallCount ensures that at least one of the Unmappers for this plugin has the expectedTearDownDeviceCallCount number of calls.
VerifyWaitForAttachCallCount ensures that at least one of the Mounters for this plugin has the expectedWaitForAttachCallCount number of calls.
VerifyZeroAttachCalls ensures that all of the Attachers for this plugin have a zero AttachCallCount.
VerifyZeroDetachCallCount ensures that all Detachers for this plugin have a zero DetachCallCount.
VerifyZeroMountDeviceCallCount ensures that all Attachers for this plugin have a zero MountDeviceCallCount.
VerifyZeroSetUpCallCount ensures that all Mounters for this plugin have a zero SetUpCallCount.
VerifyZeroTearDownCallCount ensures that all Mounters for this plugin have a zero TearDownCallCount.
VerifyZeroTearDownDeviceCallCount ensures that all Mappers for this plugin have a zero TearDownDeviceCallCount.
VerifyZeroWaitForAttachCallCount ensures that all Attachers for this plugin have a zero WaitForAttachCallCount.

# Constants

A hook specified in storage class to indicate it's provisioning is expected to fail.
The node is marked as multi-attach which means it is allowed to attach the volume to multiple nodes.
The node is marked as timeout.
The node is marked as uncertain.

# Structs

FakeAttachableVolumePlugin implements an attachable plugin based on FakeDeviceMountableVolumePlugin.
FakeBasicVolumePlugin implements a basic volume plugin.
No description provided by the author
FakeDeviceMountableVolumePlugin implements an device mountable plugin based on FakeBasicVolumePlugin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FakeVolumePlugin is useful for testing.
No description provided by the author