Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllowedByExecutionPolicy ¶ added in v0.22.0
func IsAllowedByExecutionPolicy(executionPolicy v1beta1.HookExecutionPolicy, summary *v1beta1.Summary) bool
Types ¶
type BackupHookExecutor ¶
type BackupHookExecutor struct { Config *rest.Config StashClient cs.Interface BackupSession *v1beta1.BackupSession Invoker invoker.BackupInvoker Target v1beta1.TargetRef ExecutorPod kmapi.ObjectReference Hook *prober.Handler HookType string ExecutionPolicy v1beta1.HookExecutionPolicy }
func (*BackupHookExecutor) Execute ¶
func (e *BackupHookExecutor) Execute() error
type HookExecutor ¶
type HookExecutor struct { Config *rest.Config Hook *prober.Handler ExecutorPod kmapi.ObjectReference Summary *v1beta1.Summary }
func (*HookExecutor) Execute ¶
func (e *HookExecutor) Execute() error
type RestoreHookExecutor ¶
type RestoreHookExecutor struct { Config *rest.Config Invoker invoker.RestoreInvoker Target v1beta1.TargetRef ExecutorPod kmapi.ObjectReference Hook *prober.Handler HookType string ExecutionPolicy v1beta1.HookExecutionPolicy }
func (*RestoreHookExecutor) Execute ¶
func (e *RestoreHookExecutor) Execute() error
Click to show internal directories.
Click to hide internal directories.