Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Storage
Prefix string
Type StorageType
DB *badger.DB
// Target
Client client.Client
// specific functions
DryRunCreateFn func(ctx context.Context, key types.NamespacedName, obj runtime.Object, dryrun bool) (runtime.Object, error)
DryRunUpdateFn func(ctx context.Context, key types.NamespacedName, obj, old runtime.Object, dryrun bool) (runtime.Object, error)
DryRunDeleteFn func(ctx context.Context, key types.NamespacedName, obj runtime.Object, dryrun bool) (runtime.Object, error)
}
type StorageType ¶
type StorageType int
const ( StorageType_Memory StorageType = iota StorageType_File StorageType_KV )
Click to show internal directories.
Click to hide internal directories.