Documentation ¶
Index ¶
- type FakeCache
- func (f *FakeCache) DeleteData(ctx context.Context, name, digest string) error
- func (f *FakeCache) DeleteDataCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) DeleteDataReturns(err error)
- func (f *FakeCache) DeleteDataWasNotCalled() bool
- 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) FetchDataByDigestReturnsOnCall(n int, reader io.ReadCloser, err error)
- func (f *FakeCache) FetchDataByDigestWasNotCalled() bool
- func (f *FakeCache) FetchDataByIdentity(ctx context.Context, name, tag string) (io.ReadCloser, string, int64, error)
- func (f *FakeCache) FetchDataByIdentityCallingArgumentsOnCall(i int) []any
- func (f *FakeCache) FetchDataByIdentityReturns(reader io.ReadCloser, err error)
- func (f *FakeCache) FetchDataByIdentityWasNotCalled() bool
- 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) IsCachedWasNotCalled() bool
- func (f *FakeCache) PushData(ctx context.Context, data io.ReadCloser, mediaType, name, tag string) (string, int64, error)
- func (f *FakeCache) PushDataCallingArgumentsOnCall(i int) PushDataArguments
- func (f *FakeCache) PushDataReturns(digest string, err error)
- func (f *FakeCache) PushDataWasNotCalled() bool
- type PushDataArguments
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) DeleteData ¶
func (*FakeCache) DeleteDataCallingArgumentsOnCall ¶
func (*FakeCache) DeleteDataReturns ¶
func (*FakeCache) DeleteDataWasNotCalled ¶
func (*FakeCache) FetchDataByDigest ¶
func (*FakeCache) FetchDataByDigestCallingArgumentsOnCall ¶
func (*FakeCache) FetchDataByDigestReturns ¶
func (f *FakeCache) FetchDataByDigestReturns(reader io.ReadCloser, err error)
func (*FakeCache) FetchDataByDigestReturnsOnCall ¶
func (f *FakeCache) FetchDataByDigestReturnsOnCall(n int, reader io.ReadCloser, err error)
func (*FakeCache) FetchDataByDigestWasNotCalled ¶
func (*FakeCache) FetchDataByIdentity ¶
func (*FakeCache) FetchDataByIdentityCallingArgumentsOnCall ¶
func (*FakeCache) FetchDataByIdentityReturns ¶
func (f *FakeCache) FetchDataByIdentityReturns(reader io.ReadCloser, err error)
func (*FakeCache) FetchDataByIdentityWasNotCalled ¶
func (*FakeCache) IsCachedCallingArgumentsOnCall ¶
func (*FakeCache) IsCachedReturns ¶
func (*FakeCache) IsCachedWasNotCalled ¶
func (*FakeCache) PushDataCallingArgumentsOnCall ¶
func (f *FakeCache) PushDataCallingArgumentsOnCall(i int) PushDataArguments
func (*FakeCache) PushDataReturns ¶
func (*FakeCache) PushDataWasNotCalled ¶
type PushDataArguments ¶
Click to show internal directories.
Click to hide internal directories.