Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( ctx context.Context, kubeClient kubernetes.Interface, kahuClient versioned.Interface, dynamicClient dynamic.Interface, discoveryHelper discovery.DiscoveryHelper, informer externalversions.SharedInformerFactory, podCommandExecutor hooks.PodCommandExecutor, podGetter cache.Getter) (controllers.Controller, error)
Types ¶
type Interface ¶
type Interface interface {
Resolve(restoreObjects cache.Indexer, backupObjects cache.Indexer) error
}
func NewResolver ¶
func NewResolver(logger log.FieldLogger) Interface
type Reconciler ¶
type Reconciler interface {
Run(stopCh <-chan struct{})
}
Reconciler runs a periodic loop to reconcile the current state of volume back and update backup annotation
type ResolverGetter ¶
type RestoreHookSet ¶
type RestoreHookSet struct { Hooks []hooks.CommonHookSpec Namespaces []RestoreNamespaceSet }
type RestoreNamespaceSet ¶
type RestoreNamespaceSet struct { Pods []RestorePodSet // contains filtered or unexported fields }
type RestorePodSet ¶
type RestorePodSet struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.