client

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAP_EXAMPLE = `` /* 489-byte string literal not displayed */

)
View Source
const (
	MOUNT_EXAMPLE = `` /* 305-byte string literal not displayed */

)
View Source
const (
	UNMAP_EXAMPLE = `Examples:
  $ curveadm unmap user:volume --host machine1  # Unmap volume`
)

Variables

View Source
var (
	GET_STATUS_PLAYBOOK_STEPS = []int{
		playbook.INIT_CLIENT_STATUS,
		playbook.GET_CLIENT_STATUS,
	}
)
View Source
var (
	INSTALL_CURVE_CLIENT_PLAYBOOK_STEPS = []int{
		playbook.DETECT_OS_RELEASE,
		playbook.INSTALL_CLIENT,
	}
)
View Source
var (
	UMOUNT_PLAYBOOK_STEPS = []int{
		playbook.UMOUNT_FILESYSTEM,
	}
)
View Source
var (
	UNINSTALL_CURVE_CLEINT_PLAYBOOK_STEPS = []int{
		playbook.DETECT_OS_RELEASE,
		playbook.UNINSTALL_CLIENT,
	}
)
View Source
var (
	UNMAP_PLAYBOOK_STEPS = []int{
		playbook.UNMAP_IMAGE,
	}
)

Functions

func NewClientCommand

func NewClientCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewEnterCommand

func NewEnterCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewInstallCommand

func NewInstallCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewMapCommand

func NewMapCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewMountCommand

func NewMountCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewStatusCommand

func NewStatusCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUmountCommand

func NewUmountCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUninstallCommand

func NewUninstallCommand(curveadm *cli.CurveAdm) *cobra.Command

func NewUnmapCommand

func NewUnmapCommand(curveadm *cli.CurveAdm) *cobra.Command

func ParseBlockSize added in v0.2.0

func ParseBlockSize(blocksize string) (uint64, error)

func ParseImage

func ParseImage(image string) (user, name string, err error)

func ParseSize

func ParseSize(size string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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