Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PullAlways means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. PullAlways v1.PullPolicy = "Always" // PullNever means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present PullNever v1.PullPolicy = "Never" // PullIfNotPresent means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails. PullIfNotPresent v1.PullPolicy = "IfNotPresent" )
Variables ¶
This section is empty.
Functions ¶
func CreateJob ¶
func CreateJob(assumeJobSpec *AssumeJobSpec)
func GetPodImageName ¶
func GetPodImageName() string
Types ¶
type AssumeJobSpec ¶
type AssumeJobSpec struct { AccountId string JobName string JobNamespace string ServiceAccountName string CredsVolName string CredsVolPath string OutputVolName string OutputVolPath string AssumeName string AssumeImage string AssumeCmd []string AssumeArgs []string InventoryName string InventoryImage string InventoryCmd []string InventoryArgs []string UploadName string UploadImage string UploadCmd []string UploadArgs []string }
Click to show internal directories.
Click to hide internal directories.