Documentation ¶
Index ¶
- func NewCommand(ctx context.Context) *cli.Command
- func NewOwnerReference(ctx context.Context, client *kubernetes.Clientset, namespace, podName string) ([]metav1.OwnerReference, error)
- func SyncToLocal(ctx context.Context, client *kubernetes.Clientset, ...) error
- func WatchAndSync(ctx context.Context, client *kubernetes.Clientset, ...) error
- type FailoverAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewOwnerReference ¶
func NewOwnerReference(ctx context.Context, client *kubernetes.Clientset, namespace, podName string) ([]metav1.OwnerReference, error)
NewOwnerReference
func SyncToLocal ¶
func SyncToLocal(ctx context.Context, client *kubernetes.Clientset, namespace, name, workspace, target string, redisOptions redis.AuthInfo, logger logr.Logger) error
Sync
func WatchAndSync ¶
Types ¶
type FailoverAction ¶
type FailoverAction string
const ( NoFailoverAction FailoverAction = "" ForceFailoverAction FailoverAction = "FORCE" TakeoverFailoverAction FailoverAction = "TAKEOVER" )
Click to show internal directories.
Click to hide internal directories.