Documentation ¶
Overview ¶
Package jobs creates example Job objects in Kubernetes.
Index ¶
Constants ¶
View Source
const ( // JobNamePi creates basic Job object using Perl. // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ JobNamePi = "pi" // JobNameEcho creates Job object that simply echoes data. JobNameEcho = "echo" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger *zap.Logger Stopc chan struct{} Sig chan os.Signal EKSConfig *eksconfig.Config K8SClient k8sClientSetGetter // JobName is the example Job type. JobName string // Completes the desired number of successfully finished pods. Completes int // Parallels is the the maximum desired number of pods the // job should run at any given time. Parallels int // EchoSize is the size of payload for echo Job. EchoSize int }
Config defines 'Job' configuration.
Click to show internal directories.
Click to hide internal directories.