kubernetes: k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing Index | Files

package testing

import "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing"

Index

Package Files

util.go

type MockCheckpoint Uses

type MockCheckpoint struct {
    Content string
}

MockCheckpoint struct is used for mocking checkpoint values in testing

func (*MockCheckpoint) MarshalCheckpoint Uses

func (mc *MockCheckpoint) MarshalCheckpoint() ([]byte, error)

MarshalCheckpoint returns fake content

func (*MockCheckpoint) UnmarshalCheckpoint Uses

func (mc *MockCheckpoint) UnmarshalCheckpoint(blob []byte) error

UnmarshalCheckpoint fakes unmarshaling

func (*MockCheckpoint) VerifyChecksum Uses

func (mc *MockCheckpoint) VerifyChecksum() error

VerifyChecksum fakes verifying checksum

Package testing imports 1 packages (graph). Updated 2018-07-05. Refresh now. Tools for package owners.