Documentation ¶
Index ¶
- func CreateCronJob(naisjob *nais_io_v1.Naisjob, ast *resource.Ast, cfg Config) error
- func CreateJob(naisjob *nais_io_v1.Naisjob, ast *resource.Ast, cfg Config) error
- func CreateJobSpec(naisjob *nais_io_v1.Naisjob, ast *resource.Ast, cfg Config) (batchv1.JobSpec, error)
- func DeleteCronJob(naisjob *nais_io_v1.Naisjob, ast *resource.Ast) error
- func DeleteJob(naisjob *nais_io_v1.Naisjob, ast *resource.Ast) error
- func RestartPolicy(restartPolicy string) v1.RestartPolicy
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCronJob ¶
func CreateJobSpec ¶
func DeleteCronJob ¶
func DeleteCronJob(naisjob *nais_io_v1.Naisjob, ast *resource.Ast) error
func RestartPolicy ¶
func RestartPolicy(restartPolicy string) v1.RestartPolicy
Types ¶
Click to show internal directories.
Click to hide internal directories.