jobs

package
v0.0.0-...-535fdf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, job *batchv1.Job, c kubernetes.Interface) error

func Destroy

func Destroy(ctx context.Context, name, namespace string, c kubernetes.Interface) error

func IsFailed

func IsFailed(ctx context.Context, namespace, jobName string, c kubernetes.Interface) bool

func IsRunning

func IsRunning(ctx context.Context, namespace, svcName string, c kubernetes.Interface) bool

func IsSuccedded

func IsSuccedded(ctx context.Context, namespace, jobName string, c kubernetes.Interface) bool

func List

func List(ctx context.Context, namespace, labels string, c kubernetes.Interface) ([]batchv1.Job, error)

func Update

func Update(ctx context.Context, job *batchv1.Job, c kubernetes.Interface) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL