v1

package
v3.30.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

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.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.ObjectMetaPtrOutput `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 CronJobSpecPtrOutput `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

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

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

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.StringPtrOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `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

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

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

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

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

type CronJobListOutput

type CronJobListOutput struct{ *pulumi.OutputState }

func (CronJobListOutput) ApiVersion added in v3.19.1

func (o CronJobListOutput) 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 (CronJobListOutput) ElementType

func (CronJobListOutput) ElementType() reflect.Type

func (CronJobListOutput) Items added in v3.19.1

items is the list of CronJobs.

func (CronJobListOutput) Kind added in v3.19.1

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) Metadata added in v3.19.1

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CronJobListOutput) ToCronJobListOutput

func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput

func (CronJobListOutput) ToCronJobListOutputWithContext

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

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

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

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

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

type CronJobOutput

type CronJobOutput struct{ *pulumi.OutputState }

func (CronJobOutput) ApiVersion added in v3.19.1

func (o CronJobOutput) 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 (CronJobOutput) ElementType

func (CronJobOutput) ElementType() reflect.Type

func (CronJobOutput) Kind added in v3.19.1

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) Metadata added in v3.19.1

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CronJobOutput) Spec added in v3.19.1

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) Status added in v3.19.1

Current status of a cron job. 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

type CronJobPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (*CronJobPatch) ElementType() reflect.Type

func (*CronJobPatch) ToCronJobPatchOutput added in v3.20.0

func (i *CronJobPatch) ToCronJobPatchOutput() CronJobPatchOutput

func (*CronJobPatch) ToCronJobPatchOutputWithContext added in v3.20.0

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

type CronJobPatchArgs added in v3.20.0

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 added in v3.20.0

func (CronJobPatchArgs) ElementType() reflect.Type

type CronJobPatchArray added in v3.20.0

type CronJobPatchArray []CronJobPatchInput

func (CronJobPatchArray) ElementType added in v3.20.0

func (CronJobPatchArray) ElementType() reflect.Type

func (CronJobPatchArray) ToCronJobPatchArrayOutput added in v3.20.0

func (i CronJobPatchArray) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput

func (CronJobPatchArray) ToCronJobPatchArrayOutputWithContext added in v3.20.0

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

type CronJobPatchArrayInput added in v3.20.0

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 added in v3.20.0

type CronJobPatchArrayOutput struct{ *pulumi.OutputState }

func (CronJobPatchArrayOutput) ElementType added in v3.20.0

func (CronJobPatchArrayOutput) ElementType() reflect.Type

func (CronJobPatchArrayOutput) Index added in v3.20.0

func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutput added in v3.20.0

func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput

func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext added in v3.20.0

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

type CronJobPatchInput added in v3.20.0

type CronJobPatchInput interface {
	pulumi.Input

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

type CronJobPatchMap added in v3.20.0

type CronJobPatchMap map[string]CronJobPatchInput

func (CronJobPatchMap) ElementType added in v3.20.0

func (CronJobPatchMap) ElementType() reflect.Type

func (CronJobPatchMap) ToCronJobPatchMapOutput added in v3.20.0

func (i CronJobPatchMap) ToCronJobPatchMapOutput() CronJobPatchMapOutput

func (CronJobPatchMap) ToCronJobPatchMapOutputWithContext added in v3.20.0

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

type CronJobPatchMapInput added in v3.20.0

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 added in v3.20.0

type CronJobPatchMapOutput struct{ *pulumi.OutputState }

func (CronJobPatchMapOutput) ElementType added in v3.20.0

func (CronJobPatchMapOutput) ElementType() reflect.Type

func (CronJobPatchMapOutput) MapIndex added in v3.20.0

func (CronJobPatchMapOutput) ToCronJobPatchMapOutput added in v3.20.0

func (o CronJobPatchMapOutput) ToCronJobPatchMapOutput() CronJobPatchMapOutput

func (CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext added in v3.20.0

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

type CronJobPatchOutput added in v3.20.0

type CronJobPatchOutput struct{ *pulumi.OutputState }

func (CronJobPatchOutput) ApiVersion added in v3.20.0

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 added in v3.20.0

func (CronJobPatchOutput) ElementType() reflect.Type

func (CronJobPatchOutput) Kind added in v3.20.0

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) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CronJobPatchOutput) Spec added in v3.20.0

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) Status added in v3.20.0

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

func (CronJobPatchOutput) ToCronJobPatchOutput added in v3.20.0

func (o CronJobPatchOutput) ToCronJobPatchOutput() CronJobPatchOutput

func (CronJobPatchOutput) ToCronJobPatchOutputWithContext added in v3.20.0

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

type CronJobPatchState added in v3.20.0

type CronJobPatchState struct {
}

func (CronJobPatchState) ElementType added in v3.20.0

func (CronJobPatchState) ElementType() reflect.Type

type CronJobPatchType added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (CronJobPatchTypeArgs) ElementType() reflect.Type

func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutput added in v3.20.0

func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput

func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext added in v3.20.0

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

type CronJobPatchTypeInput added in v3.20.0

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 added in v3.20.0

type CronJobPatchTypeOutput struct{ *pulumi.OutputState }

CronJob represents the configuration of a single cron job.

func (CronJobPatchTypeOutput) ApiVersion added in v3.20.0

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 added in v3.20.0

func (CronJobPatchTypeOutput) ElementType() reflect.Type

func (CronJobPatchTypeOutput) Kind added in v3.20.0

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) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (CronJobPatchTypeOutput) Spec added in v3.20.0

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) Status added in v3.20.0

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

func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutput added in v3.20.0

func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput

func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext added in v3.20.0

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

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

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 added in v3.19.0

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

type CronJobSpecPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (CronJobSpecPatchArgs) ElementType() reflect.Type

func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutput added in v3.20.0

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput

func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext added in v3.20.0

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

func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput added in v3.20.0

func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext added in v3.20.0

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

type CronJobSpecPatchInput added in v3.20.0

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 added in v3.20.0

type CronJobSpecPatchOutput struct{ *pulumi.OutputState }

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

func (CronJobSpecPatchOutput) ConcurrencyPolicy added in v3.20.0

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 added in v3.20.0

func (CronJobSpecPatchOutput) ElementType() reflect.Type

func (CronJobSpecPatchOutput) FailedJobsHistoryLimit added in v3.20.0

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 added in v3.20.0

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

func (CronJobSpecPatchOutput) Schedule added in v3.20.0

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

func (CronJobSpecPatchOutput) StartingDeadlineSeconds added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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

func (CronJobSpecPatchOutput) TimeZone added in v3.20.0

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 added in v3.20.0

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput

func (CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext added in v3.20.0

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

func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput added in v3.20.0

func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext added in v3.20.0

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

type CronJobSpecPatchPtrInput added in v3.20.0

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

func CronJobSpecPatchPtr added in v3.20.0

func CronJobSpecPatchPtr(v *CronJobSpecPatchArgs) CronJobSpecPatchPtrInput

type CronJobSpecPatchPtrOutput added in v3.20.0

type CronJobSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (CronJobSpecPatchPtrOutput) ConcurrencyPolicy added in v3.20.0

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 added in v3.20.0

func (CronJobSpecPatchPtrOutput) ElementType added in v3.20.0

func (CronJobSpecPatchPtrOutput) ElementType() reflect.Type

func (CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit added in v3.20.0

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 added in v3.20.0

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

func (CronJobSpecPatchPtrOutput) Schedule added in v3.20.0

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

func (CronJobSpecPatchPtrOutput) StartingDeadlineSeconds added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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

func (CronJobSpecPatchPtrOutput) TimeZone added in v3.20.0

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 added in v3.20.0

func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput

func (CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext added in v3.20.0

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

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 added in v3.19.0

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

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

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

type CronJobStatusPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (CronJobStatusPatchArgs) ElementType() reflect.Type

func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutput added in v3.20.0

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput

func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext added in v3.20.0

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

func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput added in v3.20.0

func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext added in v3.20.0

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

type CronJobStatusPatchInput added in v3.20.0

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 added in v3.20.0

type CronJobStatusPatchOutput struct{ *pulumi.OutputState }

CronJobStatus represents the current state of a cron job.

func (CronJobStatusPatchOutput) Active added in v3.20.0

A list of pointers to currently running jobs.

func (CronJobStatusPatchOutput) ElementType added in v3.20.0

func (CronJobStatusPatchOutput) ElementType() reflect.Type

func (CronJobStatusPatchOutput) LastScheduleTime added in v3.20.0

func (o CronJobStatusPatchOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusPatchOutput) LastSuccessfulTime added in v3.20.0

func (o CronJobStatusPatchOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutput added in v3.20.0

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput

func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext added in v3.20.0

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

func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput added in v3.20.0

func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext added in v3.20.0

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

type CronJobStatusPatchPtrInput added in v3.20.0

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

func CronJobStatusPatchPtr added in v3.20.0

func CronJobStatusPatchPtr(v *CronJobStatusPatchArgs) CronJobStatusPatchPtrInput

type CronJobStatusPatchPtrOutput added in v3.20.0

type CronJobStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (CronJobStatusPatchPtrOutput) Active added in v3.20.0

A list of pointers to currently running jobs.

func (CronJobStatusPatchPtrOutput) Elem added in v3.20.0

func (CronJobStatusPatchPtrOutput) ElementType added in v3.20.0

func (CronJobStatusPatchPtrOutput) LastScheduleTime added in v3.20.0

func (o CronJobStatusPatchPtrOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusPatchPtrOutput) LastSuccessfulTime added in v3.20.0

func (o CronJobStatusPatchPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput added in v3.20.0

func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput

func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext added in v3.20.0

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

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

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

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

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

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

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.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.ObjectMetaPtrOutput `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 JobSpecPtrOutput `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/v3/go/kubernetes/batch/v1"
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/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/v3/go/kubernetes/batch/v1"
corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/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

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

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

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

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

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

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) Type

Type of job condition, Complete or Failed.

type JobConditionPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobConditionPatchArgs) ElementType() reflect.Type

func (JobConditionPatchArgs) ToJobConditionPatchOutput added in v3.20.0

func (i JobConditionPatchArgs) ToJobConditionPatchOutput() JobConditionPatchOutput

func (JobConditionPatchArgs) ToJobConditionPatchOutputWithContext added in v3.20.0

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

type JobConditionPatchArray added in v3.20.0

type JobConditionPatchArray []JobConditionPatchInput

func (JobConditionPatchArray) ElementType added in v3.20.0

func (JobConditionPatchArray) ElementType() reflect.Type

func (JobConditionPatchArray) ToJobConditionPatchArrayOutput added in v3.20.0

func (i JobConditionPatchArray) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput

func (JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext added in v3.20.0

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

type JobConditionPatchArrayInput added in v3.20.0

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 added in v3.20.0

type JobConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (JobConditionPatchArrayOutput) ElementType added in v3.20.0

func (JobConditionPatchArrayOutput) Index added in v3.20.0

func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput added in v3.20.0

func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput

func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext added in v3.20.0

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

type JobConditionPatchInput added in v3.20.0

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 added in v3.20.0

type JobConditionPatchOutput struct{ *pulumi.OutputState }

JobCondition describes current state of a job.

func (JobConditionPatchOutput) ElementType added in v3.20.0

func (JobConditionPatchOutput) ElementType() reflect.Type

func (JobConditionPatchOutput) LastProbeTime added in v3.20.0

Last time the condition was checked.

func (JobConditionPatchOutput) LastTransitionTime added in v3.20.0

func (o JobConditionPatchOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transit from one status to another.

func (JobConditionPatchOutput) Message added in v3.20.0

Human readable message indicating details about last transition.

func (JobConditionPatchOutput) Reason added in v3.20.0

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

func (JobConditionPatchOutput) Status added in v3.20.0

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

func (JobConditionPatchOutput) ToJobConditionPatchOutput added in v3.20.0

func (o JobConditionPatchOutput) ToJobConditionPatchOutput() JobConditionPatchOutput

func (JobConditionPatchOutput) ToJobConditionPatchOutputWithContext added in v3.20.0

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

func (JobConditionPatchOutput) Type added in v3.20.0

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.StringPtrOutput `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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `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

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

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

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

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

type JobListOutput

type JobListOutput struct{ *pulumi.OutputState }

func (JobListOutput) ApiVersion added in v3.19.1

func (o JobListOutput) 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 (JobListOutput) ElementType

func (JobListOutput) ElementType() reflect.Type

func (JobListOutput) Items added in v3.19.1

items is the list of Jobs.

func (JobListOutput) Kind added in v3.19.1

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) Metadata added in v3.19.1

func (o JobListOutput) Metadata() metav1.ListMetaPtrOutput

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobListOutput) ToJobListOutput

func (o JobListOutput) ToJobListOutput() JobListOutput

func (JobListOutput) ToJobListOutputWithContext

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

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

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

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

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

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) ApiVersion added in v3.19.1

func (o JobOutput) 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 (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) Kind added in v3.19.1

func (o JobOutput) Kind() pulumi.StringPtrOutput

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) Metadata added in v3.19.1

func (o JobOutput) Metadata() metav1.ObjectMetaPtrOutput

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobOutput) Spec added in v3.19.1

func (o JobOutput) Spec() JobSpecPtrOutput

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) Status added in v3.19.1

func (o JobOutput) Status() JobStatusPtrOutput

Current status 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

type JobPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (*JobPatch) ElementType() reflect.Type

func (*JobPatch) ToJobPatchOutput added in v3.20.0

func (i *JobPatch) ToJobPatchOutput() JobPatchOutput

func (*JobPatch) ToJobPatchOutputWithContext added in v3.20.0

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

type JobPatchArgs added in v3.20.0

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 added in v3.20.0

func (JobPatchArgs) ElementType() reflect.Type

type JobPatchArray added in v3.20.0

type JobPatchArray []JobPatchInput

func (JobPatchArray) ElementType added in v3.20.0

func (JobPatchArray) ElementType() reflect.Type

func (JobPatchArray) ToJobPatchArrayOutput added in v3.20.0

func (i JobPatchArray) ToJobPatchArrayOutput() JobPatchArrayOutput

func (JobPatchArray) ToJobPatchArrayOutputWithContext added in v3.20.0

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

type JobPatchArrayInput added in v3.20.0

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 added in v3.20.0

type JobPatchArrayOutput struct{ *pulumi.OutputState }

func (JobPatchArrayOutput) ElementType added in v3.20.0

func (JobPatchArrayOutput) ElementType() reflect.Type

func (JobPatchArrayOutput) Index added in v3.20.0

func (JobPatchArrayOutput) ToJobPatchArrayOutput added in v3.20.0

func (o JobPatchArrayOutput) ToJobPatchArrayOutput() JobPatchArrayOutput

func (JobPatchArrayOutput) ToJobPatchArrayOutputWithContext added in v3.20.0

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

type JobPatchInput added in v3.20.0

type JobPatchInput interface {
	pulumi.Input

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

type JobPatchMap added in v3.20.0

type JobPatchMap map[string]JobPatchInput

func (JobPatchMap) ElementType added in v3.20.0

func (JobPatchMap) ElementType() reflect.Type

func (JobPatchMap) ToJobPatchMapOutput added in v3.20.0

func (i JobPatchMap) ToJobPatchMapOutput() JobPatchMapOutput

func (JobPatchMap) ToJobPatchMapOutputWithContext added in v3.20.0

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

type JobPatchMapInput added in v3.20.0

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 added in v3.20.0

type JobPatchMapOutput struct{ *pulumi.OutputState }

func (JobPatchMapOutput) ElementType added in v3.20.0

func (JobPatchMapOutput) ElementType() reflect.Type

func (JobPatchMapOutput) MapIndex added in v3.20.0

func (JobPatchMapOutput) ToJobPatchMapOutput added in v3.20.0

func (o JobPatchMapOutput) ToJobPatchMapOutput() JobPatchMapOutput

func (JobPatchMapOutput) ToJobPatchMapOutputWithContext added in v3.20.0

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

type JobPatchOutput added in v3.20.0

type JobPatchOutput struct{ *pulumi.OutputState }

func (JobPatchOutput) ApiVersion added in v3.20.0

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 added in v3.20.0

func (JobPatchOutput) ElementType() reflect.Type

func (JobPatchOutput) Kind added in v3.20.0

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) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobPatchOutput) Spec added in v3.20.0

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) Status added in v3.20.0

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

func (JobPatchOutput) ToJobPatchOutput added in v3.20.0

func (o JobPatchOutput) ToJobPatchOutput() JobPatchOutput

func (JobPatchOutput) ToJobPatchOutputWithContext added in v3.20.0

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

type JobPatchState added in v3.20.0

type JobPatchState struct {
}

func (JobPatchState) ElementType added in v3.20.0

func (JobPatchState) ElementType() reflect.Type

type JobPatchType added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobPatchTypeArgs) ElementType() reflect.Type

func (JobPatchTypeArgs) ToJobPatchTypeOutput added in v3.20.0

func (i JobPatchTypeArgs) ToJobPatchTypeOutput() JobPatchTypeOutput

func (JobPatchTypeArgs) ToJobPatchTypeOutputWithContext added in v3.20.0

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

type JobPatchTypeInput added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobPatchTypeOutput) ElementType() reflect.Type

func (JobPatchTypeOutput) Kind added in v3.20.0

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) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobPatchTypeOutput) Spec added in v3.20.0

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) Status added in v3.20.0

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

func (JobPatchTypeOutput) ToJobPatchTypeOutput added in v3.20.0

func (o JobPatchTypeOutput) ToJobPatchTypeOutput() JobPatchTypeOutput

func (JobPatchTypeOutput) ToJobPatchTypeOutputWithContext added in v3.20.0

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

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"`
	// 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 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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).
	PodFailurePolicy *PodFailurePolicy `pulumi:"podFailurePolicy"`
	// 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"`
	// 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 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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).
	PodFailurePolicy PodFailurePolicyPtrInput `pulumi:"podFailurePolicy"`
	// 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

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) 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) 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 added in v3.21.0

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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).

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) 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 added in v3.20.0

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"`
	// 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 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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).
	PodFailurePolicy *PodFailurePolicyPatch `pulumi:"podFailurePolicy"`
	// 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 added in v3.20.0

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"`
	// 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 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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).
	PodFailurePolicy PodFailurePolicyPatchPtrInput `pulumi:"podFailurePolicy"`
	// 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 added in v3.20.0

func (JobSpecPatchArgs) ElementType() reflect.Type

func (JobSpecPatchArgs) ToJobSpecPatchOutput added in v3.20.0

func (i JobSpecPatchArgs) ToJobSpecPatchOutput() JobSpecPatchOutput

func (JobSpecPatchArgs) ToJobSpecPatchOutputWithContext added in v3.20.0

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

func (JobSpecPatchArgs) ToJobSpecPatchPtrOutput added in v3.20.0

func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext added in v3.20.0

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

type JobSpecPatchInput added in v3.20.0

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 added in v3.20.0

type JobSpecPatchOutput struct{ *pulumi.OutputState }

JobSpec describes how the job execution will look like.

func (JobSpecPatchOutput) ActiveDeadlineSeconds added in v3.20.0

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 added in v3.20.0

func (o JobSpecPatchOutput) BackoffLimit() pulumi.IntPtrOutput

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

func (JobSpecPatchOutput) CompletionMode added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobSpecPatchOutput) ElementType() reflect.Type

func (JobSpecPatchOutput) ManualSelector added in v3.20.0

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) Parallelism added in v3.20.0

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 added in v3.21.0

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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).

func (JobSpecPatchOutput) Selector added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (o JobSpecPatchOutput) ToJobSpecPatchOutput() JobSpecPatchOutput

func (JobSpecPatchOutput) ToJobSpecPatchOutputWithContext added in v3.20.0

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

func (JobSpecPatchOutput) ToJobSpecPatchPtrOutput added in v3.20.0

func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext added in v3.20.0

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

func (JobSpecPatchOutput) TtlSecondsAfterFinished added in v3.20.0

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 added in v3.20.0

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

func JobSpecPatchPtr added in v3.20.0

func JobSpecPatchPtr(v *JobSpecPatchArgs) JobSpecPatchPtrInput

type JobSpecPatchPtrOutput added in v3.20.0

type JobSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (JobSpecPatchPtrOutput) ActiveDeadlineSeconds added in v3.20.0

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 added in v3.20.0

func (o JobSpecPatchPtrOutput) BackoffLimit() pulumi.IntPtrOutput

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

func (JobSpecPatchPtrOutput) CompletionMode added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobSpecPatchPtrOutput) ElementType added in v3.20.0

func (JobSpecPatchPtrOutput) ElementType() reflect.Type

func (JobSpecPatchPtrOutput) ManualSelector added in v3.20.0

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) Parallelism added in v3.20.0

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 added in v3.21.0

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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).

func (JobSpecPatchPtrOutput) Selector added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput

func (JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext added in v3.20.0

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

func (JobSpecPatchPtrOutput) TtlSecondsAfterFinished added in v3.20.0

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) 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) 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 added in v3.21.0

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 alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).

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) 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"`
	// 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"`
	// 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"`
	// 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"`
	// 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

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) Ready added in v3.12.0

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) 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) UncountedTerminatedPods added in v3.6.0

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 added in v3.20.0

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"`
	// 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"`
	// 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 added in v3.20.0

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"`
	// 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"`
	// 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 added in v3.20.0

func (JobStatusPatchArgs) ElementType() reflect.Type

func (JobStatusPatchArgs) ToJobStatusPatchOutput added in v3.20.0

func (i JobStatusPatchArgs) ToJobStatusPatchOutput() JobStatusPatchOutput

func (JobStatusPatchArgs) ToJobStatusPatchOutputWithContext added in v3.20.0

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

func (JobStatusPatchArgs) ToJobStatusPatchPtrOutput added in v3.20.0

func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext added in v3.20.0

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

type JobStatusPatchInput added in v3.20.0

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 added in v3.20.0

type JobStatusPatchOutput struct{ *pulumi.OutputState }

JobStatus represents the current state of a Job.

func (JobStatusPatchOutput) Active added in v3.20.0

The number of pending and running pods.

func (JobStatusPatchOutput) CompletedIndexes added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobStatusPatchOutput) ElementType() reflect.Type

func (JobStatusPatchOutput) Failed added in v3.20.0

The number of pods which reached phase Failed.

func (JobStatusPatchOutput) Ready added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

The number of pods which reached phase Succeeded.

func (JobStatusPatchOutput) ToJobStatusPatchOutput added in v3.20.0

func (o JobStatusPatchOutput) ToJobStatusPatchOutput() JobStatusPatchOutput

func (JobStatusPatchOutput) ToJobStatusPatchOutputWithContext added in v3.20.0

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

func (JobStatusPatchOutput) ToJobStatusPatchPtrOutput added in v3.20.0

func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext added in v3.20.0

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

func (JobStatusPatchOutput) UncountedTerminatedPods added in v3.20.0

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 added in v3.20.0

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

func JobStatusPatchPtr added in v3.20.0

func JobStatusPatchPtr(v *JobStatusPatchArgs) JobStatusPatchPtrInput

type JobStatusPatchPtrOutput added in v3.20.0

type JobStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (JobStatusPatchPtrOutput) Active added in v3.20.0

The number of pending and running pods.

func (JobStatusPatchPtrOutput) CompletedIndexes added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobStatusPatchPtrOutput) ElementType added in v3.20.0

func (JobStatusPatchPtrOutput) ElementType() reflect.Type

func (JobStatusPatchPtrOutput) Failed added in v3.20.0

The number of pods which reached phase Failed.

func (JobStatusPatchPtrOutput) Ready added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

The number of pods which reached phase Succeeded.

func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput added in v3.20.0

func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput

func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext added in v3.20.0

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

func (JobStatusPatchPtrOutput) UncountedTerminatedPods added in v3.20.0

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) Ready added in v3.12.0

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) ToJobStatusPtrOutput

func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput

func (JobStatusPtrOutput) ToJobStatusPtrOutputWithContext

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

func (JobStatusPtrOutput) UncountedTerminatedPods added in v3.6.0

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

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

type JobTemplateSpecPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (JobTemplateSpecPatchArgs) ElementType() reflect.Type

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput added in v3.20.0

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext added in v3.20.0

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

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput added in v3.20.0

func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext added in v3.20.0

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

type JobTemplateSpecPatchInput added in v3.20.0

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 added in v3.20.0

type JobTemplateSpecPatchOutput struct{ *pulumi.OutputState }

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

func (JobTemplateSpecPatchOutput) ElementType added in v3.20.0

func (JobTemplateSpecPatchOutput) ElementType() reflect.Type

func (JobTemplateSpecPatchOutput) Metadata added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext added in v3.20.0

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

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput added in v3.20.0

func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext added in v3.20.0

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

type JobTemplateSpecPatchPtrInput added in v3.20.0

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

func JobTemplateSpecPatchPtr added in v3.20.0

func JobTemplateSpecPatchPtr(v *JobTemplateSpecPatchArgs) JobTemplateSpecPatchPtrInput

type JobTemplateSpecPatchPtrOutput added in v3.20.0

type JobTemplateSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateSpecPatchPtrOutput) Elem added in v3.20.0

func (JobTemplateSpecPatchPtrOutput) ElementType added in v3.20.0

func (JobTemplateSpecPatchPtrOutput) Metadata added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput

func (JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext added in v3.20.0

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

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

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

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

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

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

type PodFailurePolicy added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyArgs) ElementType() reflect.Type

func (PodFailurePolicyArgs) ToPodFailurePolicyOutput added in v3.21.0

func (i PodFailurePolicyArgs) ToPodFailurePolicyOutput() PodFailurePolicyOutput

func (PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext added in v3.21.0

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

func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput added in v3.21.0

func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyInput added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput added in v3.21.0

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput added in v3.21.0

func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnExitCodesRequirementInput added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementOutput) Operator added in v3.21.0

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) ToPodFailurePolicyOnExitCodesRequirementOutput added in v3.21.0

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput added in v3.21.0

func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementOutput) Values added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput added in v3.21.0

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput added in v3.21.0

func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnExitCodesRequirementPatchInput added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Operator added in v3.21.0

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) ToPodFailurePolicyOnExitCodesRequirementPatchOutput added in v3.21.0

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput added in v3.21.0

func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Values added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ContainerName added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Operator added in v3.21.0

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) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Values added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnExitCodesRequirementPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ContainerName added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Operator added in v3.21.0

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) ToPodFailurePolicyOnExitCodesRequirementPtrOutput added in v3.21.0

func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Values added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput added in v3.21.0

func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput

func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternArray added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternArray []PodFailurePolicyOnPodConditionsPatternInput

func (PodFailurePolicyOnPodConditionsPatternArray) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput added in v3.21.0

func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput

func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternArrayInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) Index added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput added in v3.21.0

func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput

func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternOutput struct{ *pulumi.OutputState }

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

func (PodFailurePolicyOnPodConditionsPatternOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternOutput) Status added in v3.21.0

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) ToPodFailurePolicyOnPodConditionsPatternOutput added in v3.21.0

func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput

func (PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnPodConditionsPatternOutput) Type added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternPatch added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput added in v3.21.0

func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput

func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternPatchArray added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternPatchArray []PodFailurePolicyOnPodConditionsPatternPatchInput

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput added in v3.21.0

func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput

func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternPatchArrayInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) Index added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyOnPodConditionsPatternPatchInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyOnPodConditionsPatternPatchOutput struct{ *pulumi.OutputState }

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

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ElementType added in v3.21.0

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Status added in v3.21.0

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) ToPodFailurePolicyOnPodConditionsPatternPatchOutput added in v3.21.0

func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Type added in v3.21.0

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

type PodFailurePolicyOutput added in v3.21.0

type PodFailurePolicyOutput struct{ *pulumi.OutputState }

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyOutput) ElementType added in v3.21.0

func (PodFailurePolicyOutput) ElementType() reflect.Type

func (PodFailurePolicyOutput) Rules added in v3.21.0

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) ToPodFailurePolicyOutput added in v3.21.0

func (o PodFailurePolicyOutput) ToPodFailurePolicyOutput() PodFailurePolicyOutput

func (PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext added in v3.21.0

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

func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput added in v3.21.0

func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyPatch added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

func (PodFailurePolicyPatchArgs) ElementType() reflect.Type

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput added in v3.21.0

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext added in v3.21.0

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

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput added in v3.21.0

func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyPatchInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyPatchOutput struct{ *pulumi.OutputState }

PodFailurePolicy describes how failed pods influence the backoffLimit.

func (PodFailurePolicyPatchOutput) ElementType added in v3.21.0

func (PodFailurePolicyPatchOutput) Rules added in v3.21.0

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) ToPodFailurePolicyPatchOutput added in v3.21.0

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext added in v3.21.0

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

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput added in v3.21.0

func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyPatchPtrInput added in v3.21.0

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

func PodFailurePolicyPatchPtr added in v3.21.0

func PodFailurePolicyPatchPtr(v *PodFailurePolicyPatchArgs) PodFailurePolicyPatchPtrInput

type PodFailurePolicyPatchPtrOutput added in v3.21.0

type PodFailurePolicyPatchPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyPatchPtrOutput) Elem added in v3.21.0

func (PodFailurePolicyPatchPtrOutput) ElementType added in v3.21.0

func (PodFailurePolicyPatchPtrOutput) Rules added in v3.21.0

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) ToPodFailurePolicyPatchPtrOutput added in v3.21.0

func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput

func (PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyPtrInput added in v3.21.0

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

func PodFailurePolicyPtr added in v3.21.0

func PodFailurePolicyPtr(v *PodFailurePolicyArgs) PodFailurePolicyPtrInput

type PodFailurePolicyPtrOutput added in v3.21.0

type PodFailurePolicyPtrOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyPtrOutput) Elem added in v3.21.0

func (PodFailurePolicyPtrOutput) ElementType added in v3.21.0

func (PodFailurePolicyPtrOutput) ElementType() reflect.Type

func (PodFailurePolicyPtrOutput) Rules added in v3.21.0

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) ToPodFailurePolicyPtrOutput added in v3.21.0

func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput

func (PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext added in v3.21.0

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

type PodFailurePolicyRule added in v3.21.0

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.
	// - 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 added in v3.21.0

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.
	// - 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 added in v3.21.0

func (PodFailurePolicyRuleArgs) ElementType() reflect.Type

func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput added in v3.21.0

func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput

func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext added in v3.21.0

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

type PodFailurePolicyRuleArray added in v3.21.0

type PodFailurePolicyRuleArray []PodFailurePolicyRuleInput

func (PodFailurePolicyRuleArray) ElementType added in v3.21.0

func (PodFailurePolicyRuleArray) ElementType() reflect.Type

func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput added in v3.21.0

func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput

func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyRuleArrayInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyRuleArrayOutput) ElementType added in v3.21.0

func (PodFailurePolicyRuleArrayOutput) Index added in v3.21.0

func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput added in v3.21.0

func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput

func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyRuleInput added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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.
  • 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 added in v3.21.0

func (PodFailurePolicyRuleOutput) ElementType() reflect.Type

func (PodFailurePolicyRuleOutput) OnExitCodes added in v3.21.0

Represents the requirement on the container exit codes.

func (PodFailurePolicyRuleOutput) OnPodConditions added in v3.21.0

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) ToPodFailurePolicyRuleOutput added in v3.21.0

func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput

func (PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext added in v3.21.0

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

type PodFailurePolicyRulePatch added in v3.21.0

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.
	// - 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 added in v3.21.0

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.
	// - 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 added in v3.21.0

func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput added in v3.21.0

func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput

func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext added in v3.21.0

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

type PodFailurePolicyRulePatchArray added in v3.21.0

type PodFailurePolicyRulePatchArray []PodFailurePolicyRulePatchInput

func (PodFailurePolicyRulePatchArray) ElementType added in v3.21.0

func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput added in v3.21.0

func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput

func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyRulePatchArrayInput added in v3.21.0

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 added in v3.21.0

type PodFailurePolicyRulePatchArrayOutput struct{ *pulumi.OutputState }

func (PodFailurePolicyRulePatchArrayOutput) ElementType added in v3.21.0

func (PodFailurePolicyRulePatchArrayOutput) Index added in v3.21.0

func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput added in v3.21.0

func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput

func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext added in v3.21.0

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

type PodFailurePolicyRulePatchInput added in v3.21.0

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 added in v3.21.0

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 added in v3.21.0

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.
  • 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 added in v3.21.0

func (PodFailurePolicyRulePatchOutput) OnExitCodes added in v3.21.0

Represents the requirement on the container exit codes.

func (PodFailurePolicyRulePatchOutput) OnPodConditions added in v3.21.0

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) ToPodFailurePolicyRulePatchOutput added in v3.21.0

func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput

func (PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext added in v3.21.0

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

type UncountedTerminatedPods added in v3.6.0

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 added in v3.6.0

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 added in v3.6.0

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput added in v3.6.0

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext added in v3.6.0

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

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput added in v3.6.0

func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext added in v3.6.0

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

type UncountedTerminatedPodsInput added in v3.6.0

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 added in v3.6.0

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 added in v3.6.0

func (UncountedTerminatedPodsOutput) Failed added in v3.6.0

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsOutput) Succeeded added in v3.6.0

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput added in v3.6.0

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext added in v3.6.0

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

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput added in v3.6.0

func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext added in v3.6.0

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

type UncountedTerminatedPodsPatch added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput added in v3.20.0

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext added in v3.20.0

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

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput added in v3.20.0

func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext added in v3.20.0

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

type UncountedTerminatedPodsPatchInput added in v3.20.0

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 added in v3.20.0

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 added in v3.20.0

func (UncountedTerminatedPodsPatchOutput) Failed added in v3.20.0

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPatchOutput) Succeeded added in v3.20.0

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput added in v3.20.0

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext added in v3.20.0

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

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput added in v3.20.0

func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext added in v3.20.0

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

type UncountedTerminatedPodsPatchPtrInput added in v3.20.0

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

func UncountedTerminatedPodsPatchPtr added in v3.20.0

type UncountedTerminatedPodsPatchPtrOutput added in v3.20.0

type UncountedTerminatedPodsPatchPtrOutput struct{ *pulumi.OutputState }

func (UncountedTerminatedPodsPatchPtrOutput) Elem added in v3.20.0

func (UncountedTerminatedPodsPatchPtrOutput) ElementType added in v3.20.0

func (UncountedTerminatedPodsPatchPtrOutput) Failed added in v3.20.0

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPatchPtrOutput) Succeeded added in v3.20.0

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput added in v3.20.0

func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput

func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext added in v3.20.0

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

type UncountedTerminatedPodsPtrInput added in v3.6.0

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

func UncountedTerminatedPodsPtr added in v3.6.0

func UncountedTerminatedPodsPtr(v *UncountedTerminatedPodsArgs) UncountedTerminatedPodsPtrInput

type UncountedTerminatedPodsPtrOutput added in v3.6.0

type UncountedTerminatedPodsPtrOutput struct{ *pulumi.OutputState }

func (UncountedTerminatedPodsPtrOutput) Elem added in v3.6.0

func (UncountedTerminatedPodsPtrOutput) ElementType added in v3.6.0

func (UncountedTerminatedPodsPtrOutput) Failed added in v3.6.0

failed holds UIDs of failed Pods.

func (UncountedTerminatedPodsPtrOutput) Succeeded added in v3.6.0

succeeded holds UIDs of succeeded Pods.

func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput added in v3.6.0

func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput

func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext added in v3.6.0

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