Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "kdev", Short: "Run sikalabs/dev in Kubernetes", Args: cobra.MaximumNArgs(1), Run: func(c *cobra.Command, args []string) { cmd := exec.Command( "kubectl", "run", "dev-"+strconv.Itoa(time_utils.Unix()), "--rm", "-ti", "--image", FlagImage, "--", FlagShell, ) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin cmd.Run() }, }
View Source
var FlagImage string
View Source
var FlagJson bool
View Source
var FlagShell string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.