kubernetesk8s.io/kubernetes/pkg/kubelet/dockershim/testing Index | Files

package testing

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

Index

Types

type MemStore

type MemStore struct {
	sync.Mutex
	// contains filtered or unexported fields
}

MemStore is an implementation of CheckpointStore interface which stores checkpoint in memory.

func NewMemStore

func NewMemStore() *MemStore

func (*MemStore) Delete

func (mstore *MemStore) Delete(key string) error

func (*MemStore) List

func (mstore *MemStore) List() ([]string, error)

func (*MemStore) Read

func (mstore *MemStore) Read(key string) ([]byte, error)

func (*MemStore) Write

func (mstore *MemStore) Write(key string, data []byte) error

Source Files

util.go

Version
v1.7.8
Published
Oct 5, 2017
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.