package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jan 1, 2023
License: MIT
Opens a new window with license information.
Imports: 33
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var ErrPodCompleted = fmt.Errorf("pod ran to completion")
ErrPodCompleted is returned by PodRunning or PodContainerRunning to indicate that
the pod has already reached completed state.
func List(k8s *k8s.K8s, environments []string, everyone bool, machineID string)
List lists all running console pods
func Start(k8s *k8s.K8s, options Options)
Start the console
type Options struct {
LabelSelector string
Timeout time.Duration
Command []string
Limits string
Image string
NoRm bool
DeploymentName string
MachineID string
RunAsRoot bool
}
Options defines how the console should be ran
Source Files
¶
Click to show internal directories.
Click to hide internal directories.