jobs

package
v0.26.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheJobService

type CacheJobService struct {
	// contains filtered or unexported fields
}

func (*CacheJobService) ListAllBatchJobs

func (c *CacheJobService) ListAllBatchJobs(ctx *gin.Context) (*ListJobResult, error)

func (*CacheJobService) Reconcile

func (*CacheJobService) SetupWithManager

func (c *CacheJobService) SetupWithManager(mgr manager.Manager) error

type JobService

type JobService interface {
	ListAllBatchJobs(ctx *gin.Context) (*ListJobResult, error)
}

func NewJobService

func NewJobService(client client.Client, enableManager bool) JobService

type ListJobResult

type ListJobResult struct {
	Total    int           `json:"total"`
	Continue string        `json:"continue"`
	Jobs     []batchv1.Job `json:"jobs"`
}

Jump to

Keyboard shortcuts

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