v1

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (*CronJob) ElementType() reflect.Type

func (*CronJob) ToCronJobOutput added in v2.9.0

func (i *CronJob) ToCronJobOutput() CronJobOutput

func (*CronJob) ToCronJobOutputWithContext added in v2.9.0

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

func (*CronJob) ToCronJobPtrOutput added in v2.9.0

func (i *CronJob) ToCronJobPtrOutput() CronJobPtrOutput

func (*CronJob) ToCronJobPtrOutputWithContext added in v2.9.0

func (i *CronJob) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput

type CronJobArgs added in v2.9.0

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 added in v2.9.0

func (CronJobArgs) ElementType() reflect.Type

type CronJobArray added in v2.9.0

type CronJobArray []CronJobInput

func (CronJobArray) ElementType added in v2.9.0

func (CronJobArray) ElementType() reflect.Type

func (CronJobArray) ToCronJobArrayOutput added in v2.9.0

func (i CronJobArray) ToCronJobArrayOutput() CronJobArrayOutput

func (CronJobArray) ToCronJobArrayOutputWithContext added in v2.9.0

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

type CronJobArrayInput added in v2.9.0

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 added in v2.9.0

type CronJobArrayOutput struct{ *pulumi.OutputState }

func (CronJobArrayOutput) ElementType added in v2.9.0

func (CronJobArrayOutput) ElementType() reflect.Type

func (CronJobArrayOutput) Index added in v2.9.0

func (CronJobArrayOutput) ToCronJobArrayOutput added in v2.9.0

func (o CronJobArrayOutput) ToCronJobArrayOutput() CronJobArrayOutput

func (CronJobArrayOutput) ToCronJobArrayOutputWithContext added in v2.9.0

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

type CronJobInput added in v2.9.0

type CronJobInput interface {
	pulumi.Input

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

type CronJobList added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (*CronJobList) ElementType() reflect.Type

func (*CronJobList) ToCronJobListOutput added in v2.9.0

func (i *CronJobList) ToCronJobListOutput() CronJobListOutput

func (*CronJobList) ToCronJobListOutputWithContext added in v2.9.0

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

func (*CronJobList) ToCronJobListPtrOutput added in v2.9.0

func (i *CronJobList) ToCronJobListPtrOutput() CronJobListPtrOutput

func (*CronJobList) ToCronJobListPtrOutputWithContext added in v2.9.0

func (i *CronJobList) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput

type CronJobListArgs added in v2.9.0

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 added in v2.9.0

func (CronJobListArgs) ElementType() reflect.Type

type CronJobListArray added in v2.9.0

type CronJobListArray []CronJobListInput

func (CronJobListArray) ElementType added in v2.9.0

func (CronJobListArray) ElementType() reflect.Type

func (CronJobListArray) ToCronJobListArrayOutput added in v2.9.0

func (i CronJobListArray) ToCronJobListArrayOutput() CronJobListArrayOutput

func (CronJobListArray) ToCronJobListArrayOutputWithContext added in v2.9.0

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

type CronJobListArrayInput added in v2.9.0

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 added in v2.9.0

type CronJobListArrayOutput struct{ *pulumi.OutputState }

func (CronJobListArrayOutput) ElementType added in v2.9.0

func (CronJobListArrayOutput) ElementType() reflect.Type

func (CronJobListArrayOutput) Index added in v2.9.0

func (CronJobListArrayOutput) ToCronJobListArrayOutput added in v2.9.0

func (o CronJobListArrayOutput) ToCronJobListArrayOutput() CronJobListArrayOutput

func (CronJobListArrayOutput) ToCronJobListArrayOutputWithContext added in v2.9.0

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

type CronJobListInput added in v2.9.0

type CronJobListInput interface {
	pulumi.Input

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

type CronJobListMap added in v2.9.0

type CronJobListMap map[string]CronJobListInput

func (CronJobListMap) ElementType added in v2.9.0

func (CronJobListMap) ElementType() reflect.Type

func (CronJobListMap) ToCronJobListMapOutput added in v2.9.0

func (i CronJobListMap) ToCronJobListMapOutput() CronJobListMapOutput

func (CronJobListMap) ToCronJobListMapOutputWithContext added in v2.9.0

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

type CronJobListMapInput added in v2.9.0

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 added in v2.9.0

type CronJobListMapOutput struct{ *pulumi.OutputState }

func (CronJobListMapOutput) ElementType added in v2.9.0

func (CronJobListMapOutput) ElementType() reflect.Type

func (CronJobListMapOutput) MapIndex added in v2.9.0

func (CronJobListMapOutput) ToCronJobListMapOutput added in v2.9.0

func (o CronJobListMapOutput) ToCronJobListMapOutput() CronJobListMapOutput

func (CronJobListMapOutput) ToCronJobListMapOutputWithContext added in v2.9.0

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

type CronJobListOutput added in v2.9.0

type CronJobListOutput struct {
	*pulumi.OutputState
}

func (CronJobListOutput) ElementType added in v2.9.0

func (CronJobListOutput) ElementType() reflect.Type

func (CronJobListOutput) ToCronJobListOutput added in v2.9.0

func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput

func (CronJobListOutput) ToCronJobListOutputWithContext added in v2.9.0

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

func (CronJobListOutput) ToCronJobListPtrOutput added in v2.9.0

func (o CronJobListOutput) ToCronJobListPtrOutput() CronJobListPtrOutput

func (CronJobListOutput) ToCronJobListPtrOutputWithContext added in v2.9.0

func (o CronJobListOutput) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput

type CronJobListPtrInput added in v2.9.0

type CronJobListPtrInput interface {
	pulumi.Input

	ToCronJobListPtrOutput() CronJobListPtrOutput
	ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
}

type CronJobListPtrOutput added in v2.9.0

type CronJobListPtrOutput struct {
	*pulumi.OutputState
}

func (CronJobListPtrOutput) ElementType added in v2.9.0

func (CronJobListPtrOutput) ElementType() reflect.Type

func (CronJobListPtrOutput) ToCronJobListPtrOutput added in v2.9.0

func (o CronJobListPtrOutput) ToCronJobListPtrOutput() CronJobListPtrOutput

func (CronJobListPtrOutput) ToCronJobListPtrOutputWithContext added in v2.9.0

func (o CronJobListPtrOutput) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput

type CronJobListState added in v2.9.0

type CronJobListState 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
}

func (CronJobListState) ElementType added in v2.9.0

func (CronJobListState) ElementType() reflect.Type

type CronJobListType added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (CronJobListTypeArgs) ElementType() reflect.Type

func (CronJobListTypeArgs) ToCronJobListTypeOutput added in v2.9.0

func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeArgs) ToCronJobListTypeOutputWithContext added in v2.9.0

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

type CronJobListTypeInput added in v2.9.0

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 added in v2.9.0

type CronJobListTypeOutput struct{ *pulumi.OutputState }

CronJobList is a collection of cron jobs.

func (CronJobListTypeOutput) ApiVersion added in v2.9.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 (CronJobListTypeOutput) ElementType added in v2.9.0

func (CronJobListTypeOutput) ElementType() reflect.Type

func (CronJobListTypeOutput) Items added in v2.9.0

items is the list of CronJobs.

func (CronJobListTypeOutput) Kind added in v2.9.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 (CronJobListTypeOutput) Metadata added in v2.9.0

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

func (CronJobListTypeOutput) ToCronJobListTypeOutput added in v2.9.0

func (o CronJobListTypeOutput) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeOutput) ToCronJobListTypeOutputWithContext added in v2.9.0

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

type CronJobMap added in v2.9.0

type CronJobMap map[string]CronJobInput

func (CronJobMap) ElementType added in v2.9.0

func (CronJobMap) ElementType() reflect.Type

func (CronJobMap) ToCronJobMapOutput added in v2.9.0

func (i CronJobMap) ToCronJobMapOutput() CronJobMapOutput

func (CronJobMap) ToCronJobMapOutputWithContext added in v2.9.0

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

type CronJobMapInput added in v2.9.0

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 added in v2.9.0

type CronJobMapOutput struct{ *pulumi.OutputState }

func (CronJobMapOutput) ElementType added in v2.9.0

func (CronJobMapOutput) ElementType() reflect.Type

func (CronJobMapOutput) MapIndex added in v2.9.0

func (CronJobMapOutput) ToCronJobMapOutput added in v2.9.0

func (o CronJobMapOutput) ToCronJobMapOutput() CronJobMapOutput

func (CronJobMapOutput) ToCronJobMapOutputWithContext added in v2.9.0

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

type CronJobOutput added in v2.9.0

type CronJobOutput struct {
	*pulumi.OutputState
}

func (CronJobOutput) ElementType added in v2.9.0

func (CronJobOutput) ElementType() reflect.Type

func (CronJobOutput) ToCronJobOutput added in v2.9.0

func (o CronJobOutput) ToCronJobOutput() CronJobOutput

func (CronJobOutput) ToCronJobOutputWithContext added in v2.9.0

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

func (CronJobOutput) ToCronJobPtrOutput added in v2.9.0

func (o CronJobOutput) ToCronJobPtrOutput() CronJobPtrOutput

func (CronJobOutput) ToCronJobPtrOutputWithContext added in v2.9.0

func (o CronJobOutput) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput

type CronJobPtrInput added in v2.9.0

type CronJobPtrInput interface {
	pulumi.Input

	ToCronJobPtrOutput() CronJobPtrOutput
	ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
}

type CronJobPtrOutput added in v2.9.0

type CronJobPtrOutput struct {
	*pulumi.OutputState
}

func (CronJobPtrOutput) ElementType added in v2.9.0

func (CronJobPtrOutput) ElementType() reflect.Type

func (CronJobPtrOutput) ToCronJobPtrOutput added in v2.9.0

func (o CronJobPtrOutput) ToCronJobPtrOutput() CronJobPtrOutput

func (CronJobPtrOutput) ToCronJobPtrOutputWithContext added in v2.9.0

func (o CronJobPtrOutput) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput

type CronJobSpec added in v2.9.0

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"`
}

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

type CronJobSpecArgs added in v2.9.0

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"`
}

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

func (CronJobSpecArgs) ElementType added in v2.9.0

func (CronJobSpecArgs) ElementType() reflect.Type

func (CronJobSpecArgs) ToCronJobSpecOutput added in v2.9.0

func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecArgs) ToCronJobSpecOutputWithContext added in v2.9.0

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

func (CronJobSpecArgs) ToCronJobSpecPtrOutput added in v2.9.0

func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext added in v2.9.0

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

type CronJobSpecInput added in v2.9.0

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 added in v2.9.0

type CronJobSpecOutput struct{ *pulumi.OutputState }

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

func (CronJobSpecOutput) ConcurrencyPolicy added in v2.9.0

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 added in v2.9.0

func (CronJobSpecOutput) ElementType() reflect.Type

func (CronJobSpecOutput) FailedJobsHistoryLimit added in v2.9.0

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 added in v2.9.0

func (o CronJobSpecOutput) JobTemplate() JobTemplateSpecOutput

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

func (CronJobSpecOutput) Schedule added in v2.9.0

func (o CronJobSpecOutput) Schedule() pulumi.StringOutput

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

func (CronJobSpecOutput) StartingDeadlineSeconds added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

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

func (CronJobSpecOutput) ToCronJobSpecOutput added in v2.9.0

func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecOutput) ToCronJobSpecOutputWithContext added in v2.9.0

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

func (CronJobSpecOutput) ToCronJobSpecPtrOutput added in v2.9.0

func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext added in v2.9.0

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

type CronJobSpecPtrInput added in v2.9.0

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 added in v2.9.0

func CronJobSpecPtr(v *CronJobSpecArgs) CronJobSpecPtrInput

type CronJobSpecPtrOutput added in v2.9.0

type CronJobSpecPtrOutput struct{ *pulumi.OutputState }

func (CronJobSpecPtrOutput) ConcurrencyPolicy added in v2.9.0

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 added in v2.9.0

func (CronJobSpecPtrOutput) ElementType added in v2.9.0

func (CronJobSpecPtrOutput) ElementType() reflect.Type

func (CronJobSpecPtrOutput) FailedJobsHistoryLimit added in v2.9.0

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 added in v2.9.0

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

func (CronJobSpecPtrOutput) Schedule added in v2.9.0

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

func (CronJobSpecPtrOutput) StartingDeadlineSeconds added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

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

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutput added in v2.9.0

func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext added in v2.9.0

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

type CronJobState added in v2.9.0

type CronJobState 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
	// 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
}

func (CronJobState) ElementType added in v2.9.0

func (CronJobState) ElementType() reflect.Type

type CronJobStatus added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (CronJobStatusArgs) ElementType() reflect.Type

func (CronJobStatusArgs) ToCronJobStatusOutput added in v2.9.0

func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusArgs) ToCronJobStatusOutputWithContext added in v2.9.0

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

func (CronJobStatusArgs) ToCronJobStatusPtrOutput added in v2.9.0

func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext added in v2.9.0

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

type CronJobStatusInput added in v2.9.0

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 added in v2.9.0

type CronJobStatusOutput struct{ *pulumi.OutputState }

CronJobStatus represents the current state of a cron job.

func (CronJobStatusOutput) Active added in v2.9.0

A list of pointers to currently running jobs.

func (CronJobStatusOutput) ElementType added in v2.9.0

func (CronJobStatusOutput) ElementType() reflect.Type

func (CronJobStatusOutput) LastScheduleTime added in v2.9.0

func (o CronJobStatusOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusOutput) LastSuccessfulTime added in v2.9.0

func (o CronJobStatusOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusOutput) ToCronJobStatusOutput added in v2.9.0

func (o CronJobStatusOutput) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusOutput) ToCronJobStatusOutputWithContext added in v2.9.0

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

func (CronJobStatusOutput) ToCronJobStatusPtrOutput added in v2.9.0

func (o CronJobStatusOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext added in v2.9.0

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

type CronJobStatusPtrInput added in v2.9.0

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

func CronJobStatusPtr added in v2.9.0

func CronJobStatusPtr(v *CronJobStatusArgs) CronJobStatusPtrInput

type CronJobStatusPtrOutput added in v2.9.0

type CronJobStatusPtrOutput struct{ *pulumi.OutputState }

func (CronJobStatusPtrOutput) Active added in v2.9.0

A list of pointers to currently running jobs.

func (CronJobStatusPtrOutput) Elem added in v2.9.0

func (CronJobStatusPtrOutput) ElementType added in v2.9.0

func (CronJobStatusPtrOutput) ElementType() reflect.Type

func (CronJobStatusPtrOutput) LastScheduleTime added in v2.9.0

func (o CronJobStatusPtrOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusPtrOutput) LastSuccessfulTime added in v2.9.0

func (o CronJobStatusPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput

Information when was the last time the job successfully completed.

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutput added in v2.9.0

func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext added in v2.9.0

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

type CronJobType added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (CronJobTypeArgs) ElementType() reflect.Type

func (CronJobTypeArgs) ToCronJobTypeOutput added in v2.9.0

func (i CronJobTypeArgs) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeArgs) ToCronJobTypeOutputWithContext added in v2.9.0

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

type CronJobTypeArray added in v2.9.0

type CronJobTypeArray []CronJobTypeInput

func (CronJobTypeArray) ElementType added in v2.9.0

func (CronJobTypeArray) ElementType() reflect.Type

func (CronJobTypeArray) ToCronJobTypeArrayOutput added in v2.9.0

func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArray) ToCronJobTypeArrayOutputWithContext added in v2.9.0

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

type CronJobTypeArrayInput added in v2.9.0

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 added in v2.9.0

type CronJobTypeArrayOutput struct{ *pulumi.OutputState }

func (CronJobTypeArrayOutput) ElementType added in v2.9.0

func (CronJobTypeArrayOutput) ElementType() reflect.Type

func (CronJobTypeArrayOutput) Index added in v2.9.0

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutput added in v2.9.0

func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext added in v2.9.0

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

type CronJobTypeInput added in v2.9.0

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 added in v2.9.0

type CronJobTypeOutput struct{ *pulumi.OutputState }

CronJob represents the configuration of a single cron job.

func (CronJobTypeOutput) ApiVersion added in v2.9.0

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 added in v2.9.0

func (CronJobTypeOutput) ElementType() reflect.Type

func (CronJobTypeOutput) Kind added in v2.9.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 (CronJobTypeOutput) Metadata added in v2.9.0

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

func (CronJobTypeOutput) Spec added in v2.9.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 (CronJobTypeOutput) Status added in v2.9.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 (CronJobTypeOutput) ToCronJobTypeOutput added in v2.9.0

func (o CronJobTypeOutput) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeOutput) ToCronJobTypeOutputWithContext added in v2.9.0

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.

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 added in v2.7.2

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput added in v2.7.2

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext added in v2.7.2

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

func (*Job) ToJobPtrOutput added in v2.7.7

func (i *Job) ToJobPtrOutput() JobPtrOutput

func (*Job) ToJobPtrOutputWithContext added in v2.7.7

func (i *Job) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput

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 added in v2.7.7

type JobArray []JobInput

func (JobArray) ElementType added in v2.7.7

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput added in v2.7.7

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext added in v2.7.7

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

type JobArrayInput added in v2.7.7

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 added in v2.7.7

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType added in v2.7.7

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index added in v2.7.7

func (JobArrayOutput) ToJobArrayOutput added in v2.7.7

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext added in v2.7.7

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 JobInput added in v2.7.2

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 added in v2.7.2

func (*JobList) ElementType() reflect.Type

func (*JobList) ToJobListOutput added in v2.7.2

func (i *JobList) ToJobListOutput() JobListOutput

func (*JobList) ToJobListOutputWithContext added in v2.7.2

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

func (*JobList) ToJobListPtrOutput added in v2.7.7

func (i *JobList) ToJobListPtrOutput() JobListPtrOutput

func (*JobList) ToJobListPtrOutputWithContext added in v2.7.7

func (i *JobList) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput

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 added in v2.7.7

type JobListArray []JobListInput

func (JobListArray) ElementType added in v2.7.7

func (JobListArray) ElementType() reflect.Type

func (JobListArray) ToJobListArrayOutput added in v2.7.7

func (i JobListArray) ToJobListArrayOutput() JobListArrayOutput

func (JobListArray) ToJobListArrayOutputWithContext added in v2.7.7

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

type JobListArrayInput added in v2.7.7

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 added in v2.7.7

type JobListArrayOutput struct{ *pulumi.OutputState }

func (JobListArrayOutput) ElementType added in v2.7.7

func (JobListArrayOutput) ElementType() reflect.Type

func (JobListArrayOutput) Index added in v2.7.7

func (JobListArrayOutput) ToJobListArrayOutput added in v2.7.7

func (o JobListArrayOutput) ToJobListArrayOutput() JobListArrayOutput

func (JobListArrayOutput) ToJobListArrayOutputWithContext added in v2.7.7

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

type JobListInput added in v2.7.2

type JobListInput interface {
	pulumi.Input

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

type JobListMap added in v2.7.7

type JobListMap map[string]JobListInput

func (JobListMap) ElementType added in v2.7.7

func (JobListMap) ElementType() reflect.Type

func (JobListMap) ToJobListMapOutput added in v2.7.7

func (i JobListMap) ToJobListMapOutput() JobListMapOutput

func (JobListMap) ToJobListMapOutputWithContext added in v2.7.7

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

type JobListMapInput added in v2.7.7

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 added in v2.7.7

type JobListMapOutput struct{ *pulumi.OutputState }

func (JobListMapOutput) ElementType added in v2.7.7

func (JobListMapOutput) ElementType() reflect.Type

func (JobListMapOutput) MapIndex added in v2.7.7

func (JobListMapOutput) ToJobListMapOutput added in v2.7.7

func (o JobListMapOutput) ToJobListMapOutput() JobListMapOutput

func (JobListMapOutput) ToJobListMapOutputWithContext added in v2.7.7

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

type JobListOutput added in v2.7.2

type JobListOutput struct {
	*pulumi.OutputState
}

func (JobListOutput) ElementType added in v2.7.2

func (JobListOutput) ElementType() reflect.Type

func (JobListOutput) ToJobListOutput added in v2.7.2

func (o JobListOutput) ToJobListOutput() JobListOutput

func (JobListOutput) ToJobListOutputWithContext added in v2.7.2

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

func (JobListOutput) ToJobListPtrOutput added in v2.7.7

func (o JobListOutput) ToJobListPtrOutput() JobListPtrOutput

func (JobListOutput) ToJobListPtrOutputWithContext added in v2.7.7

func (o JobListOutput) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput

type JobListPtrInput added in v2.7.7

type JobListPtrInput interface {
	pulumi.Input

	ToJobListPtrOutput() JobListPtrOutput
	ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
}

type JobListPtrOutput added in v2.7.7

type JobListPtrOutput struct {
	*pulumi.OutputState
}

func (JobListPtrOutput) ElementType added in v2.7.7

func (JobListPtrOutput) ElementType() reflect.Type

func (JobListPtrOutput) ToJobListPtrOutput added in v2.7.7

func (o JobListPtrOutput) ToJobListPtrOutput() JobListPtrOutput

func (JobListPtrOutput) ToJobListPtrOutputWithContext added in v2.7.7

func (o JobListPtrOutput) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput

type JobListState

type JobListState 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
}

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 added in v2.7.7

type JobMap map[string]JobInput

func (JobMap) ElementType added in v2.7.7

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput added in v2.7.7

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext added in v2.7.7

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

type JobMapInput added in v2.7.7

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 added in v2.7.7

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType added in v2.7.7

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex added in v2.7.7

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

func (JobMapOutput) ToJobMapOutput added in v2.7.7

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext added in v2.7.7

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

type JobOutput added in v2.7.2

type JobOutput struct {
	*pulumi.OutputState
}

func (JobOutput) ElementType added in v2.7.2

func (JobOutput) ElementType() reflect.Type

func (JobOutput) ToJobOutput added in v2.7.2

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext added in v2.7.2

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

func (JobOutput) ToJobPtrOutput added in v2.7.7

func (o JobOutput) ToJobPtrOutput() JobPtrOutput

func (JobOutput) ToJobPtrOutputWithContext added in v2.7.7

func (o JobOutput) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput

type JobPtrInput added in v2.7.7

type JobPtrInput interface {
	pulumi.Input

	ToJobPtrOutput() JobPtrOutput
	ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput
}

type JobPtrOutput added in v2.7.7

type JobPtrOutput struct {
	*pulumi.OutputState
}

func (JobPtrOutput) ElementType added in v2.7.7

func (JobPtrOutput) ElementType() reflect.Type

func (JobPtrOutput) ToJobPtrOutput added in v2.7.7

func (o JobPtrOutput) ToJobPtrOutput() JobPtrOutput

func (JobPtrOutput) ToJobPtrOutputWithContext added in v2.7.7

func (o JobPtrOutput) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput

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.
	//
	// This field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, 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 nil 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"`
	// 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. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false.
	Suspend *bool `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. 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. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.
	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.
	//
	// This field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, 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 nil 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"`
	// 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. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
	// Describes the pod that will be created when executing a job. 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. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.
	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 added in v2.9.0

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.

This field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, 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 nil 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) 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 added in v2.9.0

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. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false.

func (JobSpecOutput) Template

Describes the pod that will be created when executing a job. 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. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.

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 added in v2.9.0

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.

This field is alpha-level and is only honored by servers that enable the IndexedJob feature gate. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, 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 nil 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) 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 added in v2.9.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. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false.

func (JobSpecPtrOutput) Template

Describes the pod that will be created when executing a job. 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. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.

type JobState

type JobState 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
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobStatus

type JobStatus struct {
	// The number of actively 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"`
	// 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"`
}

JobStatus represents the current state of a Job.

type JobStatusArgs

type JobStatusArgs struct {
	// The number of actively 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"`
	// 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"`
}

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 actively running pods.

func (JobStatusOutput) CompletedIndexes added in v2.9.0

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

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 actively running pods.

func (JobStatusPtrOutput) CompletedIndexes added in v2.9.0

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

type JobTemplateSpec added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (JobTemplateSpecArgs) ElementType() reflect.Type

func (JobTemplateSpecArgs) ToJobTemplateSpecOutput added in v2.9.0

func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext added in v2.9.0

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

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput added in v2.9.0

func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext added in v2.9.0

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

type JobTemplateSpecInput added in v2.9.0

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 added in v2.9.0

type JobTemplateSpecOutput struct{ *pulumi.OutputState }

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

func (JobTemplateSpecOutput) ElementType added in v2.9.0

func (JobTemplateSpecOutput) ElementType() reflect.Type

func (JobTemplateSpecOutput) Metadata added in v2.9.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 (JobTemplateSpecOutput) Spec added in v2.9.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 (JobTemplateSpecOutput) ToJobTemplateSpecOutput added in v2.9.0

func (o JobTemplateSpecOutput) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext added in v2.9.0

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

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput added in v2.9.0

func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext added in v2.9.0

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

type JobTemplateSpecPtrInput added in v2.9.0

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

func JobTemplateSpecPtr added in v2.9.0

func JobTemplateSpecPtr(v *JobTemplateSpecArgs) JobTemplateSpecPtrInput

type JobTemplateSpecPtrOutput added in v2.9.0

type JobTemplateSpecPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateSpecPtrOutput) Elem added in v2.9.0

func (JobTemplateSpecPtrOutput) ElementType added in v2.9.0

func (JobTemplateSpecPtrOutput) ElementType() reflect.Type

func (JobTemplateSpecPtrOutput) Metadata added in v2.9.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 (JobTemplateSpecPtrOutput) Spec added in v2.9.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 (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput added in v2.9.0

func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext added in v2.9.0

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.

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.

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.

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

Jump to

Keyboard shortcuts

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