mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 21:14:56 +00:00
bump up kopia to v0.21.1
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.22.1. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.2. DO NOT EDIT.
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -36,6 +36,10 @@ type DirectRepository struct {
|
||||
func (_m *DirectRepository) AlsoLogToContentLog(ctx context.Context) context.Context {
|
||||
ret := _m.Called(ctx)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for AlsoLogToContentLog")
|
||||
}
|
||||
|
||||
var r0 context.Context
|
||||
if rf, ok := ret.Get(0).(func(context.Context) context.Context); ok {
|
||||
r0 = rf(ctx)
|
||||
@@ -48,10 +52,14 @@ func (_m *DirectRepository) AlsoLogToContentLog(ctx context.Context) context.Con
|
||||
return r0
|
||||
}
|
||||
|
||||
// BlobReader provides a mock function with given fields:
|
||||
// BlobReader provides a mock function with no fields
|
||||
func (_m *DirectRepository) BlobReader() blob.Reader {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for BlobReader")
|
||||
}
|
||||
|
||||
var r0 blob.Reader
|
||||
if rf, ok := ret.Get(0).(func() blob.Reader); ok {
|
||||
r0 = rf()
|
||||
@@ -64,10 +72,14 @@ func (_m *DirectRepository) BlobReader() blob.Reader {
|
||||
return r0
|
||||
}
|
||||
|
||||
// BlobVolume provides a mock function with given fields:
|
||||
// BlobVolume provides a mock function with no fields
|
||||
func (_m *DirectRepository) BlobVolume() blob.Volume {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for BlobVolume")
|
||||
}
|
||||
|
||||
var r0 blob.Volume
|
||||
if rf, ok := ret.Get(0).(func() blob.Volume); ok {
|
||||
r0 = rf()
|
||||
@@ -80,10 +92,14 @@ func (_m *DirectRepository) BlobVolume() blob.Volume {
|
||||
return r0
|
||||
}
|
||||
|
||||
// ClientOptions provides a mock function with given fields:
|
||||
// ClientOptions provides a mock function with no fields
|
||||
func (_m *DirectRepository) ClientOptions() repo.ClientOptions {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for ClientOptions")
|
||||
}
|
||||
|
||||
var r0 repo.ClientOptions
|
||||
if rf, ok := ret.Get(0).(func() repo.ClientOptions); ok {
|
||||
r0 = rf()
|
||||
@@ -98,6 +114,10 @@ func (_m *DirectRepository) ClientOptions() repo.ClientOptions {
|
||||
func (_m *DirectRepository) Close(ctx context.Context) error {
|
||||
ret := _m.Called(ctx)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for Close")
|
||||
}
|
||||
|
||||
var r0 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context) error); ok {
|
||||
r0 = rf(ctx)
|
||||
@@ -108,10 +128,14 @@ func (_m *DirectRepository) Close(ctx context.Context) error {
|
||||
return r0
|
||||
}
|
||||
|
||||
// ConfigFilename provides a mock function with given fields:
|
||||
// ConfigFilename provides a mock function with no fields
|
||||
func (_m *DirectRepository) ConfigFilename() string {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for ConfigFilename")
|
||||
}
|
||||
|
||||
var r0 string
|
||||
if rf, ok := ret.Get(0).(func() string); ok {
|
||||
r0 = rf()
|
||||
@@ -126,6 +150,10 @@ func (_m *DirectRepository) ConfigFilename() string {
|
||||
func (_m *DirectRepository) ContentInfo(ctx context.Context, contentID index.ID) (index.Info, error) {
|
||||
ret := _m.Called(ctx, contentID)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for ContentInfo")
|
||||
}
|
||||
|
||||
var r0 index.Info
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, index.ID) (index.Info, error)); ok {
|
||||
@@ -134,9 +162,7 @@ func (_m *DirectRepository) ContentInfo(ctx context.Context, contentID index.ID)
|
||||
if rf, ok := ret.Get(0).(func(context.Context, index.ID) index.Info); ok {
|
||||
r0 = rf(ctx, contentID)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(index.Info)
|
||||
}
|
||||
r0 = ret.Get(0).(index.Info)
|
||||
}
|
||||
|
||||
if rf, ok := ret.Get(1).(func(context.Context, index.ID) error); ok {
|
||||
@@ -148,10 +174,14 @@ func (_m *DirectRepository) ContentInfo(ctx context.Context, contentID index.ID)
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// ContentReader provides a mock function with given fields:
|
||||
// ContentReader provides a mock function with no fields
|
||||
func (_m *DirectRepository) ContentReader() content.Reader {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for ContentReader")
|
||||
}
|
||||
|
||||
var r0 content.Reader
|
||||
if rf, ok := ret.Get(0).(func() content.Reader); ok {
|
||||
r0 = rf()
|
||||
@@ -165,10 +195,18 @@ func (_m *DirectRepository) ContentReader() content.Reader {
|
||||
}
|
||||
|
||||
// DeriveKey provides a mock function with given fields: purpose, keyLength
|
||||
func (_m *DirectRepository) DeriveKey(purpose []byte, keyLength int) []byte {
|
||||
func (_m *DirectRepository) DeriveKey(purpose []byte, keyLength int) ([]byte, error) {
|
||||
ret := _m.Called(purpose, keyLength)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for DeriveKey")
|
||||
}
|
||||
|
||||
var r0 []byte
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func([]byte, int) ([]byte, error)); ok {
|
||||
return rf(purpose, keyLength)
|
||||
}
|
||||
if rf, ok := ret.Get(0).(func([]byte, int) []byte); ok {
|
||||
r0 = rf(purpose, keyLength)
|
||||
} else {
|
||||
@@ -177,10 +215,16 @@ func (_m *DirectRepository) DeriveKey(purpose []byte, keyLength int) []byte {
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
if rf, ok := ret.Get(1).(func([]byte, int) error); ok {
|
||||
r1 = rf(purpose, keyLength)
|
||||
} else {
|
||||
r1 = ret.Error(1)
|
||||
}
|
||||
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// DisableIndexRefresh provides a mock function with given fields:
|
||||
// DisableIndexRefresh provides a mock function with no fields
|
||||
func (_m *DirectRepository) DisableIndexRefresh() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -189,6 +233,10 @@ func (_m *DirectRepository) DisableIndexRefresh() {
|
||||
func (_m *DirectRepository) FindManifests(ctx context.Context, labels map[string]string) ([]*manifest.EntryMetadata, error) {
|
||||
ret := _m.Called(ctx, labels)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for FindManifests")
|
||||
}
|
||||
|
||||
var r0 []*manifest.EntryMetadata
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, map[string]string) ([]*manifest.EntryMetadata, error)); ok {
|
||||
@@ -211,10 +259,14 @@ func (_m *DirectRepository) FindManifests(ctx context.Context, labels map[string
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// FormatManager provides a mock function with given fields:
|
||||
// FormatManager provides a mock function with no fields
|
||||
func (_m *DirectRepository) FormatManager() *format.Manager {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for FormatManager")
|
||||
}
|
||||
|
||||
var r0 *format.Manager
|
||||
if rf, ok := ret.Get(0).(func() *format.Manager); ok {
|
||||
r0 = rf()
|
||||
@@ -231,6 +283,10 @@ func (_m *DirectRepository) FormatManager() *format.Manager {
|
||||
func (_m *DirectRepository) GetManifest(ctx context.Context, id manifest.ID, data interface{}) (*manifest.EntryMetadata, error) {
|
||||
ret := _m.Called(ctx, id, data)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for GetManifest")
|
||||
}
|
||||
|
||||
var r0 *manifest.EntryMetadata
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, manifest.ID, interface{}) (*manifest.EntryMetadata, error)); ok {
|
||||
@@ -257,6 +313,10 @@ func (_m *DirectRepository) GetManifest(ctx context.Context, id manifest.ID, dat
|
||||
func (_m *DirectRepository) IndexBlobs(ctx context.Context, includeInactive bool) ([]indexblob.Metadata, error) {
|
||||
ret := _m.Called(ctx, includeInactive)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for IndexBlobs")
|
||||
}
|
||||
|
||||
var r0 []indexblob.Metadata
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, bool) ([]indexblob.Metadata, error)); ok {
|
||||
@@ -283,6 +343,10 @@ func (_m *DirectRepository) IndexBlobs(ctx context.Context, includeInactive bool
|
||||
func (_m *DirectRepository) NewDirectWriter(ctx context.Context, opt repo.WriteSessionOptions) (context.Context, repo.DirectRepositoryWriter, error) {
|
||||
ret := _m.Called(ctx, opt)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for NewDirectWriter")
|
||||
}
|
||||
|
||||
var r0 context.Context
|
||||
var r1 repo.DirectRepositoryWriter
|
||||
var r2 error
|
||||
@@ -318,6 +382,10 @@ func (_m *DirectRepository) NewDirectWriter(ctx context.Context, opt repo.WriteS
|
||||
func (_m *DirectRepository) NewWriter(ctx context.Context, opt repo.WriteSessionOptions) (context.Context, repo.RepositoryWriter, error) {
|
||||
ret := _m.Called(ctx, opt)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for NewWriter")
|
||||
}
|
||||
|
||||
var r0 context.Context
|
||||
var r1 repo.RepositoryWriter
|
||||
var r2 error
|
||||
@@ -349,10 +417,14 @@ func (_m *DirectRepository) NewWriter(ctx context.Context, opt repo.WriteSession
|
||||
return r0, r1, r2
|
||||
}
|
||||
|
||||
// ObjectFormat provides a mock function with given fields:
|
||||
// ObjectFormat provides a mock function with no fields
|
||||
func (_m *DirectRepository) ObjectFormat() format.ObjectFormat {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for ObjectFormat")
|
||||
}
|
||||
|
||||
var r0 format.ObjectFormat
|
||||
if rf, ok := ret.Get(0).(func() format.ObjectFormat); ok {
|
||||
r0 = rf()
|
||||
@@ -367,6 +439,10 @@ func (_m *DirectRepository) ObjectFormat() format.ObjectFormat {
|
||||
func (_m *DirectRepository) OpenObject(ctx context.Context, id object.ID) (object.Reader, error) {
|
||||
ret := _m.Called(ctx, id)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for OpenObject")
|
||||
}
|
||||
|
||||
var r0 object.Reader
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, object.ID) (object.Reader, error)); ok {
|
||||
@@ -393,6 +469,10 @@ func (_m *DirectRepository) OpenObject(ctx context.Context, id object.ID) (objec
|
||||
func (_m *DirectRepository) PrefetchContents(ctx context.Context, contentIDs []index.ID, hint string) []index.ID {
|
||||
ret := _m.Called(ctx, contentIDs, hint)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for PrefetchContents")
|
||||
}
|
||||
|
||||
var r0 []index.ID
|
||||
if rf, ok := ret.Get(0).(func(context.Context, []index.ID, string) []index.ID); ok {
|
||||
r0 = rf(ctx, contentIDs, hint)
|
||||
@@ -409,6 +489,10 @@ func (_m *DirectRepository) PrefetchContents(ctx context.Context, contentIDs []i
|
||||
func (_m *DirectRepository) PrefetchObjects(ctx context.Context, objectIDs []object.ID, hint string) ([]index.ID, error) {
|
||||
ret := _m.Called(ctx, objectIDs, hint)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for PrefetchObjects")
|
||||
}
|
||||
|
||||
var r0 []index.ID
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, []object.ID, string) ([]index.ID, error)); ok {
|
||||
@@ -435,6 +519,10 @@ func (_m *DirectRepository) PrefetchObjects(ctx context.Context, objectIDs []obj
|
||||
func (_m *DirectRepository) Refresh(ctx context.Context) error {
|
||||
ret := _m.Called(ctx)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for Refresh")
|
||||
}
|
||||
|
||||
var r0 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context) error); ok {
|
||||
r0 = rf(ctx)
|
||||
@@ -445,10 +533,14 @@ func (_m *DirectRepository) Refresh(ctx context.Context) error {
|
||||
return r0
|
||||
}
|
||||
|
||||
// Throttler provides a mock function with given fields:
|
||||
// Throttler provides a mock function with no fields
|
||||
func (_m *DirectRepository) Throttler() throttling.SettableThrottler {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for Throttler")
|
||||
}
|
||||
|
||||
var r0 throttling.SettableThrottler
|
||||
if rf, ok := ret.Get(0).(func() throttling.SettableThrottler); ok {
|
||||
r0 = rf()
|
||||
@@ -461,10 +553,14 @@ func (_m *DirectRepository) Throttler() throttling.SettableThrottler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// Time provides a mock function with given fields:
|
||||
// Time provides a mock function with no fields
|
||||
func (_m *DirectRepository) Time() time.Time {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for Time")
|
||||
}
|
||||
|
||||
var r0 time.Time
|
||||
if rf, ok := ret.Get(0).(func() time.Time); ok {
|
||||
r0 = rf()
|
||||
@@ -479,6 +575,10 @@ func (_m *DirectRepository) Time() time.Time {
|
||||
func (_m *DirectRepository) Token(password string) (string, error) {
|
||||
ret := _m.Called(password)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for Token")
|
||||
}
|
||||
|
||||
var r0 string
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(string) (string, error)); ok {
|
||||
@@ -499,10 +599,14 @@ func (_m *DirectRepository) Token(password string) (string, error) {
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// UniqueID provides a mock function with given fields:
|
||||
// UniqueID provides a mock function with no fields
|
||||
func (_m *DirectRepository) UniqueID() []byte {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for UniqueID")
|
||||
}
|
||||
|
||||
var r0 []byte
|
||||
if rf, ok := ret.Get(0).(func() []byte); ok {
|
||||
r0 = rf()
|
||||
@@ -524,6 +628,10 @@ func (_m *DirectRepository) UpdateDescription(d string) {
|
||||
func (_m *DirectRepository) VerifyObject(ctx context.Context, id object.ID) ([]index.ID, error) {
|
||||
ret := _m.Called(ctx, id)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for VerifyObject")
|
||||
}
|
||||
|
||||
var r0 []index.ID
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func(context.Context, object.ID) ([]index.ID, error)); ok {
|
||||
@@ -546,13 +654,12 @@ func (_m *DirectRepository) VerifyObject(ctx context.Context, id object.ID) ([]i
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
type mockConstructorTestingTNewDirectRepository interface {
|
||||
// NewDirectRepository creates a new instance of DirectRepository. 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 NewDirectRepository(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}
|
||||
|
||||
// NewDirectRepository creates a new instance of DirectRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
func NewDirectRepository(t mockConstructorTestingTNewDirectRepository) *DirectRepository {
|
||||
}) *DirectRepository {
|
||||
mock := &DirectRepository{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.39.1. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.2. DO NOT EDIT.
|
||||
|
||||
package mocks
|
||||
|
||||
@@ -52,7 +52,7 @@ func (_m *DirectRepositoryWriter) AlsoLogToContentLog(ctx context.Context) conte
|
||||
return r0
|
||||
}
|
||||
|
||||
// BlobReader provides a mock function with given fields:
|
||||
// BlobReader provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) BlobReader() blob.Reader {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -72,7 +72,7 @@ func (_m *DirectRepositoryWriter) BlobReader() blob.Reader {
|
||||
return r0
|
||||
}
|
||||
|
||||
// BlobStorage provides a mock function with given fields:
|
||||
// BlobStorage provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) BlobStorage() blob.Storage {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -92,7 +92,7 @@ func (_m *DirectRepositoryWriter) BlobStorage() blob.Storage {
|
||||
return r0
|
||||
}
|
||||
|
||||
// BlobVolume provides a mock function with given fields:
|
||||
// BlobVolume provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) BlobVolume() blob.Volume {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -112,7 +112,7 @@ func (_m *DirectRepositoryWriter) BlobVolume() blob.Volume {
|
||||
return r0
|
||||
}
|
||||
|
||||
// ClientOptions provides a mock function with given fields:
|
||||
// ClientOptions provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) ClientOptions() repo.ClientOptions {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -176,7 +176,7 @@ func (_m *DirectRepositoryWriter) ConcatenateObjects(ctx context.Context, object
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// ConfigFilename provides a mock function with given fields:
|
||||
// ConfigFilename provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) ConfigFilename() string {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -222,7 +222,7 @@ func (_m *DirectRepositoryWriter) ContentInfo(ctx context.Context, contentID ind
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// ContentManager provides a mock function with given fields:
|
||||
// ContentManager provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) ContentManager() *content.WriteManager {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -242,7 +242,7 @@ func (_m *DirectRepositoryWriter) ContentManager() *content.WriteManager {
|
||||
return r0
|
||||
}
|
||||
|
||||
// ContentReader provides a mock function with given fields:
|
||||
// ContentReader provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) ContentReader() content.Reader {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -281,7 +281,7 @@ func (_m *DirectRepositoryWriter) DeleteManifest(ctx context.Context, id manifes
|
||||
}
|
||||
|
||||
// DeriveKey provides a mock function with given fields: purpose, keyLength
|
||||
func (_m *DirectRepositoryWriter) DeriveKey(purpose []byte, keyLength int) []byte {
|
||||
func (_m *DirectRepositoryWriter) DeriveKey(purpose []byte, keyLength int) ([]byte, error) {
|
||||
ret := _m.Called(purpose, keyLength)
|
||||
|
||||
if len(ret) == 0 {
|
||||
@@ -289,6 +289,10 @@ func (_m *DirectRepositoryWriter) DeriveKey(purpose []byte, keyLength int) []byt
|
||||
}
|
||||
|
||||
var r0 []byte
|
||||
var r1 error
|
||||
if rf, ok := ret.Get(0).(func([]byte, int) ([]byte, error)); ok {
|
||||
return rf(purpose, keyLength)
|
||||
}
|
||||
if rf, ok := ret.Get(0).(func([]byte, int) []byte); ok {
|
||||
r0 = rf(purpose, keyLength)
|
||||
} else {
|
||||
@@ -297,10 +301,16 @@ func (_m *DirectRepositoryWriter) DeriveKey(purpose []byte, keyLength int) []byt
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
if rf, ok := ret.Get(1).(func([]byte, int) error); ok {
|
||||
r1 = rf(purpose, keyLength)
|
||||
} else {
|
||||
r1 = ret.Error(1)
|
||||
}
|
||||
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// DisableIndexRefresh provides a mock function with given fields:
|
||||
// DisableIndexRefresh provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) DisableIndexRefresh() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -353,7 +363,7 @@ func (_m *DirectRepositoryWriter) Flush(ctx context.Context) error {
|
||||
return r0
|
||||
}
|
||||
|
||||
// FormatManager provides a mock function with given fields:
|
||||
// FormatManager provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) FormatManager() *format.Manager {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -531,7 +541,7 @@ func (_m *DirectRepositoryWriter) NewWriter(ctx context.Context, opt repo.WriteS
|
||||
return r0, r1, r2
|
||||
}
|
||||
|
||||
// ObjectFormat provides a mock function with given fields:
|
||||
// ObjectFormat provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) ObjectFormat() format.ObjectFormat {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -708,7 +718,7 @@ func (_m *DirectRepositoryWriter) ReplaceManifests(ctx context.Context, labels m
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// Throttler provides a mock function with given fields:
|
||||
// Throttler provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) Throttler() throttling.SettableThrottler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -728,7 +738,7 @@ func (_m *DirectRepositoryWriter) Throttler() throttling.SettableThrottler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// Time provides a mock function with given fields:
|
||||
// Time provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) Time() time.Time {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -774,7 +784,7 @@ func (_m *DirectRepositoryWriter) Token(password string) (string, error) {
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// UniqueID provides a mock function with given fields:
|
||||
// UniqueID provides a mock function with no fields
|
||||
func (_m *DirectRepositoryWriter) UniqueID() []byte {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user