Documentation ¶
Overview ¶
Package backupentry is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Deploy(ctx context.Context) error
- func (m *MockInterface) Destroy(ctx context.Context) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(arg0 context.Context) (*v1beta1.BackupEntry, error)
- func (m *MockInterface) GetActualBucketName() string
- func (m *MockInterface) Migrate(ctx context.Context) error
- func (m *MockInterface) Restore(ctx context.Context, shootState *v1beta1.ShootState) error
- func (m *MockInterface) SetBucketName(arg0 string)
- func (m *MockInterface) SetForceDeletionAnnotation(arg0 context.Context) error
- func (m *MockInterface) Wait(ctx context.Context) error
- func (m *MockInterface) WaitCleanup(ctx context.Context) error
- func (m *MockInterface) WaitMigrate(ctx context.Context) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetActualBucketName() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Migrate(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Restore(ctx, shootState any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetBucketName(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) SetForceDeletionAnnotation(arg0 any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitMigrate(ctx any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Deploy ¶
func (m *MockInterface) Deploy(ctx context.Context) error
Deploy mocks base method.
func (*MockInterface) Destroy ¶
func (m *MockInterface) Destroy(ctx context.Context) error
Destroy mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Get ¶
func (m *MockInterface) Get(arg0 context.Context) (*v1beta1.BackupEntry, error)
Get mocks base method.
func (*MockInterface) GetActualBucketName ¶
func (m *MockInterface) GetActualBucketName() string
GetActualBucketName mocks base method.
func (*MockInterface) Migrate ¶
func (m *MockInterface) Migrate(ctx context.Context) error
Migrate mocks base method.
func (*MockInterface) Restore ¶
func (m *MockInterface) Restore(ctx context.Context, shootState *v1beta1.ShootState) error
Restore mocks base method.
func (*MockInterface) SetBucketName ¶
func (m *MockInterface) SetBucketName(arg0 string)
SetBucketName mocks base method.
func (*MockInterface) SetForceDeletionAnnotation ¶
func (m *MockInterface) SetForceDeletionAnnotation(arg0 context.Context) error
SetForceDeletionAnnotation mocks base method.
func (*MockInterface) Wait ¶
func (m *MockInterface) Wait(ctx context.Context) error
Wait mocks base method.
func (*MockInterface) WaitCleanup ¶
func (m *MockInterface) WaitCleanup(ctx context.Context) error
WaitCleanup mocks base method.
func (*MockInterface) WaitMigrate ¶
func (m *MockInterface) WaitMigrate(ctx context.Context) error
WaitMigrate mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Deploy ¶
func (mr *MockInterfaceMockRecorder) Deploy(ctx any) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockInterfaceMockRecorder) Destroy ¶
func (mr *MockInterfaceMockRecorder) Destroy(ctx any) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) GetActualBucketName ¶
func (mr *MockInterfaceMockRecorder) GetActualBucketName() *gomock.Call
GetActualBucketName indicates an expected call of GetActualBucketName.
func (*MockInterfaceMockRecorder) Migrate ¶
func (mr *MockInterfaceMockRecorder) Migrate(ctx any) *gomock.Call
Migrate indicates an expected call of Migrate.
func (*MockInterfaceMockRecorder) Restore ¶
func (mr *MockInterfaceMockRecorder) Restore(ctx, shootState any) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockInterfaceMockRecorder) SetBucketName ¶
func (mr *MockInterfaceMockRecorder) SetBucketName(arg0 any) *gomock.Call
SetBucketName indicates an expected call of SetBucketName.
func (*MockInterfaceMockRecorder) SetForceDeletionAnnotation ¶
func (mr *MockInterfaceMockRecorder) SetForceDeletionAnnotation(arg0 any) *gomock.Call
SetForceDeletionAnnotation indicates an expected call of SetForceDeletionAnnotation.
func (*MockInterfaceMockRecorder) Wait ¶
func (mr *MockInterfaceMockRecorder) Wait(ctx any) *gomock.Call
Wait indicates an expected call of Wait.
func (*MockInterfaceMockRecorder) WaitCleanup ¶
func (mr *MockInterfaceMockRecorder) WaitCleanup(ctx any) *gomock.Call
WaitCleanup indicates an expected call of WaitCleanup.
func (*MockInterfaceMockRecorder) WaitMigrate ¶
func (mr *MockInterfaceMockRecorder) WaitMigrate(ctx any) *gomock.Call
WaitMigrate indicates an expected call of WaitMigrate.