kubernetes: k8s.io/kubernetes/pkg/kubelet/status/testing Index | Files

package testing

import "k8s.io/kubernetes/pkg/kubelet/status/testing"

Index

Package Files

fake_pod_deletion_safety.go mock_pod_status_provider.go

type FakePodDeletionSafetyProvider Uses

type FakePodDeletionSafetyProvider struct{}

func (*FakePodDeletionSafetyProvider) PodResourcesAreReclaimed Uses

func (f *FakePodDeletionSafetyProvider) PodResourcesAreReclaimed(pod *v1.Pod, status v1.PodStatus) bool

type MockStatusProvider Uses

type MockStatusProvider struct {
    mock.Mock
}

func (*MockStatusProvider) GetPodStatus Uses

func (m *MockStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool)

Package testing imports 3 packages (graph). Updated 2019-03-26. Refresh now. Tools for package owners.