fence

package
v1.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fence implements a command to fence instances in a cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFenceFunc

func ApplyFenceFunc(
	ctx context.Context,
	cli client.Client,
	clusterName string,
	namespace string,
	serverName string,
	fenceFunc func(string, *metav1.ObjectMeta) error,
) error

ApplyFenceFunc applies a given fencing function to a cluster in a namespace

func NewCmd

func NewCmd() *cobra.Command

NewCmd creates the new "fencing" command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL