MCPcopy
hub / github.com/kubeedge/kubeedge / New

Function New

edge/pkg/metamanager/client/metaclient.go:102–106  ·  view source on GitHub ↗

New creates new metaclient

()

Source from the content-addressed store, hash-verified

100
101// New creates new metaclient
102func New() CoreInterface {
103 return &metaClient{
104 send: newSend(),
105 }
106}
107
108// SendInterface is to sync interface
109type SendInterface interface {

Callers 8

TestNewSimpleClientsetFunction · 0.92
TestCoreV1Function · 0.92
TestStorageV1Function · 0.92
TestCoordinationV1Function · 0.92
TestVolumeAttachmentsFunction · 0.92
buildAuthFunction · 0.92
NewSimpleClientsetFunction · 0.92
TestNewFunction · 0.70

Calls 1

newSendFunction · 0.85

Tested by 6

TestNewSimpleClientsetFunction · 0.74
TestCoreV1Function · 0.74
TestStorageV1Function · 0.74
TestCoordinationV1Function · 0.74
TestVolumeAttachmentsFunction · 0.74
TestNewFunction · 0.56