Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodDeletionSafetyProvider ¶
type FakePodDeletionSafetyProvider struct{}
FakePodDeletionSafetyProvider is a fake PodDeletionSafetyProvider for test.
func (*FakePodDeletionSafetyProvider) PodResourcesAreReclaimed ¶ added in v1.7.0
func (f *FakePodDeletionSafetyProvider) PodResourcesAreReclaimed(pod *v1.Pod, status v1.PodStatus) bool
PodResourcesAreReclaimed implements PodDeletionSafetyProvider. Always reports that all pod resources are reclaimed.
type MockStatusProvider ¶ added in v1.14.0
MockStatusProvider mocks a PodStatusProvider.
func (*MockStatusProvider) GetPodStatus ¶ added in v1.14.0
GetPodStatus implements PodStatusProvider.
Click to show internal directories.
Click to hide internal directories.