v1

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob

type CronJob struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecOutput `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status CronJobStatusPtrOutput `pulumi:"status"`
}

CronJob represents the configuration of a single cron job.

func GetCronJob

func GetCronJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CronJobState, opts ...pulumi.ResourceOption) (*CronJob, error)

GetCronJob gets an existing CronJob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCronJob

func NewCronJob(ctx *pulumi.Context,
	name string, args *CronJobArgs, opts ...pulumi.ResourceOption) (*CronJob, error)

NewCronJob registers a new resource with the given unique name, arguments, and options.

func (*CronJob) ElementType

func (*CronJob) ElementType() reflect.Type

func (*CronJob) ToCronJobOutput

func (i *CronJob) ToCronJobOutput() CronJobOutput

func (*CronJob) ToCronJobOutputWithContext

func (i *CronJob) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput

func (*CronJob) ToOutput added in v4.2.0

func (i *CronJob) ToOutput(ctx context.Context) pulumix.Output[*CronJob]

type CronJobArgs

type CronJobArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecPtrInput
}

The set of arguments for constructing a CronJob resource.

func (CronJobArgs) ElementType

func (CronJobArgs) ElementType() reflect.Type

type CronJobArray

type CronJobArray []CronJobInput

func (CronJobArray) ElementType

func (CronJobArray) ElementType() reflect.Type

func (CronJobArray) ToCronJobArrayOutput

func (i CronJobArray) ToCronJobArrayOutput() CronJobArrayOutput

func (CronJobArray) ToCronJobArrayOutputWithContext

func (i CronJobArray) ToCronJobArrayOutputWithContext(ctx context.Context) CronJobArrayOutput

func (CronJobArray) ToOutput added in v4.2.0

func (i CronJobArray) ToOutput(ctx context.Context) pulumix.Output[[]*CronJob]

type CronJobArrayInput

type CronJobArrayInput interface {
	pulumi.Input

	ToCronJobArrayOutput() CronJobArrayOutput
	ToCronJobArrayOutputWithContext(context.Context) CronJobArrayOutput
}

CronJobArrayInput is an input type that accepts CronJobArray and CronJobArrayOutput values. You can construct a concrete instance of `CronJobArrayInput` via:

CronJobArray{ CronJobArgs{...} }

type CronJobArrayOutput

type CronJobArrayOutput struct{ *pulumi.OutputState }

func (CronJobArrayOutput) ElementType

func (CronJobArrayOutput) ElementType() reflect.Type

func (CronJobArrayOutput) Index

func (CronJobArrayOutput) ToCronJobArrayOutput

func (o CronJobArrayOutput) ToCronJobArrayOutput() CronJobArrayOutput

func (CronJobArrayOutput) ToCronJobArrayOutputWithContext

func (o CronJobArrayOutput) ToCronJobArrayOutputWithContext(ctx context.Context) CronJobArrayOutput

func (CronJobArrayOutput) ToOutput added in v4.2.0

type CronJobInput

type CronJobInput interface {
	pulumi.Input

	ToCronJobOutput() CronJobOutput
	ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
}

type CronJobList

type CronJobList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// items is the list of CronJobs.
	Items CronJobTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

CronJobList is a collection of cron jobs.

func GetCronJobList

func GetCronJobList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CronJobListState, opts ...pulumi.ResourceOption) (*CronJobList, error)

GetCronJobList gets an existing CronJobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCronJobList

func NewCronJobList(ctx *pulumi.Context,
	name string, args *CronJobListArgs, opts ...pulumi.ResourceOption) (*CronJobList, error)

NewCronJobList registers a new resource with the given unique name, arguments, and options.

func (*CronJobList) ElementType

func (*CronJobList) ElementType() reflect.Type

func (*CronJobList) ToCronJobListOutput

func (i *CronJobList) ToCronJobListOutput() CronJobListOutput

func (*CronJobList) ToCronJobListOutputWithContext

func (i *CronJobList) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput

func (*CronJobList) ToOutput added in v4.2.0

func (i *CronJobList) ToOutput(ctx context.Context) pulumix.Output[*CronJobList]

type CronJobListArgs

type CronJobListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// items is the list of CronJobs.
	Items CronJobTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a CronJobList resource.

func (CronJobListArgs) ElementType

func (CronJobListArgs) ElementType() reflect.Type

type CronJobListArray

type CronJobListArray []CronJobListInput

func (CronJobListArray) ElementType

func (CronJobListArray) ElementType() reflect.Type

func (CronJobListArray) ToCronJobListArrayOutput

func (i CronJobListArray) ToCronJobListArrayOutput() CronJobListArrayOutput

func (CronJobListArray) ToCronJobListArrayOutputWithContext

func (i CronJobListArray) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput

func (CronJobListArray) ToOutput added in v4.2.0

type CronJobListArrayInput

type CronJobListArrayInput interface {
	pulumi.Input

	ToCronJobListArrayOutput() CronJobListArrayOutput
	ToCronJobListArrayOutputWithContext(context.Context) CronJobListArrayOutput
}

CronJobListArrayInput is an input type that accepts CronJobListArray and CronJobListArrayOutput values. You can construct a concrete instance of `CronJobListArrayInput` via:

CronJobListArray{ CronJobListArgs{...} }

type CronJobListArrayOutput

type CronJobListArrayOutput struct{ *pulumi.OutputState }

func (CronJobListArrayOutput) ElementType

func (CronJobListArrayOutput) ElementType() reflect.Type

func (CronJobListArrayOutput) Index

func (CronJobListArrayOutput) ToCronJobListArrayOutput

func (o CronJobListArrayOutput) ToCronJobListArrayOutput() CronJobListArrayOutput

func (CronJobListArrayOutput) ToCronJobListArrayOutputWithContext

func (o CronJobListArrayOutput) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput

func (CronJobListArrayOutput) ToOutput added in v4.2.0

type CronJobListInput

type CronJobListInput interface {
	pulumi.Input

	ToCronJobListOutput() CronJobListOutput
	ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
}

type CronJobListMap

type CronJobListMap map[string]CronJobListInput

func (CronJobListMap) ElementType

func (CronJobListMap) ElementType() reflect.Type

func (CronJobListMap) ToCronJobListMapOutput

func (i CronJobListMap) ToCronJobListMapOutput() CronJobListMapOutput

func (CronJobListMap) ToCronJobListMapOutputWithContext

func (i CronJobListMap) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput

func (CronJobListMap) ToOutput added in v4.2.0

type CronJobListMapInput

type CronJobListMapInput interface {
	pulumi.Input

	ToCronJobListMapOutput() CronJobListMapOutput
	ToCronJobListMapOutputWithContext(context.Context) CronJobListMapOutput
}

CronJobListMapInput is an input type that accepts CronJobListMap and CronJobListMapOutput values. You can construct a concrete instance of `CronJobListMapInput` via:

CronJobListMap{ "key": CronJobListArgs{...} }

type CronJobListMapOutput

type CronJobListMapOutput struct{ *pulumi.OutputState }

func (CronJobListMapOutput) ElementType

func (CronJobListMapOutput) ElementType() reflect.Type

func (CronJobListMapOutput) MapIndex

func (CronJobListMapOutput) ToCronJobListMapOutput

func (o CronJobListMapOutput) ToCronJobListMapOutput() CronJobListMapOutput

func (CronJobListMapOutput) ToCronJobListMapOutputWithContext

func (o CronJobListMapOutput) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput

func (CronJobListMapOutput) ToOutput added in v4.2.0

type CronJobListOutput

type CronJobListOutput struct{ *pulumi.OutputState }

func (CronJobListOutput) ApiVersion

func (o CronJobListOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobListOutput) ElementType

func (CronJobListOutput) ElementType() reflect.Type

func (CronJobListOutput) Items

items is the list of CronJobs.

func (CronJobListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobListOutput) ToCronJobListOutput

func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput

func (CronJobListOutput) ToCronJobListOutputWithContext

func (o CronJobListOutput) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput

func (CronJobListOutput) ToOutput added in v4.2.0

type CronJobListState

type CronJobListState struct {
}

func (CronJobListState) ElementType

func (CronJobListState) ElementType() reflect.Type

type CronJobListType

type CronJobListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// items is the list of CronJobs.
	Items []CronJobType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

CronJobList is a collection of cron jobs.

type CronJobListTypeArgs

type CronJobListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// items is the list of CronJobs.
	Items CronJobTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

CronJobList is a collection of cron jobs.

func (CronJobListTypeArgs) ElementType

func (CronJobListTypeArgs) ElementType() reflect.Type

func (CronJobListTypeArgs) ToCronJobListTypeOutput

func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeArgs) ToCronJobListTypeOutputWithContext

func (i CronJobListTypeArgs) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput

func (CronJobListTypeArgs) ToOutput added in v4.2.0

type CronJobListTypeInput

type CronJobListTypeInput interface {
	pulumi.Input

	ToCronJobListTypeOutput() CronJobListTypeOutput
	ToCronJobListTypeOutputWithContext(context.Context) CronJobListTypeOutput
}

CronJobListTypeInput is an input type that accepts CronJobListTypeArgs and CronJobListTypeOutput values. You can construct a concrete instance of `CronJobListTypeInput` via:

CronJobListTypeArgs{...}

type CronJobListTypeOutput

type CronJobListTypeOutput struct{ *pulumi.OutputState }

CronJobList is a collection of cron jobs.

func (CronJobListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobListTypeOutput) ElementType

func (CronJobListTypeOutput) ElementType() reflect.Type

func (CronJobListTypeOutput) Items

items is the list of CronJobs.

func (CronJobListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobListTypeOutput) ToCronJobListTypeOutput

func (o CronJobListTypeOutput) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeOutput) ToCronJobListTypeOutputWithContext

func (o CronJobListTypeOutput) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput

func (CronJobListTypeOutput) ToOutput added in v4.2.0

type CronJobMap

type CronJobMap map[string]CronJobInput

func (CronJobMap) ElementType

func (CronJobMap) ElementType() reflect.Type

func (CronJobMap) ToCronJobMapOutput

func (i CronJobMap) ToCronJobMapOutput() CronJobMapOutput

func (CronJobMap) ToCronJobMapOutputWithContext

func (i CronJobMap) ToCronJobMapOutputWithContext(ctx context.Context) CronJobMapOutput

func (CronJobMap) ToOutput added in v4.2.0

func (i CronJobMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJob]

type CronJobMapInput

type CronJobMapInput interface {
	pulumi.Input

	ToCronJobMapOutput() CronJobMapOutput
	ToCronJobMapOutputWithContext(context.Context) CronJobMapOutput
}

CronJobMapInput is an input type that accepts CronJobMap and CronJobMapOutput values. You can construct a concrete instance of `CronJobMapInput` via:

CronJobMap{ "key": CronJobArgs{...} }

type CronJobMapOutput

type CronJobMapOutput struct{ *pulumi.OutputState }

func (CronJobMapOutput) ElementType

func (CronJobMapOutput) ElementType() reflect.Type

func (CronJobMapOutput) MapIndex

func (CronJobMapOutput) ToCronJobMapOutput

func (o CronJobMapOutput) ToCronJobMapOutput() CronJobMapOutput

func (CronJobMapOutput) ToCronJobMapOutputWithContext

func (o CronJobMapOutput) ToCronJobMapOutputWithContext(ctx context.Context) CronJobMapOutput

func (CronJobMapOutput) ToOutput added in v4.2.0

type CronJobOutput

type CronJobOutput struct{ *pulumi.OutputState }

func (CronJobOutput) ApiVersion

func (o CronJobOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobOutput) ElementType

func (CronJobOutput) ElementType() reflect.Type

func (CronJobOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobOutput) Spec

Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (CronJobOutput) ToCronJobOutput

func (o CronJobOutput) ToCronJobOutput() CronJobOutput

func (CronJobOutput) ToCronJobOutputWithContext

func (o CronJobOutput) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput

func (CronJobOutput) ToOutput added in v4.2.0

func (o CronJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJob]

type CronJobPatch

type CronJobPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecPatchPtrOutput `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status CronJobStatusPatchPtrOutput `pulumi:"status"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. CronJob represents the configuration of a single cron job.

func GetCronJobPatch

func GetCronJobPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CronJobPatchState, opts ...pulumi.ResourceOption) (*CronJobPatch, error)

GetCronJobPatch gets an existing CronJobPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCronJobPatch

func NewCronJobPatch(ctx *pulumi.Context,
	name string, args *CronJobPatchArgs, opts ...pulumi.ResourceOption) (*CronJobPatch, error)

NewCronJobPatch registers a new resource with the given unique name, arguments, and options.

func (*CronJobPatch) ElementType

func (*CronJobPatch) ElementType() reflect.Type

func (*CronJobPatch) ToCronJobPatchOutput

func (i *CronJobPatch) ToCronJobPatchOutput() CronJobPatchOutput

func (*CronJobPatch) ToCronJobPatchOutputWithContext

func (i *CronJobPatch) ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput

func (*CronJobPatch) ToOutput added in v4.2.0

type CronJobPatchArgs

type CronJobPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecPatchPtrInput
}

The set of arguments for constructing a CronJobPatch resource.

func (CronJobPatchArgs) ElementType

func (CronJobPatchArgs) ElementType() reflect.Type

type CronJobPatchArray

type CronJobPatchArray []CronJobPatchInput

func (CronJobPatchArray) ElementType

func (CronJobPatchArray) ElementType() reflect.Type

func (CronJobPatchArray) ToCronJobPatchArrayOutput

func (i CronJobPatchArray) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput

func (CronJobPatchArray) ToCronJobPatchArrayOutputWithContext

func (i CronJobPatchArray) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput

func (CronJobPatchArray) ToOutput added in v4.2.0

type CronJobPatchArrayInput

type CronJobPatchArrayInput interface {
	pulumi.Input

	ToCronJobPatchArrayOutput() CronJobPatchArrayOutput
	ToCronJobPatchArrayOutputWithContext(context.Context) CronJobPatchArrayOutput
}

CronJobPatchArrayInput is an input type that accepts CronJobPatchArray and CronJobPatchArrayOutput values. You can construct a concrete instance of `CronJobPatchArrayInput` via:

CronJobPatchArray{ CronJobPatchArgs{...} }

type CronJobPatchArrayOutput

type CronJobPatchArrayOutput struct{ *pulumi.OutputState }

func (CronJobPatchArrayOutput) ElementType

func (CronJobPatchArrayOutput) ElementType() reflect.Type

func (CronJobPatchArrayOutput) Index

func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutput

func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput

func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext

func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput

func (CronJobPatchArrayOutput) ToOutput added in v4.2.0

type CronJobPatchInput

type CronJobPatchInput interface {
	pulumi.Input

	ToCronJobPatchOutput() CronJobPatchOutput
	ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput
}

type CronJobPatchMap

type CronJobPatchMap map[string]CronJobPatchInput

func (CronJobPatchMap) ElementType

func (CronJobPatchMap) ElementType() reflect.Type

func (CronJobPatchMap) ToCronJobPatchMapOutput

func (i CronJobPatchMap) ToCronJobPatchMapOutput() CronJobPatchMapOutput

func (CronJobPatchMap) ToCronJobPatchMapOutputWithContext

func (i CronJobPatchMap) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput

func (CronJobPatchMap) ToOutput added in v4.2.0

type CronJobPatchMapInput

type CronJobPatchMapInput interface {
	pulumi.Input

	ToCronJobPatchMapOutput() CronJobPatchMapOutput
	ToCronJobPatchMapOutputWithContext(context.Context) CronJobPatchMapOutput
}

CronJobPatchMapInput is an input type that accepts CronJobPatchMap and CronJobPatchMapOutput values. You can construct a concrete instance of `CronJobPatchMapInput` via:

CronJobPatchMap{ "key": CronJobPatchArgs{...} }

type CronJobPatchMapOutput

type CronJobPatchMapOutput struct{ *pulumi.OutputState }

func (CronJobPatchMapOutput) ElementType

func (CronJobPatchMapOutput) ElementType() reflect.Type

func (CronJobPatchMapOutput) MapIndex

func (CronJobPatchMapOutput) ToCronJobPatchMapOutput

func (o CronJobPatchMapOutput) ToCronJobPatchMapOutput() CronJobPatchMapOutput

func (CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext

func (o CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput

func (CronJobPatchMapOutput) ToOutput added in v4.2.0

type CronJobPatchOutput

type CronJobPatchOutput struct{ *pulumi.OutputState }

func (CronJobPatchOutput) ApiVersion

func (o CronJobPatchOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobPatchOutput) ElementType

func (CronJobPatchOutput) ElementType() reflect.Type

func (CronJobPatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobPatchOutput) Spec

Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (CronJobPatchOutput) ToCronJobPatchOutput

func (o CronJobPatchOutput) ToCronJobPatchOutput() CronJobPatchOutput

func (CronJobPatchOutput) ToCronJobPatchOutputWithContext

func (o CronJobPatchOutput) ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput

func (CronJobPatchOutput) ToOutput added in v4.2.0

type CronJobPatchState

type CronJobPatchState struct {
}

func (CronJobPatchState) ElementType

func (CronJobPatchState) ElementType() reflect.Type

type CronJobPatchType

type CronJobPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *CronJobSpecPatch `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *CronJobStatusPatch `pulumi:"status"`
}

CronJob represents the configuration of a single cron job.

type CronJobPatchTypeArgs

type CronJobPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecPatchPtrInput `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status CronJobStatusPatchPtrInput `pulumi:"status"`
}

CronJob represents the configuration of a single cron job.

func (CronJobPatchTypeArgs) ElementType

func (CronJobPatchTypeArgs) ElementType() reflect.Type

func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutput

func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput

func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext

func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput

func (CronJobPatchTypeArgs) ToOutput added in v4.2.0

type CronJobPatchTypeInput

type CronJobPatchTypeInput interface {
	pulumi.Input

	ToCronJobPatchTypeOutput() CronJobPatchTypeOutput
	ToCronJobPatchTypeOutputWithContext(context.Context) CronJobPatchTypeOutput
}

CronJobPatchTypeInput is an input type that accepts CronJobPatchTypeArgs and CronJobPatchTypeOutput values. You can construct a concrete instance of `CronJobPatchTypeInput` via:

CronJobPatchTypeArgs{...}

type CronJobPatchTypeOutput

type CronJobPatchTypeOutput struct{ *pulumi.OutputState }

CronJob represents the configuration of a single cron job.

func (CronJobPatchTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobPatchTypeOutput) ElementType

func (CronJobPatchTypeOutput) ElementType() reflect.Type

func (CronJobPatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobPatchTypeOutput) Spec

Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutput

func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput

func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext

func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput

func (CronJobPatchTypeOutput) ToOutput added in v4.2.0

type CronJobSpec

type CronJobSpec struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are:
	//
	// - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy *string `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
	FailedJobsHistoryLimit *int `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate JobTemplateSpec `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule string `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds *int `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
	SuccessfulJobsHistoryLimit *int `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend *bool `pulumi:"suspend"`
	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
	TimeZone *string `pulumi:"timeZone"`
}

CronJobSpec describes how the job execution will look like and when it will actually run.

type CronJobSpecArgs

type CronJobSpecArgs struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are:
	//
	// - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy pulumi.StringPtrInput `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
	FailedJobsHistoryLimit pulumi.IntPtrInput `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate JobTemplateSpecInput `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule pulumi.StringInput `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds pulumi.IntPtrInput `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
	SuccessfulJobsHistoryLimit pulumi.IntPtrInput `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
}

CronJobSpec describes how the job execution will look like and when it will actually run.

func (CronJobSpecArgs) ElementType

func (CronJobSpecArgs) ElementType() reflect.Type

func (CronJobSpecArgs) ToCronJobSpecOutput

func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecArgs) ToCronJobSpecOutputWithContext

func (i CronJobSpecArgs) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput

func (CronJobSpecArgs) ToCronJobSpecPtrOutput

func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext

func (i CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput

func (CronJobSpecArgs) ToOutput added in v4.2.0

type CronJobSpecInput

type CronJobSpecInput interface {
	pulumi.Input

	ToCronJobSpecOutput() CronJobSpecOutput
	ToCronJobSpecOutputWithContext(context.Context) CronJobSpecOutput
}

CronJobSpecInput is an input type that accepts CronJobSpecArgs and CronJobSpecOutput values. You can construct a concrete instance of `CronJobSpecInput` via:

CronJobSpecArgs{...}

type CronJobSpecOutput

type CronJobSpecOutput struct{ *pulumi.OutputState }

CronJobSpec describes how the job execution will look like and when it will actually run.

func (CronJobSpecOutput) ConcurrencyPolicy

func (o CronJobSpecOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are:

- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecOutput) ElementType

func (CronJobSpecOutput) ElementType() reflect.Type

func (CronJobSpecOutput) FailedJobsHistoryLimit

func (o CronJobSpecOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.

func (CronJobSpecOutput) JobTemplate

func (o CronJobSpecOutput) JobTemplate() JobTemplateSpecOutput

Specifies the job that will be created when executing a CronJob.

func (CronJobSpecOutput) Schedule

func (o CronJobSpecOutput) Schedule() pulumi.StringOutput

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

func (CronJobSpecOutput) StartingDeadlineSeconds

func (o CronJobSpecOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.

func (CronJobSpecOutput) Suspend

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.

func (CronJobSpecOutput) TimeZone

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones

func (CronJobSpecOutput) ToCronJobSpecOutput

func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecOutput) ToCronJobSpecOutputWithContext

func (o CronJobSpecOutput) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput

func (CronJobSpecOutput) ToCronJobSpecPtrOutput

func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext

func (o CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput

func (CronJobSpecOutput) ToOutput added in v4.2.0

type CronJobSpecPatch

type CronJobSpecPatch struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are:
	//
	// - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy *string `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
	FailedJobsHistoryLimit *int `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate *JobTemplateSpecPatch `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule *string `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds *int `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
	SuccessfulJobsHistoryLimit *int `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend *bool `pulumi:"suspend"`
	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
	TimeZone *string `pulumi:"timeZone"`
}

CronJobSpec describes how the job execution will look like and when it will actually run.

type CronJobSpecPatchArgs

type CronJobSpecPatchArgs struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are:
	//
	// - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy pulumi.StringPtrInput `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
	FailedJobsHistoryLimit pulumi.IntPtrInput `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate JobTemplateSpecPatchPtrInput `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule pulumi.StringPtrInput `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds pulumi.IntPtrInput `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
	SuccessfulJobsHistoryLimit pulumi.IntPtrInput `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
	// The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
}

CronJobSpec describes how the job execution will look like and when it will actually run.

func (CronJobSpecPatchArgs) ElementType

func (CronJobSpecPatchArgs) ElementType() reflect.Type

func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutput

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput

func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput

func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput

func (CronJobSpecPatchArgs) ToOutput added in v4.2.0

type CronJobSpecPatchInput

type CronJobSpecPatchInput interface {
	pulumi.Input

	ToCronJobSpecPatchOutput() CronJobSpecPatchOutput
	ToCronJobSpecPatchOutputWithContext(context.Context) CronJobSpecPatchOutput
}

CronJobSpecPatchInput is an input type that accepts CronJobSpecPatchArgs and CronJobSpecPatchOutput values. You can construct a concrete instance of `CronJobSpecPatchInput` via:

CronJobSpecPatchArgs{...}

type CronJobSpecPatchOutput

type CronJobSpecPatchOutput struct{ *pulumi.OutputState }

CronJobSpec describes how the job execution will look like and when it will actually run.

func (CronJobSpecPatchOutput) ConcurrencyPolicy

func (o CronJobSpecPatchOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are:

- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecPatchOutput) ElementType

func (CronJobSpecPatchOutput) ElementType() reflect.Type

func (CronJobSpecPatchOutput) FailedJobsHistoryLimit

func (o CronJobSpecPatchOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.

func (CronJobSpecPatchOutput) JobTemplate

Specifies the job that will be created when executing a CronJob.

func (CronJobSpecPatchOutput) Schedule

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

func (CronJobSpecPatchOutput) StartingDeadlineSeconds

func (o CronJobSpecPatchOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecPatchOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecPatchOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.

func (CronJobSpecPatchOutput) Suspend

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.

func (CronJobSpecPatchOutput) TimeZone

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones

func (CronJobSpecPatchOutput) ToCronJobSpecPatchOutput

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput

func (CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput

func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput

func (CronJobSpecPatchOutput) ToOutput added in v4.2.0

type CronJobSpecPatchPtrInput

type CronJobSpecPatchPtrInput interface {
	pulumi.Input

	ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
	ToCronJobSpecPatchPtrOutputWithContext(context.Context) CronJobSpecPatchPtrOutput
}

CronJobSpecPatchPtrInput is an input type that accepts CronJobSpecPatchArgs, CronJobSpecPatchPtr and CronJobSpecPatchPtrOutput values. You can construct a concrete instance of `CronJobSpecPatchPtrInput` via:

        CronJobSpecPatchArgs{...}

or:

        nil

type CronJobSpecPatchPtrOutput

type CronJobSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (CronJobSpecPatchPtrOutput) ConcurrencyPolicy

func (o CronJobSpecPatchPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are:

- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecPatchPtrOutput) Elem

func (CronJobSpecPatchPtrOutput) ElementType

func (CronJobSpecPatchPtrOutput) ElementType() reflect.Type

func (CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit

func (o CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.

func (CronJobSpecPatchPtrOutput) JobTemplate

Specifies the job that will be created when executing a CronJob.

func (CronJobSpecPatchPtrOutput) Schedule

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

func (CronJobSpecPatchPtrOutput) StartingDeadlineSeconds

func (o CronJobSpecPatchPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecPatchPtrOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecPatchPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.

func (CronJobSpecPatchPtrOutput) Suspend

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.

func (CronJobSpecPatchPtrOutput) TimeZone

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones

func (CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput

func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext

func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput

func (CronJobSpecPatchPtrOutput) ToOutput added in v4.2.0

type CronJobSpecPtrInput

type CronJobSpecPtrInput interface {
	pulumi.Input

	ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
	ToCronJobSpecPtrOutputWithContext(context.Context) CronJobSpecPtrOutput
}

CronJobSpecPtrInput is an input type that accepts CronJobSpecArgs, CronJobSpecPtr and CronJobSpecPtrOutput values. You can construct a concrete instance of `CronJobSpecPtrInput` via:

        CronJobSpecArgs{...}

or:

        nil

func CronJobSpecPtr

func CronJobSpecPtr(v *CronJobSpecArgs) CronJobSpecPtrInput

type CronJobSpecPtrOutput

type CronJobSpecPtrOutput struct{ *pulumi.OutputState }

func (CronJobSpecPtrOutput) ConcurrencyPolicy

func (o CronJobSpecPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are:

- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecPtrOutput) Elem

func (CronJobSpecPtrOutput) ElementType

func (CronJobSpecPtrOutput) ElementType() reflect.Type

func (CronJobSpecPtrOutput) FailedJobsHistoryLimit

func (o CronJobSpecPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.

func (CronJobSpecPtrOutput) JobTemplate

Specifies the job that will be created when executing a CronJob.

func (CronJobSpecPtrOutput) Schedule

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

func (CronJobSpecPtrOutput) StartingDeadlineSeconds

func (o CronJobSpecPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.

func (CronJobSpecPtrOutput) Suspend

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.

func (CronJobSpecPtrOutput) TimeZone

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutput

func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext

func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput

func (CronJobSpecPtrOutput) ToOutput added in v4.2.0

type CronJobState

type CronJobState struct {
}

func (CronJobState) ElementType

func (CronJobState) ElementType() reflect.Type

type CronJobStatus

type CronJobStatus struct {
	// A list of pointers to currently running jobs.
	Active []corev1.ObjectReference `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime *string `pulumi:"lastScheduleTime"`
	// Information when was the last time the job successfully completed.
	LastSuccessfulTime *string `pulumi:"lastSuccessfulTime"`
}

CronJobStatus represents the current state of a cron job.

type CronJobStatusArgs

type CronJobStatusArgs struct {
	// A list of pointers to currently running jobs.
	Active corev1.ObjectReferenceArrayInput `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"`
	// Information when was the last time the job successfully completed.
	LastSuccessfulTime pulumi.StringPtrInput `pulumi:"lastSuccessfulTime"`
}

CronJobStatus represents the current state of a cron job.

func (CronJobStatusArgs) ElementType

func (CronJobStatusArgs) ElementType() reflect.Type

func (CronJobStatusArgs) ToCronJobStatusOutput

func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusArgs) ToCronJobStatusOutputWithContext

func (i CronJobStatusArgs) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput

func (CronJobStatusArgs) ToCronJobStatusPtrOutput

func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext

func (i CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput

func (CronJobStatusArgs) ToOutput added in v4.2.0

type CronJobStatusInput

type CronJobStatusInput interface {
	pulumi.Input

	ToCronJobStatusOutput() CronJobStatusOutput
	ToCronJobStatusOutputWithContext(context.Context) CronJobStatusOutput
}

CronJobStatusInput is an input type that accepts CronJobStatusArgs and CronJobStatusOutput values. You can construct a concrete instance of `CronJobStatusInput` via:

CronJobStatusArgs{...}

type CronJobStatusOutput

type CronJobStatusOutput struct{ *pulumi.OutputState }

CronJobStatus represents the current state of a cron job.

func (CronJobStatusOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusOutput) ElementType

func (CronJobStatusOutput) ElementType() reflect.Type

func (CronJobStatusOutput) LastScheduleTime

func (o CronJobStatusOutput) LastScheduleTime() pulumi.StringPtrOutput

Information when was the last time the job was successfully scheduled.

func (CronJobStatusOutput) LastSuccessfulTime

func (o CronJobStatusOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusOutput) ToCronJobStatusOutput

func (o CronJobStatusOutput) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusOutput) ToCronJobStatusOutputWithContext

func (o CronJobStatusOutput) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput

func (CronJobStatusOutput) ToCronJobStatusPtrOutput

func (o CronJobStatusOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext

func (o CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput

func (CronJobStatusOutput) ToOutput added in v4.2.0

type CronJobStatusPatch

type CronJobStatusPatch struct {
	// A list of pointers to currently running jobs.
	Active []corev1.ObjectReferencePatch `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime *string `pulumi:"lastScheduleTime"`
	// Information when was the last time the job successfully completed.
	LastSuccessfulTime *string `pulumi:"lastSuccessfulTime"`
}

CronJobStatus represents the current state of a cron job.

type CronJobStatusPatchArgs

type CronJobStatusPatchArgs struct {
	// A list of pointers to currently running jobs.
	Active corev1.ObjectReferencePatchArrayInput `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"`
	// Information when was the last time the job successfully completed.
	LastSuccessfulTime pulumi.StringPtrInput `pulumi:"lastSuccessfulTime"`
}

CronJobStatus represents the current state of a cron job.

func (CronJobStatusPatchArgs) ElementType

func (CronJobStatusPatchArgs) ElementType() reflect.Type

func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutput

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput

func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput

func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput

func (CronJobStatusPatchArgs) ToOutput added in v4.2.0

type CronJobStatusPatchInput

type CronJobStatusPatchInput interface {
	pulumi.Input

	ToCronJobStatusPatchOutput() CronJobStatusPatchOutput
	ToCronJobStatusPatchOutputWithContext(context.Context) CronJobStatusPatchOutput
}

CronJobStatusPatchInput is an input type that accepts CronJobStatusPatchArgs and CronJobStatusPatchOutput values. You can construct a concrete instance of `CronJobStatusPatchInput` via:

CronJobStatusPatchArgs{...}

type CronJobStatusPatchOutput

type CronJobStatusPatchOutput struct{ *pulumi.OutputState }

CronJobStatus represents the current state of a cron job.

func (CronJobStatusPatchOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusPatchOutput) ElementType

func (CronJobStatusPatchOutput) ElementType() reflect.Type

func (CronJobStatusPatchOutput) LastScheduleTime

func (o CronJobStatusPatchOutput) LastScheduleTime() pulumi.StringPtrOutput

Information when was the last time the job was successfully scheduled.

func (CronJobStatusPatchOutput) LastSuccessfulTime

func (o CronJobStatusPatchOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutput

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput

func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput

func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput

func (CronJobStatusPatchOutput) ToOutput added in v4.2.0

type CronJobStatusPatchPtrInput

type CronJobStatusPatchPtrInput interface {
	pulumi.Input

	ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
	ToCronJobStatusPatchPtrOutputWithContext(context.Context) CronJobStatusPatchPtrOutput
}

CronJobStatusPatchPtrInput is an input type that accepts CronJobStatusPatchArgs, CronJobStatusPatchPtr and CronJobStatusPatchPtrOutput values. You can construct a concrete instance of `CronJobStatusPatchPtrInput` via:

        CronJobStatusPatchArgs{...}

or:

        nil

type CronJobStatusPatchPtrOutput

type CronJobStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (CronJobStatusPatchPtrOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusPatchPtrOutput) Elem

func (CronJobStatusPatchPtrOutput) ElementType

func (CronJobStatusPatchPtrOutput) LastScheduleTime

func (o CronJobStatusPatchPtrOutput) LastScheduleTime() pulumi.StringPtrOutput

Information when was the last time the job was successfully scheduled.

func (CronJobStatusPatchPtrOutput) LastSuccessfulTime

func (o CronJobStatusPatchPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput

func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext

func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput

func (CronJobStatusPatchPtrOutput) ToOutput added in v4.2.0

type CronJobStatusPtrInput

type CronJobStatusPtrInput interface {
	pulumi.Input

	ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
	ToCronJobStatusPtrOutputWithContext(context.Context) CronJobStatusPtrOutput
}

CronJobStatusPtrInput is an input type that accepts CronJobStatusArgs, CronJobStatusPtr and CronJobStatusPtrOutput values. You can construct a concrete instance of `CronJobStatusPtrInput` via:

        CronJobStatusArgs{...}

or:

        nil

type CronJobStatusPtrOutput

type CronJobStatusPtrOutput struct{ *pulumi.OutputState }

func (CronJobStatusPtrOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusPtrOutput) Elem

func (CronJobStatusPtrOutput) ElementType

func (CronJobStatusPtrOutput) ElementType() reflect.Type

func (CronJobStatusPtrOutput) LastScheduleTime

func (o CronJobStatusPtrOutput) LastScheduleTime() pulumi.StringPtrOutput

Information when was the last time the job was successfully scheduled.

func (CronJobStatusPtrOutput) LastSuccessfulTime

func (o CronJobStatusPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutput

func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext

func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput

func (CronJobStatusPtrOutput) ToOutput added in v4.2.0

type CronJobType

type CronJobType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *CronJobSpec `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *CronJobStatus `pulumi:"status"`
}

CronJob represents the configuration of a single cron job.

type CronJobTypeArgs

type CronJobTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec CronJobSpecPtrInput `pulumi:"spec"`
	// Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status CronJobStatusPtrInput `pulumi:"status"`
}

CronJob represents the configuration of a single cron job.

func (CronJobTypeArgs) ElementType

func (CronJobTypeArgs) ElementType() reflect.Type

func (CronJobTypeArgs) ToCronJobTypeOutput

func (i CronJobTypeArgs) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeArgs) ToCronJobTypeOutputWithContext

func (i CronJobTypeArgs) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput

func (CronJobTypeArgs) ToOutput added in v4.2.0

type CronJobTypeArray

type CronJobTypeArray []CronJobTypeInput

func (CronJobTypeArray) ElementType

func (CronJobTypeArray) ElementType() reflect.Type

func (CronJobTypeArray) ToCronJobTypeArrayOutput

func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArray) ToCronJobTypeArrayOutputWithContext

func (i CronJobTypeArray) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput

func (CronJobTypeArray) ToOutput added in v4.2.0

type CronJobTypeArrayInput

type CronJobTypeArrayInput interface {
	pulumi.Input

	ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
	ToCronJobTypeArrayOutputWithContext(context.Context) CronJobTypeArrayOutput
}

CronJobTypeArrayInput is an input type that accepts CronJobTypeArray and CronJobTypeArrayOutput values. You can construct a concrete instance of `CronJobTypeArrayInput` via:

CronJobTypeArray{ CronJobTypeArgs{...} }

type CronJobTypeArrayOutput

type CronJobTypeArrayOutput struct{ *pulumi.OutputState }

func (CronJobTypeArrayOutput) ElementType

func (CronJobTypeArrayOutput) ElementType() reflect.Type

func (CronJobTypeArrayOutput) Index

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutput

func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext

func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput

func (CronJobTypeArrayOutput) ToOutput added in v4.2.0

type CronJobTypeInput

type CronJobTypeInput interface {
	pulumi.Input

	ToCronJobTypeOutput() CronJobTypeOutput
	ToCronJobTypeOutputWithContext(context.Context) CronJobTypeOutput
}

CronJobTypeInput is an input type that accepts CronJobTypeArgs and CronJobTypeOutput values. You can construct a concrete instance of `CronJobTypeInput` via:

CronJobTypeArgs{...}

type CronJobTypeOutput

type CronJobTypeOutput struct{ *pulumi.OutputState }

CronJob represents the configuration of a single cron job.

func (CronJobTypeOutput) ApiVersion

func (o CronJobTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (CronJobTypeOutput) ElementType

func (CronJobTypeOutput) ElementType() reflect.Type

func (CronJobTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (CronJobTypeOutput) Spec

Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (CronJobTypeOutput) ToCronJobTypeOutput

func (o CronJobTypeOutput) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeOutput) ToCronJobTypeOutputWithContext

func (o CronJobTypeOutput) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput

func (CronJobTypeOutput) ToOutput added in v4.2.0

type Job

type Job struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaOutput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecOutput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrOutput `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

## Example Usage ### Create a Job with auto-naming ```go package main

import (

batchv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1"
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batchv1.NewJob(ctx, "job", &batchv1.JobArgs{
			Metadata: nil,
			Spec: &batchv1.JobSpecArgs{
				BackoffLimit: pulumi.Int(4),
				Template: &corev1.PodTemplateSpecArgs{
					Spec: &corev1.PodSpecArgs{
						Containers: corev1.ContainerArray{
							&corev1.ContainerArgs{
								Command: pulumi.StringArray{
									pulumi.String("perl"),
									pulumi.String("-Mbignum=bpi"),
									pulumi.String("-wle"),
									pulumi.String("print bpi(2000)"),
								},
								Image: pulumi.String("perl"),
								Name:  pulumi.String("pi"),
							},
						},
						RestartPolicy: pulumi.String("Never"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create a Job with a user-specified name ```go package main

import (

batchv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1"
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batchv1.NewJob(ctx, "job", &batchv1.JobArgs{
			Metadata: &metav1.ObjectMetaArgs{
				Name: pulumi.String("pi"),
			},
			Spec: &batchv1.JobSpecArgs{
				BackoffLimit: pulumi.Int(4),
				Template: &corev1.PodTemplateSpecArgs{
					Spec: &corev1.PodSpecArgs{
						Containers: corev1.ContainerArray{
							&corev1.ContainerArgs{
								Command: pulumi.StringArray{
									pulumi.String("perl"),
									pulumi.String("-Mbignum=bpi"),
									pulumi.String("-wle"),
									pulumi.String("print bpi(2000)"),
								},
								Image: pulumi.String("perl"),
								Name:  pulumi.String("pi"),
							},
						},
						RestartPolicy: pulumi.String("Never"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

NewJob registers a new resource with the given unique name, arguments, and options.

func (*Job) ElementType

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput

func (*Job) ToOutput added in v4.2.0

func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job]

type JobArgs

type JobArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

func (JobArray) ToOutput added in v4.2.0

func (i JobArray) ToOutput(ctx context.Context) pulumix.Output[[]*Job]

type JobArrayInput

type JobArrayInput interface {
	pulumi.Input

	ToJobArrayOutput() JobArrayOutput
	ToJobArrayOutputWithContext(context.Context) JobArrayOutput
}

JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:

JobArray{ JobArgs{...} }

type JobArrayOutput

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

func (JobArrayOutput) ToOutput added in v4.2.0

func (o JobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Job]

type JobCondition

type JobCondition struct {
	// Last time the condition was checked.
	LastProbeTime *string `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message *string `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status string `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type string `pulumi:"type"`
}

JobCondition describes current state of a job.

type JobConditionArgs

type JobConditionArgs struct {
	// Last time the condition was checked.
	LastProbeTime pulumi.StringPtrInput `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringInput `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type pulumi.StringInput `pulumi:"type"`
}

JobCondition describes current state of a job.

func (JobConditionArgs) ElementType

func (JobConditionArgs) ElementType() reflect.Type

func (JobConditionArgs) ToJobConditionOutput

func (i JobConditionArgs) ToJobConditionOutput() JobConditionOutput

func (JobConditionArgs) ToJobConditionOutputWithContext

func (i JobConditionArgs) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

func (JobConditionArgs) ToOutput added in v4.2.0

type JobConditionArray

type JobConditionArray []JobConditionInput

func (JobConditionArray) ElementType

func (JobConditionArray) ElementType() reflect.Type

func (JobConditionArray) ToJobConditionArrayOutput

func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArray) ToJobConditionArrayOutputWithContext

func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

func (JobConditionArray) ToOutput added in v4.2.0

type JobConditionArrayInput

type JobConditionArrayInput interface {
	pulumi.Input

	ToJobConditionArrayOutput() JobConditionArrayOutput
	ToJobConditionArrayOutputWithContext(context.Context) JobConditionArrayOutput
}

JobConditionArrayInput is an input type that accepts JobConditionArray and JobConditionArrayOutput values. You can construct a concrete instance of `JobConditionArrayInput` via:

JobConditionArray{ JobConditionArgs{...} }

type JobConditionArrayOutput

type JobConditionArrayOutput struct{ *pulumi.OutputState }

func (JobConditionArrayOutput) ElementType

func (JobConditionArrayOutput) ElementType() reflect.Type

func (JobConditionArrayOutput) Index

func (JobConditionArrayOutput) ToJobConditionArrayOutput

func (o JobConditionArrayOutput) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArrayOutput) ToJobConditionArrayOutputWithContext

func (o JobConditionArrayOutput) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

func (JobConditionArrayOutput) ToOutput added in v4.2.0

type JobConditionInput

type JobConditionInput interface {
	pulumi.Input

	ToJobConditionOutput() JobConditionOutput
	ToJobConditionOutputWithContext(context.Context) JobConditionOutput
}

JobConditionInput is an input type that accepts JobConditionArgs and JobConditionOutput values. You can construct a concrete instance of `JobConditionInput` via:

JobConditionArgs{...}

type JobConditionOutput

type JobConditionOutput struct{ *pulumi.OutputState }

JobCondition describes current state of a job.

func (JobConditionOutput) ElementType

func (JobConditionOutput) ElementType() reflect.Type

func (JobConditionOutput) LastProbeTime

func (o JobConditionOutput) LastProbeTime() pulumi.StringPtrOutput

Last time the condition was checked.

func (JobConditionOutput) LastTransitionTime

func (o JobConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transit from one status to another.

func (JobConditionOutput) Message

Human readable message indicating details about last transition.

func (JobConditionOutput) Reason

(brief) reason for the condition's last transition.

func (JobConditionOutput) Status

Status of the condition, one of True, False, Unknown.

func (JobConditionOutput) ToJobConditionOutput

func (o JobConditionOutput) ToJobConditionOutput() JobConditionOutput

func (JobConditionOutput) ToJobConditionOutputWithContext

func (o JobConditionOutput) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

func (JobConditionOutput) ToOutput added in v4.2.0

func (JobConditionOutput) Type

Type of job condition, Complete or Failed.

type JobConditionPatch

type JobConditionPatch struct {
	// Last time the condition was checked.
	LastProbeTime *string `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message *string `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type *string `pulumi:"type"`
}

JobCondition describes current state of a job.

type JobConditionPatchArgs

type JobConditionPatchArgs struct {
	// Last time the condition was checked.
	LastProbeTime pulumi.StringPtrInput `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

JobCondition describes current state of a job.

func (JobConditionPatchArgs) ElementType

func (JobConditionPatchArgs) ElementType() reflect.Type

func (JobConditionPatchArgs) ToJobConditionPatchOutput

func (i JobConditionPatchArgs) ToJobConditionPatchOutput() JobConditionPatchOutput

func (JobConditionPatchArgs) ToJobConditionPatchOutputWithContext

func (i JobConditionPatchArgs) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput

func (JobConditionPatchArgs) ToOutput added in v4.2.0

type JobConditionPatchArray

type JobConditionPatchArray []JobConditionPatchInput

func (JobConditionPatchArray) ElementType

func (JobConditionPatchArray) ElementType() reflect.Type

func (JobConditionPatchArray) ToJobConditionPatchArrayOutput

func (i JobConditionPatchArray) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput

func (JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext

func (i JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput

func (JobConditionPatchArray) ToOutput added in v4.2.0

type JobConditionPatchArrayInput

type JobConditionPatchArrayInput interface {
	pulumi.Input

	ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput
	ToJobConditionPatchArrayOutputWithContext(context.Context) JobConditionPatchArrayOutput
}

JobConditionPatchArrayInput is an input type that accepts JobConditionPatchArray and JobConditionPatchArrayOutput values. You can construct a concrete instance of `JobConditionPatchArrayInput` via:

JobConditionPatchArray{ JobConditionPatchArgs{...} }

type JobConditionPatchArrayOutput

type JobConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (JobConditionPatchArrayOutput) ElementType

func (JobConditionPatchArrayOutput) Index

func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput

func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput

func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext

func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput

func (JobConditionPatchArrayOutput) ToOutput added in v4.2.0

type JobConditionPatchInput

type JobConditionPatchInput interface {
	pulumi.Input

	ToJobConditionPatchOutput() JobConditionPatchOutput
	ToJobConditionPatchOutputWithContext(context.Context) JobConditionPatchOutput
}

JobConditionPatchInput is an input type that accepts JobConditionPatchArgs and JobConditionPatchOutput values. You can construct a concrete instance of `JobConditionPatchInput` via:

JobConditionPatchArgs{...}

type JobConditionPatchOutput

type JobConditionPatchOutput struct{ *pulumi.OutputState }

JobCondition describes current state of a job.

func (JobConditionPatchOutput) ElementType

func (JobConditionPatchOutput) ElementType() reflect.Type

func (JobConditionPatchOutput) LastProbeTime

Last time the condition was checked.

func (JobConditionPatchOutput) LastTransitionTime

func (o JobConditionPatchOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transit from one status to another.

func (JobConditionPatchOutput) Message

Human readable message indicating details about last transition.

func (JobConditionPatchOutput) Reason

(brief) reason for the condition's last transition.

func (JobConditionPatchOutput) Status

Status of the condition, one of True, False, Unknown.

func (JobConditionPatchOutput) ToJobConditionPatchOutput

func (o JobConditionPatchOutput) ToJobConditionPatchOutput() JobConditionPatchOutput

func (JobConditionPatchOutput) ToJobConditionPatchOutputWithContext

func (o JobConditionPatchOutput) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput

func (JobConditionPatchOutput) ToOutput added in v4.2.0

func (JobConditionPatchOutput) Type

Type of job condition, Complete or Failed.

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobList

type JobList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringOutput `pulumi:"apiVersion"`
	// items is the list of Jobs.
	Items JobTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaOutput `pulumi:"metadata"`
}

JobList is a collection of jobs.

func GetJobList

func GetJobList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobListState, opts ...pulumi.ResourceOption) (*JobList, error)

GetJobList gets an existing JobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobList

func NewJobList(ctx *pulumi.Context,
	name string, args *JobListArgs, opts ...pulumi.ResourceOption) (*JobList, error)

NewJobList registers a new resource with the given unique name, arguments, and options.

func (*JobList) ElementType

func (*JobList) ElementType() reflect.Type

func (*JobList) ToJobListOutput

func (i *JobList) ToJobListOutput() JobListOutput

func (*JobList) ToJobListOutputWithContext

func (i *JobList) ToJobListOutputWithContext(ctx context.Context) JobListOutput

func (*JobList) ToOutput added in v4.2.0

func (i *JobList) ToOutput(ctx context.Context) pulumix.Output[*JobList]

type JobListArgs

type JobListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// items is the list of Jobs.
	Items JobTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a JobList resource.

func (JobListArgs) ElementType

func (JobListArgs) ElementType() reflect.Type

type JobListArray

type JobListArray []JobListInput

func (JobListArray) ElementType

func (JobListArray) ElementType() reflect.Type

func (JobListArray) ToJobListArrayOutput

func (i JobListArray) ToJobListArrayOutput() JobListArrayOutput

func (JobListArray) ToJobListArrayOutputWithContext

func (i JobListArray) ToJobListArrayOutputWithContext(ctx context.Context) JobListArrayOutput

func (JobListArray) ToOutput added in v4.2.0

func (i JobListArray) ToOutput(ctx context.Context) pulumix.Output[[]*JobList]

type JobListArrayInput

type JobListArrayInput interface {
	pulumi.Input

	ToJobListArrayOutput() JobListArrayOutput
	ToJobListArrayOutputWithContext(context.Context) JobListArrayOutput
}

JobListArrayInput is an input type that accepts JobListArray and JobListArrayOutput values. You can construct a concrete instance of `JobListArrayInput` via:

JobListArray{ JobListArgs{...} }

type JobListArrayOutput

type JobListArrayOutput struct{ *pulumi.OutputState }

func (JobListArrayOutput) ElementType

func (JobListArrayOutput) ElementType() reflect.Type

func (JobListArrayOutput) Index

func (JobListArrayOutput) ToJobListArrayOutput

func (o JobListArrayOutput) ToJobListArrayOutput() JobListArrayOutput

func (JobListArrayOutput) ToJobListArrayOutputWithContext

func (o JobListArrayOutput) ToJobListArrayOutputWithContext(ctx context.Context) JobListArrayOutput

func (JobListArrayOutput) ToOutput added in v4.2.0

type JobListInput

type JobListInput interface {
	pulumi.Input

	ToJobListOutput() JobListOutput
	ToJobListOutputWithContext(ctx context.Context) JobListOutput
}

type JobListMap

type JobListMap map[string]JobListInput

func (JobListMap) ElementType

func (JobListMap) ElementType() reflect.Type

func (JobListMap) ToJobListMapOutput

func (i JobListMap) ToJobListMapOutput() JobListMapOutput

func (JobListMap) ToJobListMapOutputWithContext

func (i JobListMap) ToJobListMapOutputWithContext(ctx context.Context) JobListMapOutput

func (JobListMap) ToOutput added in v4.2.0

func (i JobListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobList]

type JobListMapInput

type JobListMapInput interface {
	pulumi.Input

	ToJobListMapOutput() JobListMapOutput
	ToJobListMapOutputWithContext(context.Context) JobListMapOutput
}

JobListMapInput is an input type that accepts JobListMap and JobListMapOutput values. You can construct a concrete instance of `JobListMapInput` via:

JobListMap{ "key": JobListArgs{...} }

type JobListMapOutput

type JobListMapOutput struct{ *pulumi.OutputState }

func (JobListMapOutput) ElementType

func (JobListMapOutput) ElementType() reflect.Type

func (JobListMapOutput) MapIndex

func (JobListMapOutput) ToJobListMapOutput

func (o JobListMapOutput) ToJobListMapOutput() JobListMapOutput

func (JobListMapOutput) ToJobListMapOutputWithContext

func (o JobListMapOutput) ToJobListMapOutputWithContext(ctx context.Context) JobListMapOutput

func (JobListMapOutput) ToOutput added in v4.2.0

type JobListOutput

type JobListOutput struct{ *pulumi.OutputState }

func (JobListOutput) ApiVersion

func (o JobListOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobListOutput) ElementType

func (JobListOutput) ElementType() reflect.Type

func (JobListOutput) Items

items is the list of Jobs.

func (JobListOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobListOutput) ToJobListOutput

func (o JobListOutput) ToJobListOutput() JobListOutput

func (JobListOutput) ToJobListOutputWithContext

func (o JobListOutput) ToJobListOutputWithContext(ctx context.Context) JobListOutput

func (JobListOutput) ToOutput added in v4.2.0

func (o JobListOutput) ToOutput(ctx context.Context) pulumix.Output[*JobList]

type JobListState

type JobListState struct {
}

func (JobListState) ElementType

func (JobListState) ElementType() reflect.Type

type JobListType

type JobListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// items is the list of Jobs.
	Items []JobType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

JobList is a collection of jobs.

type JobListTypeArgs

type JobListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// items is the list of Jobs.
	Items JobTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

JobList is a collection of jobs.

func (JobListTypeArgs) ElementType

func (JobListTypeArgs) ElementType() reflect.Type

func (JobListTypeArgs) ToJobListTypeOutput

func (i JobListTypeArgs) ToJobListTypeOutput() JobListTypeOutput

func (JobListTypeArgs) ToJobListTypeOutputWithContext

func (i JobListTypeArgs) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput

func (JobListTypeArgs) ToOutput added in v4.2.0

type JobListTypeInput

type JobListTypeInput interface {
	pulumi.Input

	ToJobListTypeOutput() JobListTypeOutput
	ToJobListTypeOutputWithContext(context.Context) JobListTypeOutput
}

JobListTypeInput is an input type that accepts JobListTypeArgs and JobListTypeOutput values. You can construct a concrete instance of `JobListTypeInput` via:

JobListTypeArgs{...}

type JobListTypeOutput

type JobListTypeOutput struct{ *pulumi.OutputState }

JobList is a collection of jobs.

func (JobListTypeOutput) ApiVersion

func (o JobListTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobListTypeOutput) ElementType

func (JobListTypeOutput) ElementType() reflect.Type

func (JobListTypeOutput) Items

items is the list of Jobs.

func (JobListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobListTypeOutput) ToJobListTypeOutput

func (o JobListTypeOutput) ToJobListTypeOutput() JobListTypeOutput

func (JobListTypeOutput) ToJobListTypeOutputWithContext

func (o JobListTypeOutput) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput

func (JobListTypeOutput) ToOutput added in v4.2.0

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

func (JobMap) ToOutput added in v4.2.0

func (i JobMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]

type JobMapInput

type JobMapInput interface {
	pulumi.Input

	ToJobMapOutput() JobMapOutput
	ToJobMapOutputWithContext(context.Context) JobMapOutput
}

JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:

JobMap{ "key": JobArgs{...} }

type JobMapOutput

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex

func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput

func (JobMapOutput) ToJobMapOutput

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext

func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

func (JobMapOutput) ToOutput added in v4.2.0

func (o JobMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) ApiVersion

func (o JobOutput) ApiVersion() pulumi.StringOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) Kind

func (o JobOutput) Kind() pulumi.StringOutput

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobOutput) Spec

func (o JobOutput) Spec() JobSpecOutput

Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput

func (JobOutput) ToOutput added in v4.2.0

func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job]

type JobPatch

type JobPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPatchPtrOutput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPatchPtrOutput `pulumi:"status"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

func GetJobPatch

func GetJobPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobPatchState, opts ...pulumi.ResourceOption) (*JobPatch, error)

GetJobPatch gets an existing JobPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobPatch

func NewJobPatch(ctx *pulumi.Context,
	name string, args *JobPatchArgs, opts ...pulumi.ResourceOption) (*JobPatch, error)

NewJobPatch registers a new resource with the given unique name, arguments, and options.

func (*JobPatch) ElementType

func (*JobPatch) ElementType() reflect.Type

func (*JobPatch) ToJobPatchOutput

func (i *JobPatch) ToJobPatchOutput() JobPatchOutput

func (*JobPatch) ToJobPatchOutputWithContext

func (i *JobPatch) ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput

func (*JobPatch) ToOutput added in v4.2.0

func (i *JobPatch) ToOutput(ctx context.Context) pulumix.Output[*JobPatch]

type JobPatchArgs

type JobPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPatchPtrInput
}

The set of arguments for constructing a JobPatch resource.

func (JobPatchArgs) ElementType

func (JobPatchArgs) ElementType() reflect.Type

type JobPatchArray

type JobPatchArray []JobPatchInput

func (JobPatchArray) ElementType

func (JobPatchArray) ElementType() reflect.Type

func (JobPatchArray) ToJobPatchArrayOutput

func (i JobPatchArray) ToJobPatchArrayOutput() JobPatchArrayOutput

func (JobPatchArray) ToJobPatchArrayOutputWithContext

func (i JobPatchArray) ToJobPatchArrayOutputWithContext(ctx context.Context) JobPatchArrayOutput

func (JobPatchArray) ToOutput added in v4.2.0

func (i JobPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*JobPatch]

type JobPatchArrayInput

type JobPatchArrayInput interface {
	pulumi.Input

	ToJobPatchArrayOutput() JobPatchArrayOutput
	ToJobPatchArrayOutputWithContext(context.Context) JobPatchArrayOutput
}

JobPatchArrayInput is an input type that accepts JobPatchArray and JobPatchArrayOutput values. You can construct a concrete instance of `JobPatchArrayInput` via:

JobPatchArray{ JobPatchArgs{...} }

type JobPatchArrayOutput

type JobPatchArrayOutput struct{ *pulumi.OutputState }

func (JobPatchArrayOutput) ElementType

func (JobPatchArrayOutput) ElementType() reflect.Type

func (JobPatchArrayOutput) Index

func (JobPatchArrayOutput) ToJobPatchArrayOutput

func (o JobPatchArrayOutput) ToJobPatchArrayOutput() JobPatchArrayOutput

func (JobPatchArrayOutput) ToJobPatchArrayOutputWithContext

func (o JobPatchArrayOutput) ToJobPatchArrayOutputWithContext(ctx context.Context) JobPatchArrayOutput

func (JobPatchArrayOutput) ToOutput added in v4.2.0

type JobPatchInput

type JobPatchInput interface {
	pulumi.Input

	ToJobPatchOutput() JobPatchOutput
	ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput
}

type JobPatchMap

type JobPatchMap map[string]JobPatchInput

func (JobPatchMap) ElementType

func (JobPatchMap) ElementType() reflect.Type

func (JobPatchMap) ToJobPatchMapOutput

func (i JobPatchMap) ToJobPatchMapOutput() JobPatchMapOutput

func (JobPatchMap) ToJobPatchMapOutputWithContext

func (i JobPatchMap) ToJobPatchMapOutputWithContext(ctx context.Context) JobPatchMapOutput

func (JobPatchMap) ToOutput added in v4.2.0

func (i JobPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobPatch]

type JobPatchMapInput

type JobPatchMapInput interface {
	pulumi.Input

	ToJobPatchMapOutput() JobPatchMapOutput
	ToJobPatchMapOutputWithContext(context.Context) JobPatchMapOutput
}

JobPatchMapInput is an input type that accepts JobPatchMap and JobPatchMapOutput values. You can construct a concrete instance of `JobPatchMapInput` via:

JobPatchMap{ "key": JobPatchArgs{...} }

type JobPatchMapOutput

type JobPatchMapOutput struct{ *pulumi.OutputState }

func (JobPatchMapOutput) ElementType

func (JobPatchMapOutput) ElementType() reflect.Type

func (JobPatchMapOutput) MapIndex

func (JobPatchMapOutput) ToJobPatchMapOutput

func (o JobPatchMapOutput) ToJobPatchMapOutput() JobPatchMapOutput

func (JobPatchMapOutput) ToJobPatchMapOutputWithContext

func (o JobPatchMapOutput) ToJobPatchMapOutputWithContext(ctx context.Context) JobPatchMapOutput

func (JobPatchMapOutput) ToOutput added in v4.2.0

type JobPatchOutput

type JobPatchOutput struct{ *pulumi.OutputState }

func (JobPatchOutput) ApiVersion

func (o JobPatchOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobPatchOutput) ElementType

func (JobPatchOutput) ElementType() reflect.Type

func (JobPatchOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobPatchOutput) Spec

Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobPatchOutput) ToJobPatchOutput

func (o JobPatchOutput) ToJobPatchOutput() JobPatchOutput

func (JobPatchOutput) ToJobPatchOutputWithContext

func (o JobPatchOutput) ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput

func (JobPatchOutput) ToOutput added in v4.2.0

type JobPatchState

type JobPatchState struct {
}

func (JobPatchState) ElementType

func (JobPatchState) ElementType() reflect.Type

type JobPatchType

type JobPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *JobSpecPatch `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *JobStatusPatch `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

type JobPatchTypeArgs

type JobPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPatchPtrInput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPatchPtrInput `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

func (JobPatchTypeArgs) ElementType

func (JobPatchTypeArgs) ElementType() reflect.Type

func (JobPatchTypeArgs) ToJobPatchTypeOutput

func (i JobPatchTypeArgs) ToJobPatchTypeOutput() JobPatchTypeOutput

func (JobPatchTypeArgs) ToJobPatchTypeOutputWithContext

func (i JobPatchTypeArgs) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput

func (JobPatchTypeArgs) ToOutput added in v4.2.0

type JobPatchTypeInput

type JobPatchTypeInput interface {
	pulumi.Input

	ToJobPatchTypeOutput() JobPatchTypeOutput
	ToJobPatchTypeOutputWithContext(context.Context) JobPatchTypeOutput
}

JobPatchTypeInput is an input type that accepts JobPatchTypeArgs and JobPatchTypeOutput values. You can construct a concrete instance of `JobPatchTypeInput` via:

JobPatchTypeArgs{...}

type JobPatchTypeOutput

type JobPatchTypeOutput struct{ *pulumi.OutputState }

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

func (JobPatchTypeOutput) ApiVersion

func (o JobPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobPatchTypeOutput) ElementType

func (JobPatchTypeOutput) ElementType() reflect.Type

func (JobPatchTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobPatchTypeOutput) Spec

Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobPatchTypeOutput) ToJobPatchTypeOutput

func (o JobPatchTypeOutput) ToJobPatchTypeOutput() JobPatchTypeOutput

func (JobPatchTypeOutput) ToJobPatchTypeOutputWithContext

func (o JobPatchTypeOutput) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput

func (JobPatchTypeOutput) ToOutput added in v4.2.0

type JobSpec

type JobSpec struct {
	// Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
	ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"`
	// Specifies the number of retries before marking this job failed. Defaults to 6
	BackoffLimit *int `pulumi:"backoffLimit"`
	// Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	BackoffLimitPerIndex *int `pulumi:"backoffLimitPerIndex"`
	// completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
	//
	// `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
	//
	// `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
	//
	// More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
	CompletionMode *string `pulumi:"completionMode"`
	// Specifies the desired number of successfully finished pods the job should be run with.  Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value.  Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Completions *int `pulumi:"completions"`
	// manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template.  When true, the user is responsible for picking unique labels and specifying the selector.  Failure to pick a unique label may cause this and other jobs to not function correctly.  However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
	ManualSelector *bool `pulumi:"manualSelector"`
	// Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	MaxFailedIndexes *int `pulumi:"maxFailedIndexes"`
	// Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Parallelism *int `pulumi:"parallelism"`
	// Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
	//
	// This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
	PodFailurePolicy *PodFailurePolicy `pulumi:"podFailurePolicy"`
	// podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
	//   when they are terminating (has a metadata.deletionTimestamp) or failed.
	// - Failed means to wait until a previously created Pod is fully terminated (has phase
	//   Failed or Succeeded) before creating a replacement Pod.
	//
	// When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
	PodReplacementPolicy *string `pulumi:"podReplacementPolicy"`
	// A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
	Suspend *bool `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Template corev1.PodTemplateSpec `pulumi:"template"`
	// ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
	TtlSecondsAfterFinished *int `pulumi:"ttlSecondsAfterFinished"`
}

JobSpec describes how the job execution will look like.

type JobSpecArgs

type JobSpecArgs struct {
	// Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
	ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"`
	// Specifies the number of retries before marking this job failed. Defaults to 6
	BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"`
	// Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	BackoffLimitPerIndex pulumi.IntPtrInput `pulumi:"backoffLimitPerIndex"`
	// completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
	//
	// `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
	//
	// `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
	//
	// More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
	CompletionMode pulumi.StringPtrInput `pulumi:"completionMode"`
	// Specifies the desired number of successfully finished pods the job should be run with.  Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value.  Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Completions pulumi.IntPtrInput `pulumi:"completions"`
	// manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template.  When true, the user is responsible for picking unique labels and specifying the selector.  Failure to pick a unique label may cause this and other jobs to not function correctly.  However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
	ManualSelector pulumi.BoolPtrInput `pulumi:"manualSelector"`
	// Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	MaxFailedIndexes pulumi.IntPtrInput `pulumi:"maxFailedIndexes"`
	// Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Parallelism pulumi.IntPtrInput `pulumi:"parallelism"`
	// Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
	//
	// This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
	PodFailurePolicy PodFailurePolicyPtrInput `pulumi:"podFailurePolicy"`
	// podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
	//   when they are terminating (has a metadata.deletionTimestamp) or failed.
	// - Failed means to wait until a previously created Pod is fully terminated (has phase
	//   Failed or Succeeded) before creating a replacement Pod.
	//
	// When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
	PodReplacementPolicy pulumi.StringPtrInput `pulumi:"podReplacementPolicy"`
	// A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Template corev1.PodTemplateSpecInput `pulumi:"template"`
	// ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
	TtlSecondsAfterFinished pulumi.IntPtrInput `pulumi:"ttlSecondsAfterFinished"`
}

JobSpec describes how the job execution will look like.

func (JobSpecArgs) ElementType

func (JobSpecArgs) ElementType() reflect.Type

func (JobSpecArgs) ToJobSpecOutput

func (i JobSpecArgs) ToJobSpecOutput() JobSpecOutput

func (JobSpecArgs) ToJobSpecOutputWithContext

func (i JobSpecArgs) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput

func (JobSpecArgs) ToJobSpecPtrOutput

func (i JobSpecArgs) ToJobSpecPtrOutput() JobSpecPtrOutput

func (JobSpecArgs) ToJobSpecPtrOutputWithContext

func (i JobSpecArgs) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput

func (JobSpecArgs) ToOutput added in v4.2.0

func (i JobSpecArgs) ToOutput(ctx context.Context) pulumix.Output[JobSpec]

type JobSpecInput

type JobSpecInput interface {
	pulumi.Input

	ToJobSpecOutput() JobSpecOutput
	ToJobSpecOutputWithContext(context.Context) JobSpecOutput
}

JobSpecInput is an input type that accepts JobSpecArgs and JobSpecOutput values. You can construct a concrete instance of `JobSpecInput` via:

JobSpecArgs{...}

type JobSpecOutput

type JobSpecOutput struct{ *pulumi.OutputState }

JobSpec describes how the job execution will look like.

func (JobSpecOutput) ActiveDeadlineSeconds

func (o JobSpecOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput

Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.

func (JobSpecOutput) BackoffLimit

func (o JobSpecOutput) BackoffLimit() pulumi.IntPtrOutput

Specifies the number of retries before marking this job failed. Defaults to 6

func (JobSpecOutput) BackoffLimitPerIndex added in v4.1.0

func (o JobSpecOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput

Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecOutput) CompletionMode

func (o JobSpecOutput) CompletionMode() pulumi.StringPtrOutput

completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.

`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.

`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.

More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.

func (JobSpecOutput) Completions

func (o JobSpecOutput) Completions() pulumi.IntPtrOutput

Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecOutput) ElementType

func (JobSpecOutput) ElementType() reflect.Type

func (JobSpecOutput) ManualSelector

func (o JobSpecOutput) ManualSelector() pulumi.BoolPtrOutput

manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

func (JobSpecOutput) MaxFailedIndexes added in v4.1.0

func (o JobSpecOutput) MaxFailedIndexes() pulumi.IntPtrOutput

Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecOutput) Parallelism

func (o JobSpecOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecOutput) PodFailurePolicy

func (o JobSpecOutput) PodFailurePolicy() PodFailurePolicyPtrOutput

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.

This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).

func (JobSpecOutput) PodReplacementPolicy added in v4.1.0

func (o JobSpecOutput) PodReplacementPolicy() pulumi.StringPtrOutput

podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods

	when they are terminating (has a metadata.deletionTimestamp) or failed.
  - Failed means to wait until a previously created Pod is fully terminated (has phase
    Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.

func (JobSpecOutput) Selector

A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (JobSpecOutput) Suspend

func (o JobSpecOutput) Suspend() pulumi.BoolPtrOutput

suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.

func (JobSpecOutput) Template

Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecOutput) ToJobSpecOutput

func (o JobSpecOutput) ToJobSpecOutput() JobSpecOutput

func (JobSpecOutput) ToJobSpecOutputWithContext

func (o JobSpecOutput) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput

func (JobSpecOutput) ToJobSpecPtrOutput

func (o JobSpecOutput) ToJobSpecPtrOutput() JobSpecPtrOutput

func (JobSpecOutput) ToJobSpecPtrOutputWithContext

func (o JobSpecOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput

func (JobSpecOutput) ToOutput added in v4.2.0

func (JobSpecOutput) TtlSecondsAfterFinished

func (o JobSpecOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.

type JobSpecPatch

type JobSpecPatch struct {
	// Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
	ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"`
	// Specifies the number of retries before marking this job failed. Defaults to 6
	BackoffLimit *int `pulumi:"backoffLimit"`
	// Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	BackoffLimitPerIndex *int `pulumi:"backoffLimitPerIndex"`
	// completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
	//
	// `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
	//
	// `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
	//
	// More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
	CompletionMode *string `pulumi:"completionMode"`
	// Specifies the desired number of successfully finished pods the job should be run with.  Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value.  Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Completions *int `pulumi:"completions"`
	// manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template.  When true, the user is responsible for picking unique labels and specifying the selector.  Failure to pick a unique label may cause this and other jobs to not function correctly.  However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
	ManualSelector *bool `pulumi:"manualSelector"`
	// Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	MaxFailedIndexes *int `pulumi:"maxFailedIndexes"`
	// Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Parallelism *int `pulumi:"parallelism"`
	// Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
	//
	// This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
	PodFailurePolicy *PodFailurePolicyPatch `pulumi:"podFailurePolicy"`
	// podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
	//   when they are terminating (has a metadata.deletionTimestamp) or failed.
	// - Failed means to wait until a previously created Pod is fully terminated (has phase
	//   Failed or Succeeded) before creating a replacement Pod.
	//
	// When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
	PodReplacementPolicy *string `pulumi:"podReplacementPolicy"`
	// A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
	Suspend *bool `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Template *corev1.PodTemplateSpecPatch `pulumi:"template"`
	// ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
	TtlSecondsAfterFinished *int `pulumi:"ttlSecondsAfterFinished"`
}

JobSpec describes how the job execution will look like.

type JobSpecPatchArgs

type JobSpecPatchArgs struct {
	// Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
	ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"`
	// Specifies the number of retries before marking this job failed. Defaults to 6
	BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"`
	// Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	BackoffLimitPerIndex pulumi.IntPtrInput `pulumi:"backoffLimitPerIndex"`
	// completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
	//
	// `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
	//
	// `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
	//
	// More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
	CompletionMode pulumi.StringPtrInput `pulumi:"completionMode"`
	// Specifies the desired number of successfully finished pods the job should be run with.  Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value.  Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Completions pulumi.IntPtrInput `pulumi:"completions"`
	// manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template.  When true, the user is responsible for picking unique labels and specifying the selector.  Failure to pick a unique label may cause this and other jobs to not function correctly.  However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
	ManualSelector pulumi.BoolPtrInput `pulumi:"manualSelector"`
	// Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	MaxFailedIndexes pulumi.IntPtrInput `pulumi:"maxFailedIndexes"`
	// Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Parallelism pulumi.IntPtrInput `pulumi:"parallelism"`
	// Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
	//
	// This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
	PodFailurePolicy PodFailurePolicyPatchPtrInput `pulumi:"podFailurePolicy"`
	// podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
	//   when they are terminating (has a metadata.deletionTimestamp) or failed.
	// - Failed means to wait until a previously created Pod is fully terminated (has phase
	//   Failed or Succeeded) before creating a replacement Pod.
	//
	// When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
	PodReplacementPolicy pulumi.StringPtrInput `pulumi:"podReplacementPolicy"`
	// A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Template corev1.PodTemplateSpecPatchPtrInput `pulumi:"template"`
	// ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
	TtlSecondsAfterFinished pulumi.IntPtrInput `pulumi:"ttlSecondsAfterFinished"`
}

JobSpec describes how the job execution will look like.

func (JobSpecPatchArgs) ElementType

func (JobSpecPatchArgs) ElementType() reflect.Type

func (JobSpecPatchArgs) ToJobSpecPatchOutput

func (i JobSpecPatchArgs) ToJobSpecPatchOutput() JobSpecPatchOutput

func (JobSpecPatchArgs) ToJobSpecPatchOutputWithContext

func (i JobSpecPatchArgs) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput

func (JobSpecPatchArgs) ToJobSpecPatchPtrOutput

func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext

func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput

func (JobSpecPatchArgs) ToOutput added in v4.2.0

type JobSpecPatchInput

type JobSpecPatchInput interface {
	pulumi.Input

	ToJobSpecPatchOutput() JobSpecPatchOutput
	ToJobSpecPatchOutputWithContext(context.Context) JobSpecPatchOutput
}

JobSpecPatchInput is an input type that accepts JobSpecPatchArgs and JobSpecPatchOutput values. You can construct a concrete instance of `JobSpecPatchInput` via:

JobSpecPatchArgs{...}

type JobSpecPatchOutput

type JobSpecPatchOutput struct{ *pulumi.OutputState }

JobSpec describes how the job execution will look like.

func (JobSpecPatchOutput) ActiveDeadlineSeconds

func (o JobSpecPatchOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput

Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.

func (JobSpecPatchOutput) BackoffLimit

func (o JobSpecPatchOutput) BackoffLimit() pulumi.IntPtrOutput

Specifies the number of retries before marking this job failed. Defaults to 6

func (JobSpecPatchOutput) BackoffLimitPerIndex added in v4.1.0

func (o JobSpecPatchOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput

Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPatchOutput) CompletionMode

func (o JobSpecPatchOutput) CompletionMode() pulumi.StringPtrOutput

completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.

`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.

`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.

More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.

func (JobSpecPatchOutput) Completions

func (o JobSpecPatchOutput) Completions() pulumi.IntPtrOutput

Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchOutput) ElementType

func (JobSpecPatchOutput) ElementType() reflect.Type

func (JobSpecPatchOutput) ManualSelector

func (o JobSpecPatchOutput) ManualSelector() pulumi.BoolPtrOutput

manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

func (JobSpecPatchOutput) MaxFailedIndexes added in v4.1.0

func (o JobSpecPatchOutput) MaxFailedIndexes() pulumi.IntPtrOutput

Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPatchOutput) Parallelism

func (o JobSpecPatchOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchOutput) PodFailurePolicy

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.

This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).

func (JobSpecPatchOutput) PodReplacementPolicy added in v4.1.0

func (o JobSpecPatchOutput) PodReplacementPolicy() pulumi.StringPtrOutput

podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods

	when they are terminating (has a metadata.deletionTimestamp) or failed.
  - Failed means to wait until a previously created Pod is fully terminated (has phase
    Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.

func (JobSpecPatchOutput) Selector

A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (JobSpecPatchOutput) Suspend

suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.

func (JobSpecPatchOutput) Template

Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchOutput) ToJobSpecPatchOutput

func (o JobSpecPatchOutput) ToJobSpecPatchOutput() JobSpecPatchOutput

func (JobSpecPatchOutput) ToJobSpecPatchOutputWithContext

func (o JobSpecPatchOutput) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput

func (JobSpecPatchOutput) ToJobSpecPatchPtrOutput

func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext

func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput

func (JobSpecPatchOutput) ToOutput added in v4.2.0

func (JobSpecPatchOutput) TtlSecondsAfterFinished

func (o JobSpecPatchOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.

type JobSpecPatchPtrInput

type JobSpecPatchPtrInput interface {
	pulumi.Input

	ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
	ToJobSpecPatchPtrOutputWithContext(context.Context) JobSpecPatchPtrOutput
}

JobSpecPatchPtrInput is an input type that accepts JobSpecPatchArgs, JobSpecPatchPtr and JobSpecPatchPtrOutput values. You can construct a concrete instance of `JobSpecPatchPtrInput` via:

        JobSpecPatchArgs{...}

or:

        nil

type JobSpecPatchPtrOutput

type JobSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (JobSpecPatchPtrOutput) ActiveDeadlineSeconds

func (o JobSpecPatchPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput

Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.

func (JobSpecPatchPtrOutput) BackoffLimit

func (o JobSpecPatchPtrOutput) BackoffLimit() pulumi.IntPtrOutput

Specifies the number of retries before marking this job failed. Defaults to 6

func (JobSpecPatchPtrOutput) BackoffLimitPerIndex added in v4.1.0

func (o JobSpecPatchPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput

Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPatchPtrOutput) CompletionMode

func (o JobSpecPatchPtrOutput) CompletionMode() pulumi.StringPtrOutput

completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.

`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.

`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.

More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.

func (JobSpecPatchPtrOutput) Completions

func (o JobSpecPatchPtrOutput) Completions() pulumi.IntPtrOutput

Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchPtrOutput) Elem

func (JobSpecPatchPtrOutput) ElementType

func (JobSpecPatchPtrOutput) ElementType() reflect.Type

func (JobSpecPatchPtrOutput) ManualSelector

func (o JobSpecPatchPtrOutput) ManualSelector() pulumi.BoolPtrOutput

manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

func (JobSpecPatchPtrOutput) MaxFailedIndexes added in v4.1.0

func (o JobSpecPatchPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput

Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPatchPtrOutput) Parallelism

func (o JobSpecPatchPtrOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchPtrOutput) PodFailurePolicy

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.

This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).

func (JobSpecPatchPtrOutput) PodReplacementPolicy added in v4.1.0

func (o JobSpecPatchPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput

podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods

	when they are terminating (has a metadata.deletionTimestamp) or failed.
  - Failed means to wait until a previously created Pod is fully terminated (has phase
    Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.

func (JobSpecPatchPtrOutput) Selector

A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (JobSpecPatchPtrOutput) Suspend

suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.

func (JobSpecPatchPtrOutput) Template

Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput

func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext

func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput

func (JobSpecPatchPtrOutput) ToOutput added in v4.2.0

func (JobSpecPatchPtrOutput) TtlSecondsAfterFinished

func (o JobSpecPatchPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.

type JobSpecPtrInput

type JobSpecPtrInput interface {
	pulumi.Input

	ToJobSpecPtrOutput() JobSpecPtrOutput
	ToJobSpecPtrOutputWithContext(context.Context) JobSpecPtrOutput
}

JobSpecPtrInput is an input type that accepts JobSpecArgs, JobSpecPtr and JobSpecPtrOutput values. You can construct a concrete instance of `JobSpecPtrInput` via:

        JobSpecArgs{...}

or:

        nil

func JobSpecPtr

func JobSpecPtr(v *JobSpecArgs) JobSpecPtrInput

type JobSpecPtrOutput

type JobSpecPtrOutput struct{ *pulumi.OutputState }

func (JobSpecPtrOutput) ActiveDeadlineSeconds

func (o JobSpecPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput

Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.

func (JobSpecPtrOutput) BackoffLimit

func (o JobSpecPtrOutput) BackoffLimit() pulumi.IntPtrOutput

Specifies the number of retries before marking this job failed. Defaults to 6

func (JobSpecPtrOutput) BackoffLimitPerIndex added in v4.1.0

func (o JobSpecPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput

Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPtrOutput) CompletionMode

func (o JobSpecPtrOutput) CompletionMode() pulumi.StringPtrOutput

completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.

`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.

`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.

More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.

func (JobSpecPtrOutput) Completions

func (o JobSpecPtrOutput) Completions() pulumi.IntPtrOutput

Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPtrOutput) Elem

func (JobSpecPtrOutput) ElementType

func (JobSpecPtrOutput) ElementType() reflect.Type

func (JobSpecPtrOutput) ManualSelector

func (o JobSpecPtrOutput) ManualSelector() pulumi.BoolPtrOutput

manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

func (JobSpecPtrOutput) MaxFailedIndexes added in v4.1.0

func (o JobSpecPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput

Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobSpecPtrOutput) Parallelism

func (o JobSpecPtrOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPtrOutput) PodFailurePolicy

func (o JobSpecPtrOutput) PodFailurePolicy() PodFailurePolicyPtrOutput

Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.

This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).

func (JobSpecPtrOutput) PodReplacementPolicy added in v4.1.0

func (o JobSpecPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput

podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods

	when they are terminating (has a metadata.deletionTimestamp) or failed.
  - Failed means to wait until a previously created Pod is fully terminated (has phase
    Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.

func (JobSpecPtrOutput) Selector

A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (JobSpecPtrOutput) Suspend

suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.

func (JobSpecPtrOutput) Template

Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPtrOutput) ToJobSpecPtrOutput

func (o JobSpecPtrOutput) ToJobSpecPtrOutput() JobSpecPtrOutput

func (JobSpecPtrOutput) ToJobSpecPtrOutputWithContext

func (o JobSpecPtrOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput

func (JobSpecPtrOutput) ToOutput added in v4.2.0

func (JobSpecPtrOutput) TtlSecondsAfterFinished

func (o JobSpecPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.

type JobState

type JobState struct {
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobStatus

type JobStatus struct {
	// The number of pending and running pods.
	Active *int `pulumi:"active"`
	// completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
	CompletedIndexes *string `pulumi:"completedIndexes"`
	// Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
	CompletionTime *string `pulumi:"completionTime"`
	// The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Conditions []JobCondition `pulumi:"conditions"`
	// The number of pods which reached phase Failed.
	Failed *int `pulumi:"failed"`
	// FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	FailedIndexes *string `pulumi:"failedIndexes"`
	// The number of pods which have a Ready condition.
	//
	// This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
	Ready *int `pulumi:"ready"`
	// Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
	StartTime *string `pulumi:"startTime"`
	// The number of pods which reached phase Succeeded.
	Succeeded *int `pulumi:"succeeded"`
	// The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
	//
	// This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
	Terminating *int `pulumi:"terminating"`
	// uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
	//
	// The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
	//
	// 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
	//     counter.
	//
	// Old jobs might not be tracked using this field, in which case the field remains null.
	UncountedTerminatedPods *UncountedTerminatedPods `pulumi:"uncountedTerminatedPods"`
}

JobStatus represents the current state of a Job.

type JobStatusArgs

type JobStatusArgs struct {
	// The number of pending and running pods.
	Active pulumi.IntPtrInput `pulumi:"active"`
	// completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
	CompletedIndexes pulumi.StringPtrInput `pulumi:"completedIndexes"`
	// Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
	CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"`
	// The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Conditions JobConditionArrayInput `pulumi:"conditions"`
	// The number of pods which reached phase Failed.
	Failed pulumi.IntPtrInput `pulumi:"failed"`
	// FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	FailedIndexes pulumi.StringPtrInput `pulumi:"failedIndexes"`
	// The number of pods which have a Ready condition.
	//
	// This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
	Ready pulumi.IntPtrInput `pulumi:"ready"`
	// Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	// The number of pods which reached phase Succeeded.
	Succeeded pulumi.IntPtrInput `pulumi:"succeeded"`
	// The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
	//
	// This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
	Terminating pulumi.IntPtrInput `pulumi:"terminating"`
	// uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
	//
	// The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
	//
	// 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
	//     counter.
	//
	// Old jobs might not be tracked using this field, in which case the field remains null.
	UncountedTerminatedPods UncountedTerminatedPodsPtrInput `pulumi:"uncountedTerminatedPods"`
}

JobStatus represents the current state of a Job.

func (JobStatusArgs) ElementType

func (JobStatusArgs) ElementType() reflect.Type

func (JobStatusArgs) ToJobStatusOutput

func (i JobStatusArgs) ToJobStatusOutput() JobStatusOutput

func (JobStatusArgs) ToJobStatusOutputWithContext

func (i JobStatusArgs) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput

func (JobStatusArgs) ToJobStatusPtrOutput

func (i JobStatusArgs) ToJobStatusPtrOutput() JobStatusPtrOutput

func (JobStatusArgs) ToJobStatusPtrOutputWithContext

func (i JobStatusArgs) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput

func (JobStatusArgs) ToOutput added in v4.2.0

type JobStatusInput

type JobStatusInput interface {
	pulumi.Input

	ToJobStatusOutput() JobStatusOutput
	ToJobStatusOutputWithContext(context.Context) JobStatusOutput
}

JobStatusInput is an input type that accepts JobStatusArgs and JobStatusOutput values. You can construct a concrete instance of `JobStatusInput` via:

JobStatusArgs{...}

type JobStatusOutput

type JobStatusOutput struct{ *pulumi.OutputState }

JobStatus represents the current state of a Job.

func (JobStatusOutput) Active

func (o JobStatusOutput) Active() pulumi.IntPtrOutput

The number of pending and running pods.

func (JobStatusOutput) CompletedIndexes

func (o JobStatusOutput) CompletedIndexes() pulumi.StringPtrOutput

completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

func (JobStatusOutput) CompletionTime

func (o JobStatusOutput) CompletionTime() pulumi.StringPtrOutput

Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.

func (JobStatusOutput) Conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobStatusOutput) ElementType

func (JobStatusOutput) ElementType() reflect.Type

func (JobStatusOutput) Failed

func (o JobStatusOutput) Failed() pulumi.IntPtrOutput

The number of pods which reached phase Failed.

func (JobStatusOutput) FailedIndexes added in v4.1.0

func (o JobStatusOutput) FailedIndexes() pulumi.StringPtrOutput

FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobStatusOutput) Ready

The number of pods which have a Ready condition.

This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).

func (JobStatusOutput) StartTime

func (o JobStatusOutput) StartTime() pulumi.StringPtrOutput

Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.

func (JobStatusOutput) Succeeded

func (o JobStatusOutput) Succeeded() pulumi.IntPtrOutput

The number of pods which reached phase Succeeded.

func (JobStatusOutput) Terminating added in v4.1.0

func (o JobStatusOutput) Terminating() pulumi.IntPtrOutput

The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).

This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).

func (JobStatusOutput) ToJobStatusOutput

func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput

func (JobStatusOutput) ToJobStatusOutputWithContext

func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput

func (JobStatusOutput) ToJobStatusPtrOutput

func (o JobStatusOutput) ToJobStatusPtrOutput() JobStatusPtrOutput

func (JobStatusOutput) ToJobStatusPtrOutputWithContext

func (o JobStatusOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput

func (JobStatusOutput) ToOutput added in v4.2.0

func (JobStatusOutput) UncountedTerminatedPods

func (o JobStatusOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput

uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.

The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:

  1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.

Old jobs might not be tracked using this field, in which case the field remains null.

type JobStatusPatch

type JobStatusPatch struct {
	// The number of pending and running pods.
	Active *int `pulumi:"active"`
	// completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
	CompletedIndexes *string `pulumi:"completedIndexes"`
	// Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
	CompletionTime *string `pulumi:"completionTime"`
	// The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Conditions []JobConditionPatch `pulumi:"conditions"`
	// The number of pods which reached phase Failed.
	Failed *int `pulumi:"failed"`
	// FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	FailedIndexes *string `pulumi:"failedIndexes"`
	// The number of pods which have a Ready condition.
	//
	// This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
	Ready *int `pulumi:"ready"`
	// Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
	StartTime *string `pulumi:"startTime"`
	// The number of pods which reached phase Succeeded.
	Succeeded *int `pulumi:"succeeded"`
	// The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
	//
	// This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
	Terminating *int `pulumi:"terminating"`
	// uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
	//
	// The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
	//
	// 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
	//     counter.
	//
	// Old jobs might not be tracked using this field, in which case the field remains null.
	UncountedTerminatedPods *UncountedTerminatedPodsPatch `pulumi:"uncountedTerminatedPods"`
}

JobStatus represents the current state of a Job.

type JobStatusPatchArgs

type JobStatusPatchArgs struct {
	// The number of pending and running pods.
	Active pulumi.IntPtrInput `pulumi:"active"`
	// completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
	CompletedIndexes pulumi.StringPtrInput `pulumi:"completedIndexes"`
	// Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
	CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"`
	// The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
	Conditions JobConditionPatchArrayInput `pulumi:"conditions"`
	// The number of pods which reached phase Failed.
	Failed pulumi.IntPtrInput `pulumi:"failed"`
	// FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	FailedIndexes pulumi.StringPtrInput `pulumi:"failedIndexes"`
	// The number of pods which have a Ready condition.
	//
	// This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
	Ready pulumi.IntPtrInput `pulumi:"ready"`
	// Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	// The number of pods which reached phase Succeeded.
	Succeeded pulumi.IntPtrInput `pulumi:"succeeded"`
	// The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
	//
	// This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
	Terminating pulumi.IntPtrInput `pulumi:"terminating"`
	// uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
	//
	// The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
	//
	// 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
	//     counter.
	//
	// Old jobs might not be tracked using this field, in which case the field remains null.
	UncountedTerminatedPods UncountedTerminatedPodsPatchPtrInput `pulumi:"uncountedTerminatedPods"`
}

JobStatus represents the current state of a Job.

func (JobStatusPatchArgs) ElementType

func (JobStatusPatchArgs) ElementType() reflect.Type

func (JobStatusPatchArgs) ToJobStatusPatchOutput

func (i JobStatusPatchArgs) ToJobStatusPatchOutput() JobStatusPatchOutput

func (JobStatusPatchArgs) ToJobStatusPatchOutputWithContext

func (i JobStatusPatchArgs) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput

func (JobStatusPatchArgs) ToJobStatusPatchPtrOutput

func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext

func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput

func (JobStatusPatchArgs) ToOutput added in v4.2.0

type JobStatusPatchInput

type JobStatusPatchInput interface {
	pulumi.Input

	ToJobStatusPatchOutput() JobStatusPatchOutput
	ToJobStatusPatchOutputWithContext(context.Context) JobStatusPatchOutput
}

JobStatusPatchInput is an input type that accepts JobStatusPatchArgs and JobStatusPatchOutput values. You can construct a concrete instance of `JobStatusPatchInput` via:

JobStatusPatchArgs{...}

type JobStatusPatchOutput

type JobStatusPatchOutput struct{ *pulumi.OutputState }

JobStatus represents the current state of a Job.

func (JobStatusPatchOutput) Active

The number of pending and running pods.

func (JobStatusPatchOutput) CompletedIndexes

func (o JobStatusPatchOutput) CompletedIndexes() pulumi.StringPtrOutput

completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

func (JobStatusPatchOutput) CompletionTime

func (o JobStatusPatchOutput) CompletionTime() pulumi.StringPtrOutput

Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.

func (JobStatusPatchOutput) Conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobStatusPatchOutput) ElementType

func (JobStatusPatchOutput) ElementType() reflect.Type

func (JobStatusPatchOutput) Failed

The number of pods which reached phase Failed.

func (JobStatusPatchOutput) FailedIndexes added in v4.1.0

func (o JobStatusPatchOutput) FailedIndexes() pulumi.StringPtrOutput

FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobStatusPatchOutput) Ready

The number of pods which have a Ready condition.

This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).

func (JobStatusPatchOutput) StartTime

Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.

func (JobStatusPatchOutput) Succeeded

The number of pods which reached phase Succeeded.

func (JobStatusPatchOutput) Terminating added in v4.1.0

func (o JobStatusPatchOutput) Terminating() pulumi.IntPtrOutput

The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).

This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).

func (JobStatusPatchOutput) ToJobStatusPatchOutput

func (o JobStatusPatchOutput) ToJobStatusPatchOutput() JobStatusPatchOutput

func (JobStatusPatchOutput) ToJobStatusPatchOutputWithContext

func (o JobStatusPatchOutput) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput

func (JobStatusPatchOutput) ToJobStatusPatchPtrOutput

func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext

func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput

func (JobStatusPatchOutput) ToOutput added in v4.2.0

func (JobStatusPatchOutput) UncountedTerminatedPods

func (o JobStatusPatchOutput) UncountedTerminatedPods() UncountedTerminatedPodsPatchPtrOutput

uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.

The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:

  1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.

Old jobs might not be tracked using this field, in which case the field remains null.

type JobStatusPatchPtrInput

type JobStatusPatchPtrInput interface {
	pulumi.Input

	ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
	ToJobStatusPatchPtrOutputWithContext(context.Context) JobStatusPatchPtrOutput
}

JobStatusPatchPtrInput is an input type that accepts JobStatusPatchArgs, JobStatusPatchPtr and JobStatusPatchPtrOutput values. You can construct a concrete instance of `JobStatusPatchPtrInput` via:

        JobStatusPatchArgs{...}

or:

        nil

type JobStatusPatchPtrOutput

type JobStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (JobStatusPatchPtrOutput) Active

The number of pending and running pods.

func (JobStatusPatchPtrOutput) CompletedIndexes

func (o JobStatusPatchPtrOutput) CompletedIndexes() pulumi.StringPtrOutput

completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

func (JobStatusPatchPtrOutput) CompletionTime

func (o JobStatusPatchPtrOutput) CompletionTime() pulumi.StringPtrOutput

Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.

func (JobStatusPatchPtrOutput) Conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobStatusPatchPtrOutput) Elem

func (JobStatusPatchPtrOutput) ElementType

func (JobStatusPatchPtrOutput) ElementType() reflect.Type

func (JobStatusPatchPtrOutput) Failed

The number of pods which reached phase Failed.

func (JobStatusPatchPtrOutput) FailedIndexes added in v4.1.0

FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobStatusPatchPtrOutput) Ready

The number of pods which have a Ready condition.

This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).

func (JobStatusPatchPtrOutput) StartTime

Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.

func (JobStatusPatchPtrOutput) Succeeded

The number of pods which reached phase Succeeded.

func (JobStatusPatchPtrOutput) Terminating added in v4.1.0

The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).

This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).

func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput

func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext

func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput

func (JobStatusPatchPtrOutput) ToOutput added in v4.2.0

func (JobStatusPatchPtrOutput) UncountedTerminatedPods

uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.

The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:

  1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.

Old jobs might not be tracked using this field, in which case the field remains null.

type JobStatusPtrInput

type JobStatusPtrInput interface {
	pulumi.Input

	ToJobStatusPtrOutput() JobStatusPtrOutput
	ToJobStatusPtrOutputWithContext(context.Context) JobStatusPtrOutput
}

JobStatusPtrInput is an input type that accepts JobStatusArgs, JobStatusPtr and JobStatusPtrOutput values. You can construct a concrete instance of `JobStatusPtrInput` via:

        JobStatusArgs{...}

or:

        nil

func JobStatusPtr

func JobStatusPtr(v *JobStatusArgs) JobStatusPtrInput

type JobStatusPtrOutput

type JobStatusPtrOutput struct{ *pulumi.OutputState }

func (JobStatusPtrOutput) Active

The number of pending and running pods.

func (JobStatusPtrOutput) CompletedIndexes

func (o JobStatusPtrOutput) CompletedIndexes() pulumi.StringPtrOutput

completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

func (JobStatusPtrOutput) CompletionTime

func (o JobStatusPtrOutput) CompletionTime() pulumi.StringPtrOutput

Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.

func (JobStatusPtrOutput) Conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobStatusPtrOutput) Elem

func (JobStatusPtrOutput) ElementType

func (JobStatusPtrOutput) ElementType() reflect.Type

func (JobStatusPtrOutput) Failed

The number of pods which reached phase Failed.

func (JobStatusPtrOutput) FailedIndexes added in v4.1.0

func (o JobStatusPtrOutput) FailedIndexes() pulumi.StringPtrOutput

FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).

func (JobStatusPtrOutput) Ready

The number of pods which have a Ready condition.

This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).

func (JobStatusPtrOutput) StartTime

Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.

func (JobStatusPtrOutput) Succeeded

func (o JobStatusPtrOutput) Succeeded() pulumi.IntPtrOutput

The number of pods which reached phase Succeeded.

func (JobStatusPtrOutput) Terminating added in v4.1.0

func (o JobStatusPtrOutput) Terminating() pulumi.IntPtrOutput

The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).

This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).

func (JobStatusPtrOutput) ToJobStatusPtrOutput

func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput

func (JobStatusPtrOutput) ToJobStatusPtrOutputWithContext

func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput

func (JobStatusPtrOutput) ToOutput added in v4.2.0

func (JobStatusPtrOutput) UncountedTerminatedPods

func (o JobStatusPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput

uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.

The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:

  1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.

Old jobs might not be tracked using this field, in which case the field remains null.

type JobTemplateSpec

type JobTemplateSpec struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *JobSpec `pulumi:"spec"`
}

JobTemplateSpec describes the data a Job should have when created from a template

type JobTemplateSpecArgs

type JobTemplateSpecArgs struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrInput `pulumi:"spec"`
}

JobTemplateSpec describes the data a Job should have when created from a template

func (JobTemplateSpecArgs) ElementType

func (JobTemplateSpecArgs) ElementType() reflect.Type

func (JobTemplateSpecArgs) ToJobTemplateSpecOutput

func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext

func (i JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput

func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext

func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput

func (JobTemplateSpecArgs) ToOutput added in v4.2.0

type JobTemplateSpecInput

type JobTemplateSpecInput interface {
	pulumi.Input

	ToJobTemplateSpecOutput() JobTemplateSpecOutput
	ToJobTemplateSpecOutputWithContext(context.Context) JobTemplateSpecOutput
}

JobTemplateSpecInput is an input type that accepts JobTemplateSpecArgs and JobTemplateSpecOutput values. You can construct a concrete instance of `JobTemplateSpecInput` via:

JobTemplateSpecArgs{...}

type JobTemplateSpecOutput

type JobTemplateSpecOutput struct{ *pulumi.OutputState }

JobTemplateSpec describes the data a Job should have when created from a template

func (JobTemplateSpecOutput) ElementType

func (JobTemplateSpecOutput) ElementType() reflect.Type

func (JobTemplateSpecOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecOutput) Spec

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobTemplateSpecOutput) ToJobTemplateSpecOutput

func (o JobTemplateSpecOutput) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext

func (o JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput

func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext

func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput

func (JobTemplateSpecOutput) ToOutput added in v4.2.0

type JobTemplateSpecPatch

type JobTemplateSpecPatch struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *JobSpecPatch `pulumi:"spec"`
}

JobTemplateSpec describes the data a Job should have when created from a template

type JobTemplateSpecPatchArgs

type JobTemplateSpecPatchArgs struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPatchPtrInput `pulumi:"spec"`
}

JobTemplateSpec describes the data a Job should have when created from a template

func (JobTemplateSpecPatchArgs) ElementType

func (JobTemplateSpecPatchArgs) ElementType() reflect.Type

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchArgs) ToOutput added in v4.2.0

type JobTemplateSpecPatchInput

type JobTemplateSpecPatchInput interface {
	pulumi.Input

	ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput
	ToJobTemplateSpecPatchOutputWithContext(context.Context) JobTemplateSpecPatchOutput
}

JobTemplateSpecPatchInput is an input type that accepts JobTemplateSpecPatchArgs and JobTemplateSpecPatchOutput values. You can construct a concrete instance of `JobTemplateSpecPatchInput` via:

JobTemplateSpecPatchArgs{...}

type JobTemplateSpecPatchOutput

type JobTemplateSpecPatchOutput struct{ *pulumi.OutputState }

JobTemplateSpec describes the data a Job should have when created from a template

func (JobTemplateSpecPatchOutput) ElementType

func (JobTemplateSpecPatchOutput) ElementType() reflect.Type

func (JobTemplateSpecPatchOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecPatchOutput) Spec

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchOutput) ToOutput added in v4.2.0

type JobTemplateSpecPatchPtrInput

type JobTemplateSpecPatchPtrInput interface {
	pulumi.Input

	ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
	ToJobTemplateSpecPatchPtrOutputWithContext(context.Context) JobTemplateSpecPatchPtrOutput
}

JobTemplateSpecPatchPtrInput is an input type that accepts JobTemplateSpecPatchArgs, JobTemplateSpecPatchPtr and JobTemplateSpecPatchPtrOutput values. You can construct a concrete instance of `JobTemplateSpecPatchPtrInput` via:

        JobTemplateSpecPatchArgs{...}

or:

        nil

type JobTemplateSpecPatchPtrOutput

type JobTemplateSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateSpecPatchPtrOutput) Elem

func (JobTemplateSpecPatchPtrOutput) ElementType

func (JobTemplateSpecPatchPtrOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecPatchPtrOutput) Spec

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput

func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext

func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchPtrOutput) ToOutput added in v4.2.0

type JobTemplateSpecPtrInput

type JobTemplateSpecPtrInput interface {
	pulumi.Input

	ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
	ToJobTemplateSpecPtrOutputWithContext(context.Context) JobTemplateSpecPtrOutput
}

JobTemplateSpecPtrInput is an input type that accepts JobTemplateSpecArgs, JobTemplateSpecPtr and JobTemplateSpecPtrOutput values. You can construct a concrete instance of `JobTemplateSpecPtrInput` via:

        JobTemplateSpecArgs{...}

or:

        nil

type JobTemplateSpecPtrOutput

type JobTemplateSpecPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateSpecPtrOutput) Elem

func (JobTemplateSpecPtrOutput) ElementType

func (JobTemplateSpecPtrOutput) ElementType() reflect.Type

func (JobTemplateSpecPtrOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecPtrOutput) Spec

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput

func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext

func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput

func (JobTemplateSpecPtrOutput) ToOutput added in v4.2.0

type JobType

type JobType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *JobSpec `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *JobStatus `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

type JobTypeArgs

type JobTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrInput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrInput `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

func (JobTypeArgs) ElementType

func (JobTypeArgs) ElementType() reflect.Type

func (JobTypeArgs) ToJobTypeOutput

func (i JobTypeArgs) ToJobTypeOutput() JobTypeOutput

func (JobTypeArgs) ToJobTypeOutputWithContext

func (i JobTypeArgs) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput

func (JobTypeArgs) ToOutput added in v4.2.0

func (i JobTypeArgs) ToOutput(ctx context.Context) pulumix.Output[JobType]

type JobTypeArray

type JobTypeArray []JobTypeInput

func (JobTypeArray) ElementType

func (JobTypeArray) ElementType() reflect.Type

func (JobTypeArray) ToJobTypeArrayOutput

func (i JobTypeArray) ToJobTypeArrayOutput() JobTypeArrayOutput

func (JobTypeArray) ToJobTypeArrayOutputWithContext

func (i JobTypeArray) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput

func (JobTypeArray) ToOutput added in v4.2.0

func (i JobTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]JobType]

type JobTypeArrayInput

type JobTypeArrayInput interface {
	pulumi.Input

	ToJobTypeArrayOutput() JobTypeArrayOutput
	ToJobTypeArrayOutputWithContext(context.Context) JobTypeArrayOutput
}

JobTypeArrayInput is an input type that accepts JobTypeArray and JobTypeArrayOutput values. You can construct a concrete instance of `JobTypeArrayInput` via:

JobTypeArray{ JobTypeArgs{...} }

type JobTypeArrayOutput

type JobTypeArrayOutput struct{ *pulumi.OutputState }

func (JobTypeArrayOutput) ElementType

func (JobTypeArrayOutput) ElementType() reflect.Type

func (JobTypeArrayOutput) Index

func (JobTypeArrayOutput) ToJobTypeArrayOutput

func (o JobTypeArrayOutput) ToJobTypeArrayOutput() JobTypeArrayOutput

func (JobTypeArrayOutput) ToJobTypeArrayOutputWithContext

func (o JobTypeArrayOutput) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput

func (JobTypeArrayOutput) ToOutput added in v4.2.0

type JobTypeInput

type JobTypeInput interface {
	pulumi.Input

	ToJobTypeOutput() JobTypeOutput
	ToJobTypeOutputWithContext(context.Context) JobTypeOutput
}

JobTypeInput is an input type that accepts JobTypeArgs and JobTypeOutput values. You can construct a concrete instance of `JobTypeInput` via:

JobTypeArgs{...}

type JobTypeOutput

type JobTypeOutput struct{ *pulumi.OutputState }

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.

func (JobTypeOutput) ApiVersion

func (o JobTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobTypeOutput) ElementType

func (JobTypeOutput) ElementType() reflect.Type

func (JobTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobTypeOutput) Spec

Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (JobTypeOutput) ToJobTypeOutput

func (o JobTypeOutput) ToJobTypeOutput() JobTypeOutput

func (JobTypeOutput) ToJobTypeOutputWithContext

func (o JobTypeOutput) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput

func (JobTypeOutput) ToOutput added in v4.2.0

type PodFailurePolicy

type PodFailurePolicy struct {
	// A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
	Rules []PodFailurePolicyRule `pulumi:"rules"`
}

PodFailurePolicy describes how failed pods influence the backoffLimit.

type PodFailurePolicyArgs

type PodFailurePolicyArgs struct {
	// A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
	Rules PodFailurePolicyRuleArrayInput `pulumi:"rules"`
}

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyArgs) ElementType

func (PodFailurePolicyArgs) ElementType() reflect.Type

func (PodFailurePolicyArgs) ToOutput added in v4.2.0

func (PodFailurePolicyArgs) ToPodFailurePolicyOutput

func (i PodFailurePolicyArgs) ToPodFailurePolicyOutput() PodFailurePolicyOutput

func (PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext

func (i PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput

func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput

func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext

func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput

type PodFailurePolicyInput

type PodFailurePolicyInput interface {
	pulumi.Input

	ToPodFailurePolicyOutput() PodFailurePolicyOutput
	ToPodFailurePolicyOutputWithContext(context.Context) PodFailurePolicyOutput
}

PodFailurePolicyInput is an input type that accepts PodFailurePolicyArgs and PodFailurePolicyOutput values. You can construct a concrete instance of `PodFailurePolicyInput` via:

PodFailurePolicyArgs{...}

type PodFailurePolicyOnExitCodesRequirement

type PodFailurePolicyOnExitCodesRequirement struct {
	// Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
	ContainerName *string `pulumi:"containerName"`
	// Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
	//
	// - In: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is in the set of specified values.
	// - NotIn: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is not in the set of specified values.
	//   Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
	Operator string `pulumi:"operator"`
	// Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
	Values []int `pulumi:"values"`
}

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

type PodFailurePolicyOnExitCodesRequirementArgs

type PodFailurePolicyOnExitCodesRequirementArgs struct {
	// Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
	ContainerName pulumi.StringPtrInput `pulumi:"containerName"`
	// Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
	//
	// - In: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is in the set of specified values.
	// - NotIn: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is not in the set of specified values.
	//   Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
	Values pulumi.IntArrayInput `pulumi:"values"`
}

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

func (PodFailurePolicyOnExitCodesRequirementArgs) ElementType

func (PodFailurePolicyOnExitCodesRequirementArgs) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput

type PodFailurePolicyOnExitCodesRequirementInput

type PodFailurePolicyOnExitCodesRequirementInput interface {
	pulumi.Input

	ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput
	ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementOutput
}

PodFailurePolicyOnExitCodesRequirementInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementArgs and PodFailurePolicyOnExitCodesRequirementOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementInput` via:

PodFailurePolicyOnExitCodesRequirementArgs{...}

type PodFailurePolicyOnExitCodesRequirementOutput

type PodFailurePolicyOnExitCodesRequirementOutput struct{ *pulumi.OutputState }

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

func (PodFailurePolicyOnExitCodesRequirementOutput) ContainerName

Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.

func (PodFailurePolicyOnExitCodesRequirementOutput) ElementType

func (PodFailurePolicyOnExitCodesRequirementOutput) Operator

Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:

  • In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
  • NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.

func (PodFailurePolicyOnExitCodesRequirementOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) Values

Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.

type PodFailurePolicyOnExitCodesRequirementPatch

type PodFailurePolicyOnExitCodesRequirementPatch struct {
	// Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
	ContainerName *string `pulumi:"containerName"`
	// Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
	//
	// - In: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is in the set of specified values.
	// - NotIn: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is not in the set of specified values.
	//   Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
	Operator *string `pulumi:"operator"`
	// Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
	Values []int `pulumi:"values"`
}

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

type PodFailurePolicyOnExitCodesRequirementPatchArgs

type PodFailurePolicyOnExitCodesRequirementPatchArgs struct {
	// Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
	ContainerName pulumi.StringPtrInput `pulumi:"containerName"`
	// Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
	//
	// - In: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is in the set of specified values.
	// - NotIn: the requirement is satisfied if at least one container exit code
	//   (might be multiple if there are multiple containers not restricted
	//   by the 'containerName' field) is not in the set of specified values.
	//   Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
	Values pulumi.IntArrayInput `pulumi:"values"`
}

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ElementType

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

type PodFailurePolicyOnExitCodesRequirementPatchInput

type PodFailurePolicyOnExitCodesRequirementPatchInput interface {
	pulumi.Input

	ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput
	ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput
}

PodFailurePolicyOnExitCodesRequirementPatchInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementPatchArgs and PodFailurePolicyOnExitCodesRequirementPatchOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPatchInput` via:

PodFailurePolicyOnExitCodesRequirementPatchArgs{...}

type PodFailurePolicyOnExitCodesRequirementPatchOutput

type PodFailurePolicyOnExitCodesRequirementPatchOutput struct{ *pulumi.OutputState }

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ContainerName

Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ElementType

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Operator

Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:

  • In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
  • NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Values

Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.

type PodFailurePolicyOnExitCodesRequirementPatchPtrInput

type PodFailurePolicyOnExitCodesRequirementPatchPtrInput interface {
	pulumi.Input

	ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
	ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
}

PodFailurePolicyOnExitCodesRequirementPatchPtrInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementPatchArgs, PodFailurePolicyOnExitCodesRequirementPatchPtr and PodFailurePolicyOnExitCodesRequirementPatchPtrOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPatchPtrInput` via:

        PodFailurePolicyOnExitCodesRequirementPatchArgs{...}

or:

        nil

type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ContainerName

Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Elem

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ElementType

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Operator

Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:

  • In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
  • NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Values

Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.

type PodFailurePolicyOnExitCodesRequirementPtrInput

type PodFailurePolicyOnExitCodesRequirementPtrInput interface {
	pulumi.Input

	ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
	ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
}

PodFailurePolicyOnExitCodesRequirementPtrInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementArgs, PodFailurePolicyOnExitCodesRequirementPtr and PodFailurePolicyOnExitCodesRequirementPtrOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPtrInput` via:

        PodFailurePolicyOnExitCodesRequirementArgs{...}

or:

        nil

type PodFailurePolicyOnExitCodesRequirementPtrOutput

type PodFailurePolicyOnExitCodesRequirementPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ContainerName

Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Elem

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ElementType

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Operator

Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:

  • In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
  • NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput

func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext

func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Values

Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.

type PodFailurePolicyOnPodConditionsPattern

type PodFailurePolicyOnPodConditionsPattern struct {
	// Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
	Status string `pulumi:"status"`
	// Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
	Type string `pulumi:"type"`
}

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

type PodFailurePolicyOnPodConditionsPatternArgs

type PodFailurePolicyOnPodConditionsPatternArgs struct {
	// Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
	Status pulumi.StringInput `pulumi:"status"`
	// Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
	Type pulumi.StringInput `pulumi:"type"`
}

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

func (PodFailurePolicyOnPodConditionsPatternArgs) ElementType

func (PodFailurePolicyOnPodConditionsPatternArgs) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput

func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput

func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext

func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput

type PodFailurePolicyOnPodConditionsPatternArray

type PodFailurePolicyOnPodConditionsPatternArray []PodFailurePolicyOnPodConditionsPatternInput

func (PodFailurePolicyOnPodConditionsPatternArray) ElementType

func (PodFailurePolicyOnPodConditionsPatternArray) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput

func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput

func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext

func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput

type PodFailurePolicyOnPodConditionsPatternArrayInput

type PodFailurePolicyOnPodConditionsPatternArrayInput interface {
	pulumi.Input

	ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput
	ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput
}

PodFailurePolicyOnPodConditionsPatternArrayInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternArray and PodFailurePolicyOnPodConditionsPatternArrayOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternArrayInput` via:

PodFailurePolicyOnPodConditionsPatternArray{ PodFailurePolicyOnPodConditionsPatternArgs{...} }

type PodFailurePolicyOnPodConditionsPatternArrayOutput

type PodFailurePolicyOnPodConditionsPatternArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ElementType

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) Index

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput

func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext

func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput

type PodFailurePolicyOnPodConditionsPatternInput

type PodFailurePolicyOnPodConditionsPatternInput interface {
	pulumi.Input

	ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput
	ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternOutput
}

PodFailurePolicyOnPodConditionsPatternInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternArgs and PodFailurePolicyOnPodConditionsPatternOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternInput` via:

PodFailurePolicyOnPodConditionsPatternArgs{...}

type PodFailurePolicyOnPodConditionsPatternOutput

type PodFailurePolicyOnPodConditionsPatternOutput struct{ *pulumi.OutputState }

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

func (PodFailurePolicyOnPodConditionsPatternOutput) ElementType

func (PodFailurePolicyOnPodConditionsPatternOutput) Status

Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.

func (PodFailurePolicyOnPodConditionsPatternOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput

func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput

func (PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext

func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput

func (PodFailurePolicyOnPodConditionsPatternOutput) Type

Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.

type PodFailurePolicyOnPodConditionsPatternPatch

type PodFailurePolicyOnPodConditionsPatternPatch struct {
	// Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
	Status *string `pulumi:"status"`
	// Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
	Type *string `pulumi:"type"`
}

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

type PodFailurePolicyOnPodConditionsPatternPatchArgs

type PodFailurePolicyOnPodConditionsPatternPatchArgs struct {
	// Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ElementType

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput

func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext

func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput

type PodFailurePolicyOnPodConditionsPatternPatchArray

type PodFailurePolicyOnPodConditionsPatternPatchArray []PodFailurePolicyOnPodConditionsPatternPatchInput

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ElementType

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput

func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext

func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput

type PodFailurePolicyOnPodConditionsPatternPatchArrayInput

type PodFailurePolicyOnPodConditionsPatternPatchArrayInput interface {
	pulumi.Input

	ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
	ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
}

PodFailurePolicyOnPodConditionsPatternPatchArrayInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternPatchArray and PodFailurePolicyOnPodConditionsPatternPatchArrayOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternPatchArrayInput` via:

PodFailurePolicyOnPodConditionsPatternPatchArray{ PodFailurePolicyOnPodConditionsPatternPatchArgs{...} }

type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput

type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ElementType

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) Index

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext

func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput

type PodFailurePolicyOnPodConditionsPatternPatchInput

type PodFailurePolicyOnPodConditionsPatternPatchInput interface {
	pulumi.Input

	ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput
	ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput
}

PodFailurePolicyOnPodConditionsPatternPatchInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternPatchArgs and PodFailurePolicyOnPodConditionsPatternPatchOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternPatchInput` via:

PodFailurePolicyOnPodConditionsPatternPatchArgs{...}

type PodFailurePolicyOnPodConditionsPatternPatchOutput

type PodFailurePolicyOnPodConditionsPatternPatchOutput struct{ *pulumi.OutputState }

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ElementType

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Status

Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput

func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext

func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Type

Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.

type PodFailurePolicyOutput

type PodFailurePolicyOutput struct{ *pulumi.OutputState }

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyOutput) ElementType

func (PodFailurePolicyOutput) ElementType() reflect.Type

func (PodFailurePolicyOutput) Rules

A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.

func (PodFailurePolicyOutput) ToOutput added in v4.2.0

func (PodFailurePolicyOutput) ToPodFailurePolicyOutput

func (o PodFailurePolicyOutput) ToPodFailurePolicyOutput() PodFailurePolicyOutput

func (PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext

func (o PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput

func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput

func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext

func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput

type PodFailurePolicyPatch

type PodFailurePolicyPatch struct {
	// A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
	Rules []PodFailurePolicyRulePatch `pulumi:"rules"`
}

PodFailurePolicy describes how failed pods influence the backoffLimit.

type PodFailurePolicyPatchArgs

type PodFailurePolicyPatchArgs struct {
	// A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
	Rules PodFailurePolicyRulePatchArrayInput `pulumi:"rules"`
}

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyPatchArgs) ElementType

func (PodFailurePolicyPatchArgs) ElementType() reflect.Type

func (PodFailurePolicyPatchArgs) ToOutput added in v4.2.0

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput

type PodFailurePolicyPatchInput

type PodFailurePolicyPatchInput interface {
	pulumi.Input

	ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput
	ToPodFailurePolicyPatchOutputWithContext(context.Context) PodFailurePolicyPatchOutput
}

PodFailurePolicyPatchInput is an input type that accepts PodFailurePolicyPatchArgs and PodFailurePolicyPatchOutput values. You can construct a concrete instance of `PodFailurePolicyPatchInput` via:

PodFailurePolicyPatchArgs{...}

type PodFailurePolicyPatchOutput

type PodFailurePolicyPatchOutput struct{ *pulumi.OutputState }

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyPatchOutput) ElementType

func (PodFailurePolicyPatchOutput) Rules

A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.

func (PodFailurePolicyPatchOutput) ToOutput added in v4.2.0

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput

type PodFailurePolicyPatchPtrInput

type PodFailurePolicyPatchPtrInput interface {
	pulumi.Input

	ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
	ToPodFailurePolicyPatchPtrOutputWithContext(context.Context) PodFailurePolicyPatchPtrOutput
}

PodFailurePolicyPatchPtrInput is an input type that accepts PodFailurePolicyPatchArgs, PodFailurePolicyPatchPtr and PodFailurePolicyPatchPtrOutput values. You can construct a concrete instance of `PodFailurePolicyPatchPtrInput` via:

        PodFailurePolicyPatchArgs{...}

or:

        nil

type PodFailurePolicyPatchPtrOutput

type PodFailurePolicyPatchPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyPatchPtrOutput) Elem

func (PodFailurePolicyPatchPtrOutput) ElementType

func (PodFailurePolicyPatchPtrOutput) Rules

A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.

func (PodFailurePolicyPatchPtrOutput) ToOutput added in v4.2.0

func (PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput

func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext

func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput

type PodFailurePolicyPtrInput

type PodFailurePolicyPtrInput interface {
	pulumi.Input

	ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
	ToPodFailurePolicyPtrOutputWithContext(context.Context) PodFailurePolicyPtrOutput
}

PodFailurePolicyPtrInput is an input type that accepts PodFailurePolicyArgs, PodFailurePolicyPtr and PodFailurePolicyPtrOutput values. You can construct a concrete instance of `PodFailurePolicyPtrInput` via:

        PodFailurePolicyArgs{...}

or:

        nil

type PodFailurePolicyPtrOutput

type PodFailurePolicyPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyPtrOutput) Elem

func (PodFailurePolicyPtrOutput) ElementType

func (PodFailurePolicyPtrOutput) ElementType() reflect.Type

func (PodFailurePolicyPtrOutput) Rules

A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.

func (PodFailurePolicyPtrOutput) ToOutput added in v4.2.0

func (PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput

func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext

func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput

type PodFailurePolicyRule

type PodFailurePolicyRule struct {
	// Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
	//
	// - FailJob: indicates that the pod's job is marked as Failed and all
	//   running pods are terminated.
	// - FailIndex: indicates that the pod's index is marked as Failed and will
	//   not be restarted.
	//   This value is alpha-level. It can be used when the
	//   `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	// - Ignore: indicates that the counter towards the .backoffLimit is not
	//   incremented and a replacement pod is created.
	// - Count: indicates that the pod is handled in the default way - the
	//   counter towards the .backoffLimit is incremented.
	//   Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
	Action string `pulumi:"action"`
	// Represents the requirement on the container exit codes.
	OnExitCodes *PodFailurePolicyOnExitCodesRequirement `pulumi:"onExitCodes"`
	// Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
	OnPodConditions []PodFailurePolicyOnPodConditionsPattern `pulumi:"onPodConditions"`
}

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

type PodFailurePolicyRuleArgs

type PodFailurePolicyRuleArgs struct {
	// Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
	//
	// - FailJob: indicates that the pod's job is marked as Failed and all
	//   running pods are terminated.
	// - FailIndex: indicates that the pod's index is marked as Failed and will
	//   not be restarted.
	//   This value is alpha-level. It can be used when the
	//   `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	// - Ignore: indicates that the counter towards the .backoffLimit is not
	//   incremented and a replacement pod is created.
	// - Count: indicates that the pod is handled in the default way - the
	//   counter towards the .backoffLimit is incremented.
	//   Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
	Action pulumi.StringInput `pulumi:"action"`
	// Represents the requirement on the container exit codes.
	OnExitCodes PodFailurePolicyOnExitCodesRequirementPtrInput `pulumi:"onExitCodes"`
	// Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
	OnPodConditions PodFailurePolicyOnPodConditionsPatternArrayInput `pulumi:"onPodConditions"`
}

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

func (PodFailurePolicyRuleArgs) ElementType

func (PodFailurePolicyRuleArgs) ElementType() reflect.Type

func (PodFailurePolicyRuleArgs) ToOutput added in v4.2.0

func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput

func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput

func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext

func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput

type PodFailurePolicyRuleArray

type PodFailurePolicyRuleArray []PodFailurePolicyRuleInput

func (PodFailurePolicyRuleArray) ElementType

func (PodFailurePolicyRuleArray) ElementType() reflect.Type

func (PodFailurePolicyRuleArray) ToOutput added in v4.2.0

func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput

func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput

func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext

func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput

type PodFailurePolicyRuleArrayInput

type PodFailurePolicyRuleArrayInput interface {
	pulumi.Input

	ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput
	ToPodFailurePolicyRuleArrayOutputWithContext(context.Context) PodFailurePolicyRuleArrayOutput
}

PodFailurePolicyRuleArrayInput is an input type that accepts PodFailurePolicyRuleArray and PodFailurePolicyRuleArrayOutput values. You can construct a concrete instance of `PodFailurePolicyRuleArrayInput` via:

PodFailurePolicyRuleArray{ PodFailurePolicyRuleArgs{...} }

type PodFailurePolicyRuleArrayOutput

type PodFailurePolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyRuleArrayOutput) ElementType

func (PodFailurePolicyRuleArrayOutput) Index

func (PodFailurePolicyRuleArrayOutput) ToOutput added in v4.2.0

func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput

func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput

func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext

func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput

type PodFailurePolicyRuleInput

type PodFailurePolicyRuleInput interface {
	pulumi.Input

	ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput
	ToPodFailurePolicyRuleOutputWithContext(context.Context) PodFailurePolicyRuleOutput
}

PodFailurePolicyRuleInput is an input type that accepts PodFailurePolicyRuleArgs and PodFailurePolicyRuleOutput values. You can construct a concrete instance of `PodFailurePolicyRuleInput` via:

PodFailurePolicyRuleArgs{...}

type PodFailurePolicyRuleOutput

type PodFailurePolicyRuleOutput struct{ *pulumi.OutputState }

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

func (PodFailurePolicyRuleOutput) Action

Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:

  • FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated.
  • FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
  • Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created.
  • Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.

func (PodFailurePolicyRuleOutput) ElementType

func (PodFailurePolicyRuleOutput) ElementType() reflect.Type

func (PodFailurePolicyRuleOutput) OnExitCodes

Represents the requirement on the container exit codes.

func (PodFailurePolicyRuleOutput) OnPodConditions

Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.

func (PodFailurePolicyRuleOutput) ToOutput added in v4.2.0

func (PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput

func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput

func (PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext

func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput

type PodFailurePolicyRulePatch

type PodFailurePolicyRulePatch struct {
	// Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
	//
	// - FailJob: indicates that the pod's job is marked as Failed and all
	//   running pods are terminated.
	// - FailIndex: indicates that the pod's index is marked as Failed and will
	//   not be restarted.
	//   This value is alpha-level. It can be used when the
	//   `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	// - Ignore: indicates that the counter towards the .backoffLimit is not
	//   incremented and a replacement pod is created.
	// - Count: indicates that the pod is handled in the default way - the
	//   counter towards the .backoffLimit is incremented.
	//   Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
	Action *string `pulumi:"action"`
	// Represents the requirement on the container exit codes.
	OnExitCodes *PodFailurePolicyOnExitCodesRequirementPatch `pulumi:"onExitCodes"`
	// Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
	OnPodConditions []PodFailurePolicyOnPodConditionsPatternPatch `pulumi:"onPodConditions"`
}

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

type PodFailurePolicyRulePatchArgs

type PodFailurePolicyRulePatchArgs struct {
	// Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
	//
	// - FailJob: indicates that the pod's job is marked as Failed and all
	//   running pods are terminated.
	// - FailIndex: indicates that the pod's index is marked as Failed and will
	//   not be restarted.
	//   This value is alpha-level. It can be used when the
	//   `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
	// - Ignore: indicates that the counter towards the .backoffLimit is not
	//   incremented and a replacement pod is created.
	// - Count: indicates that the pod is handled in the default way - the
	//   counter towards the .backoffLimit is incremented.
	//   Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Represents the requirement on the container exit codes.
	OnExitCodes PodFailurePolicyOnExitCodesRequirementPatchPtrInput `pulumi:"onExitCodes"`
	// Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
	OnPodConditions PodFailurePolicyOnPodConditionsPatternPatchArrayInput `pulumi:"onPodConditions"`
}

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

func (PodFailurePolicyRulePatchArgs) ElementType

func (PodFailurePolicyRulePatchArgs) ToOutput added in v4.2.0

func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput

func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput

func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext

func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput

type PodFailurePolicyRulePatchArray

type PodFailurePolicyRulePatchArray []PodFailurePolicyRulePatchInput

func (PodFailurePolicyRulePatchArray) ElementType

func (PodFailurePolicyRulePatchArray) ToOutput added in v4.2.0

func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput

func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput

func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext

func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput

type PodFailurePolicyRulePatchArrayInput

type PodFailurePolicyRulePatchArrayInput interface {
	pulumi.Input

	ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput
	ToPodFailurePolicyRulePatchArrayOutputWithContext(context.Context) PodFailurePolicyRulePatchArrayOutput
}

PodFailurePolicyRulePatchArrayInput is an input type that accepts PodFailurePolicyRulePatchArray and PodFailurePolicyRulePatchArrayOutput values. You can construct a concrete instance of `PodFailurePolicyRulePatchArrayInput` via:

PodFailurePolicyRulePatchArray{ PodFailurePolicyRulePatchArgs{...} }

type PodFailurePolicyRulePatchArrayOutput

type PodFailurePolicyRulePatchArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyRulePatchArrayOutput) ElementType

func (PodFailurePolicyRulePatchArrayOutput) Index

func (PodFailurePolicyRulePatchArrayOutput) ToOutput added in v4.2.0

func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput

func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput

func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext

func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput

type PodFailurePolicyRulePatchInput

type PodFailurePolicyRulePatchInput interface {
	pulumi.Input

	ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput
	ToPodFailurePolicyRulePatchOutputWithContext(context.Context) PodFailurePolicyRulePatchOutput
}

PodFailurePolicyRulePatchInput is an input type that accepts PodFailurePolicyRulePatchArgs and PodFailurePolicyRulePatchOutput values. You can construct a concrete instance of `PodFailurePolicyRulePatchInput` via:

PodFailurePolicyRulePatchArgs{...}

type PodFailurePolicyRulePatchOutput

type PodFailurePolicyRulePatchOutput struct{ *pulumi.OutputState }

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

func (PodFailurePolicyRulePatchOutput) Action

Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:

  • FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated.
  • FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
  • Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created.
  • Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.

func (PodFailurePolicyRulePatchOutput) ElementType

func (PodFailurePolicyRulePatchOutput) OnExitCodes

Represents the requirement on the container exit codes.

func (PodFailurePolicyRulePatchOutput) OnPodConditions

Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.

func (PodFailurePolicyRulePatchOutput) ToOutput added in v4.2.0

func (PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput

func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput

func (PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext

func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput

type UncountedTerminatedPods

type UncountedTerminatedPods struct {
	// failed holds UIDs of failed Pods.
	Failed []string `pulumi:"failed"`
	// succeeded holds UIDs of succeeded Pods.
	Succeeded []string `pulumi:"succeeded"`
}

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

type UncountedTerminatedPodsArgs

type UncountedTerminatedPodsArgs struct {
	// failed holds UIDs of failed Pods.
	Failed pulumi.StringArrayInput `pulumi:"failed"`
	// succeeded holds UIDs of succeeded Pods.
	Succeeded pulumi.StringArrayInput `pulumi:"succeeded"`
}

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

func (UncountedTerminatedPodsArgs) ElementType

func (UncountedTerminatedPodsArgs) ToOutput added in v4.2.0

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput

type UncountedTerminatedPodsInput

type UncountedTerminatedPodsInput interface {
	pulumi.Input

	ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
	ToUncountedTerminatedPodsOutputWithContext(context.Context) UncountedTerminatedPodsOutput
}

UncountedTerminatedPodsInput is an input type that accepts UncountedTerminatedPodsArgs and UncountedTerminatedPodsOutput values. You can construct a concrete instance of `UncountedTerminatedPodsInput` via:

UncountedTerminatedPodsArgs{...}

type UncountedTerminatedPodsOutput

type UncountedTerminatedPodsOutput struct{ *pulumi.OutputState }

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

func (UncountedTerminatedPodsOutput) ElementType

func (UncountedTerminatedPodsOutput) Failed

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsOutput) Succeeded

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsOutput) ToOutput added in v4.2.0

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput

type UncountedTerminatedPodsPatch

type UncountedTerminatedPodsPatch struct {
	// failed holds UIDs of failed Pods.
	Failed []string `pulumi:"failed"`
	// succeeded holds UIDs of succeeded Pods.
	Succeeded []string `pulumi:"succeeded"`
}

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

type UncountedTerminatedPodsPatchArgs

type UncountedTerminatedPodsPatchArgs struct {
	// failed holds UIDs of failed Pods.
	Failed pulumi.StringArrayInput `pulumi:"failed"`
	// succeeded holds UIDs of succeeded Pods.
	Succeeded pulumi.StringArrayInput `pulumi:"succeeded"`
}

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

func (UncountedTerminatedPodsPatchArgs) ElementType

func (UncountedTerminatedPodsPatchArgs) ToOutput added in v4.2.0

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput

type UncountedTerminatedPodsPatchInput

type UncountedTerminatedPodsPatchInput interface {
	pulumi.Input

	ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput
	ToUncountedTerminatedPodsPatchOutputWithContext(context.Context) UncountedTerminatedPodsPatchOutput
}

UncountedTerminatedPodsPatchInput is an input type that accepts UncountedTerminatedPodsPatchArgs and UncountedTerminatedPodsPatchOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPatchInput` via:

UncountedTerminatedPodsPatchArgs{...}

type UncountedTerminatedPodsPatchOutput

type UncountedTerminatedPodsPatchOutput struct{ *pulumi.OutputState }

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.

func (UncountedTerminatedPodsPatchOutput) ElementType

func (UncountedTerminatedPodsPatchOutput) Failed

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPatchOutput) Succeeded

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPatchOutput) ToOutput added in v4.2.0

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput

type UncountedTerminatedPodsPatchPtrInput

type UncountedTerminatedPodsPatchPtrInput interface {
	pulumi.Input

	ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
	ToUncountedTerminatedPodsPatchPtrOutputWithContext(context.Context) UncountedTerminatedPodsPatchPtrOutput
}

UncountedTerminatedPodsPatchPtrInput is an input type that accepts UncountedTerminatedPodsPatchArgs, UncountedTerminatedPodsPatchPtr and UncountedTerminatedPodsPatchPtrOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPatchPtrInput` via:

        UncountedTerminatedPodsPatchArgs{...}

or:

        nil

type UncountedTerminatedPodsPatchPtrOutput

type UncountedTerminatedPodsPatchPtrOutput struct{ *pulumi.OutputState }

func (UncountedTerminatedPodsPatchPtrOutput) Elem

func (UncountedTerminatedPodsPatchPtrOutput) ElementType

func (UncountedTerminatedPodsPatchPtrOutput) Failed

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPatchPtrOutput) Succeeded

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPatchPtrOutput) ToOutput added in v4.2.0

func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput

func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext

func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput

type UncountedTerminatedPodsPtrInput

type UncountedTerminatedPodsPtrInput interface {
	pulumi.Input

	ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
	ToUncountedTerminatedPodsPtrOutputWithContext(context.Context) UncountedTerminatedPodsPtrOutput
}

UncountedTerminatedPodsPtrInput is an input type that accepts UncountedTerminatedPodsArgs, UncountedTerminatedPodsPtr and UncountedTerminatedPodsPtrOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPtrInput` via:

        UncountedTerminatedPodsArgs{...}

or:

        nil

type UncountedTerminatedPodsPtrOutput

type UncountedTerminatedPodsPtrOutput struct{ *pulumi.OutputState }

func (UncountedTerminatedPodsPtrOutput) Elem

func (UncountedTerminatedPodsPtrOutput) ElementType

func (UncountedTerminatedPodsPtrOutput) Failed

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPtrOutput) Succeeded

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPtrOutput) ToOutput added in v4.2.0

func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput

func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext

func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput

Jump to

Keyboard shortcuts

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