cmd

package
v0.0.0-...-e40a182 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ToPod is the command line argument for copying files into the pod
	ToPod string = "in"
	// FromPod is the command line argument for copying files out of the pod
	FromPod string = "out"
)
func cpTest() {
	fmt.Printf("test")
	return
}
View Source
const (
	// DefaultDeadline - default amount (in secs) of time to keep the ad hoc pods running
	DefaultDeadline string = "43200" // 12 hours = 60 * 60 * 12
	// MaxDeadline sets the max deadline for a job (defaulted to 2 days)
	MaxDeadline int = 60 * 60 * 24 * 2
	// DefaultCPU is used to template cpu in manifest file if no default or flag is found
	DefaultCPU string = "0.5"
	// DefaultMemory is used to template memory in manifest file if no default or flag is found
	DefaultMemory string = "128Mi"
)
View Source
const (
	// DefaultLoginCommand is what's used if no loginCommand is found in ctl-config
	DefaultLoginCommand string = "/bin/bash"
)

Variables

View Source
var Version = "v14.4.3"

Version set default value

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

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