Documentation ¶
Index ¶
- type MockContainerdStore
- func (m *MockContainerdStore) All(ctx context.Context, ref containerd.Reference) ([]string, error)
- func (m *MockContainerdStore) Bytes(ctx context.Context, dgst digest.Digest) ([]byte, string, error)
- func (m *MockContainerdStore) List(ctx context.Context) ([]containerd.Reference, error)
- func (m *MockContainerdStore) Resolve(ctx context.Context, ref string) (digest.Digest, error)
- func (m *MockContainerdStore) Size(ctx context.Context, dgst digest.Digest) (int64, error)
- func (m *MockContainerdStore) Subscribe(ctx context.Context) (<-chan containerd.Reference, <-chan error)
- func (m *MockContainerdStore) Verify(ctx context.Context) error
- func (m *MockContainerdStore) Write(ctx context.Context, dst io.Writer, dgst digest.Digest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerdStore ¶
type MockContainerdStore struct {
// contains filtered or unexported fields
}
func NewMockContainerdStore ¶
func NewMockContainerdStore(refs []containerd.Reference) *MockContainerdStore
func (*MockContainerdStore) All ¶
func (m *MockContainerdStore) All(ctx context.Context, ref containerd.Reference) ([]string, error)
func (*MockContainerdStore) List ¶
func (m *MockContainerdStore) List(ctx context.Context) ([]containerd.Reference, error)
func (*MockContainerdStore) Resolve ¶
func (m *MockContainerdStore) Resolve(ctx context.Context, ref string) (digest.Digest, error)
func (*MockContainerdStore) Size ¶
func (m *MockContainerdStore) Size(ctx context.Context, dgst digest.Digest) (int64, error)
func (*MockContainerdStore) Subscribe ¶
func (m *MockContainerdStore) Subscribe(ctx context.Context) (<-chan containerd.Reference, <-chan error)
Click to show internal directories.
Click to hide internal directories.