kubernetes/pkg/kubelet/server/stats/volume_stat_calculator_test.go

const namespace0

const pName0

const capacity

const available

const inodesTotal

const inodesFree

const vol0

const vol1

const vol2

const vol3

const pvcClaimName0

const pvcClaimName1

var ErrorWatchTimeout

var podVolumes

var fakePod

var volumeCondition

func TestPVCRef(t *testing.T) {}

func TestNormalVolumeEvent(t *testing.T) {}

func TestAbnormalVolumeEvent(t *testing.T) {}

func WatchEvent(eventChan <-chan string) (string, error) {}

var _

type fakeVolume

func (v *fakeVolume) GetPath() string {}

func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) {}

func expectedMetrics() *volume.Metrics {}

func expectedFSStats() kubestats.FsStats {}

func expectedVolumeHealthStats() *kubestats.VolumeHealthStats {}

var _

type fakeBlockVolume

func (v *fakeBlockVolume) GetGlobalMapPath(*volume.Spec) (string, error) {}

func (v *fakeBlockVolume) GetPodDeviceMapPath() (string, string) {}

func (v *fakeBlockVolume) SupportsMetrics() bool {}

func (v *fakeBlockVolume) GetMetrics() (*volume.Metrics, error) {}

func expectedBlockMetrics() *volume.Metrics {}

func expectedBlockStats() kubestats.FsStats {}