Documentation
¶
Index ¶
- type FakeCache
- func (f *FakeCache) FetchDataByDigest(ctx context.Context, name, digest string) (io.ReadCloser, error)
- func (f *FakeCache) FetchDataByDigestCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) FetchDataByDigestReturns(reader io.ReadCloser, err error)
- func (f *FakeCache) FetchDataByIdentity(ctx context.Context, name, tag string) (io.ReadCloser, string, error)
- func (f *FakeCache) FetchDataByIdentityCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) FetchDataByIdentityReturns(reader io.ReadCloser, err error)
- func (f *FakeCache) IsCached(ctx context.Context, name, tag string) (bool, error)
- func (f *FakeCache) IsCachedCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) IsCachedReturns(cached bool, err error)
- func (f *FakeCache) PushData(ctx context.Context, data io.ReadCloser, name, tag string) (string, error)
- func (f *FakeCache) PushDataCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) PushDataReturns(digest string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCache ¶
type FakeCache struct {
// contains filtered or unexported fields
}
func (*FakeCache) FetchDataByDigest ¶
func (*FakeCache) FetchDataByDigestCallingArgumentsOnCall ¶
func (*FakeCache) FetchDataByDigestReturns ¶
func (f *FakeCache) FetchDataByDigestReturns(reader io.ReadCloser, err error)
func (*FakeCache) FetchDataByIdentity ¶
func (*FakeCache) FetchDataByIdentityCallingArgumentsOnCall ¶
func (*FakeCache) FetchDataByIdentityReturns ¶
func (f *FakeCache) FetchDataByIdentityReturns(reader io.ReadCloser, err error)
func (*FakeCache) IsCachedCallingArgumentsOnCall ¶
func (*FakeCache) IsCachedReturns ¶
func (*FakeCache) PushDataCallingArgumentsOnCall ¶
func (*FakeCache) PushDataReturns ¶
Click to show internal directories.
Click to hide internal directories.