MCPcopy
hub / github.com/containerd/containerd / fakeSpecOnlyContainer

Struct fakeSpecOnlyContainer

internal/cri/server/container_status_test.go:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408var _ containerd.Container = &fakeSpecOnlyContainer{}
409
410type fakeSpecOnlyContainer struct {
411 t *testing.T
412 spec *specs.Spec
413 errOnSpec error
414}
415
416// Spec implements client.Container.
417func (c *fakeSpecOnlyContainer) Spec(context.Context) (*specs.Spec, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected