Documentation ¶
Overview ¶
Package backupentry is a generated GoMock package.
Index ¶
- Variables
- func AddToManager(ctx context.Context, mgr manager.Manager) error
- func AddToManagerWithOptions(ctx context.Context, mgr manager.Manager, opts AddOptions) error
- func DeleteObjectsWithPrefix(ctx context.Context, s3Client *s3.S3, region, bucketName, prefix string) error
- func GetS3ClientFromS3ClientSecret(secret *corev1.Secret) (*s3.S3, error)
- type AddOptions
- type Mocks3ObjectLister
- type Mocks3ObjectListerMockRecorder
Constants ¶
This section is empty.
Variables ¶
var ( // DefaultAddOptions are the default AddOptions for AddToManager. DefaultAddOptions = AddOptions{} )
Functions ¶
func AddToManager ¶
AddToManager adds a controller with the default Options.
func AddToManagerWithOptions ¶
AddToManagerWithOptions adds a controller with the given Options to the given manager. The opts.Reconciler is being set with a newly instantiated actuator.
Types ¶
type AddOptions ¶
type AddOptions struct { // Controller are the controller.Options. Controller controller.Options // IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not. IgnoreOperationAnnotation bool // ExtensionClass defines the extension class this extension is responsible for. ExtensionClass extensionsv1alpha1.ExtensionClass }
AddOptions are options to apply when adding the ironcore backupentry controller to the manager.
type Mocks3ObjectLister ¶
type Mocks3ObjectLister struct {
// contains filtered or unexported fields
}
Mocks3ObjectLister is a mock of s3ObjectLister interface.
func NewMocks3ObjectLister ¶
func NewMocks3ObjectLister(ctrl *gomock.Controller) *Mocks3ObjectLister
NewMocks3ObjectLister creates a new mock instance.
func (*Mocks3ObjectLister) EXPECT ¶
func (m *Mocks3ObjectLister) EXPECT() *Mocks3ObjectListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mocks3ObjectLister) ListObjectsPages ¶
func (m *Mocks3ObjectLister) ListObjectsPages(ctx aws.Context, s3Client *s3.S3, input *s3.ListObjectsInput, bucketName string) error
ListObjectsPages mocks base method.
type Mocks3ObjectListerMockRecorder ¶
type Mocks3ObjectListerMockRecorder struct {
// contains filtered or unexported fields
}
Mocks3ObjectListerMockRecorder is the mock recorder for Mocks3ObjectLister.
func (*Mocks3ObjectListerMockRecorder) ListObjectsPages ¶
func (mr *Mocks3ObjectListerMockRecorder) ListObjectsPages(ctx, s3Client, input, bucketName any) *gomock.Call
ListObjectsPages indicates an expected call of ListObjectsPages.