Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/batch@v1/mod.ts>BatchV1NamespacedApi

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
class BatchV1NamespacedApi
import { BatchV1NamespacedApi } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/batch@v1/mod.ts";

Constructors

new
BatchV1NamespacedApi(client: c.RestClient, namespace: string)

Methods

createCronJob(body: BatchV1.CronJob, opts?: operations.PutOpts): Promise<BatchV1.CronJob>
createJob(body: BatchV1.Job, opts?: operations.PutOpts): Promise<BatchV1.Job>
deleteCronJob(name: string, opts?: operations.DeleteOpts): Promise<BatchV1.CronJob | MetaV1.Status>
deleteCronJobList(opts?: operations.DeleteListOpts): Promise<BatchV1.CronJobList>
deleteJob(name: string, opts?: operations.DeleteOpts): Promise<BatchV1.Job | MetaV1.Status>
deleteJobList(opts?: operations.DeleteListOpts): Promise<BatchV1.JobList>
getCronJob(name: string, opts?: operations.NoOpts): Promise<BatchV1.CronJob>
getCronJobList(opts?: operations.GetListOpts): Promise<BatchV1.CronJobList>
getCronJobStatus(name: string, opts?: operations.NoOpts): Promise<BatchV1.CronJob>
getJob(name: string, opts?: operations.NoOpts): Promise<BatchV1.Job>
getJobList(opts?: operations.GetListOpts): Promise<BatchV1.JobList>
getJobStatus(name: string, opts?: operations.NoOpts): Promise<BatchV1.Job>
patchCronJob(
name: string,
type: c.PatchType,
body: BatchV1.CronJob | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<BatchV1.CronJob>
patchCronJobStatus(
name: string,
type: c.PatchType,
body: BatchV1.CronJob | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<BatchV1.CronJob>
patchJob(
name: string,
type: c.PatchType,
body: BatchV1.Job | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<BatchV1.Job>
patchJobStatus(
name: string,
type: c.PatchType,
body: BatchV1.Job | c.JsonPatch,
opts?: operations.PatchOpts,
): Promise<BatchV1.Job>
replaceCronJob(
name: string,
body: BatchV1.CronJob,
opts?: operations.PutOpts,
): Promise<BatchV1.CronJob>
replaceCronJobStatus(
name: string,
body: BatchV1.CronJob,
opts?: operations.PutOpts,
): Promise<BatchV1.CronJob>
replaceJob(
name: string,
body: BatchV1.Job,
opts?: operations.PutOpts,
): Promise<BatchV1.Job>
replaceJobStatus(
name: string,
body: BatchV1.Job,
opts?: operations.PutOpts,
): Promise<BatchV1.Job>
watchCronJobList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<BatchV1.CronJob>>
watchJobList(opts?: operations.WatchListOpts): Promise<c.WatchEventStream<BatchV1.Job>>