cmd

package
v2.3.2-0...-3b450cf Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: Apache-2.0 Imports: 37 Imported by: 5

Documentation

Index

Constants

View Source
const DEFAULTIMAGE = "ceph/daemon"

DEFAULTIMAGE is the default image name to be used

View Source
const DEFAULTWORKDIRECTORY = "/usr/share/ceph-nano"

DEFAULTWORKDIRECTORY is the default work directory

View Source
const FLAVORS = "flavors"

FLAVORS is a constant to represent the [flavors] group

View Source
const IMAGES = "images"

IMAGES is a constant to represent the [images] group

View Source
const LATESTIMAGE = DEFAULTIMAGE + ":latest-"

LATESTIMAGE is the prefix for the latest ceph images

View Source
const UPDATE = "update"

UPDATE is a constant to represent the [update] group

Variables

View Source
var (
	// IamSure means whether or not the user wants to purge
	IamSure bool

	// Help shows a customer help
	Help bool

	// DeleteAll also deletes the container image
	DeleteAll bool
)
View Source
var (
	// S3CmdSkip means do not do anything when object exists
	S3CmdSkip bool

	// S3CmdContinue means
	S3CmdContinue bool

	// S3CmdOpt is the option to apply when trying to get a file and the destination already exists
	S3CmdOpt string
)
View Source
var (
	// ListAllTags whether or not to list all the image tags
	ListAllTags bool
)
View Source
var (

	// S3CmdForce means force operation
	S3CmdForce bool
)
View Source
var (
	// S3CmdRec is the option to apply when trying to delete content
	S3CmdRec bool
)

Functions

func CliImageList

func CliImageList() *cobra.Command

CliImageList is the Cobra CLI call

func CliImageUpdate

func CliImageUpdate() *cobra.Command

CliImageUpdate is the Cobra CLI call

func Main

func Main(version string)

Main is the main function calling the whole program

func PrettyPrint

func PrettyPrint(v interface{})

PrettyPrint to print a datastructure

func S3CmdCp

func S3CmdCp(cmd *cobra.Command, args []string)

S3CmdCp wraps s3cmd command in the container

func S3CmdDel

func S3CmdDel(cmd *cobra.Command, args []string)

S3CmdDel wraps s3cmd command in the container

func S3CmdDu

func S3CmdDu(cmd *cobra.Command, args []string)

S3CmdDu wraps s3cmd command in the container

func S3CmdGet

func S3CmdGet(cmd *cobra.Command, args []string)

S3CmdGet wraps s3cmd command in the container

func S3CmdInfo

func S3CmdInfo(cmd *cobra.Command, args []string)

S3CmdInfo wraps s3cmd command in the container

func S3CmdLa

func S3CmdLa(cmd *cobra.Command, args []string)

S3CmdLa wraps s3cmd command in the container

func S3CmdLs

func S3CmdLs(cmd *cobra.Command, args []string)

S3CmdLs wraps s3cmd command in the container

func S3CmdMb

func S3CmdMb(cmd *cobra.Command, args []string)

S3CmdMb wraps s3cmd command in the container

func S3CmdMv

func S3CmdMv(cmd *cobra.Command, args []string)

S3CmdMv wraps s3cmd command in the container

func S3CmdPut

func S3CmdPut(cmd *cobra.Command, args []string)

S3CmdPut wraps s3cmd command in the container

func S3CmdRb

func S3CmdRb(cmd *cobra.Command, args []string)

S3CmdRb wraps s3cmd command in the container

func S3CmdSync

func S3CmdSync(cmd *cobra.Command, args []string)

S3CmdSync wraps s3cmd command in the container

Types

This section is empty.

Jump to

Keyboard shortcuts

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