-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces.go
66 lines (55 loc) · 1.37 KB
/
interfaces.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package main
import (
"github.com/cloudogu/k8s-backup-operator/pkg/additionalimages"
"github.com/cloudogu/k8s-backup-operator/pkg/cleanup"
"github.com/cloudogu/k8s-backup-operator/pkg/garbagecollection"
"github.com/cloudogu/k8s-backup-operator/pkg/provider"
"github.com/cloudogu/k8s-backup-operator/pkg/scheduledbackup"
"k8s.io/client-go/tools/record"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/manager"
)
type eventRecorder interface {
record.EventRecorder
}
// used for mocks
//nolint:unused
//goland:noinspection GoUnusedType
type controllerManager interface {
manager.Manager
}
//nolint:unused
//goland:noinspection GoUnusedType
type scheduledBackupManager interface {
scheduledbackup.Manager
}
//nolint:unused
//goland:noinspection GoUnusedType
type gcManager interface {
garbagecollection.Manager
}
//nolint:unused
//goland:noinspection GoUnusedType
type backupProvider interface {
provider.Provider
}
//nolint:unused
//goland:noinspection GoUnusedType
type additionalImageGetter interface {
additionalimages.Getter
}
//nolint:unused
//goland:noinspection GoUnusedType
type additionalImageUpdater interface {
additionalimages.Updater
}
//nolint:unused
//goland:noinspection GoUnusedType
type k8sClient interface {
client.Client
}
//nolint:unused
//goland:noinspection GoUnusedType
type cleanupManager interface {
cleanup.Manager
}