Documentation ¶
Index ¶
- type GCSClient
- func (_m *GCSClient) GetImage(ctx context.Context, digest types.Digest) ([]byte, error)
- func (_m *GCSClient) LoadKnownDigests(ctx context.Context, w io.Writer) error
- func (_m *GCSClient) Options() storage.GCSClientOptions
- func (_m *GCSClient) WriteKnownDigests(ctx context.Context, digests types.DigestSlice) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSClient ¶
GCSClient is an autogenerated mock type for the GCSClient type
func NewGCSClient ¶
NewGCSClient creates a new instance of GCSClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GCSClient) LoadKnownDigests ¶
LoadKnownDigests provides a mock function with given fields: ctx, w
func (*GCSClient) Options ¶
func (_m *GCSClient) Options() storage.GCSClientOptions
Options provides a mock function with given fields:
func (*GCSClient) WriteKnownDigests ¶
WriteKnownDigests provides a mock function with given fields: ctx, digests
Click to show internal directories.
Click to hide internal directories.