Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBashCommand ¶
func GetBashCommand(p PodComponents) (string, error)
GetBashCommand generates the bash script to execute the pod
Types ¶
type ImageRegistryCredential ¶
type ImageRegistryCredential struct { Server string `json:"server,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
ImageRegistryCredential - Used to input a credential used by docker login
type PodComponents ¶
type PodComponents struct { PullCredentials []ImageRegistryCredential InitContainers []v1.Container Containers []v1.Container Volumes []v1.Volume PodName string }
PodComponents provides details to run a pod
Click to show internal directories.
Click to hide internal directories.