Documentation ¶
Index ¶
- type CronJob
- type CronJobArgs
- type CronJobArray
- type CronJobArrayInput
- type CronJobArrayOutput
- func (CronJobArrayOutput) ElementType() reflect.Type
- func (o CronJobArrayOutput) Index(i pulumi.IntInput) CronJobOutput
- func (o CronJobArrayOutput) ToCronJobArrayOutput() CronJobArrayOutput
- func (o CronJobArrayOutput) ToCronJobArrayOutputWithContext(ctx context.Context) CronJobArrayOutput
- func (o CronJobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CronJob]
- type CronJobInput
- type CronJobList
- type CronJobListArgs
- type CronJobListArray
- func (CronJobListArray) ElementType() reflect.Type
- func (i CronJobListArray) ToCronJobListArrayOutput() CronJobListArrayOutput
- func (i CronJobListArray) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput
- func (i CronJobListArray) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobList]
- type CronJobListArrayInput
- type CronJobListArrayOutput
- func (CronJobListArrayOutput) ElementType() reflect.Type
- func (o CronJobListArrayOutput) Index(i pulumi.IntInput) CronJobListOutput
- func (o CronJobListArrayOutput) ToCronJobListArrayOutput() CronJobListArrayOutput
- func (o CronJobListArrayOutput) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput
- func (o CronJobListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobList]
- type CronJobListInput
- type CronJobListMap
- func (CronJobListMap) ElementType() reflect.Type
- func (i CronJobListMap) ToCronJobListMapOutput() CronJobListMapOutput
- func (i CronJobListMap) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput
- func (i CronJobListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobList]
- type CronJobListMapInput
- type CronJobListMapOutput
- func (CronJobListMapOutput) ElementType() reflect.Type
- func (o CronJobListMapOutput) MapIndex(k pulumi.StringInput) CronJobListOutput
- func (o CronJobListMapOutput) ToCronJobListMapOutput() CronJobListMapOutput
- func (o CronJobListMapOutput) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput
- func (o CronJobListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobList]
- type CronJobListOutput
- func (o CronJobListOutput) ApiVersion() pulumi.StringOutput
- func (CronJobListOutput) ElementType() reflect.Type
- func (o CronJobListOutput) Items() CronJobTypeArrayOutput
- func (o CronJobListOutput) Kind() pulumi.StringOutput
- func (o CronJobListOutput) Metadata() metav1.ListMetaOutput
- func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput
- func (o CronJobListOutput) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
- func (o CronJobListOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobList]
- type CronJobListState
- type CronJobListType
- type CronJobListTypeArgs
- func (CronJobListTypeArgs) ElementType() reflect.Type
- func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput
- func (i CronJobListTypeArgs) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput
- func (i CronJobListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobListType]
- type CronJobListTypeInput
- type CronJobListTypeOutput
- func (o CronJobListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (CronJobListTypeOutput) ElementType() reflect.Type
- func (o CronJobListTypeOutput) Items() CronJobTypeArrayOutput
- func (o CronJobListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o CronJobListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o CronJobListTypeOutput) ToCronJobListTypeOutput() CronJobListTypeOutput
- func (o CronJobListTypeOutput) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput
- func (o CronJobListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobListType]
- type CronJobMap
- type CronJobMapInput
- type CronJobMapOutput
- func (CronJobMapOutput) ElementType() reflect.Type
- func (o CronJobMapOutput) MapIndex(k pulumi.StringInput) CronJobOutput
- func (o CronJobMapOutput) ToCronJobMapOutput() CronJobMapOutput
- func (o CronJobMapOutput) ToCronJobMapOutputWithContext(ctx context.Context) CronJobMapOutput
- func (o CronJobMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJob]
- type CronJobOutput
- func (o CronJobOutput) ApiVersion() pulumi.StringOutput
- func (CronJobOutput) ElementType() reflect.Type
- func (o CronJobOutput) Kind() pulumi.StringOutput
- func (o CronJobOutput) Metadata() metav1.ObjectMetaOutput
- func (o CronJobOutput) Spec() CronJobSpecOutput
- func (o CronJobOutput) Status() CronJobStatusPtrOutput
- func (o CronJobOutput) ToCronJobOutput() CronJobOutput
- func (o CronJobOutput) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
- func (o CronJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJob]
- type CronJobPatch
- type CronJobPatchArgs
- type CronJobPatchArray
- func (CronJobPatchArray) ElementType() reflect.Type
- func (i CronJobPatchArray) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput
- func (i CronJobPatchArray) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput
- func (i CronJobPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobPatch]
- type CronJobPatchArrayInput
- type CronJobPatchArrayOutput
- func (CronJobPatchArrayOutput) ElementType() reflect.Type
- func (o CronJobPatchArrayOutput) Index(i pulumi.IntInput) CronJobPatchOutput
- func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput
- func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput
- func (o CronJobPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobPatch]
- type CronJobPatchInput
- type CronJobPatchMap
- func (CronJobPatchMap) ElementType() reflect.Type
- func (i CronJobPatchMap) ToCronJobPatchMapOutput() CronJobPatchMapOutput
- func (i CronJobPatchMap) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput
- func (i CronJobPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobPatch]
- type CronJobPatchMapInput
- type CronJobPatchMapOutput
- func (CronJobPatchMapOutput) ElementType() reflect.Type
- func (o CronJobPatchMapOutput) MapIndex(k pulumi.StringInput) CronJobPatchOutput
- func (o CronJobPatchMapOutput) ToCronJobPatchMapOutput() CronJobPatchMapOutput
- func (o CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput
- func (o CronJobPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobPatch]
- type CronJobPatchOutput
- func (o CronJobPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (CronJobPatchOutput) ElementType() reflect.Type
- func (o CronJobPatchOutput) Kind() pulumi.StringPtrOutput
- func (o CronJobPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o CronJobPatchOutput) Spec() CronJobSpecPatchPtrOutput
- func (o CronJobPatchOutput) Status() CronJobStatusPatchPtrOutput
- func (o CronJobPatchOutput) ToCronJobPatchOutput() CronJobPatchOutput
- func (o CronJobPatchOutput) ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput
- func (o CronJobPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobPatch]
- type CronJobPatchState
- type CronJobPatchType
- type CronJobPatchTypeArgs
- func (CronJobPatchTypeArgs) ElementType() reflect.Type
- func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput
- func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput
- func (i CronJobPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobPatchType]
- type CronJobPatchTypeInput
- type CronJobPatchTypeOutput
- func (o CronJobPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (CronJobPatchTypeOutput) ElementType() reflect.Type
- func (o CronJobPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o CronJobPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o CronJobPatchTypeOutput) Spec() CronJobSpecPatchPtrOutput
- func (o CronJobPatchTypeOutput) Status() CronJobStatusPatchPtrOutput
- func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput
- func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput
- func (o CronJobPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobPatchType]
- type CronJobSpec
- type CronJobSpecArgs
- func (CronJobSpecArgs) ElementType() reflect.Type
- func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput
- func (i CronJobSpecArgs) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
- func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
- func (i CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
- func (i CronJobSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobSpec]
- type CronJobSpecInput
- type CronJobSpecOutput
- func (o CronJobSpecOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
- func (CronJobSpecOutput) ElementType() reflect.Type
- func (o CronJobSpecOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecOutput) JobTemplate() JobTemplateSpecOutput
- func (o CronJobSpecOutput) Schedule() pulumi.StringOutput
- func (o CronJobSpecOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
- func (o CronJobSpecOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecOutput) Suspend() pulumi.BoolPtrOutput
- func (o CronJobSpecOutput) TimeZone() pulumi.StringPtrOutput
- func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput
- func (o CronJobSpecOutput) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
- func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
- func (o CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
- func (o CronJobSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobSpec]
- type CronJobSpecPatch
- type CronJobSpecPatchArgs
- func (CronJobSpecPatchArgs) ElementType() reflect.Type
- func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput
- func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput
- func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
- func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
- func (i CronJobSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobSpecPatch]
- type CronJobSpecPatchInput
- type CronJobSpecPatchOutput
- func (o CronJobSpecPatchOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
- func (CronJobSpecPatchOutput) ElementType() reflect.Type
- func (o CronJobSpecPatchOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPatchOutput) JobTemplate() JobTemplateSpecPatchPtrOutput
- func (o CronJobSpecPatchOutput) Schedule() pulumi.StringPtrOutput
- func (o CronJobSpecPatchOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
- func (o CronJobSpecPatchOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPatchOutput) Suspend() pulumi.BoolPtrOutput
- func (o CronJobSpecPatchOutput) TimeZone() pulumi.StringPtrOutput
- func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput
- func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput
- func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
- func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
- func (o CronJobSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobSpecPatch]
- type CronJobSpecPatchPtrInput
- type CronJobSpecPatchPtrOutput
- func (o CronJobSpecPatchPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
- func (o CronJobSpecPatchPtrOutput) Elem() CronJobSpecPatchOutput
- func (CronJobSpecPatchPtrOutput) ElementType() reflect.Type
- func (o CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPatchPtrOutput) JobTemplate() JobTemplateSpecPatchPtrOutput
- func (o CronJobSpecPatchPtrOutput) Schedule() pulumi.StringPtrOutput
- func (o CronJobSpecPatchPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
- func (o CronJobSpecPatchPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPatchPtrOutput) Suspend() pulumi.BoolPtrOutput
- func (o CronJobSpecPatchPtrOutput) TimeZone() pulumi.StringPtrOutput
- func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
- func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
- func (o CronJobSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobSpecPatch]
- type CronJobSpecPtrInput
- type CronJobSpecPtrOutput
- func (o CronJobSpecPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
- func (o CronJobSpecPtrOutput) Elem() CronJobSpecOutput
- func (CronJobSpecPtrOutput) ElementType() reflect.Type
- func (o CronJobSpecPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPtrOutput) JobTemplate() JobTemplateSpecPtrOutput
- func (o CronJobSpecPtrOutput) Schedule() pulumi.StringPtrOutput
- func (o CronJobSpecPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
- func (o CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
- func (o CronJobSpecPtrOutput) Suspend() pulumi.BoolPtrOutput
- func (o CronJobSpecPtrOutput) TimeZone() pulumi.StringPtrOutput
- func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
- func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
- func (o CronJobSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobSpec]
- type CronJobState
- type CronJobStatus
- type CronJobStatusArgs
- func (CronJobStatusArgs) ElementType() reflect.Type
- func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput
- func (i CronJobStatusArgs) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput
- func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
- func (i CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
- func (i CronJobStatusArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobStatus]
- type CronJobStatusInput
- type CronJobStatusOutput
- func (o CronJobStatusOutput) Active() corev1.ObjectReferenceArrayOutput
- func (CronJobStatusOutput) ElementType() reflect.Type
- func (o CronJobStatusOutput) LastScheduleTime() pulumi.StringPtrOutput
- func (o CronJobStatusOutput) LastSuccessfulTime() pulumi.StringPtrOutput
- func (o CronJobStatusOutput) ToCronJobStatusOutput() CronJobStatusOutput
- func (o CronJobStatusOutput) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput
- func (o CronJobStatusOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
- func (o CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
- func (o CronJobStatusOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobStatus]
- type CronJobStatusPatch
- type CronJobStatusPatchArgs
- func (CronJobStatusPatchArgs) ElementType() reflect.Type
- func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput
- func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput
- func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
- func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
- func (i CronJobStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobStatusPatch]
- type CronJobStatusPatchInput
- type CronJobStatusPatchOutput
- func (o CronJobStatusPatchOutput) Active() corev1.ObjectReferencePatchArrayOutput
- func (CronJobStatusPatchOutput) ElementType() reflect.Type
- func (o CronJobStatusPatchOutput) LastScheduleTime() pulumi.StringPtrOutput
- func (o CronJobStatusPatchOutput) LastSuccessfulTime() pulumi.StringPtrOutput
- func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput
- func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput
- func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
- func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
- func (o CronJobStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobStatusPatch]
- type CronJobStatusPatchPtrInput
- type CronJobStatusPatchPtrOutput
- func (o CronJobStatusPatchPtrOutput) Active() corev1.ObjectReferencePatchArrayOutput
- func (o CronJobStatusPatchPtrOutput) Elem() CronJobStatusPatchOutput
- func (CronJobStatusPatchPtrOutput) ElementType() reflect.Type
- func (o CronJobStatusPatchPtrOutput) LastScheduleTime() pulumi.StringPtrOutput
- func (o CronJobStatusPatchPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput
- func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
- func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
- func (o CronJobStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobStatusPatch]
- type CronJobStatusPtrInput
- type CronJobStatusPtrOutput
- func (o CronJobStatusPtrOutput) Active() corev1.ObjectReferenceArrayOutput
- func (o CronJobStatusPtrOutput) Elem() CronJobStatusOutput
- func (CronJobStatusPtrOutput) ElementType() reflect.Type
- func (o CronJobStatusPtrOutput) LastScheduleTime() pulumi.StringPtrOutput
- func (o CronJobStatusPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput
- func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
- func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
- func (o CronJobStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobStatus]
- type CronJobType
- type CronJobTypeArgs
- type CronJobTypeArray
- func (CronJobTypeArray) ElementType() reflect.Type
- func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
- func (i CronJobTypeArray) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput
- func (i CronJobTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]CronJobType]
- type CronJobTypeArrayInput
- type CronJobTypeArrayOutput
- func (CronJobTypeArrayOutput) ElementType() reflect.Type
- func (o CronJobTypeArrayOutput) Index(i pulumi.IntInput) CronJobTypeOutput
- func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
- func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput
- func (o CronJobTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CronJobType]
- type CronJobTypeInput
- type CronJobTypeOutput
- func (o CronJobTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (CronJobTypeOutput) ElementType() reflect.Type
- func (o CronJobTypeOutput) Kind() pulumi.StringPtrOutput
- func (o CronJobTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o CronJobTypeOutput) Spec() CronJobSpecPtrOutput
- func (o CronJobTypeOutput) Status() CronJobStatusPtrOutput
- func (o CronJobTypeOutput) ToCronJobTypeOutput() CronJobTypeOutput
- func (o CronJobTypeOutput) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput
- func (o CronJobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobType]
- type Job
- type JobArgs
- type JobArray
- type JobArrayInput
- type JobArrayOutput
- func (JobArrayOutput) ElementType() reflect.Type
- func (o JobArrayOutput) Index(i pulumi.IntInput) JobOutput
- func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput
- func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
- func (o JobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Job]
- type JobCondition
- type JobConditionArgs
- func (JobConditionArgs) ElementType() reflect.Type
- func (i JobConditionArgs) ToJobConditionOutput() JobConditionOutput
- func (i JobConditionArgs) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput
- func (i JobConditionArgs) ToOutput(ctx context.Context) pulumix.Output[JobCondition]
- type JobConditionArray
- func (JobConditionArray) ElementType() reflect.Type
- func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput
- func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput
- func (i JobConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]JobCondition]
- type JobConditionArrayInput
- type JobConditionArrayOutput
- func (JobConditionArrayOutput) ElementType() reflect.Type
- func (o JobConditionArrayOutput) Index(i pulumi.IntInput) JobConditionOutput
- func (o JobConditionArrayOutput) ToJobConditionArrayOutput() JobConditionArrayOutput
- func (o JobConditionArrayOutput) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput
- func (o JobConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobCondition]
- type JobConditionInput
- type JobConditionOutput
- func (JobConditionOutput) ElementType() reflect.Type
- func (o JobConditionOutput) LastProbeTime() pulumi.StringPtrOutput
- func (o JobConditionOutput) LastTransitionTime() pulumi.StringPtrOutput
- func (o JobConditionOutput) Message() pulumi.StringPtrOutput
- func (o JobConditionOutput) Reason() pulumi.StringPtrOutput
- func (o JobConditionOutput) Status() pulumi.StringOutput
- func (o JobConditionOutput) ToJobConditionOutput() JobConditionOutput
- func (o JobConditionOutput) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput
- func (o JobConditionOutput) ToOutput(ctx context.Context) pulumix.Output[JobCondition]
- func (o JobConditionOutput) Type() pulumi.StringOutput
- type JobConditionPatch
- type JobConditionPatchArgs
- func (JobConditionPatchArgs) ElementType() reflect.Type
- func (i JobConditionPatchArgs) ToJobConditionPatchOutput() JobConditionPatchOutput
- func (i JobConditionPatchArgs) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput
- func (i JobConditionPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobConditionPatch]
- type JobConditionPatchArray
- func (JobConditionPatchArray) ElementType() reflect.Type
- func (i JobConditionPatchArray) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput
- func (i JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput
- func (i JobConditionPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]JobConditionPatch]
- type JobConditionPatchArrayInput
- type JobConditionPatchArrayOutput
- func (JobConditionPatchArrayOutput) ElementType() reflect.Type
- func (o JobConditionPatchArrayOutput) Index(i pulumi.IntInput) JobConditionPatchOutput
- func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput
- func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput
- func (o JobConditionPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobConditionPatch]
- type JobConditionPatchInput
- type JobConditionPatchOutput
- func (JobConditionPatchOutput) ElementType() reflect.Type
- func (o JobConditionPatchOutput) LastProbeTime() pulumi.StringPtrOutput
- func (o JobConditionPatchOutput) LastTransitionTime() pulumi.StringPtrOutput
- func (o JobConditionPatchOutput) Message() pulumi.StringPtrOutput
- func (o JobConditionPatchOutput) Reason() pulumi.StringPtrOutput
- func (o JobConditionPatchOutput) Status() pulumi.StringPtrOutput
- func (o JobConditionPatchOutput) ToJobConditionPatchOutput() JobConditionPatchOutput
- func (o JobConditionPatchOutput) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput
- func (o JobConditionPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobConditionPatch]
- func (o JobConditionPatchOutput) Type() pulumi.StringPtrOutput
- type JobInput
- type JobList
- type JobListArgs
- type JobListArray
- type JobListArrayInput
- type JobListArrayOutput
- func (JobListArrayOutput) ElementType() reflect.Type
- func (o JobListArrayOutput) Index(i pulumi.IntInput) JobListOutput
- func (o JobListArrayOutput) ToJobListArrayOutput() JobListArrayOutput
- func (o JobListArrayOutput) ToJobListArrayOutputWithContext(ctx context.Context) JobListArrayOutput
- func (o JobListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*JobList]
- type JobListInput
- type JobListMap
- type JobListMapInput
- type JobListMapOutput
- func (JobListMapOutput) ElementType() reflect.Type
- func (o JobListMapOutput) MapIndex(k pulumi.StringInput) JobListOutput
- func (o JobListMapOutput) ToJobListMapOutput() JobListMapOutput
- func (o JobListMapOutput) ToJobListMapOutputWithContext(ctx context.Context) JobListMapOutput
- func (o JobListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobList]
- type JobListOutput
- func (o JobListOutput) ApiVersion() pulumi.StringOutput
- func (JobListOutput) ElementType() reflect.Type
- func (o JobListOutput) Items() JobTypeArrayOutput
- func (o JobListOutput) Kind() pulumi.StringOutput
- func (o JobListOutput) Metadata() metav1.ListMetaOutput
- func (o JobListOutput) ToJobListOutput() JobListOutput
- func (o JobListOutput) ToJobListOutputWithContext(ctx context.Context) JobListOutput
- func (o JobListOutput) ToOutput(ctx context.Context) pulumix.Output[*JobList]
- type JobListState
- type JobListType
- type JobListTypeArgs
- type JobListTypeInput
- type JobListTypeOutput
- func (o JobListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (JobListTypeOutput) ElementType() reflect.Type
- func (o JobListTypeOutput) Items() JobTypeArrayOutput
- func (o JobListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o JobListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o JobListTypeOutput) ToJobListTypeOutput() JobListTypeOutput
- func (o JobListTypeOutput) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput
- func (o JobListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobListType]
- type JobMap
- type JobMapInput
- type JobMapOutput
- func (JobMapOutput) ElementType() reflect.Type
- func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput
- func (o JobMapOutput) ToJobMapOutput() JobMapOutput
- func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
- func (o JobMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Job]
- type JobOutput
- func (o JobOutput) ApiVersion() pulumi.StringOutput
- func (JobOutput) ElementType() reflect.Type
- func (o JobOutput) Kind() pulumi.StringOutput
- func (o JobOutput) Metadata() metav1.ObjectMetaOutput
- func (o JobOutput) Spec() JobSpecOutput
- func (o JobOutput) Status() JobStatusPtrOutput
- func (o JobOutput) ToJobOutput() JobOutput
- func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput
- func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job]
- type JobPatch
- type JobPatchArgs
- type JobPatchArray
- type JobPatchArrayInput
- type JobPatchArrayOutput
- func (JobPatchArrayOutput) ElementType() reflect.Type
- func (o JobPatchArrayOutput) Index(i pulumi.IntInput) JobPatchOutput
- func (o JobPatchArrayOutput) ToJobPatchArrayOutput() JobPatchArrayOutput
- func (o JobPatchArrayOutput) ToJobPatchArrayOutputWithContext(ctx context.Context) JobPatchArrayOutput
- func (o JobPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*JobPatch]
- type JobPatchInput
- type JobPatchMap
- type JobPatchMapInput
- type JobPatchMapOutput
- func (JobPatchMapOutput) ElementType() reflect.Type
- func (o JobPatchMapOutput) MapIndex(k pulumi.StringInput) JobPatchOutput
- func (o JobPatchMapOutput) ToJobPatchMapOutput() JobPatchMapOutput
- func (o JobPatchMapOutput) ToJobPatchMapOutputWithContext(ctx context.Context) JobPatchMapOutput
- func (o JobPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobPatch]
- type JobPatchOutput
- func (o JobPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (JobPatchOutput) ElementType() reflect.Type
- func (o JobPatchOutput) Kind() pulumi.StringPtrOutput
- func (o JobPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o JobPatchOutput) Spec() JobSpecPatchPtrOutput
- func (o JobPatchOutput) Status() JobStatusPatchPtrOutput
- func (o JobPatchOutput) ToJobPatchOutput() JobPatchOutput
- func (o JobPatchOutput) ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput
- func (o JobPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*JobPatch]
- type JobPatchState
- type JobPatchType
- type JobPatchTypeArgs
- func (JobPatchTypeArgs) ElementType() reflect.Type
- func (i JobPatchTypeArgs) ToJobPatchTypeOutput() JobPatchTypeOutput
- func (i JobPatchTypeArgs) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput
- func (i JobPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[JobPatchType]
- type JobPatchTypeInput
- type JobPatchTypeOutput
- func (o JobPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (JobPatchTypeOutput) ElementType() reflect.Type
- func (o JobPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o JobPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o JobPatchTypeOutput) Spec() JobSpecPatchPtrOutput
- func (o JobPatchTypeOutput) Status() JobStatusPatchPtrOutput
- func (o JobPatchTypeOutput) ToJobPatchTypeOutput() JobPatchTypeOutput
- func (o JobPatchTypeOutput) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput
- func (o JobPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobPatchType]
- type JobSpec
- type JobSpecArgs
- func (JobSpecArgs) ElementType() reflect.Type
- func (i JobSpecArgs) ToJobSpecOutput() JobSpecOutput
- func (i JobSpecArgs) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
- func (i JobSpecArgs) ToJobSpecPtrOutput() JobSpecPtrOutput
- func (i JobSpecArgs) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
- func (i JobSpecArgs) ToOutput(ctx context.Context) pulumix.Output[JobSpec]
- type JobSpecInput
- type JobSpecOutput
- func (o JobSpecOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecOutput) BackoffLimit() pulumi.IntPtrOutput
- func (o JobSpecOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
- func (o JobSpecOutput) CompletionMode() pulumi.StringPtrOutput
- func (o JobSpecOutput) Completions() pulumi.IntPtrOutput
- func (JobSpecOutput) ElementType() reflect.Type
- func (o JobSpecOutput) ManualSelector() pulumi.BoolPtrOutput
- func (o JobSpecOutput) MaxFailedIndexes() pulumi.IntPtrOutput
- func (o JobSpecOutput) Parallelism() pulumi.IntPtrOutput
- func (o JobSpecOutput) PodFailurePolicy() PodFailurePolicyPtrOutput
- func (o JobSpecOutput) PodReplacementPolicy() pulumi.StringPtrOutput
- func (o JobSpecOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o JobSpecOutput) Suspend() pulumi.BoolPtrOutput
- func (o JobSpecOutput) Template() corev1.PodTemplateSpecOutput
- func (o JobSpecOutput) ToJobSpecOutput() JobSpecOutput
- func (o JobSpecOutput) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
- func (o JobSpecOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
- func (o JobSpecOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
- func (o JobSpecOutput) ToOutput(ctx context.Context) pulumix.Output[JobSpec]
- func (o JobSpecOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
- type JobSpecPatch
- type JobSpecPatchArgs
- func (JobSpecPatchArgs) ElementType() reflect.Type
- func (i JobSpecPatchArgs) ToJobSpecPatchOutput() JobSpecPatchOutput
- func (i JobSpecPatchArgs) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput
- func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
- func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
- func (i JobSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobSpecPatch]
- type JobSpecPatchInput
- type JobSpecPatchOutput
- func (o JobSpecPatchOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecPatchOutput) BackoffLimit() pulumi.IntPtrOutput
- func (o JobSpecPatchOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
- func (o JobSpecPatchOutput) CompletionMode() pulumi.StringPtrOutput
- func (o JobSpecPatchOutput) Completions() pulumi.IntPtrOutput
- func (JobSpecPatchOutput) ElementType() reflect.Type
- func (o JobSpecPatchOutput) ManualSelector() pulumi.BoolPtrOutput
- func (o JobSpecPatchOutput) MaxFailedIndexes() pulumi.IntPtrOutput
- func (o JobSpecPatchOutput) Parallelism() pulumi.IntPtrOutput
- func (o JobSpecPatchOutput) PodFailurePolicy() PodFailurePolicyPatchPtrOutput
- func (o JobSpecPatchOutput) PodReplacementPolicy() pulumi.StringPtrOutput
- func (o JobSpecPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o JobSpecPatchOutput) Suspend() pulumi.BoolPtrOutput
- func (o JobSpecPatchOutput) Template() corev1.PodTemplateSpecPatchPtrOutput
- func (o JobSpecPatchOutput) ToJobSpecPatchOutput() JobSpecPatchOutput
- func (o JobSpecPatchOutput) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput
- func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
- func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
- func (o JobSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobSpecPatch]
- func (o JobSpecPatchOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
- type JobSpecPatchPtrInput
- type JobSpecPatchPtrOutput
- func (o JobSpecPatchPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) BackoffLimit() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) CompletionMode() pulumi.StringPtrOutput
- func (o JobSpecPatchPtrOutput) Completions() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) Elem() JobSpecPatchOutput
- func (JobSpecPatchPtrOutput) ElementType() reflect.Type
- func (o JobSpecPatchPtrOutput) ManualSelector() pulumi.BoolPtrOutput
- func (o JobSpecPatchPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) Parallelism() pulumi.IntPtrOutput
- func (o JobSpecPatchPtrOutput) PodFailurePolicy() PodFailurePolicyPatchPtrOutput
- func (o JobSpecPatchPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput
- func (o JobSpecPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o JobSpecPatchPtrOutput) Suspend() pulumi.BoolPtrOutput
- func (o JobSpecPatchPtrOutput) Template() corev1.PodTemplateSpecPatchPtrOutput
- func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
- func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
- func (o JobSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobSpecPatch]
- func (o JobSpecPatchPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
- type JobSpecPtrInput
- type JobSpecPtrOutput
- func (o JobSpecPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) BackoffLimit() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) CompletionMode() pulumi.StringPtrOutput
- func (o JobSpecPtrOutput) Completions() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) Elem() JobSpecOutput
- func (JobSpecPtrOutput) ElementType() reflect.Type
- func (o JobSpecPtrOutput) ManualSelector() pulumi.BoolPtrOutput
- func (o JobSpecPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) Parallelism() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) PodFailurePolicy() PodFailurePolicyPtrOutput
- func (o JobSpecPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput
- func (o JobSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o JobSpecPtrOutput) Suspend() pulumi.BoolPtrOutput
- func (o JobSpecPtrOutput) Template() corev1.PodTemplateSpecPtrOutput
- func (o JobSpecPtrOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
- func (o JobSpecPtrOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
- func (o JobSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobSpec]
- func (o JobSpecPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
- type JobState
- type JobStatus
- type JobStatusArgs
- func (JobStatusArgs) ElementType() reflect.Type
- func (i JobStatusArgs) ToJobStatusOutput() JobStatusOutput
- func (i JobStatusArgs) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
- func (i JobStatusArgs) ToJobStatusPtrOutput() JobStatusPtrOutput
- func (i JobStatusArgs) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
- func (i JobStatusArgs) ToOutput(ctx context.Context) pulumix.Output[JobStatus]
- type JobStatusInput
- type JobStatusOutput
- func (o JobStatusOutput) Active() pulumi.IntPtrOutput
- func (o JobStatusOutput) CompletedIndexes() pulumi.StringPtrOutput
- func (o JobStatusOutput) CompletionTime() pulumi.StringPtrOutput
- func (o JobStatusOutput) Conditions() JobConditionArrayOutput
- func (JobStatusOutput) ElementType() reflect.Type
- func (o JobStatusOutput) Failed() pulumi.IntPtrOutput
- func (o JobStatusOutput) FailedIndexes() pulumi.StringPtrOutput
- func (o JobStatusOutput) Ready() pulumi.IntPtrOutput
- func (o JobStatusOutput) StartTime() pulumi.StringPtrOutput
- func (o JobStatusOutput) Succeeded() pulumi.IntPtrOutput
- func (o JobStatusOutput) Terminating() pulumi.IntPtrOutput
- func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput
- func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
- func (o JobStatusOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
- func (o JobStatusOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
- func (o JobStatusOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatus]
- func (o JobStatusOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
- type JobStatusPatch
- type JobStatusPatchArgs
- func (JobStatusPatchArgs) ElementType() reflect.Type
- func (i JobStatusPatchArgs) ToJobStatusPatchOutput() JobStatusPatchOutput
- func (i JobStatusPatchArgs) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput
- func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
- func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
- func (i JobStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobStatusPatch]
- type JobStatusPatchInput
- type JobStatusPatchOutput
- func (o JobStatusPatchOutput) Active() pulumi.IntPtrOutput
- func (o JobStatusPatchOutput) CompletedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPatchOutput) CompletionTime() pulumi.StringPtrOutput
- func (o JobStatusPatchOutput) Conditions() JobConditionPatchArrayOutput
- func (JobStatusPatchOutput) ElementType() reflect.Type
- func (o JobStatusPatchOutput) Failed() pulumi.IntPtrOutput
- func (o JobStatusPatchOutput) FailedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPatchOutput) Ready() pulumi.IntPtrOutput
- func (o JobStatusPatchOutput) StartTime() pulumi.StringPtrOutput
- func (o JobStatusPatchOutput) Succeeded() pulumi.IntPtrOutput
- func (o JobStatusPatchOutput) Terminating() pulumi.IntPtrOutput
- func (o JobStatusPatchOutput) ToJobStatusPatchOutput() JobStatusPatchOutput
- func (o JobStatusPatchOutput) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput
- func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
- func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
- func (o JobStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusPatch]
- func (o JobStatusPatchOutput) UncountedTerminatedPods() UncountedTerminatedPodsPatchPtrOutput
- type JobStatusPatchPtrInput
- type JobStatusPatchPtrOutput
- func (o JobStatusPatchPtrOutput) Active() pulumi.IntPtrOutput
- func (o JobStatusPatchPtrOutput) CompletedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPatchPtrOutput) CompletionTime() pulumi.StringPtrOutput
- func (o JobStatusPatchPtrOutput) Conditions() JobConditionPatchArrayOutput
- func (o JobStatusPatchPtrOutput) Elem() JobStatusPatchOutput
- func (JobStatusPatchPtrOutput) ElementType() reflect.Type
- func (o JobStatusPatchPtrOutput) Failed() pulumi.IntPtrOutput
- func (o JobStatusPatchPtrOutput) FailedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPatchPtrOutput) Ready() pulumi.IntPtrOutput
- func (o JobStatusPatchPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o JobStatusPatchPtrOutput) Succeeded() pulumi.IntPtrOutput
- func (o JobStatusPatchPtrOutput) Terminating() pulumi.IntPtrOutput
- func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
- func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
- func (o JobStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobStatusPatch]
- func (o JobStatusPatchPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPatchPtrOutput
- type JobStatusPtrInput
- type JobStatusPtrOutput
- func (o JobStatusPtrOutput) Active() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) CompletedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPtrOutput) CompletionTime() pulumi.StringPtrOutput
- func (o JobStatusPtrOutput) Conditions() JobConditionArrayOutput
- func (o JobStatusPtrOutput) Elem() JobStatusOutput
- func (JobStatusPtrOutput) ElementType() reflect.Type
- func (o JobStatusPtrOutput) Failed() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) FailedIndexes() pulumi.StringPtrOutput
- func (o JobStatusPtrOutput) Ready() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o JobStatusPtrOutput) Succeeded() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) Terminating() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
- func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
- func (o JobStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobStatus]
- func (o JobStatusPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
- type JobTemplateSpec
- type JobTemplateSpecArgs
- func (JobTemplateSpecArgs) ElementType() reflect.Type
- func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput
- func (i JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput
- func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
- func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
- func (i JobTemplateSpecArgs) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpec]
- type JobTemplateSpecInput
- type JobTemplateSpecOutput
- func (JobTemplateSpecOutput) ElementType() reflect.Type
- func (o JobTemplateSpecOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o JobTemplateSpecOutput) Spec() JobSpecPtrOutput
- func (o JobTemplateSpecOutput) ToJobTemplateSpecOutput() JobTemplateSpecOutput
- func (o JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput
- func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
- func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
- func (o JobTemplateSpecOutput) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpec]
- type JobTemplateSpecPatch
- type JobTemplateSpecPatchArgs
- func (JobTemplateSpecPatchArgs) ElementType() reflect.Type
- func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput
- func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput
- func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
- func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
- func (i JobTemplateSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpecPatch]
- type JobTemplateSpecPatchInput
- type JobTemplateSpecPatchOutput
- func (JobTemplateSpecPatchOutput) ElementType() reflect.Type
- func (o JobTemplateSpecPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o JobTemplateSpecPatchOutput) Spec() JobSpecPatchPtrOutput
- func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput
- func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput
- func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
- func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
- func (o JobTemplateSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpecPatch]
- type JobTemplateSpecPatchPtrInput
- type JobTemplateSpecPatchPtrOutput
- func (o JobTemplateSpecPatchPtrOutput) Elem() JobTemplateSpecPatchOutput
- func (JobTemplateSpecPatchPtrOutput) ElementType() reflect.Type
- func (o JobTemplateSpecPatchPtrOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o JobTemplateSpecPatchPtrOutput) Spec() JobSpecPatchPtrOutput
- func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
- func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
- func (o JobTemplateSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplateSpecPatch]
- type JobTemplateSpecPtrInput
- type JobTemplateSpecPtrOutput
- func (o JobTemplateSpecPtrOutput) Elem() JobTemplateSpecOutput
- func (JobTemplateSpecPtrOutput) ElementType() reflect.Type
- func (o JobTemplateSpecPtrOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o JobTemplateSpecPtrOutput) Spec() JobSpecPtrOutput
- func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
- func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
- func (o JobTemplateSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplateSpec]
- type JobType
- type JobTypeArgs
- type JobTypeArray
- type JobTypeArrayInput
- type JobTypeArrayOutput
- func (JobTypeArrayOutput) ElementType() reflect.Type
- func (o JobTypeArrayOutput) Index(i pulumi.IntInput) JobTypeOutput
- func (o JobTypeArrayOutput) ToJobTypeArrayOutput() JobTypeArrayOutput
- func (o JobTypeArrayOutput) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput
- func (o JobTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobType]
- type JobTypeInput
- type JobTypeOutput
- func (o JobTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (JobTypeOutput) ElementType() reflect.Type
- func (o JobTypeOutput) Kind() pulumi.StringPtrOutput
- func (o JobTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o JobTypeOutput) Spec() JobSpecPtrOutput
- func (o JobTypeOutput) Status() JobStatusPtrOutput
- func (o JobTypeOutput) ToJobTypeOutput() JobTypeOutput
- func (o JobTypeOutput) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput
- func (o JobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobType]
- type PodFailurePolicy
- type PodFailurePolicyArgs
- func (PodFailurePolicyArgs) ElementType() reflect.Type
- func (i PodFailurePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicy]
- func (i PodFailurePolicyArgs) ToPodFailurePolicyOutput() PodFailurePolicyOutput
- func (i PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput
- func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
- func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
- type PodFailurePolicyInput
- type PodFailurePolicyOnExitCodesRequirement
- type PodFailurePolicyOnExitCodesRequirementArgs
- func (PodFailurePolicyOnExitCodesRequirementArgs) ElementType() reflect.Type
- func (i PodFailurePolicyOnExitCodesRequirementArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirement]
- func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput
- func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput
- func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
- type PodFailurePolicyOnExitCodesRequirementInput
- type PodFailurePolicyOnExitCodesRequirementOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ContainerName() pulumi.StringPtrOutput
- func (PodFailurePolicyOnExitCodesRequirementOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnExitCodesRequirementOutput) Operator() pulumi.StringOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirement]
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementOutput) Values() pulumi.IntArrayOutput
- type PodFailurePolicyOnExitCodesRequirementPatch
- type PodFailurePolicyOnExitCodesRequirementPatchArgs
- func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ElementType() reflect.Type
- func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirementPatch]
- func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- type PodFailurePolicyOnExitCodesRequirementPatchInput
- type PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ContainerName() pulumi.StringPtrOutput
- func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) Operator() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirementPatch]
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) Values() pulumi.IntArrayOutput
- type PodFailurePolicyOnExitCodesRequirementPatchPtrInput
- type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Elem() PodFailurePolicyOnExitCodesRequirementPatchOutput
- func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Operator() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicyOnExitCodesRequirementPatch]
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Values() pulumi.IntArrayOutput
- type PodFailurePolicyOnExitCodesRequirementPtrInput
- type PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ContainerName() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) Elem() PodFailurePolicyOnExitCodesRequirementOutput
- func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) Operator() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicyOnExitCodesRequirement]
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) Values() pulumi.IntArrayOutput
- type PodFailurePolicyOnPodConditionsPattern
- type PodFailurePolicyOnPodConditionsPatternArgs
- func (PodFailurePolicyOnPodConditionsPatternArgs) ElementType() reflect.Type
- func (i PodFailurePolicyOnPodConditionsPatternArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPattern]
- func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput
- func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput
- type PodFailurePolicyOnPodConditionsPatternArray
- func (PodFailurePolicyOnPodConditionsPatternArray) ElementType() reflect.Type
- func (i PodFailurePolicyOnPodConditionsPatternArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPattern]
- func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput
- func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput
- type PodFailurePolicyOnPodConditionsPatternArrayInput
- type PodFailurePolicyOnPodConditionsPatternArrayOutput
- func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyOnPodConditionsPatternOutput
- func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPattern]
- func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput
- func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput
- type PodFailurePolicyOnPodConditionsPatternInput
- type PodFailurePolicyOnPodConditionsPatternOutput
- func (PodFailurePolicyOnPodConditionsPatternOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnPodConditionsPatternOutput) Status() pulumi.StringOutput
- func (o PodFailurePolicyOnPodConditionsPatternOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPattern]
- func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput
- func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput
- func (o PodFailurePolicyOnPodConditionsPatternOutput) Type() pulumi.StringOutput
- type PodFailurePolicyOnPodConditionsPatternPatch
- type PodFailurePolicyOnPodConditionsPatternPatchArgs
- func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ElementType() reflect.Type
- func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPatternPatch]
- func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput
- func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput
- type PodFailurePolicyOnPodConditionsPatternPatchArray
- func (PodFailurePolicyOnPodConditionsPatternPatchArray) ElementType() reflect.Type
- func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPatternPatch]
- func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- type PodFailurePolicyOnPodConditionsPatternPatchArrayInput
- type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyOnPodConditionsPatternPatchOutput
- func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPatternPatch]
- func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- type PodFailurePolicyOnPodConditionsPatternPatchInput
- type PodFailurePolicyOnPodConditionsPatternPatchOutput
- func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) Status() pulumi.StringPtrOutput
- func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPatternPatch]
- func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput
- func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput
- func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) Type() pulumi.StringPtrOutput
- type PodFailurePolicyOutput
- func (PodFailurePolicyOutput) ElementType() reflect.Type
- func (o PodFailurePolicyOutput) Rules() PodFailurePolicyRuleArrayOutput
- func (o PodFailurePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicy]
- func (o PodFailurePolicyOutput) ToPodFailurePolicyOutput() PodFailurePolicyOutput
- func (o PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput
- func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
- func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
- type PodFailurePolicyPatch
- type PodFailurePolicyPatchArgs
- func (PodFailurePolicyPatchArgs) ElementType() reflect.Type
- func (i PodFailurePolicyPatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyPatch]
- func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput
- func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput
- func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
- func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
- type PodFailurePolicyPatchInput
- type PodFailurePolicyPatchOutput
- func (PodFailurePolicyPatchOutput) ElementType() reflect.Type
- func (o PodFailurePolicyPatchOutput) Rules() PodFailurePolicyRulePatchArrayOutput
- func (o PodFailurePolicyPatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyPatch]
- func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput
- func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput
- func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
- func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
- type PodFailurePolicyPatchPtrInput
- type PodFailurePolicyPatchPtrOutput
- func (o PodFailurePolicyPatchPtrOutput) Elem() PodFailurePolicyPatchOutput
- func (PodFailurePolicyPatchPtrOutput) ElementType() reflect.Type
- func (o PodFailurePolicyPatchPtrOutput) Rules() PodFailurePolicyRulePatchArrayOutput
- func (o PodFailurePolicyPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicyPatch]
- func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
- func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
- type PodFailurePolicyPtrInput
- type PodFailurePolicyPtrOutput
- func (o PodFailurePolicyPtrOutput) Elem() PodFailurePolicyOutput
- func (PodFailurePolicyPtrOutput) ElementType() reflect.Type
- func (o PodFailurePolicyPtrOutput) Rules() PodFailurePolicyRuleArrayOutput
- func (o PodFailurePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicy]
- func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
- func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
- type PodFailurePolicyRule
- type PodFailurePolicyRuleArgs
- func (PodFailurePolicyRuleArgs) ElementType() reflect.Type
- func (i PodFailurePolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRule]
- func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput
- func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput
- type PodFailurePolicyRuleArray
- func (PodFailurePolicyRuleArray) ElementType() reflect.Type
- func (i PodFailurePolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRule]
- func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput
- func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput
- type PodFailurePolicyRuleArrayInput
- type PodFailurePolicyRuleArrayOutput
- func (PodFailurePolicyRuleArrayOutput) ElementType() reflect.Type
- func (o PodFailurePolicyRuleArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyRuleOutput
- func (o PodFailurePolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRule]
- func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput
- func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput
- type PodFailurePolicyRuleInput
- type PodFailurePolicyRuleOutput
- func (o PodFailurePolicyRuleOutput) Action() pulumi.StringOutput
- func (PodFailurePolicyRuleOutput) ElementType() reflect.Type
- func (o PodFailurePolicyRuleOutput) OnExitCodes() PodFailurePolicyOnExitCodesRequirementPtrOutput
- func (o PodFailurePolicyRuleOutput) OnPodConditions() PodFailurePolicyOnPodConditionsPatternArrayOutput
- func (o PodFailurePolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRule]
- func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput
- func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput
- type PodFailurePolicyRulePatch
- type PodFailurePolicyRulePatchArgs
- func (PodFailurePolicyRulePatchArgs) ElementType() reflect.Type
- func (i PodFailurePolicyRulePatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRulePatch]
- func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput
- func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput
- type PodFailurePolicyRulePatchArray
- func (PodFailurePolicyRulePatchArray) ElementType() reflect.Type
- func (i PodFailurePolicyRulePatchArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRulePatch]
- func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput
- func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput
- type PodFailurePolicyRulePatchArrayInput
- type PodFailurePolicyRulePatchArrayOutput
- func (PodFailurePolicyRulePatchArrayOutput) ElementType() reflect.Type
- func (o PodFailurePolicyRulePatchArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyRulePatchOutput
- func (o PodFailurePolicyRulePatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRulePatch]
- func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput
- func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput
- type PodFailurePolicyRulePatchInput
- type PodFailurePolicyRulePatchOutput
- func (o PodFailurePolicyRulePatchOutput) Action() pulumi.StringPtrOutput
- func (PodFailurePolicyRulePatchOutput) ElementType() reflect.Type
- func (o PodFailurePolicyRulePatchOutput) OnExitCodes() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
- func (o PodFailurePolicyRulePatchOutput) OnPodConditions() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
- func (o PodFailurePolicyRulePatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRulePatch]
- func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput
- func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput
- type UncountedTerminatedPods
- type UncountedTerminatedPodsArgs
- func (UncountedTerminatedPodsArgs) ElementType() reflect.Type
- func (i UncountedTerminatedPodsArgs) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPods]
- func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
- func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
- func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
- func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
- type UncountedTerminatedPodsInput
- type UncountedTerminatedPodsOutput
- func (UncountedTerminatedPodsOutput) ElementType() reflect.Type
- func (o UncountedTerminatedPodsOutput) Failed() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsOutput) Succeeded() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsOutput) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPods]
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
- type UncountedTerminatedPodsPatch
- type UncountedTerminatedPodsPatchArgs
- func (UncountedTerminatedPodsPatchArgs) ElementType() reflect.Type
- func (i UncountedTerminatedPodsPatchArgs) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPodsPatch]
- func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput
- func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput
- func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
- func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
- type UncountedTerminatedPodsPatchInput
- type UncountedTerminatedPodsPatchOutput
- func (UncountedTerminatedPodsPatchOutput) ElementType() reflect.Type
- func (o UncountedTerminatedPodsPatchOutput) Failed() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPatchOutput) Succeeded() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPatchOutput) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPodsPatch]
- func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput
- func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput
- func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
- func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
- type UncountedTerminatedPodsPatchPtrInput
- type UncountedTerminatedPodsPatchPtrOutput
- func (o UncountedTerminatedPodsPatchPtrOutput) Elem() UncountedTerminatedPodsPatchOutput
- func (UncountedTerminatedPodsPatchPtrOutput) ElementType() reflect.Type
- func (o UncountedTerminatedPodsPatchPtrOutput) Failed() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPatchPtrOutput) Succeeded() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UncountedTerminatedPodsPatch]
- func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
- func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
- type UncountedTerminatedPodsPtrInput
- type UncountedTerminatedPodsPtrOutput
- func (o UncountedTerminatedPodsPtrOutput) Elem() UncountedTerminatedPodsOutput
- func (UncountedTerminatedPodsPtrOutput) ElementType() reflect.Type
- func (o UncountedTerminatedPodsPtrOutput) Failed() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPtrOutput) Succeeded() pulumi.StringArrayOutput
- func (o UncountedTerminatedPodsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UncountedTerminatedPods]
- func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
- func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronJob ¶
type CronJob struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecOutput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPtrOutput `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
func GetCronJob ¶
func GetCronJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CronJobState, opts ...pulumi.ResourceOption) (*CronJob, error)
GetCronJob gets an existing CronJob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCronJob ¶
func NewCronJob(ctx *pulumi.Context, name string, args *CronJobArgs, opts ...pulumi.ResourceOption) (*CronJob, error)
NewCronJob registers a new resource with the given unique name, arguments, and options.
func (*CronJob) ElementType ¶
func (*CronJob) ToCronJobOutput ¶
func (i *CronJob) ToCronJobOutput() CronJobOutput
func (*CronJob) ToCronJobOutputWithContext ¶
func (i *CronJob) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
type CronJobArgs ¶
type CronJobArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPtrInput }
The set of arguments for constructing a CronJob resource.
func (CronJobArgs) ElementType ¶
func (CronJobArgs) ElementType() reflect.Type
type CronJobArray ¶
type CronJobArray []CronJobInput
func (CronJobArray) ElementType ¶
func (CronJobArray) ElementType() reflect.Type
func (CronJobArray) ToCronJobArrayOutput ¶
func (i CronJobArray) ToCronJobArrayOutput() CronJobArrayOutput
func (CronJobArray) ToCronJobArrayOutputWithContext ¶
func (i CronJobArray) ToCronJobArrayOutputWithContext(ctx context.Context) CronJobArrayOutput
type CronJobArrayInput ¶
type CronJobArrayInput interface { pulumi.Input ToCronJobArrayOutput() CronJobArrayOutput ToCronJobArrayOutputWithContext(context.Context) CronJobArrayOutput }
CronJobArrayInput is an input type that accepts CronJobArray and CronJobArrayOutput values. You can construct a concrete instance of `CronJobArrayInput` via:
CronJobArray{ CronJobArgs{...} }
type CronJobArrayOutput ¶
type CronJobArrayOutput struct{ *pulumi.OutputState }
func (CronJobArrayOutput) ElementType ¶
func (CronJobArrayOutput) ElementType() reflect.Type
func (CronJobArrayOutput) Index ¶
func (o CronJobArrayOutput) Index(i pulumi.IntInput) CronJobOutput
func (CronJobArrayOutput) ToCronJobArrayOutput ¶
func (o CronJobArrayOutput) ToCronJobArrayOutput() CronJobArrayOutput
func (CronJobArrayOutput) ToCronJobArrayOutputWithContext ¶
func (o CronJobArrayOutput) ToCronJobArrayOutputWithContext(ctx context.Context) CronJobArrayOutput
type CronJobInput ¶
type CronJobInput interface { pulumi.Input ToCronJobOutput() CronJobOutput ToCronJobOutputWithContext(ctx context.Context) CronJobOutput }
type CronJobList ¶
type CronJobList struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // items is the list of CronJobs. Items CronJobTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
func GetCronJobList ¶
func GetCronJobList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CronJobListState, opts ...pulumi.ResourceOption) (*CronJobList, error)
GetCronJobList gets an existing CronJobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCronJobList ¶
func NewCronJobList(ctx *pulumi.Context, name string, args *CronJobListArgs, opts ...pulumi.ResourceOption) (*CronJobList, error)
NewCronJobList registers a new resource with the given unique name, arguments, and options.
func (*CronJobList) ElementType ¶
func (*CronJobList) ElementType() reflect.Type
func (*CronJobList) ToCronJobListOutput ¶
func (i *CronJobList) ToCronJobListOutput() CronJobListOutput
func (*CronJobList) ToCronJobListOutputWithContext ¶
func (i *CronJobList) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
func (*CronJobList) ToOutput ¶ added in v4.2.0
func (i *CronJobList) ToOutput(ctx context.Context) pulumix.Output[*CronJobList]
type CronJobListArgs ¶
type CronJobListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of CronJobs. Items CronJobTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a CronJobList resource.
func (CronJobListArgs) ElementType ¶
func (CronJobListArgs) ElementType() reflect.Type
type CronJobListArray ¶
type CronJobListArray []CronJobListInput
func (CronJobListArray) ElementType ¶
func (CronJobListArray) ElementType() reflect.Type
func (CronJobListArray) ToCronJobListArrayOutput ¶
func (i CronJobListArray) ToCronJobListArrayOutput() CronJobListArrayOutput
func (CronJobListArray) ToCronJobListArrayOutputWithContext ¶
func (i CronJobListArray) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput
func (CronJobListArray) ToOutput ¶ added in v4.2.0
func (i CronJobListArray) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobList]
type CronJobListArrayInput ¶
type CronJobListArrayInput interface { pulumi.Input ToCronJobListArrayOutput() CronJobListArrayOutput ToCronJobListArrayOutputWithContext(context.Context) CronJobListArrayOutput }
CronJobListArrayInput is an input type that accepts CronJobListArray and CronJobListArrayOutput values. You can construct a concrete instance of `CronJobListArrayInput` via:
CronJobListArray{ CronJobListArgs{...} }
type CronJobListArrayOutput ¶
type CronJobListArrayOutput struct{ *pulumi.OutputState }
func (CronJobListArrayOutput) ElementType ¶
func (CronJobListArrayOutput) ElementType() reflect.Type
func (CronJobListArrayOutput) Index ¶
func (o CronJobListArrayOutput) Index(i pulumi.IntInput) CronJobListOutput
func (CronJobListArrayOutput) ToCronJobListArrayOutput ¶
func (o CronJobListArrayOutput) ToCronJobListArrayOutput() CronJobListArrayOutput
func (CronJobListArrayOutput) ToCronJobListArrayOutputWithContext ¶
func (o CronJobListArrayOutput) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput
func (CronJobListArrayOutput) ToOutput ¶ added in v4.2.0
func (o CronJobListArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobList]
type CronJobListInput ¶
type CronJobListInput interface { pulumi.Input ToCronJobListOutput() CronJobListOutput ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput }
type CronJobListMap ¶
type CronJobListMap map[string]CronJobListInput
func (CronJobListMap) ElementType ¶
func (CronJobListMap) ElementType() reflect.Type
func (CronJobListMap) ToCronJobListMapOutput ¶
func (i CronJobListMap) ToCronJobListMapOutput() CronJobListMapOutput
func (CronJobListMap) ToCronJobListMapOutputWithContext ¶
func (i CronJobListMap) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput
func (CronJobListMap) ToOutput ¶ added in v4.2.0
func (i CronJobListMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobList]
type CronJobListMapInput ¶
type CronJobListMapInput interface { pulumi.Input ToCronJobListMapOutput() CronJobListMapOutput ToCronJobListMapOutputWithContext(context.Context) CronJobListMapOutput }
CronJobListMapInput is an input type that accepts CronJobListMap and CronJobListMapOutput values. You can construct a concrete instance of `CronJobListMapInput` via:
CronJobListMap{ "key": CronJobListArgs{...} }
type CronJobListMapOutput ¶
type CronJobListMapOutput struct{ *pulumi.OutputState }
func (CronJobListMapOutput) ElementType ¶
func (CronJobListMapOutput) ElementType() reflect.Type
func (CronJobListMapOutput) MapIndex ¶
func (o CronJobListMapOutput) MapIndex(k pulumi.StringInput) CronJobListOutput
func (CronJobListMapOutput) ToCronJobListMapOutput ¶
func (o CronJobListMapOutput) ToCronJobListMapOutput() CronJobListMapOutput
func (CronJobListMapOutput) ToCronJobListMapOutputWithContext ¶
func (o CronJobListMapOutput) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput
func (CronJobListMapOutput) ToOutput ¶ added in v4.2.0
func (o CronJobListMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobList]
type CronJobListOutput ¶
type CronJobListOutput struct{ *pulumi.OutputState }
func (CronJobListOutput) ApiVersion ¶
func (o CronJobListOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (CronJobListOutput) ElementType ¶
func (CronJobListOutput) ElementType() reflect.Type
func (CronJobListOutput) Items ¶
func (o CronJobListOutput) Items() CronJobTypeArrayOutput
items is the list of CronJobs.
func (CronJobListOutput) Kind ¶
func (o CronJobListOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobListOutput) Metadata ¶
func (o CronJobListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobListOutput) ToCronJobListOutput ¶
func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput
func (CronJobListOutput) ToCronJobListOutputWithContext ¶
func (o CronJobListOutput) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
func (CronJobListOutput) ToOutput ¶ added in v4.2.0
func (o CronJobListOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobList]
type CronJobListState ¶
type CronJobListState struct { }
func (CronJobListState) ElementType ¶
func (CronJobListState) ElementType() reflect.Type
type CronJobListType ¶
type CronJobListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of CronJobs. Items []CronJobType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
type CronJobListTypeArgs ¶
type CronJobListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of CronJobs. Items CronJobTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
func (CronJobListTypeArgs) ElementType ¶
func (CronJobListTypeArgs) ElementType() reflect.Type
func (CronJobListTypeArgs) ToCronJobListTypeOutput ¶
func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput
func (CronJobListTypeArgs) ToCronJobListTypeOutputWithContext ¶
func (i CronJobListTypeArgs) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput
func (CronJobListTypeArgs) ToOutput ¶ added in v4.2.0
func (i CronJobListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobListType]
type CronJobListTypeInput ¶
type CronJobListTypeInput interface { pulumi.Input ToCronJobListTypeOutput() CronJobListTypeOutput ToCronJobListTypeOutputWithContext(context.Context) CronJobListTypeOutput }
CronJobListTypeInput is an input type that accepts CronJobListTypeArgs and CronJobListTypeOutput values. You can construct a concrete instance of `CronJobListTypeInput` via:
CronJobListTypeArgs{...}
type CronJobListTypeOutput ¶
type CronJobListTypeOutput struct{ *pulumi.OutputState }
CronJobList is a collection of cron jobs.
func (CronJobListTypeOutput) ApiVersion ¶
func (o CronJobListTypeOutput) 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 (CronJobListTypeOutput) ElementType ¶
func (CronJobListTypeOutput) ElementType() reflect.Type
func (CronJobListTypeOutput) Items ¶
func (o CronJobListTypeOutput) Items() CronJobTypeArrayOutput
items is the list of CronJobs.
func (CronJobListTypeOutput) Kind ¶
func (o CronJobListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobListTypeOutput) Metadata ¶
func (o CronJobListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobListTypeOutput) ToCronJobListTypeOutput ¶
func (o CronJobListTypeOutput) ToCronJobListTypeOutput() CronJobListTypeOutput
func (CronJobListTypeOutput) ToCronJobListTypeOutputWithContext ¶
func (o CronJobListTypeOutput) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput
func (CronJobListTypeOutput) ToOutput ¶ added in v4.2.0
func (o CronJobListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobListType]
type CronJobMap ¶
type CronJobMap map[string]CronJobInput
func (CronJobMap) ElementType ¶
func (CronJobMap) ElementType() reflect.Type
func (CronJobMap) ToCronJobMapOutput ¶
func (i CronJobMap) ToCronJobMapOutput() CronJobMapOutput
func (CronJobMap) ToCronJobMapOutputWithContext ¶
func (i CronJobMap) ToCronJobMapOutputWithContext(ctx context.Context) CronJobMapOutput
type CronJobMapInput ¶
type CronJobMapInput interface { pulumi.Input ToCronJobMapOutput() CronJobMapOutput ToCronJobMapOutputWithContext(context.Context) CronJobMapOutput }
CronJobMapInput is an input type that accepts CronJobMap and CronJobMapOutput values. You can construct a concrete instance of `CronJobMapInput` via:
CronJobMap{ "key": CronJobArgs{...} }
type CronJobMapOutput ¶
type CronJobMapOutput struct{ *pulumi.OutputState }
func (CronJobMapOutput) ElementType ¶
func (CronJobMapOutput) ElementType() reflect.Type
func (CronJobMapOutput) MapIndex ¶
func (o CronJobMapOutput) MapIndex(k pulumi.StringInput) CronJobOutput
func (CronJobMapOutput) ToCronJobMapOutput ¶
func (o CronJobMapOutput) ToCronJobMapOutput() CronJobMapOutput
func (CronJobMapOutput) ToCronJobMapOutputWithContext ¶
func (o CronJobMapOutput) ToCronJobMapOutputWithContext(ctx context.Context) CronJobMapOutput
type CronJobOutput ¶
type CronJobOutput struct{ *pulumi.OutputState }
func (CronJobOutput) ApiVersion ¶
func (o CronJobOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (CronJobOutput) ElementType ¶
func (CronJobOutput) ElementType() reflect.Type
func (CronJobOutput) Kind ¶
func (o CronJobOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobOutput) Metadata ¶
func (o CronJobOutput) Metadata() metav1.ObjectMetaOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobOutput) Spec ¶
func (o CronJobOutput) Spec() CronJobSpecOutput
Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobOutput) Status ¶
func (o CronJobOutput) Status() CronJobStatusPtrOutput
Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobOutput) ToCronJobOutput ¶
func (o CronJobOutput) ToCronJobOutput() CronJobOutput
func (CronJobOutput) ToCronJobOutputWithContext ¶
func (o CronJobOutput) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
type CronJobPatch ¶
type CronJobPatch struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPatchPtrOutput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPatchPtrOutput `pulumi:"status"` }
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. CronJob represents the configuration of a single cron job.
func GetCronJobPatch ¶
func GetCronJobPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CronJobPatchState, opts ...pulumi.ResourceOption) (*CronJobPatch, error)
GetCronJobPatch gets an existing CronJobPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCronJobPatch ¶
func NewCronJobPatch(ctx *pulumi.Context, name string, args *CronJobPatchArgs, opts ...pulumi.ResourceOption) (*CronJobPatch, error)
NewCronJobPatch registers a new resource with the given unique name, arguments, and options.
func (*CronJobPatch) ElementType ¶
func (*CronJobPatch) ElementType() reflect.Type
func (*CronJobPatch) ToCronJobPatchOutput ¶
func (i *CronJobPatch) ToCronJobPatchOutput() CronJobPatchOutput
func (*CronJobPatch) ToCronJobPatchOutputWithContext ¶
func (i *CronJobPatch) ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput
func (*CronJobPatch) ToOutput ¶ added in v4.2.0
func (i *CronJobPatch) ToOutput(ctx context.Context) pulumix.Output[*CronJobPatch]
type CronJobPatchArgs ¶
type CronJobPatchArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPatchPtrInput }
The set of arguments for constructing a CronJobPatch resource.
func (CronJobPatchArgs) ElementType ¶
func (CronJobPatchArgs) ElementType() reflect.Type
type CronJobPatchArray ¶
type CronJobPatchArray []CronJobPatchInput
func (CronJobPatchArray) ElementType ¶
func (CronJobPatchArray) ElementType() reflect.Type
func (CronJobPatchArray) ToCronJobPatchArrayOutput ¶
func (i CronJobPatchArray) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput
func (CronJobPatchArray) ToCronJobPatchArrayOutputWithContext ¶
func (i CronJobPatchArray) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput
func (CronJobPatchArray) ToOutput ¶ added in v4.2.0
func (i CronJobPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobPatch]
type CronJobPatchArrayInput ¶
type CronJobPatchArrayInput interface { pulumi.Input ToCronJobPatchArrayOutput() CronJobPatchArrayOutput ToCronJobPatchArrayOutputWithContext(context.Context) CronJobPatchArrayOutput }
CronJobPatchArrayInput is an input type that accepts CronJobPatchArray and CronJobPatchArrayOutput values. You can construct a concrete instance of `CronJobPatchArrayInput` via:
CronJobPatchArray{ CronJobPatchArgs{...} }
type CronJobPatchArrayOutput ¶
type CronJobPatchArrayOutput struct{ *pulumi.OutputState }
func (CronJobPatchArrayOutput) ElementType ¶
func (CronJobPatchArrayOutput) ElementType() reflect.Type
func (CronJobPatchArrayOutput) Index ¶
func (o CronJobPatchArrayOutput) Index(i pulumi.IntInput) CronJobPatchOutput
func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutput ¶
func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutput() CronJobPatchArrayOutput
func (CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext ¶
func (o CronJobPatchArrayOutput) ToCronJobPatchArrayOutputWithContext(ctx context.Context) CronJobPatchArrayOutput
func (CronJobPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o CronJobPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CronJobPatch]
type CronJobPatchInput ¶
type CronJobPatchInput interface { pulumi.Input ToCronJobPatchOutput() CronJobPatchOutput ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput }
type CronJobPatchMap ¶
type CronJobPatchMap map[string]CronJobPatchInput
func (CronJobPatchMap) ElementType ¶
func (CronJobPatchMap) ElementType() reflect.Type
func (CronJobPatchMap) ToCronJobPatchMapOutput ¶
func (i CronJobPatchMap) ToCronJobPatchMapOutput() CronJobPatchMapOutput
func (CronJobPatchMap) ToCronJobPatchMapOutputWithContext ¶
func (i CronJobPatchMap) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput
func (CronJobPatchMap) ToOutput ¶ added in v4.2.0
func (i CronJobPatchMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobPatch]
type CronJobPatchMapInput ¶
type CronJobPatchMapInput interface { pulumi.Input ToCronJobPatchMapOutput() CronJobPatchMapOutput ToCronJobPatchMapOutputWithContext(context.Context) CronJobPatchMapOutput }
CronJobPatchMapInput is an input type that accepts CronJobPatchMap and CronJobPatchMapOutput values. You can construct a concrete instance of `CronJobPatchMapInput` via:
CronJobPatchMap{ "key": CronJobPatchArgs{...} }
type CronJobPatchMapOutput ¶
type CronJobPatchMapOutput struct{ *pulumi.OutputState }
func (CronJobPatchMapOutput) ElementType ¶
func (CronJobPatchMapOutput) ElementType() reflect.Type
func (CronJobPatchMapOutput) MapIndex ¶
func (o CronJobPatchMapOutput) MapIndex(k pulumi.StringInput) CronJobPatchOutput
func (CronJobPatchMapOutput) ToCronJobPatchMapOutput ¶
func (o CronJobPatchMapOutput) ToCronJobPatchMapOutput() CronJobPatchMapOutput
func (CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext ¶
func (o CronJobPatchMapOutput) ToCronJobPatchMapOutputWithContext(ctx context.Context) CronJobPatchMapOutput
func (CronJobPatchMapOutput) ToOutput ¶ added in v4.2.0
func (o CronJobPatchMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CronJobPatch]
type CronJobPatchOutput ¶
type CronJobPatchOutput struct{ *pulumi.OutputState }
func (CronJobPatchOutput) ApiVersion ¶
func (o CronJobPatchOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (CronJobPatchOutput) ElementType ¶
func (CronJobPatchOutput) ElementType() reflect.Type
func (CronJobPatchOutput) Kind ¶
func (o CronJobPatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobPatchOutput) Metadata ¶
func (o CronJobPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobPatchOutput) Spec ¶
func (o CronJobPatchOutput) Spec() CronJobSpecPatchPtrOutput
Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobPatchOutput) Status ¶
func (o CronJobPatchOutput) Status() CronJobStatusPatchPtrOutput
Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobPatchOutput) ToCronJobPatchOutput ¶
func (o CronJobPatchOutput) ToCronJobPatchOutput() CronJobPatchOutput
func (CronJobPatchOutput) ToCronJobPatchOutputWithContext ¶
func (o CronJobPatchOutput) ToCronJobPatchOutputWithContext(ctx context.Context) CronJobPatchOutput
func (CronJobPatchOutput) ToOutput ¶ added in v4.2.0
func (o CronJobPatchOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobPatch]
type CronJobPatchState ¶
type CronJobPatchState struct { }
func (CronJobPatchState) ElementType ¶
func (CronJobPatchState) ElementType() reflect.Type
type CronJobPatchType ¶
type CronJobPatchType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *CronJobSpecPatch `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *CronJobStatusPatch `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
type CronJobPatchTypeArgs ¶
type CronJobPatchTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPatchPtrInput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPatchPtrInput `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
func (CronJobPatchTypeArgs) ElementType ¶
func (CronJobPatchTypeArgs) ElementType() reflect.Type
func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutput ¶
func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput
func (CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext ¶
func (i CronJobPatchTypeArgs) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput
func (CronJobPatchTypeArgs) ToOutput ¶ added in v4.2.0
func (i CronJobPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobPatchType]
type CronJobPatchTypeInput ¶
type CronJobPatchTypeInput interface { pulumi.Input ToCronJobPatchTypeOutput() CronJobPatchTypeOutput ToCronJobPatchTypeOutputWithContext(context.Context) CronJobPatchTypeOutput }
CronJobPatchTypeInput is an input type that accepts CronJobPatchTypeArgs and CronJobPatchTypeOutput values. You can construct a concrete instance of `CronJobPatchTypeInput` via:
CronJobPatchTypeArgs{...}
type CronJobPatchTypeOutput ¶
type CronJobPatchTypeOutput struct{ *pulumi.OutputState }
CronJob represents the configuration of a single cron job.
func (CronJobPatchTypeOutput) ApiVersion ¶
func (o CronJobPatchTypeOutput) 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 (CronJobPatchTypeOutput) ElementType ¶
func (CronJobPatchTypeOutput) ElementType() reflect.Type
func (CronJobPatchTypeOutput) Kind ¶
func (o CronJobPatchTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobPatchTypeOutput) Metadata ¶
func (o CronJobPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobPatchTypeOutput) Spec ¶
func (o CronJobPatchTypeOutput) Spec() CronJobSpecPatchPtrOutput
Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobPatchTypeOutput) Status ¶
func (o CronJobPatchTypeOutput) Status() CronJobStatusPatchPtrOutput
Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutput ¶
func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutput() CronJobPatchTypeOutput
func (CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext ¶
func (o CronJobPatchTypeOutput) ToCronJobPatchTypeOutputWithContext(ctx context.Context) CronJobPatchTypeOutput
func (CronJobPatchTypeOutput) ToOutput ¶ added in v4.2.0
func (o CronJobPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobPatchType]
type CronJobSpec ¶
type CronJobSpec struct { // Specifies how to treat concurrent executions of a Job. Valid values are: // // - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one ConcurrencyPolicy *string `pulumi:"concurrencyPolicy"` // The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. FailedJobsHistoryLimit *int `pulumi:"failedJobsHistoryLimit"` // Specifies the job that will be created when executing a CronJob. JobTemplate JobTemplateSpec `pulumi:"jobTemplate"` // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule string `pulumi:"schedule"` // Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. StartingDeadlineSeconds *int `pulumi:"startingDeadlineSeconds"` // The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. SuccessfulJobsHistoryLimit *int `pulumi:"successfulJobsHistoryLimit"` // This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. Suspend *bool `pulumi:"suspend"` // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones TimeZone *string `pulumi:"timeZone"` }
CronJobSpec describes how the job execution will look like and when it will actually run.
type CronJobSpecArgs ¶
type CronJobSpecArgs struct { // Specifies how to treat concurrent executions of a Job. Valid values are: // // - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one ConcurrencyPolicy pulumi.StringPtrInput `pulumi:"concurrencyPolicy"` // The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. FailedJobsHistoryLimit pulumi.IntPtrInput `pulumi:"failedJobsHistoryLimit"` // Specifies the job that will be created when executing a CronJob. JobTemplate JobTemplateSpecInput `pulumi:"jobTemplate"` // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule pulumi.StringInput `pulumi:"schedule"` // Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. StartingDeadlineSeconds pulumi.IntPtrInput `pulumi:"startingDeadlineSeconds"` // The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. SuccessfulJobsHistoryLimit pulumi.IntPtrInput `pulumi:"successfulJobsHistoryLimit"` // This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. Suspend pulumi.BoolPtrInput `pulumi:"suspend"` // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones TimeZone pulumi.StringPtrInput `pulumi:"timeZone"` }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecArgs) ElementType ¶
func (CronJobSpecArgs) ElementType() reflect.Type
func (CronJobSpecArgs) ToCronJobSpecOutput ¶
func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput
func (CronJobSpecArgs) ToCronJobSpecOutputWithContext ¶
func (i CronJobSpecArgs) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
func (CronJobSpecArgs) ToCronJobSpecPtrOutput ¶
func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext ¶
func (i CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
func (CronJobSpecArgs) ToOutput ¶ added in v4.2.0
func (i CronJobSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobSpec]
type CronJobSpecInput ¶
type CronJobSpecInput interface { pulumi.Input ToCronJobSpecOutput() CronJobSpecOutput ToCronJobSpecOutputWithContext(context.Context) CronJobSpecOutput }
CronJobSpecInput is an input type that accepts CronJobSpecArgs and CronJobSpecOutput values. You can construct a concrete instance of `CronJobSpecInput` via:
CronJobSpecArgs{...}
type CronJobSpecOutput ¶
type CronJobSpecOutput struct{ *pulumi.OutputState }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecOutput) ConcurrencyPolicy ¶
func (o CronJobSpecOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
func (CronJobSpecOutput) ElementType ¶
func (CronJobSpecOutput) ElementType() reflect.Type
func (CronJobSpecOutput) FailedJobsHistoryLimit ¶
func (o CronJobSpecOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
func (CronJobSpecOutput) JobTemplate ¶
func (o CronJobSpecOutput) JobTemplate() JobTemplateSpecOutput
Specifies the job that will be created when executing a CronJob.
func (CronJobSpecOutput) Schedule ¶
func (o CronJobSpecOutput) Schedule() pulumi.StringOutput
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
func (CronJobSpecOutput) StartingDeadlineSeconds ¶
func (o CronJobSpecOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
func (CronJobSpecOutput) SuccessfulJobsHistoryLimit ¶
func (o CronJobSpecOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
func (CronJobSpecOutput) Suspend ¶
func (o CronJobSpecOutput) Suspend() pulumi.BoolPtrOutput
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
func (CronJobSpecOutput) TimeZone ¶
func (o CronJobSpecOutput) TimeZone() pulumi.StringPtrOutput
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
func (CronJobSpecOutput) ToCronJobSpecOutput ¶
func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput
func (CronJobSpecOutput) ToCronJobSpecOutputWithContext ¶
func (o CronJobSpecOutput) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
func (CronJobSpecOutput) ToCronJobSpecPtrOutput ¶
func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext ¶
func (o CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
func (CronJobSpecOutput) ToOutput ¶ added in v4.2.0
func (o CronJobSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobSpec]
type CronJobSpecPatch ¶
type CronJobSpecPatch struct { // Specifies how to treat concurrent executions of a Job. Valid values are: // // - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one ConcurrencyPolicy *string `pulumi:"concurrencyPolicy"` // The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. FailedJobsHistoryLimit *int `pulumi:"failedJobsHistoryLimit"` // Specifies the job that will be created when executing a CronJob. JobTemplate *JobTemplateSpecPatch `pulumi:"jobTemplate"` // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule *string `pulumi:"schedule"` // Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. StartingDeadlineSeconds *int `pulumi:"startingDeadlineSeconds"` // The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. SuccessfulJobsHistoryLimit *int `pulumi:"successfulJobsHistoryLimit"` // This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. Suspend *bool `pulumi:"suspend"` // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones TimeZone *string `pulumi:"timeZone"` }
CronJobSpec describes how the job execution will look like and when it will actually run.
type CronJobSpecPatchArgs ¶
type CronJobSpecPatchArgs struct { // Specifies how to treat concurrent executions of a Job. Valid values are: // // - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one ConcurrencyPolicy pulumi.StringPtrInput `pulumi:"concurrencyPolicy"` // The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. FailedJobsHistoryLimit pulumi.IntPtrInput `pulumi:"failedJobsHistoryLimit"` // Specifies the job that will be created when executing a CronJob. JobTemplate JobTemplateSpecPatchPtrInput `pulumi:"jobTemplate"` // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule pulumi.StringPtrInput `pulumi:"schedule"` // Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. StartingDeadlineSeconds pulumi.IntPtrInput `pulumi:"startingDeadlineSeconds"` // The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. SuccessfulJobsHistoryLimit pulumi.IntPtrInput `pulumi:"successfulJobsHistoryLimit"` // This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. Suspend pulumi.BoolPtrInput `pulumi:"suspend"` // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones TimeZone pulumi.StringPtrInput `pulumi:"timeZone"` }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecPatchArgs) ElementType ¶
func (CronJobSpecPatchArgs) ElementType() reflect.Type
func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutput ¶
func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput
func (CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext ¶
func (i CronJobSpecPatchArgs) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput
func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput ¶
func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
func (CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext ¶
func (i CronJobSpecPatchArgs) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
func (CronJobSpecPatchArgs) ToOutput ¶ added in v4.2.0
func (i CronJobSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobSpecPatch]
type CronJobSpecPatchInput ¶
type CronJobSpecPatchInput interface { pulumi.Input ToCronJobSpecPatchOutput() CronJobSpecPatchOutput ToCronJobSpecPatchOutputWithContext(context.Context) CronJobSpecPatchOutput }
CronJobSpecPatchInput is an input type that accepts CronJobSpecPatchArgs and CronJobSpecPatchOutput values. You can construct a concrete instance of `CronJobSpecPatchInput` via:
CronJobSpecPatchArgs{...}
type CronJobSpecPatchOutput ¶
type CronJobSpecPatchOutput struct{ *pulumi.OutputState }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecPatchOutput) ConcurrencyPolicy ¶
func (o CronJobSpecPatchOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
func (CronJobSpecPatchOutput) ElementType ¶
func (CronJobSpecPatchOutput) ElementType() reflect.Type
func (CronJobSpecPatchOutput) FailedJobsHistoryLimit ¶
func (o CronJobSpecPatchOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
func (CronJobSpecPatchOutput) JobTemplate ¶
func (o CronJobSpecPatchOutput) JobTemplate() JobTemplateSpecPatchPtrOutput
Specifies the job that will be created when executing a CronJob.
func (CronJobSpecPatchOutput) Schedule ¶
func (o CronJobSpecPatchOutput) Schedule() pulumi.StringPtrOutput
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
func (CronJobSpecPatchOutput) StartingDeadlineSeconds ¶
func (o CronJobSpecPatchOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
func (CronJobSpecPatchOutput) SuccessfulJobsHistoryLimit ¶
func (o CronJobSpecPatchOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
func (CronJobSpecPatchOutput) Suspend ¶
func (o CronJobSpecPatchOutput) Suspend() pulumi.BoolPtrOutput
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
func (CronJobSpecPatchOutput) TimeZone ¶
func (o CronJobSpecPatchOutput) TimeZone() pulumi.StringPtrOutput
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
func (CronJobSpecPatchOutput) ToCronJobSpecPatchOutput ¶
func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutput() CronJobSpecPatchOutput
func (CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext ¶
func (o CronJobSpecPatchOutput) ToCronJobSpecPatchOutputWithContext(ctx context.Context) CronJobSpecPatchOutput
func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput ¶
func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
func (CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext ¶
func (o CronJobSpecPatchOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
func (CronJobSpecPatchOutput) ToOutput ¶ added in v4.2.0
func (o CronJobSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobSpecPatch]
type CronJobSpecPatchPtrInput ¶
type CronJobSpecPatchPtrInput interface { pulumi.Input ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput ToCronJobSpecPatchPtrOutputWithContext(context.Context) CronJobSpecPatchPtrOutput }
CronJobSpecPatchPtrInput is an input type that accepts CronJobSpecPatchArgs, CronJobSpecPatchPtr and CronJobSpecPatchPtrOutput values. You can construct a concrete instance of `CronJobSpecPatchPtrInput` via:
CronJobSpecPatchArgs{...} or: nil
func CronJobSpecPatchPtr ¶
func CronJobSpecPatchPtr(v *CronJobSpecPatchArgs) CronJobSpecPatchPtrInput
type CronJobSpecPatchPtrOutput ¶
type CronJobSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (CronJobSpecPatchPtrOutput) ConcurrencyPolicy ¶
func (o CronJobSpecPatchPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
func (CronJobSpecPatchPtrOutput) Elem ¶
func (o CronJobSpecPatchPtrOutput) Elem() CronJobSpecPatchOutput
func (CronJobSpecPatchPtrOutput) ElementType ¶
func (CronJobSpecPatchPtrOutput) ElementType() reflect.Type
func (CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit ¶
func (o CronJobSpecPatchPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
func (CronJobSpecPatchPtrOutput) JobTemplate ¶
func (o CronJobSpecPatchPtrOutput) JobTemplate() JobTemplateSpecPatchPtrOutput
Specifies the job that will be created when executing a CronJob.
func (CronJobSpecPatchPtrOutput) Schedule ¶
func (o CronJobSpecPatchPtrOutput) Schedule() pulumi.StringPtrOutput
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
func (CronJobSpecPatchPtrOutput) StartingDeadlineSeconds ¶
func (o CronJobSpecPatchPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
func (CronJobSpecPatchPtrOutput) SuccessfulJobsHistoryLimit ¶
func (o CronJobSpecPatchPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
func (CronJobSpecPatchPtrOutput) Suspend ¶
func (o CronJobSpecPatchPtrOutput) Suspend() pulumi.BoolPtrOutput
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
func (CronJobSpecPatchPtrOutput) TimeZone ¶
func (o CronJobSpecPatchPtrOutput) TimeZone() pulumi.StringPtrOutput
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
func (CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput ¶
func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutput() CronJobSpecPatchPtrOutput
func (CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext ¶
func (o CronJobSpecPatchPtrOutput) ToCronJobSpecPatchPtrOutputWithContext(ctx context.Context) CronJobSpecPatchPtrOutput
func (CronJobSpecPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o CronJobSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobSpecPatch]
type CronJobSpecPtrInput ¶
type CronJobSpecPtrInput interface { pulumi.Input ToCronJobSpecPtrOutput() CronJobSpecPtrOutput ToCronJobSpecPtrOutputWithContext(context.Context) CronJobSpecPtrOutput }
CronJobSpecPtrInput is an input type that accepts CronJobSpecArgs, CronJobSpecPtr and CronJobSpecPtrOutput values. You can construct a concrete instance of `CronJobSpecPtrInput` via:
CronJobSpecArgs{...} or: nil
func CronJobSpecPtr ¶
func CronJobSpecPtr(v *CronJobSpecArgs) CronJobSpecPtrInput
type CronJobSpecPtrOutput ¶
type CronJobSpecPtrOutput struct{ *pulumi.OutputState }
func (CronJobSpecPtrOutput) ConcurrencyPolicy ¶
func (o CronJobSpecPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
Specifies how to treat concurrent executions of a Job. Valid values are:
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
func (CronJobSpecPtrOutput) Elem ¶
func (o CronJobSpecPtrOutput) Elem() CronJobSpecOutput
func (CronJobSpecPtrOutput) ElementType ¶
func (CronJobSpecPtrOutput) ElementType() reflect.Type
func (CronJobSpecPtrOutput) FailedJobsHistoryLimit ¶
func (o CronJobSpecPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
func (CronJobSpecPtrOutput) JobTemplate ¶
func (o CronJobSpecPtrOutput) JobTemplate() JobTemplateSpecPtrOutput
Specifies the job that will be created when executing a CronJob.
func (CronJobSpecPtrOutput) Schedule ¶
func (o CronJobSpecPtrOutput) Schedule() pulumi.StringPtrOutput
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
func (CronJobSpecPtrOutput) StartingDeadlineSeconds ¶
func (o CronJobSpecPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
func (CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit ¶
func (o CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
func (CronJobSpecPtrOutput) Suspend ¶
func (o CronJobSpecPtrOutput) Suspend() pulumi.BoolPtrOutput
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
func (CronJobSpecPtrOutput) TimeZone ¶
func (o CronJobSpecPtrOutput) TimeZone() pulumi.StringPtrOutput
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutput ¶
func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext ¶
func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
func (CronJobSpecPtrOutput) ToOutput ¶ added in v4.2.0
func (o CronJobSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobSpec]
type CronJobState ¶
type CronJobState struct { }
func (CronJobState) ElementType ¶
func (CronJobState) ElementType() reflect.Type
type CronJobStatus ¶
type CronJobStatus struct { // A list of pointers to currently running jobs. Active []corev1.ObjectReference `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime *string `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime *string `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
type CronJobStatusArgs ¶
type CronJobStatusArgs struct { // A list of pointers to currently running jobs. Active corev1.ObjectReferenceArrayInput `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime pulumi.StringPtrInput `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusArgs) ElementType ¶
func (CronJobStatusArgs) ElementType() reflect.Type
func (CronJobStatusArgs) ToCronJobStatusOutput ¶
func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput
func (CronJobStatusArgs) ToCronJobStatusOutputWithContext ¶
func (i CronJobStatusArgs) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput
func (CronJobStatusArgs) ToCronJobStatusPtrOutput ¶
func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
func (CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext ¶
func (i CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
func (CronJobStatusArgs) ToOutput ¶ added in v4.2.0
func (i CronJobStatusArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobStatus]
type CronJobStatusInput ¶
type CronJobStatusInput interface { pulumi.Input ToCronJobStatusOutput() CronJobStatusOutput ToCronJobStatusOutputWithContext(context.Context) CronJobStatusOutput }
CronJobStatusInput is an input type that accepts CronJobStatusArgs and CronJobStatusOutput values. You can construct a concrete instance of `CronJobStatusInput` via:
CronJobStatusArgs{...}
type CronJobStatusOutput ¶
type CronJobStatusOutput struct{ *pulumi.OutputState }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusOutput) Active ¶
func (o CronJobStatusOutput) Active() corev1.ObjectReferenceArrayOutput
A list of pointers to currently running jobs.
func (CronJobStatusOutput) ElementType ¶
func (CronJobStatusOutput) ElementType() reflect.Type
func (CronJobStatusOutput) LastScheduleTime ¶
func (o CronJobStatusOutput) LastScheduleTime() pulumi.StringPtrOutput
Information when was the last time the job was successfully scheduled.
func (CronJobStatusOutput) LastSuccessfulTime ¶
func (o CronJobStatusOutput) LastSuccessfulTime() pulumi.StringPtrOutput
Information when was the last time the job successfully completed.
func (CronJobStatusOutput) ToCronJobStatusOutput ¶
func (o CronJobStatusOutput) ToCronJobStatusOutput() CronJobStatusOutput
func (CronJobStatusOutput) ToCronJobStatusOutputWithContext ¶
func (o CronJobStatusOutput) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput
func (CronJobStatusOutput) ToCronJobStatusPtrOutput ¶
func (o CronJobStatusOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
func (CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext ¶
func (o CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
func (CronJobStatusOutput) ToOutput ¶ added in v4.2.0
func (o CronJobStatusOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobStatus]
type CronJobStatusPatch ¶
type CronJobStatusPatch struct { // A list of pointers to currently running jobs. Active []corev1.ObjectReferencePatch `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime *string `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime *string `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
type CronJobStatusPatchArgs ¶
type CronJobStatusPatchArgs struct { // A list of pointers to currently running jobs. Active corev1.ObjectReferencePatchArrayInput `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime pulumi.StringPtrInput `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusPatchArgs) ElementType ¶
func (CronJobStatusPatchArgs) ElementType() reflect.Type
func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutput ¶
func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput
func (CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext ¶
func (i CronJobStatusPatchArgs) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput
func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput ¶
func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
func (CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext ¶
func (i CronJobStatusPatchArgs) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
func (CronJobStatusPatchArgs) ToOutput ¶ added in v4.2.0
func (i CronJobStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobStatusPatch]
type CronJobStatusPatchInput ¶
type CronJobStatusPatchInput interface { pulumi.Input ToCronJobStatusPatchOutput() CronJobStatusPatchOutput ToCronJobStatusPatchOutputWithContext(context.Context) CronJobStatusPatchOutput }
CronJobStatusPatchInput is an input type that accepts CronJobStatusPatchArgs and CronJobStatusPatchOutput values. You can construct a concrete instance of `CronJobStatusPatchInput` via:
CronJobStatusPatchArgs{...}
type CronJobStatusPatchOutput ¶
type CronJobStatusPatchOutput struct{ *pulumi.OutputState }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusPatchOutput) Active ¶
func (o CronJobStatusPatchOutput) Active() corev1.ObjectReferencePatchArrayOutput
A list of pointers to currently running jobs.
func (CronJobStatusPatchOutput) ElementType ¶
func (CronJobStatusPatchOutput) ElementType() reflect.Type
func (CronJobStatusPatchOutput) LastScheduleTime ¶
func (o CronJobStatusPatchOutput) LastScheduleTime() pulumi.StringPtrOutput
Information when was the last time the job was successfully scheduled.
func (CronJobStatusPatchOutput) LastSuccessfulTime ¶
func (o CronJobStatusPatchOutput) LastSuccessfulTime() pulumi.StringPtrOutput
Information when was the last time the job successfully completed.
func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutput ¶
func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutput() CronJobStatusPatchOutput
func (CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext ¶
func (o CronJobStatusPatchOutput) ToCronJobStatusPatchOutputWithContext(ctx context.Context) CronJobStatusPatchOutput
func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput ¶
func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
func (CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext ¶
func (o CronJobStatusPatchOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
func (CronJobStatusPatchOutput) ToOutput ¶ added in v4.2.0
func (o CronJobStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobStatusPatch]
type CronJobStatusPatchPtrInput ¶
type CronJobStatusPatchPtrInput interface { pulumi.Input ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput ToCronJobStatusPatchPtrOutputWithContext(context.Context) CronJobStatusPatchPtrOutput }
CronJobStatusPatchPtrInput is an input type that accepts CronJobStatusPatchArgs, CronJobStatusPatchPtr and CronJobStatusPatchPtrOutput values. You can construct a concrete instance of `CronJobStatusPatchPtrInput` via:
CronJobStatusPatchArgs{...} or: nil
func CronJobStatusPatchPtr ¶
func CronJobStatusPatchPtr(v *CronJobStatusPatchArgs) CronJobStatusPatchPtrInput
type CronJobStatusPatchPtrOutput ¶
type CronJobStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (CronJobStatusPatchPtrOutput) Active ¶
func (o CronJobStatusPatchPtrOutput) Active() corev1.ObjectReferencePatchArrayOutput
A list of pointers to currently running jobs.
func (CronJobStatusPatchPtrOutput) Elem ¶
func (o CronJobStatusPatchPtrOutput) Elem() CronJobStatusPatchOutput
func (CronJobStatusPatchPtrOutput) ElementType ¶
func (CronJobStatusPatchPtrOutput) ElementType() reflect.Type
func (CronJobStatusPatchPtrOutput) LastScheduleTime ¶
func (o CronJobStatusPatchPtrOutput) LastScheduleTime() pulumi.StringPtrOutput
Information when was the last time the job was successfully scheduled.
func (CronJobStatusPatchPtrOutput) LastSuccessfulTime ¶
func (o CronJobStatusPatchPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput
Information when was the last time the job successfully completed.
func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput ¶
func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutput() CronJobStatusPatchPtrOutput
func (CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext ¶
func (o CronJobStatusPatchPtrOutput) ToCronJobStatusPatchPtrOutputWithContext(ctx context.Context) CronJobStatusPatchPtrOutput
func (CronJobStatusPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o CronJobStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobStatusPatch]
type CronJobStatusPtrInput ¶
type CronJobStatusPtrInput interface { pulumi.Input ToCronJobStatusPtrOutput() CronJobStatusPtrOutput ToCronJobStatusPtrOutputWithContext(context.Context) CronJobStatusPtrOutput }
CronJobStatusPtrInput is an input type that accepts CronJobStatusArgs, CronJobStatusPtr and CronJobStatusPtrOutput values. You can construct a concrete instance of `CronJobStatusPtrInput` via:
CronJobStatusArgs{...} or: nil
func CronJobStatusPtr ¶
func CronJobStatusPtr(v *CronJobStatusArgs) CronJobStatusPtrInput
type CronJobStatusPtrOutput ¶
type CronJobStatusPtrOutput struct{ *pulumi.OutputState }
func (CronJobStatusPtrOutput) Active ¶
func (o CronJobStatusPtrOutput) Active() corev1.ObjectReferenceArrayOutput
A list of pointers to currently running jobs.
func (CronJobStatusPtrOutput) Elem ¶
func (o CronJobStatusPtrOutput) Elem() CronJobStatusOutput
func (CronJobStatusPtrOutput) ElementType ¶
func (CronJobStatusPtrOutput) ElementType() reflect.Type
func (CronJobStatusPtrOutput) LastScheduleTime ¶
func (o CronJobStatusPtrOutput) LastScheduleTime() pulumi.StringPtrOutput
Information when was the last time the job was successfully scheduled.
func (CronJobStatusPtrOutput) LastSuccessfulTime ¶
func (o CronJobStatusPtrOutput) LastSuccessfulTime() pulumi.StringPtrOutput
Information when was the last time the job successfully completed.
func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutput ¶
func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext ¶
func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
func (CronJobStatusPtrOutput) ToOutput ¶ added in v4.2.0
func (o CronJobStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CronJobStatus]
type CronJobType ¶
type CronJobType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *CronJobSpec `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *CronJobStatus `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
type CronJobTypeArgs ¶
type CronJobTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPtrInput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPtrInput `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
func (CronJobTypeArgs) ElementType ¶
func (CronJobTypeArgs) ElementType() reflect.Type
func (CronJobTypeArgs) ToCronJobTypeOutput ¶
func (i CronJobTypeArgs) ToCronJobTypeOutput() CronJobTypeOutput
func (CronJobTypeArgs) ToCronJobTypeOutputWithContext ¶
func (i CronJobTypeArgs) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput
func (CronJobTypeArgs) ToOutput ¶ added in v4.2.0
func (i CronJobTypeArgs) ToOutput(ctx context.Context) pulumix.Output[CronJobType]
type CronJobTypeArray ¶
type CronJobTypeArray []CronJobTypeInput
func (CronJobTypeArray) ElementType ¶
func (CronJobTypeArray) ElementType() reflect.Type
func (CronJobTypeArray) ToCronJobTypeArrayOutput ¶
func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
func (CronJobTypeArray) ToCronJobTypeArrayOutputWithContext ¶
func (i CronJobTypeArray) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput
func (CronJobTypeArray) ToOutput ¶ added in v4.2.0
func (i CronJobTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]CronJobType]
type CronJobTypeArrayInput ¶
type CronJobTypeArrayInput interface { pulumi.Input ToCronJobTypeArrayOutput() CronJobTypeArrayOutput ToCronJobTypeArrayOutputWithContext(context.Context) CronJobTypeArrayOutput }
CronJobTypeArrayInput is an input type that accepts CronJobTypeArray and CronJobTypeArrayOutput values. You can construct a concrete instance of `CronJobTypeArrayInput` via:
CronJobTypeArray{ CronJobTypeArgs{...} }
type CronJobTypeArrayOutput ¶
type CronJobTypeArrayOutput struct{ *pulumi.OutputState }
func (CronJobTypeArrayOutput) ElementType ¶
func (CronJobTypeArrayOutput) ElementType() reflect.Type
func (CronJobTypeArrayOutput) Index ¶
func (o CronJobTypeArrayOutput) Index(i pulumi.IntInput) CronJobTypeOutput
func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutput ¶
func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext ¶
func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput
func (CronJobTypeArrayOutput) ToOutput ¶ added in v4.2.0
func (o CronJobTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CronJobType]
type CronJobTypeInput ¶
type CronJobTypeInput interface { pulumi.Input ToCronJobTypeOutput() CronJobTypeOutput ToCronJobTypeOutputWithContext(context.Context) CronJobTypeOutput }
CronJobTypeInput is an input type that accepts CronJobTypeArgs and CronJobTypeOutput values. You can construct a concrete instance of `CronJobTypeInput` via:
CronJobTypeArgs{...}
type CronJobTypeOutput ¶
type CronJobTypeOutput struct{ *pulumi.OutputState }
CronJob represents the configuration of a single cron job.
func (CronJobTypeOutput) ApiVersion ¶
func (o CronJobTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (CronJobTypeOutput) ElementType ¶
func (CronJobTypeOutput) ElementType() reflect.Type
func (CronJobTypeOutput) Kind ¶
func (o CronJobTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (CronJobTypeOutput) Metadata ¶
func (o CronJobTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (CronJobTypeOutput) Spec ¶
func (o CronJobTypeOutput) Spec() CronJobSpecPtrOutput
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 ¶
func (o CronJobTypeOutput) Status() CronJobStatusPtrOutput
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 ¶
func (o CronJobTypeOutput) ToCronJobTypeOutput() CronJobTypeOutput
func (CronJobTypeOutput) ToCronJobTypeOutputWithContext ¶
func (o CronJobTypeOutput) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput
func (CronJobTypeOutput) ToOutput ¶ added in v4.2.0
func (o CronJobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CronJobType]
type Job ¶
type Job struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecOutput `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPtrOutput `pulumi:"status"` }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
## Example Usage ### Create a Job with auto-naming ```go package main
import (
batchv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1" corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batchv1.NewJob(ctx, "job", &batchv1.JobArgs{ Metadata: nil, Spec: &batchv1.JobSpecArgs{ BackoffLimit: pulumi.Int(4), Template: &corev1.PodTemplateSpecArgs{ Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Command: pulumi.StringArray{ pulumi.String("perl"), pulumi.String("-Mbignum=bpi"), pulumi.String("-wle"), pulumi.String("print bpi(2000)"), }, Image: pulumi.String("perl"), Name: pulumi.String("pi"), }, }, RestartPolicy: pulumi.String("Never"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Create a Job with a user-specified name ```go package main
import (
batchv1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/batch/v1" corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1" metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := batchv1.NewJob(ctx, "job", &batchv1.JobArgs{ Metadata: &metav1.ObjectMetaArgs{ Name: pulumi.String("pi"), }, Spec: &batchv1.JobSpecArgs{ BackoffLimit: pulumi.Int(4), Template: &corev1.PodTemplateSpecArgs{ Spec: &corev1.PodSpecArgs{ Containers: corev1.ContainerArray{ &corev1.ContainerArgs{ Command: pulumi.StringArray{ pulumi.String("perl"), pulumi.String("-Mbignum=bpi"), pulumi.String("-wle"), pulumi.String("print bpi(2000)"), }, Image: pulumi.String("perl"), Name: pulumi.String("pi"), }, }, RestartPolicy: pulumi.String("Never"), }, }, }, }) if err != nil { return err } return nil }) }
```
func GetJob ¶
func GetJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)
GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewJob ¶
func NewJob(ctx *pulumi.Context, name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)
NewJob registers a new resource with the given unique name, arguments, and options.
func (*Job) ElementType ¶
func (*Job) ToJobOutput ¶
func (*Job) ToJobOutputWithContext ¶
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 ¶
type JobArray ¶
type JobArray []JobInput
func (JobArray) ElementType ¶
func (JobArray) ToJobArrayOutput ¶
func (i JobArray) ToJobArrayOutput() JobArrayOutput
func (JobArray) ToJobArrayOutputWithContext ¶
func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
type JobArrayInput ¶
type JobArrayInput interface { pulumi.Input ToJobArrayOutput() JobArrayOutput ToJobArrayOutputWithContext(context.Context) JobArrayOutput }
JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:
JobArray{ JobArgs{...} }
type JobArrayOutput ¶
type JobArrayOutput struct{ *pulumi.OutputState }
func (JobArrayOutput) ElementType ¶
func (JobArrayOutput) ElementType() reflect.Type
func (JobArrayOutput) ToJobArrayOutput ¶
func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput
func (JobArrayOutput) ToJobArrayOutputWithContext ¶
func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput
type JobCondition ¶
type JobCondition struct { // Last time the condition was checked. LastProbeTime *string `pulumi:"lastProbeTime"` // Last time the condition transit from one status to another. LastTransitionTime *string `pulumi:"lastTransitionTime"` // Human readable message indicating details about last transition. Message *string `pulumi:"message"` // (brief) reason for the condition's last transition. Reason *string `pulumi:"reason"` // Status of the condition, one of True, False, Unknown. Status string `pulumi:"status"` // Type of job condition, Complete or Failed. Type string `pulumi:"type"` }
JobCondition describes current state of a job.
type JobConditionArgs ¶
type JobConditionArgs struct { // Last time the condition was checked. LastProbeTime pulumi.StringPtrInput `pulumi:"lastProbeTime"` // Last time the condition transit from one status to another. LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"` // Human readable message indicating details about last transition. Message pulumi.StringPtrInput `pulumi:"message"` // (brief) reason for the condition's last transition. Reason pulumi.StringPtrInput `pulumi:"reason"` // Status of the condition, one of True, False, Unknown. Status pulumi.StringInput `pulumi:"status"` // Type of job condition, Complete or Failed. Type pulumi.StringInput `pulumi:"type"` }
JobCondition describes current state of a job.
func (JobConditionArgs) ElementType ¶
func (JobConditionArgs) ElementType() reflect.Type
func (JobConditionArgs) ToJobConditionOutput ¶
func (i JobConditionArgs) ToJobConditionOutput() JobConditionOutput
func (JobConditionArgs) ToJobConditionOutputWithContext ¶
func (i JobConditionArgs) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput
func (JobConditionArgs) ToOutput ¶ added in v4.2.0
func (i JobConditionArgs) ToOutput(ctx context.Context) pulumix.Output[JobCondition]
type JobConditionArray ¶
type JobConditionArray []JobConditionInput
func (JobConditionArray) ElementType ¶
func (JobConditionArray) ElementType() reflect.Type
func (JobConditionArray) ToJobConditionArrayOutput ¶
func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput
func (JobConditionArray) ToJobConditionArrayOutputWithContext ¶
func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput
func (JobConditionArray) ToOutput ¶ added in v4.2.0
func (i JobConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]JobCondition]
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 (o JobConditionArrayOutput) Index(i pulumi.IntInput) JobConditionOutput
func (JobConditionArrayOutput) ToJobConditionArrayOutput ¶
func (o JobConditionArrayOutput) ToJobConditionArrayOutput() JobConditionArrayOutput
func (JobConditionArrayOutput) ToJobConditionArrayOutputWithContext ¶
func (o JobConditionArrayOutput) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput
func (JobConditionArrayOutput) ToOutput ¶ added in v4.2.0
func (o JobConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobCondition]
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 ¶
func (o JobConditionOutput) Message() pulumi.StringPtrOutput
Human readable message indicating details about last transition.
func (JobConditionOutput) Reason ¶
func (o JobConditionOutput) Reason() pulumi.StringPtrOutput
(brief) reason for the condition's last transition.
func (JobConditionOutput) Status ¶
func (o JobConditionOutput) Status() pulumi.StringOutput
Status of the condition, one of True, False, Unknown.
func (JobConditionOutput) ToJobConditionOutput ¶
func (o JobConditionOutput) ToJobConditionOutput() JobConditionOutput
func (JobConditionOutput) ToJobConditionOutputWithContext ¶
func (o JobConditionOutput) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput
func (JobConditionOutput) ToOutput ¶ added in v4.2.0
func (o JobConditionOutput) ToOutput(ctx context.Context) pulumix.Output[JobCondition]
func (JobConditionOutput) Type ¶
func (o JobConditionOutput) Type() pulumi.StringOutput
Type of job condition, Complete or Failed.
type JobConditionPatch ¶
type JobConditionPatch struct { // Last time the condition was checked. LastProbeTime *string `pulumi:"lastProbeTime"` // Last time the condition transit from one status to another. LastTransitionTime *string `pulumi:"lastTransitionTime"` // Human readable message indicating details about last transition. Message *string `pulumi:"message"` // (brief) reason for the condition's last transition. Reason *string `pulumi:"reason"` // Status of the condition, one of True, False, Unknown. Status *string `pulumi:"status"` // Type of job condition, Complete or Failed. Type *string `pulumi:"type"` }
JobCondition describes current state of a job.
type JobConditionPatchArgs ¶
type JobConditionPatchArgs struct { // Last time the condition was checked. LastProbeTime pulumi.StringPtrInput `pulumi:"lastProbeTime"` // Last time the condition transit from one status to another. LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"` // Human readable message indicating details about last transition. Message pulumi.StringPtrInput `pulumi:"message"` // (brief) reason for the condition's last transition. Reason pulumi.StringPtrInput `pulumi:"reason"` // Status of the condition, one of True, False, Unknown. Status pulumi.StringPtrInput `pulumi:"status"` // Type of job condition, Complete or Failed. Type pulumi.StringPtrInput `pulumi:"type"` }
JobCondition describes current state of a job.
func (JobConditionPatchArgs) ElementType ¶
func (JobConditionPatchArgs) ElementType() reflect.Type
func (JobConditionPatchArgs) ToJobConditionPatchOutput ¶
func (i JobConditionPatchArgs) ToJobConditionPatchOutput() JobConditionPatchOutput
func (JobConditionPatchArgs) ToJobConditionPatchOutputWithContext ¶
func (i JobConditionPatchArgs) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput
func (JobConditionPatchArgs) ToOutput ¶ added in v4.2.0
func (i JobConditionPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobConditionPatch]
type JobConditionPatchArray ¶
type JobConditionPatchArray []JobConditionPatchInput
func (JobConditionPatchArray) ElementType ¶
func (JobConditionPatchArray) ElementType() reflect.Type
func (JobConditionPatchArray) ToJobConditionPatchArrayOutput ¶
func (i JobConditionPatchArray) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput
func (JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext ¶
func (i JobConditionPatchArray) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput
func (JobConditionPatchArray) ToOutput ¶ added in v4.2.0
func (i JobConditionPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]JobConditionPatch]
type JobConditionPatchArrayInput ¶
type JobConditionPatchArrayInput interface { pulumi.Input ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput ToJobConditionPatchArrayOutputWithContext(context.Context) JobConditionPatchArrayOutput }
JobConditionPatchArrayInput is an input type that accepts JobConditionPatchArray and JobConditionPatchArrayOutput values. You can construct a concrete instance of `JobConditionPatchArrayInput` via:
JobConditionPatchArray{ JobConditionPatchArgs{...} }
type JobConditionPatchArrayOutput ¶
type JobConditionPatchArrayOutput struct{ *pulumi.OutputState }
func (JobConditionPatchArrayOutput) ElementType ¶
func (JobConditionPatchArrayOutput) ElementType() reflect.Type
func (JobConditionPatchArrayOutput) Index ¶
func (o JobConditionPatchArrayOutput) Index(i pulumi.IntInput) JobConditionPatchOutput
func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput ¶
func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutput() JobConditionPatchArrayOutput
func (JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext ¶
func (o JobConditionPatchArrayOutput) ToJobConditionPatchArrayOutputWithContext(ctx context.Context) JobConditionPatchArrayOutput
func (JobConditionPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o JobConditionPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobConditionPatch]
type JobConditionPatchInput ¶
type JobConditionPatchInput interface { pulumi.Input ToJobConditionPatchOutput() JobConditionPatchOutput ToJobConditionPatchOutputWithContext(context.Context) JobConditionPatchOutput }
JobConditionPatchInput is an input type that accepts JobConditionPatchArgs and JobConditionPatchOutput values. You can construct a concrete instance of `JobConditionPatchInput` via:
JobConditionPatchArgs{...}
type JobConditionPatchOutput ¶
type JobConditionPatchOutput struct{ *pulumi.OutputState }
JobCondition describes current state of a job.
func (JobConditionPatchOutput) ElementType ¶
func (JobConditionPatchOutput) ElementType() reflect.Type
func (JobConditionPatchOutput) LastProbeTime ¶
func (o JobConditionPatchOutput) LastProbeTime() pulumi.StringPtrOutput
Last time the condition was checked.
func (JobConditionPatchOutput) LastTransitionTime ¶
func (o JobConditionPatchOutput) LastTransitionTime() pulumi.StringPtrOutput
Last time the condition transit from one status to another.
func (JobConditionPatchOutput) Message ¶
func (o JobConditionPatchOutput) Message() pulumi.StringPtrOutput
Human readable message indicating details about last transition.
func (JobConditionPatchOutput) Reason ¶
func (o JobConditionPatchOutput) Reason() pulumi.StringPtrOutput
(brief) reason for the condition's last transition.
func (JobConditionPatchOutput) Status ¶
func (o JobConditionPatchOutput) Status() pulumi.StringPtrOutput
Status of the condition, one of True, False, Unknown.
func (JobConditionPatchOutput) ToJobConditionPatchOutput ¶
func (o JobConditionPatchOutput) ToJobConditionPatchOutput() JobConditionPatchOutput
func (JobConditionPatchOutput) ToJobConditionPatchOutputWithContext ¶
func (o JobConditionPatchOutput) ToJobConditionPatchOutputWithContext(ctx context.Context) JobConditionPatchOutput
func (JobConditionPatchOutput) ToOutput ¶ added in v4.2.0
func (o JobConditionPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobConditionPatch]
func (JobConditionPatchOutput) Type ¶
func (o JobConditionPatchOutput) Type() pulumi.StringPtrOutput
Type of job condition, Complete or Failed.
type JobList ¶
type JobList struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // items is the list of Jobs. Items JobTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
JobList is a collection of jobs.
func GetJobList ¶
func GetJobList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobListState, opts ...pulumi.ResourceOption) (*JobList, error)
GetJobList gets an existing JobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewJobList ¶
func NewJobList(ctx *pulumi.Context, name string, args *JobListArgs, opts ...pulumi.ResourceOption) (*JobList, error)
NewJobList registers a new resource with the given unique name, arguments, and options.
func (*JobList) ElementType ¶
func (*JobList) ToJobListOutput ¶
func (i *JobList) ToJobListOutput() JobListOutput
func (*JobList) ToJobListOutputWithContext ¶
func (i *JobList) ToJobListOutputWithContext(ctx context.Context) JobListOutput
type JobListArgs ¶
type JobListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of Jobs. Items JobTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a JobList resource.
func (JobListArgs) ElementType ¶
func (JobListArgs) ElementType() reflect.Type
type JobListArray ¶
type JobListArray []JobListInput
func (JobListArray) ElementType ¶
func (JobListArray) ElementType() reflect.Type
func (JobListArray) ToJobListArrayOutput ¶
func (i JobListArray) ToJobListArrayOutput() JobListArrayOutput
func (JobListArray) ToJobListArrayOutputWithContext ¶
func (i JobListArray) ToJobListArrayOutputWithContext(ctx context.Context) JobListArrayOutput
type JobListArrayInput ¶
type JobListArrayInput interface { pulumi.Input ToJobListArrayOutput() JobListArrayOutput ToJobListArrayOutputWithContext(context.Context) JobListArrayOutput }
JobListArrayInput is an input type that accepts JobListArray and JobListArrayOutput values. You can construct a concrete instance of `JobListArrayInput` via:
JobListArray{ JobListArgs{...} }
type JobListArrayOutput ¶
type JobListArrayOutput struct{ *pulumi.OutputState }
func (JobListArrayOutput) ElementType ¶
func (JobListArrayOutput) ElementType() reflect.Type
func (JobListArrayOutput) Index ¶
func (o JobListArrayOutput) Index(i pulumi.IntInput) JobListOutput
func (JobListArrayOutput) ToJobListArrayOutput ¶
func (o JobListArrayOutput) ToJobListArrayOutput() JobListArrayOutput
func (JobListArrayOutput) ToJobListArrayOutputWithContext ¶
func (o JobListArrayOutput) ToJobListArrayOutputWithContext(ctx context.Context) JobListArrayOutput
type JobListInput ¶
type JobListInput interface { pulumi.Input ToJobListOutput() JobListOutput ToJobListOutputWithContext(ctx context.Context) JobListOutput }
type JobListMap ¶
type JobListMap map[string]JobListInput
func (JobListMap) ElementType ¶
func (JobListMap) ElementType() reflect.Type
func (JobListMap) ToJobListMapOutput ¶
func (i JobListMap) ToJobListMapOutput() JobListMapOutput
func (JobListMap) ToJobListMapOutputWithContext ¶
func (i JobListMap) ToJobListMapOutputWithContext(ctx context.Context) JobListMapOutput
type JobListMapInput ¶
type JobListMapInput interface { pulumi.Input ToJobListMapOutput() JobListMapOutput ToJobListMapOutputWithContext(context.Context) JobListMapOutput }
JobListMapInput is an input type that accepts JobListMap and JobListMapOutput values. You can construct a concrete instance of `JobListMapInput` via:
JobListMap{ "key": JobListArgs{...} }
type JobListMapOutput ¶
type JobListMapOutput struct{ *pulumi.OutputState }
func (JobListMapOutput) ElementType ¶
func (JobListMapOutput) ElementType() reflect.Type
func (JobListMapOutput) MapIndex ¶
func (o JobListMapOutput) MapIndex(k pulumi.StringInput) JobListOutput
func (JobListMapOutput) ToJobListMapOutput ¶
func (o JobListMapOutput) ToJobListMapOutput() JobListMapOutput
func (JobListMapOutput) ToJobListMapOutputWithContext ¶
func (o JobListMapOutput) ToJobListMapOutputWithContext(ctx context.Context) JobListMapOutput
type JobListOutput ¶
type JobListOutput struct{ *pulumi.OutputState }
func (JobListOutput) ApiVersion ¶
func (o JobListOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobListOutput) ElementType ¶
func (JobListOutput) ElementType() reflect.Type
func (JobListOutput) Items ¶
func (o JobListOutput) Items() JobTypeArrayOutput
items is the list of Jobs.
func (JobListOutput) Kind ¶
func (o JobListOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobListOutput) Metadata ¶
func (o JobListOutput) Metadata() metav1.ListMetaOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobListOutput) ToJobListOutput ¶
func (o JobListOutput) ToJobListOutput() JobListOutput
func (JobListOutput) ToJobListOutputWithContext ¶
func (o JobListOutput) ToJobListOutputWithContext(ctx context.Context) JobListOutput
type JobListState ¶
type JobListState struct { }
func (JobListState) ElementType ¶
func (JobListState) ElementType() reflect.Type
type JobListType ¶
type JobListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of Jobs. Items []JobType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
JobList is a collection of jobs.
type JobListTypeArgs ¶
type JobListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of Jobs. Items JobTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
JobList is a collection of jobs.
func (JobListTypeArgs) ElementType ¶
func (JobListTypeArgs) ElementType() reflect.Type
func (JobListTypeArgs) ToJobListTypeOutput ¶
func (i JobListTypeArgs) ToJobListTypeOutput() JobListTypeOutput
func (JobListTypeArgs) ToJobListTypeOutputWithContext ¶
func (i JobListTypeArgs) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput
func (JobListTypeArgs) ToOutput ¶ added in v4.2.0
func (i JobListTypeArgs) ToOutput(ctx context.Context) pulumix.Output[JobListType]
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 ¶
func (o JobListTypeOutput) Items() JobTypeArrayOutput
items is the list of Jobs.
func (JobListTypeOutput) Kind ¶
func (o JobListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobListTypeOutput) Metadata ¶
func (o JobListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobListTypeOutput) ToJobListTypeOutput ¶
func (o JobListTypeOutput) ToJobListTypeOutput() JobListTypeOutput
func (JobListTypeOutput) ToJobListTypeOutputWithContext ¶
func (o JobListTypeOutput) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput
func (JobListTypeOutput) ToOutput ¶ added in v4.2.0
func (o JobListTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobListType]
type JobMap ¶
func (JobMap) ElementType ¶
func (JobMap) ToJobMapOutput ¶
func (i JobMap) ToJobMapOutput() JobMapOutput
func (JobMap) ToJobMapOutputWithContext ¶
func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
type JobMapInput ¶
type JobMapInput interface { pulumi.Input ToJobMapOutput() JobMapOutput ToJobMapOutputWithContext(context.Context) JobMapOutput }
JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:
JobMap{ "key": JobArgs{...} }
type JobMapOutput ¶
type JobMapOutput struct{ *pulumi.OutputState }
func (JobMapOutput) ElementType ¶
func (JobMapOutput) ElementType() reflect.Type
func (JobMapOutput) MapIndex ¶
func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput
func (JobMapOutput) ToJobMapOutput ¶
func (o JobMapOutput) ToJobMapOutput() JobMapOutput
func (JobMapOutput) ToJobMapOutputWithContext ¶
func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput
type JobOutput ¶
type JobOutput struct{ *pulumi.OutputState }
func (JobOutput) ApiVersion ¶
func (o JobOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobOutput) ElementType ¶
func (JobOutput) Kind ¶
func (o JobOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobOutput) Metadata ¶
func (o JobOutput) Metadata() metav1.ObjectMetaOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobOutput) Spec ¶
func (o JobOutput) Spec() JobSpecOutput
Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobOutput) Status ¶
func (o JobOutput) Status() JobStatusPtrOutput
Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobOutput) ToJobOutput ¶
func (JobOutput) ToJobOutputWithContext ¶
type JobPatch ¶
type JobPatch struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPatchPtrOutput `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPatchPtrOutput `pulumi:"status"` }
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
func GetJobPatch ¶
func GetJobPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobPatchState, opts ...pulumi.ResourceOption) (*JobPatch, error)
GetJobPatch gets an existing JobPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewJobPatch ¶
func NewJobPatch(ctx *pulumi.Context, name string, args *JobPatchArgs, opts ...pulumi.ResourceOption) (*JobPatch, error)
NewJobPatch registers a new resource with the given unique name, arguments, and options.
func (*JobPatch) ElementType ¶
func (*JobPatch) ToJobPatchOutput ¶
func (i *JobPatch) ToJobPatchOutput() JobPatchOutput
func (*JobPatch) ToJobPatchOutputWithContext ¶
func (i *JobPatch) ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput
type JobPatchArgs ¶
type JobPatchArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPatchPtrInput }
The set of arguments for constructing a JobPatch resource.
func (JobPatchArgs) ElementType ¶
func (JobPatchArgs) ElementType() reflect.Type
type JobPatchArray ¶
type JobPatchArray []JobPatchInput
func (JobPatchArray) ElementType ¶
func (JobPatchArray) ElementType() reflect.Type
func (JobPatchArray) ToJobPatchArrayOutput ¶
func (i JobPatchArray) ToJobPatchArrayOutput() JobPatchArrayOutput
func (JobPatchArray) ToJobPatchArrayOutputWithContext ¶
func (i JobPatchArray) ToJobPatchArrayOutputWithContext(ctx context.Context) JobPatchArrayOutput
type JobPatchArrayInput ¶
type JobPatchArrayInput interface { pulumi.Input ToJobPatchArrayOutput() JobPatchArrayOutput ToJobPatchArrayOutputWithContext(context.Context) JobPatchArrayOutput }
JobPatchArrayInput is an input type that accepts JobPatchArray and JobPatchArrayOutput values. You can construct a concrete instance of `JobPatchArrayInput` via:
JobPatchArray{ JobPatchArgs{...} }
type JobPatchArrayOutput ¶
type JobPatchArrayOutput struct{ *pulumi.OutputState }
func (JobPatchArrayOutput) ElementType ¶
func (JobPatchArrayOutput) ElementType() reflect.Type
func (JobPatchArrayOutput) Index ¶
func (o JobPatchArrayOutput) Index(i pulumi.IntInput) JobPatchOutput
func (JobPatchArrayOutput) ToJobPatchArrayOutput ¶
func (o JobPatchArrayOutput) ToJobPatchArrayOutput() JobPatchArrayOutput
func (JobPatchArrayOutput) ToJobPatchArrayOutputWithContext ¶
func (o JobPatchArrayOutput) ToJobPatchArrayOutputWithContext(ctx context.Context) JobPatchArrayOutput
type JobPatchInput ¶
type JobPatchInput interface { pulumi.Input ToJobPatchOutput() JobPatchOutput ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput }
type JobPatchMap ¶
type JobPatchMap map[string]JobPatchInput
func (JobPatchMap) ElementType ¶
func (JobPatchMap) ElementType() reflect.Type
func (JobPatchMap) ToJobPatchMapOutput ¶
func (i JobPatchMap) ToJobPatchMapOutput() JobPatchMapOutput
func (JobPatchMap) ToJobPatchMapOutputWithContext ¶
func (i JobPatchMap) ToJobPatchMapOutputWithContext(ctx context.Context) JobPatchMapOutput
type JobPatchMapInput ¶
type JobPatchMapInput interface { pulumi.Input ToJobPatchMapOutput() JobPatchMapOutput ToJobPatchMapOutputWithContext(context.Context) JobPatchMapOutput }
JobPatchMapInput is an input type that accepts JobPatchMap and JobPatchMapOutput values. You can construct a concrete instance of `JobPatchMapInput` via:
JobPatchMap{ "key": JobPatchArgs{...} }
type JobPatchMapOutput ¶
type JobPatchMapOutput struct{ *pulumi.OutputState }
func (JobPatchMapOutput) ElementType ¶
func (JobPatchMapOutput) ElementType() reflect.Type
func (JobPatchMapOutput) MapIndex ¶
func (o JobPatchMapOutput) MapIndex(k pulumi.StringInput) JobPatchOutput
func (JobPatchMapOutput) ToJobPatchMapOutput ¶
func (o JobPatchMapOutput) ToJobPatchMapOutput() JobPatchMapOutput
func (JobPatchMapOutput) ToJobPatchMapOutputWithContext ¶
func (o JobPatchMapOutput) ToJobPatchMapOutputWithContext(ctx context.Context) JobPatchMapOutput
type JobPatchOutput ¶
type JobPatchOutput struct{ *pulumi.OutputState }
func (JobPatchOutput) ApiVersion ¶
func (o JobPatchOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobPatchOutput) ElementType ¶
func (JobPatchOutput) ElementType() reflect.Type
func (JobPatchOutput) Kind ¶
func (o JobPatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobPatchOutput) Metadata ¶
func (o JobPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobPatchOutput) Spec ¶
func (o JobPatchOutput) Spec() JobSpecPatchPtrOutput
Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobPatchOutput) Status ¶
func (o JobPatchOutput) Status() JobStatusPatchPtrOutput
Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobPatchOutput) ToJobPatchOutput ¶
func (o JobPatchOutput) ToJobPatchOutput() JobPatchOutput
func (JobPatchOutput) ToJobPatchOutputWithContext ¶
func (o JobPatchOutput) ToJobPatchOutputWithContext(ctx context.Context) JobPatchOutput
type JobPatchState ¶
type JobPatchState struct { }
func (JobPatchState) ElementType ¶
func (JobPatchState) ElementType() reflect.Type
type JobPatchType ¶
type JobPatchType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *JobSpecPatch `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *JobStatusPatch `pulumi:"status"` }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
type JobPatchTypeArgs ¶
type JobPatchTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPatchPtrInput `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPatchPtrInput `pulumi:"status"` }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
func (JobPatchTypeArgs) ElementType ¶
func (JobPatchTypeArgs) ElementType() reflect.Type
func (JobPatchTypeArgs) ToJobPatchTypeOutput ¶
func (i JobPatchTypeArgs) ToJobPatchTypeOutput() JobPatchTypeOutput
func (JobPatchTypeArgs) ToJobPatchTypeOutputWithContext ¶
func (i JobPatchTypeArgs) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput
func (JobPatchTypeArgs) ToOutput ¶ added in v4.2.0
func (i JobPatchTypeArgs) ToOutput(ctx context.Context) pulumix.Output[JobPatchType]
type JobPatchTypeInput ¶
type JobPatchTypeInput interface { pulumi.Input ToJobPatchTypeOutput() JobPatchTypeOutput ToJobPatchTypeOutputWithContext(context.Context) JobPatchTypeOutput }
JobPatchTypeInput is an input type that accepts JobPatchTypeArgs and JobPatchTypeOutput values. You can construct a concrete instance of `JobPatchTypeInput` via:
JobPatchTypeArgs{...}
type JobPatchTypeOutput ¶
type JobPatchTypeOutput struct{ *pulumi.OutputState }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
func (JobPatchTypeOutput) ApiVersion ¶
func (o JobPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobPatchTypeOutput) ElementType ¶
func (JobPatchTypeOutput) ElementType() reflect.Type
func (JobPatchTypeOutput) Kind ¶
func (o JobPatchTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobPatchTypeOutput) Metadata ¶
func (o JobPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobPatchTypeOutput) Spec ¶
func (o JobPatchTypeOutput) Spec() JobSpecPatchPtrOutput
Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobPatchTypeOutput) Status ¶
func (o JobPatchTypeOutput) Status() JobStatusPatchPtrOutput
Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobPatchTypeOutput) ToJobPatchTypeOutput ¶
func (o JobPatchTypeOutput) ToJobPatchTypeOutput() JobPatchTypeOutput
func (JobPatchTypeOutput) ToJobPatchTypeOutputWithContext ¶
func (o JobPatchTypeOutput) ToJobPatchTypeOutputWithContext(ctx context.Context) JobPatchTypeOutput
func (JobPatchTypeOutput) ToOutput ¶ added in v4.2.0
func (o JobPatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobPatchType]
type JobSpec ¶
type JobSpec struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit *int `pulumi:"backoffLimit"` // Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). BackoffLimitPerIndex *int `pulumi:"backoffLimitPerIndex"` // completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. CompletionMode *string `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions *int `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector *bool `pulumi:"manualSelector"` // Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). MaxFailedIndexes *int `pulumi:"maxFailedIndexes"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism *int `pulumi:"parallelism"` // Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). PodFailurePolicy *PodFailurePolicy `pulumi:"podFailurePolicy"` // podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods // when they are terminating (has a metadata.deletionTimestamp) or failed. // - Failed means to wait until a previously created Pod is fully terminated (has phase // Failed or Succeeded) before creating a replacement Pod. // // When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. PodReplacementPolicy *string `pulumi:"podReplacementPolicy"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector *metav1.LabelSelector `pulumi:"selector"` // suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. Suspend *bool `pulumi:"suspend"` // Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpec `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. TtlSecondsAfterFinished *int `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
type JobSpecArgs ¶
type JobSpecArgs struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"` // Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). BackoffLimitPerIndex pulumi.IntPtrInput `pulumi:"backoffLimitPerIndex"` // completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. CompletionMode pulumi.StringPtrInput `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions pulumi.IntPtrInput `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector pulumi.BoolPtrInput `pulumi:"manualSelector"` // Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). MaxFailedIndexes pulumi.IntPtrInput `pulumi:"maxFailedIndexes"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism pulumi.IntPtrInput `pulumi:"parallelism"` // Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). PodFailurePolicy PodFailurePolicyPtrInput `pulumi:"podFailurePolicy"` // podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods // when they are terminating (has a metadata.deletionTimestamp) or failed. // - Failed means to wait until a previously created Pod is fully terminated (has phase // Failed or Succeeded) before creating a replacement Pod. // // When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. PodReplacementPolicy pulumi.StringPtrInput `pulumi:"podReplacementPolicy"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` // suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. Suspend pulumi.BoolPtrInput `pulumi:"suspend"` // Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpecInput `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. TtlSecondsAfterFinished pulumi.IntPtrInput `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
func (JobSpecArgs) ElementType ¶
func (JobSpecArgs) ElementType() reflect.Type
func (JobSpecArgs) ToJobSpecOutput ¶
func (i JobSpecArgs) ToJobSpecOutput() JobSpecOutput
func (JobSpecArgs) ToJobSpecOutputWithContext ¶
func (i JobSpecArgs) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
func (JobSpecArgs) ToJobSpecPtrOutput ¶
func (i JobSpecArgs) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecArgs) ToJobSpecPtrOutputWithContext ¶
func (i JobSpecArgs) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
type JobSpecInput ¶
type JobSpecInput interface { pulumi.Input ToJobSpecOutput() JobSpecOutput ToJobSpecOutputWithContext(context.Context) JobSpecOutput }
JobSpecInput is an input type that accepts JobSpecArgs and JobSpecOutput values. You can construct a concrete instance of `JobSpecInput` via:
JobSpecArgs{...}
type JobSpecOutput ¶
type JobSpecOutput struct{ *pulumi.OutputState }
JobSpec describes how the job execution will look like.
func (JobSpecOutput) ActiveDeadlineSeconds ¶
func (o JobSpecOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecOutput) BackoffLimit ¶
func (o JobSpecOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecOutput) BackoffLimitPerIndex ¶ added in v4.1.0
func (o JobSpecOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecOutput) CompletionMode ¶
func (o JobSpecOutput) CompletionMode() pulumi.StringPtrOutput
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
func (JobSpecOutput) Completions ¶
func (o JobSpecOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) ElementType ¶
func (JobSpecOutput) ElementType() reflect.Type
func (JobSpecOutput) ManualSelector ¶
func (o JobSpecOutput) ManualSelector() pulumi.BoolPtrOutput
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
func (JobSpecOutput) MaxFailedIndexes ¶ added in v4.1.0
func (o JobSpecOutput) MaxFailedIndexes() pulumi.IntPtrOutput
Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecOutput) Parallelism ¶
func (o JobSpecOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) PodFailurePolicy ¶
func (o JobSpecOutput) PodFailurePolicy() PodFailurePolicyPtrOutput
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
func (JobSpecOutput) PodReplacementPolicy ¶ added in v4.1.0
func (o JobSpecOutput) PodReplacementPolicy() pulumi.StringPtrOutput
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
func (JobSpecOutput) Selector ¶
func (o JobSpecOutput) Selector() metav1.LabelSelectorPtrOutput
A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (JobSpecOutput) Suspend ¶
func (o JobSpecOutput) Suspend() pulumi.BoolPtrOutput
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
func (JobSpecOutput) Template ¶
func (o JobSpecOutput) Template() corev1.PodTemplateSpecOutput
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) ToJobSpecOutput ¶
func (o JobSpecOutput) ToJobSpecOutput() JobSpecOutput
func (JobSpecOutput) ToJobSpecOutputWithContext ¶
func (o JobSpecOutput) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
func (JobSpecOutput) ToJobSpecPtrOutput ¶
func (o JobSpecOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecOutput) ToJobSpecPtrOutputWithContext ¶
func (o JobSpecOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
func (JobSpecOutput) TtlSecondsAfterFinished ¶
func (o JobSpecOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
type JobSpecPatch ¶
type JobSpecPatch struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit *int `pulumi:"backoffLimit"` // Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). BackoffLimitPerIndex *int `pulumi:"backoffLimitPerIndex"` // completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. CompletionMode *string `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions *int `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector *bool `pulumi:"manualSelector"` // Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). MaxFailedIndexes *int `pulumi:"maxFailedIndexes"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism *int `pulumi:"parallelism"` // Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). PodFailurePolicy *PodFailurePolicyPatch `pulumi:"podFailurePolicy"` // podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods // when they are terminating (has a metadata.deletionTimestamp) or failed. // - Failed means to wait until a previously created Pod is fully terminated (has phase // Failed or Succeeded) before creating a replacement Pod. // // When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. PodReplacementPolicy *string `pulumi:"podReplacementPolicy"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector *metav1.LabelSelectorPatch `pulumi:"selector"` // suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. Suspend *bool `pulumi:"suspend"` // Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template *corev1.PodTemplateSpecPatch `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. TtlSecondsAfterFinished *int `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
type JobSpecPatchArgs ¶
type JobSpecPatchArgs struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"` // Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). BackoffLimitPerIndex pulumi.IntPtrInput `pulumi:"backoffLimitPerIndex"` // completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. CompletionMode pulumi.StringPtrInput `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions pulumi.IntPtrInput `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector pulumi.BoolPtrInput `pulumi:"manualSelector"` // Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). MaxFailedIndexes pulumi.IntPtrInput `pulumi:"maxFailedIndexes"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism pulumi.IntPtrInput `pulumi:"parallelism"` // Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). PodFailurePolicy PodFailurePolicyPatchPtrInput `pulumi:"podFailurePolicy"` // podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods // when they are terminating (has a metadata.deletionTimestamp) or failed. // - Failed means to wait until a previously created Pod is fully terminated (has phase // Failed or Succeeded) before creating a replacement Pod. // // When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. PodReplacementPolicy pulumi.StringPtrInput `pulumi:"podReplacementPolicy"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"` // suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. Suspend pulumi.BoolPtrInput `pulumi:"suspend"` // Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpecPatchPtrInput `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. TtlSecondsAfterFinished pulumi.IntPtrInput `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
func (JobSpecPatchArgs) ElementType ¶
func (JobSpecPatchArgs) ElementType() reflect.Type
func (JobSpecPatchArgs) ToJobSpecPatchOutput ¶
func (i JobSpecPatchArgs) ToJobSpecPatchOutput() JobSpecPatchOutput
func (JobSpecPatchArgs) ToJobSpecPatchOutputWithContext ¶
func (i JobSpecPatchArgs) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput
func (JobSpecPatchArgs) ToJobSpecPatchPtrOutput ¶
func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
func (JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext ¶
func (i JobSpecPatchArgs) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
func (JobSpecPatchArgs) ToOutput ¶ added in v4.2.0
func (i JobSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobSpecPatch]
type JobSpecPatchInput ¶
type JobSpecPatchInput interface { pulumi.Input ToJobSpecPatchOutput() JobSpecPatchOutput ToJobSpecPatchOutputWithContext(context.Context) JobSpecPatchOutput }
JobSpecPatchInput is an input type that accepts JobSpecPatchArgs and JobSpecPatchOutput values. You can construct a concrete instance of `JobSpecPatchInput` via:
JobSpecPatchArgs{...}
type JobSpecPatchOutput ¶
type JobSpecPatchOutput struct{ *pulumi.OutputState }
JobSpec describes how the job execution will look like.
func (JobSpecPatchOutput) ActiveDeadlineSeconds ¶
func (o JobSpecPatchOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecPatchOutput) BackoffLimit ¶
func (o JobSpecPatchOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecPatchOutput) BackoffLimitPerIndex ¶ added in v4.1.0
func (o JobSpecPatchOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPatchOutput) CompletionMode ¶
func (o JobSpecPatchOutput) CompletionMode() pulumi.StringPtrOutput
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
func (JobSpecPatchOutput) Completions ¶
func (o JobSpecPatchOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchOutput) ElementType ¶
func (JobSpecPatchOutput) ElementType() reflect.Type
func (JobSpecPatchOutput) ManualSelector ¶
func (o JobSpecPatchOutput) ManualSelector() pulumi.BoolPtrOutput
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
func (JobSpecPatchOutput) MaxFailedIndexes ¶ added in v4.1.0
func (o JobSpecPatchOutput) MaxFailedIndexes() pulumi.IntPtrOutput
Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPatchOutput) Parallelism ¶
func (o JobSpecPatchOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchOutput) PodFailurePolicy ¶
func (o JobSpecPatchOutput) PodFailurePolicy() PodFailurePolicyPatchPtrOutput
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
func (JobSpecPatchOutput) PodReplacementPolicy ¶ added in v4.1.0
func (o JobSpecPatchOutput) PodReplacementPolicy() pulumi.StringPtrOutput
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
func (JobSpecPatchOutput) Selector ¶
func (o JobSpecPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (JobSpecPatchOutput) Suspend ¶
func (o JobSpecPatchOutput) Suspend() pulumi.BoolPtrOutput
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
func (JobSpecPatchOutput) Template ¶
func (o JobSpecPatchOutput) Template() corev1.PodTemplateSpecPatchPtrOutput
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchOutput) ToJobSpecPatchOutput ¶
func (o JobSpecPatchOutput) ToJobSpecPatchOutput() JobSpecPatchOutput
func (JobSpecPatchOutput) ToJobSpecPatchOutputWithContext ¶
func (o JobSpecPatchOutput) ToJobSpecPatchOutputWithContext(ctx context.Context) JobSpecPatchOutput
func (JobSpecPatchOutput) ToJobSpecPatchPtrOutput ¶
func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
func (JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext ¶
func (o JobSpecPatchOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
func (JobSpecPatchOutput) ToOutput ¶ added in v4.2.0
func (o JobSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobSpecPatch]
func (JobSpecPatchOutput) TtlSecondsAfterFinished ¶
func (o JobSpecPatchOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
type JobSpecPatchPtrInput ¶
type JobSpecPatchPtrInput interface { pulumi.Input ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput ToJobSpecPatchPtrOutputWithContext(context.Context) JobSpecPatchPtrOutput }
JobSpecPatchPtrInput is an input type that accepts JobSpecPatchArgs, JobSpecPatchPtr and JobSpecPatchPtrOutput values. You can construct a concrete instance of `JobSpecPatchPtrInput` via:
JobSpecPatchArgs{...} or: nil
func JobSpecPatchPtr ¶
func JobSpecPatchPtr(v *JobSpecPatchArgs) JobSpecPatchPtrInput
type JobSpecPatchPtrOutput ¶
type JobSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (JobSpecPatchPtrOutput) ActiveDeadlineSeconds ¶
func (o JobSpecPatchPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecPatchPtrOutput) BackoffLimit ¶
func (o JobSpecPatchPtrOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecPatchPtrOutput) BackoffLimitPerIndex ¶ added in v4.1.0
func (o JobSpecPatchPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPatchPtrOutput) CompletionMode ¶
func (o JobSpecPatchPtrOutput) CompletionMode() pulumi.StringPtrOutput
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
func (JobSpecPatchPtrOutput) Completions ¶
func (o JobSpecPatchPtrOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchPtrOutput) Elem ¶
func (o JobSpecPatchPtrOutput) Elem() JobSpecPatchOutput
func (JobSpecPatchPtrOutput) ElementType ¶
func (JobSpecPatchPtrOutput) ElementType() reflect.Type
func (JobSpecPatchPtrOutput) ManualSelector ¶
func (o JobSpecPatchPtrOutput) ManualSelector() pulumi.BoolPtrOutput
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
func (JobSpecPatchPtrOutput) MaxFailedIndexes ¶ added in v4.1.0
func (o JobSpecPatchPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput
Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPatchPtrOutput) Parallelism ¶
func (o JobSpecPatchPtrOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchPtrOutput) PodFailurePolicy ¶
func (o JobSpecPatchPtrOutput) PodFailurePolicy() PodFailurePolicyPatchPtrOutput
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
func (JobSpecPatchPtrOutput) PodReplacementPolicy ¶ added in v4.1.0
func (o JobSpecPatchPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
func (JobSpecPatchPtrOutput) Selector ¶
func (o JobSpecPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (JobSpecPatchPtrOutput) Suspend ¶
func (o JobSpecPatchPtrOutput) Suspend() pulumi.BoolPtrOutput
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
func (JobSpecPatchPtrOutput) Template ¶
func (o JobSpecPatchPtrOutput) Template() corev1.PodTemplateSpecPatchPtrOutput
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput ¶
func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutput() JobSpecPatchPtrOutput
func (JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext ¶
func (o JobSpecPatchPtrOutput) ToJobSpecPatchPtrOutputWithContext(ctx context.Context) JobSpecPatchPtrOutput
func (JobSpecPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o JobSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobSpecPatch]
func (JobSpecPatchPtrOutput) TtlSecondsAfterFinished ¶
func (o JobSpecPatchPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
type JobSpecPtrInput ¶
type JobSpecPtrInput interface { pulumi.Input ToJobSpecPtrOutput() JobSpecPtrOutput ToJobSpecPtrOutputWithContext(context.Context) JobSpecPtrOutput }
JobSpecPtrInput is an input type that accepts JobSpecArgs, JobSpecPtr and JobSpecPtrOutput values. You can construct a concrete instance of `JobSpecPtrInput` via:
JobSpecArgs{...} or: nil
func JobSpecPtr ¶
func JobSpecPtr(v *JobSpecArgs) JobSpecPtrInput
type JobSpecPtrOutput ¶
type JobSpecPtrOutput struct{ *pulumi.OutputState }
func (JobSpecPtrOutput) ActiveDeadlineSeconds ¶
func (o JobSpecPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecPtrOutput) BackoffLimit ¶
func (o JobSpecPtrOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecPtrOutput) BackoffLimitPerIndex ¶ added in v4.1.0
func (o JobSpecPtrOutput) BackoffLimitPerIndex() pulumi.IntPtrOutput
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPtrOutput) CompletionMode ¶
func (o JobSpecPtrOutput) CompletionMode() pulumi.StringPtrOutput
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
func (JobSpecPtrOutput) Completions ¶
func (o JobSpecPtrOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) Elem ¶
func (o JobSpecPtrOutput) Elem() JobSpecOutput
func (JobSpecPtrOutput) ElementType ¶
func (JobSpecPtrOutput) ElementType() reflect.Type
func (JobSpecPtrOutput) ManualSelector ¶
func (o JobSpecPtrOutput) ManualSelector() pulumi.BoolPtrOutput
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
func (JobSpecPtrOutput) MaxFailedIndexes ¶ added in v4.1.0
func (o JobSpecPtrOutput) MaxFailedIndexes() pulumi.IntPtrOutput
Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobSpecPtrOutput) Parallelism ¶
func (o JobSpecPtrOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) PodFailurePolicy ¶
func (o JobSpecPtrOutput) PodFailurePolicy() PodFailurePolicyPtrOutput
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
func (JobSpecPtrOutput) PodReplacementPolicy ¶ added in v4.1.0
func (o JobSpecPtrOutput) PodReplacementPolicy() pulumi.StringPtrOutput
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.
func (JobSpecPtrOutput) Selector ¶
func (o JobSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
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 ¶
func (o JobSpecPtrOutput) Suspend() pulumi.BoolPtrOutput
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
func (JobSpecPtrOutput) Template ¶
func (o JobSpecPtrOutput) Template() corev1.PodTemplateSpecPtrOutput
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) ToJobSpecPtrOutput ¶
func (o JobSpecPtrOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecPtrOutput) ToJobSpecPtrOutputWithContext ¶
func (o JobSpecPtrOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
func (JobSpecPtrOutput) TtlSecondsAfterFinished ¶
func (o JobSpecPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
type JobStatus ¶
type JobStatus struct { // The number of pending and running pods. Active *int `pulumi:"active"` // completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes *string `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime *string `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions []JobCondition `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed *int `pulumi:"failed"` // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). FailedIndexes *string `pulumi:"failedIndexes"` // The number of pods which have a Ready condition. // // This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default). Ready *int `pulumi:"ready"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime *string `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded *int `pulumi:"succeeded"` // The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). // // This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default). Terminating *int `pulumi:"terminating"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters. // // The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: // // 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding // counter. // // Old jobs might not be tracked using this field, in which case the field remains null. UncountedTerminatedPods *UncountedTerminatedPods `pulumi:"uncountedTerminatedPods"` }
JobStatus represents the current state of a Job.
type JobStatusArgs ¶
type JobStatusArgs struct { // The number of pending and running pods. Active pulumi.IntPtrInput `pulumi:"active"` // completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes pulumi.StringPtrInput `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions JobConditionArrayInput `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed pulumi.IntPtrInput `pulumi:"failed"` // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). FailedIndexes pulumi.StringPtrInput `pulumi:"failedIndexes"` // The number of pods which have a Ready condition. // // This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default). Ready pulumi.IntPtrInput `pulumi:"ready"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded pulumi.IntPtrInput `pulumi:"succeeded"` // The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). // // This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default). Terminating pulumi.IntPtrInput `pulumi:"terminating"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters. // // The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: // // 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding // counter. // // Old jobs might not be tracked using this field, in which case the field remains null. UncountedTerminatedPods UncountedTerminatedPodsPtrInput `pulumi:"uncountedTerminatedPods"` }
JobStatus represents the current state of a Job.
func (JobStatusArgs) ElementType ¶
func (JobStatusArgs) ElementType() reflect.Type
func (JobStatusArgs) ToJobStatusOutput ¶
func (i JobStatusArgs) ToJobStatusOutput() JobStatusOutput
func (JobStatusArgs) ToJobStatusOutputWithContext ¶
func (i JobStatusArgs) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
func (JobStatusArgs) ToJobStatusPtrOutput ¶
func (i JobStatusArgs) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusArgs) ToJobStatusPtrOutputWithContext ¶
func (i JobStatusArgs) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
type JobStatusInput ¶
type JobStatusInput interface { pulumi.Input ToJobStatusOutput() JobStatusOutput ToJobStatusOutputWithContext(context.Context) JobStatusOutput }
JobStatusInput is an input type that accepts JobStatusArgs and JobStatusOutput values. You can construct a concrete instance of `JobStatusInput` via:
JobStatusArgs{...}
type JobStatusOutput ¶
type JobStatusOutput struct{ *pulumi.OutputState }
JobStatus represents the current state of a Job.
func (JobStatusOutput) Active ¶
func (o JobStatusOutput) Active() pulumi.IntPtrOutput
The number of pending and running pods.
func (JobStatusOutput) CompletedIndexes ¶
func (o JobStatusOutput) CompletedIndexes() pulumi.StringPtrOutput
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
func (JobStatusOutput) CompletionTime ¶
func (o JobStatusOutput) CompletionTime() pulumi.StringPtrOutput
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
func (JobStatusOutput) Conditions ¶
func (o JobStatusOutput) Conditions() JobConditionArrayOutput
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobStatusOutput) ElementType ¶
func (JobStatusOutput) ElementType() reflect.Type
func (JobStatusOutput) Failed ¶
func (o JobStatusOutput) Failed() pulumi.IntPtrOutput
The number of pods which reached phase Failed.
func (JobStatusOutput) FailedIndexes ¶ added in v4.1.0
func (o JobStatusOutput) FailedIndexes() pulumi.StringPtrOutput
FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobStatusOutput) Ready ¶
func (o JobStatusOutput) Ready() pulumi.IntPtrOutput
The number of pods which have a Ready condition.
This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
func (JobStatusOutput) StartTime ¶
func (o JobStatusOutput) StartTime() pulumi.StringPtrOutput
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
func (JobStatusOutput) Succeeded ¶
func (o JobStatusOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusOutput) Terminating ¶ added in v4.1.0
func (o JobStatusOutput) Terminating() pulumi.IntPtrOutput
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
func (JobStatusOutput) ToJobStatusOutput ¶
func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput
func (JobStatusOutput) ToJobStatusOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
func (JobStatusOutput) ToJobStatusPtrOutput ¶
func (o JobStatusOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
func (JobStatusOutput) UncountedTerminatedPods ¶
func (o JobStatusOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
- Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.
Old jobs might not be tracked using this field, in which case the field remains null.
type JobStatusPatch ¶
type JobStatusPatch struct { // The number of pending and running pods. Active *int `pulumi:"active"` // completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes *string `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime *string `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions []JobConditionPatch `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed *int `pulumi:"failed"` // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). FailedIndexes *string `pulumi:"failedIndexes"` // The number of pods which have a Ready condition. // // This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default). Ready *int `pulumi:"ready"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime *string `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded *int `pulumi:"succeeded"` // The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). // // This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default). Terminating *int `pulumi:"terminating"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters. // // The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: // // 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding // counter. // // Old jobs might not be tracked using this field, in which case the field remains null. UncountedTerminatedPods *UncountedTerminatedPodsPatch `pulumi:"uncountedTerminatedPods"` }
JobStatus represents the current state of a Job.
type JobStatusPatchArgs ¶
type JobStatusPatchArgs struct { // The number of pending and running pods. Active pulumi.IntPtrInput `pulumi:"active"` // completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes pulumi.StringPtrInput `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions JobConditionPatchArrayInput `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed pulumi.IntPtrInput `pulumi:"failed"` // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). FailedIndexes pulumi.StringPtrInput `pulumi:"failedIndexes"` // The number of pods which have a Ready condition. // // This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default). Ready pulumi.IntPtrInput `pulumi:"ready"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded pulumi.IntPtrInput `pulumi:"succeeded"` // The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). // // This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default). Terminating pulumi.IntPtrInput `pulumi:"terminating"` // uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters. // // The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: // // 1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding // counter. // // Old jobs might not be tracked using this field, in which case the field remains null. UncountedTerminatedPods UncountedTerminatedPodsPatchPtrInput `pulumi:"uncountedTerminatedPods"` }
JobStatus represents the current state of a Job.
func (JobStatusPatchArgs) ElementType ¶
func (JobStatusPatchArgs) ElementType() reflect.Type
func (JobStatusPatchArgs) ToJobStatusPatchOutput ¶
func (i JobStatusPatchArgs) ToJobStatusPatchOutput() JobStatusPatchOutput
func (JobStatusPatchArgs) ToJobStatusPatchOutputWithContext ¶
func (i JobStatusPatchArgs) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput
func (JobStatusPatchArgs) ToJobStatusPatchPtrOutput ¶
func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
func (JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext ¶
func (i JobStatusPatchArgs) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
func (JobStatusPatchArgs) ToOutput ¶ added in v4.2.0
func (i JobStatusPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobStatusPatch]
type JobStatusPatchInput ¶
type JobStatusPatchInput interface { pulumi.Input ToJobStatusPatchOutput() JobStatusPatchOutput ToJobStatusPatchOutputWithContext(context.Context) JobStatusPatchOutput }
JobStatusPatchInput is an input type that accepts JobStatusPatchArgs and JobStatusPatchOutput values. You can construct a concrete instance of `JobStatusPatchInput` via:
JobStatusPatchArgs{...}
type JobStatusPatchOutput ¶
type JobStatusPatchOutput struct{ *pulumi.OutputState }
JobStatus represents the current state of a Job.
func (JobStatusPatchOutput) Active ¶
func (o JobStatusPatchOutput) Active() pulumi.IntPtrOutput
The number of pending and running pods.
func (JobStatusPatchOutput) CompletedIndexes ¶
func (o JobStatusPatchOutput) CompletedIndexes() pulumi.StringPtrOutput
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
func (JobStatusPatchOutput) CompletionTime ¶
func (o JobStatusPatchOutput) CompletionTime() pulumi.StringPtrOutput
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
func (JobStatusPatchOutput) Conditions ¶
func (o JobStatusPatchOutput) Conditions() JobConditionPatchArrayOutput
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobStatusPatchOutput) ElementType ¶
func (JobStatusPatchOutput) ElementType() reflect.Type
func (JobStatusPatchOutput) Failed ¶
func (o JobStatusPatchOutput) Failed() pulumi.IntPtrOutput
The number of pods which reached phase Failed.
func (JobStatusPatchOutput) FailedIndexes ¶ added in v4.1.0
func (o JobStatusPatchOutput) FailedIndexes() pulumi.StringPtrOutput
FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobStatusPatchOutput) Ready ¶
func (o JobStatusPatchOutput) Ready() pulumi.IntPtrOutput
The number of pods which have a Ready condition.
This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
func (JobStatusPatchOutput) StartTime ¶
func (o JobStatusPatchOutput) 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 (JobStatusPatchOutput) Succeeded ¶
func (o JobStatusPatchOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusPatchOutput) Terminating ¶ added in v4.1.0
func (o JobStatusPatchOutput) Terminating() pulumi.IntPtrOutput
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
func (JobStatusPatchOutput) ToJobStatusPatchOutput ¶
func (o JobStatusPatchOutput) ToJobStatusPatchOutput() JobStatusPatchOutput
func (JobStatusPatchOutput) ToJobStatusPatchOutputWithContext ¶
func (o JobStatusPatchOutput) ToJobStatusPatchOutputWithContext(ctx context.Context) JobStatusPatchOutput
func (JobStatusPatchOutput) ToJobStatusPatchPtrOutput ¶
func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
func (JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext ¶
func (o JobStatusPatchOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
func (JobStatusPatchOutput) ToOutput ¶ added in v4.2.0
func (o JobStatusPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusPatch]
func (JobStatusPatchOutput) UncountedTerminatedPods ¶
func (o JobStatusPatchOutput) UncountedTerminatedPods() UncountedTerminatedPodsPatchPtrOutput
uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
- Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.
Old jobs might not be tracked using this field, in which case the field remains null.
type JobStatusPatchPtrInput ¶
type JobStatusPatchPtrInput interface { pulumi.Input ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput ToJobStatusPatchPtrOutputWithContext(context.Context) JobStatusPatchPtrOutput }
JobStatusPatchPtrInput is an input type that accepts JobStatusPatchArgs, JobStatusPatchPtr and JobStatusPatchPtrOutput values. You can construct a concrete instance of `JobStatusPatchPtrInput` via:
JobStatusPatchArgs{...} or: nil
func JobStatusPatchPtr ¶
func JobStatusPatchPtr(v *JobStatusPatchArgs) JobStatusPatchPtrInput
type JobStatusPatchPtrOutput ¶
type JobStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (JobStatusPatchPtrOutput) Active ¶
func (o JobStatusPatchPtrOutput) Active() pulumi.IntPtrOutput
The number of pending and running pods.
func (JobStatusPatchPtrOutput) CompletedIndexes ¶
func (o JobStatusPatchPtrOutput) CompletedIndexes() pulumi.StringPtrOutput
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
func (JobStatusPatchPtrOutput) CompletionTime ¶
func (o JobStatusPatchPtrOutput) CompletionTime() pulumi.StringPtrOutput
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
func (JobStatusPatchPtrOutput) Conditions ¶
func (o JobStatusPatchPtrOutput) Conditions() JobConditionPatchArrayOutput
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobStatusPatchPtrOutput) Elem ¶
func (o JobStatusPatchPtrOutput) Elem() JobStatusPatchOutput
func (JobStatusPatchPtrOutput) ElementType ¶
func (JobStatusPatchPtrOutput) ElementType() reflect.Type
func (JobStatusPatchPtrOutput) Failed ¶
func (o JobStatusPatchPtrOutput) Failed() pulumi.IntPtrOutput
The number of pods which reached phase Failed.
func (JobStatusPatchPtrOutput) FailedIndexes ¶ added in v4.1.0
func (o JobStatusPatchPtrOutput) FailedIndexes() pulumi.StringPtrOutput
FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobStatusPatchPtrOutput) Ready ¶
func (o JobStatusPatchPtrOutput) Ready() pulumi.IntPtrOutput
The number of pods which have a Ready condition.
This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
func (JobStatusPatchPtrOutput) StartTime ¶
func (o JobStatusPatchPtrOutput) 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 (JobStatusPatchPtrOutput) Succeeded ¶
func (o JobStatusPatchPtrOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusPatchPtrOutput) Terminating ¶ added in v4.1.0
func (o JobStatusPatchPtrOutput) Terminating() pulumi.IntPtrOutput
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput ¶
func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutput() JobStatusPatchPtrOutput
func (JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext ¶
func (o JobStatusPatchPtrOutput) ToJobStatusPatchPtrOutputWithContext(ctx context.Context) JobStatusPatchPtrOutput
func (JobStatusPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o JobStatusPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobStatusPatch]
func (JobStatusPatchPtrOutput) UncountedTerminatedPods ¶
func (o JobStatusPatchPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPatchPtrOutput
uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
- Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.
Old jobs might not be tracked using this field, in which case the field remains null.
type JobStatusPtrInput ¶
type JobStatusPtrInput interface { pulumi.Input ToJobStatusPtrOutput() JobStatusPtrOutput ToJobStatusPtrOutputWithContext(context.Context) JobStatusPtrOutput }
JobStatusPtrInput is an input type that accepts JobStatusArgs, JobStatusPtr and JobStatusPtrOutput values. You can construct a concrete instance of `JobStatusPtrInput` via:
JobStatusArgs{...} or: nil
func JobStatusPtr ¶
func JobStatusPtr(v *JobStatusArgs) JobStatusPtrInput
type JobStatusPtrOutput ¶
type JobStatusPtrOutput struct{ *pulumi.OutputState }
func (JobStatusPtrOutput) Active ¶
func (o JobStatusPtrOutput) Active() pulumi.IntPtrOutput
The number of pending and running pods.
func (JobStatusPtrOutput) CompletedIndexes ¶
func (o JobStatusPtrOutput) CompletedIndexes() pulumi.StringPtrOutput
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
func (JobStatusPtrOutput) CompletionTime ¶
func (o JobStatusPtrOutput) CompletionTime() pulumi.StringPtrOutput
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.
func (JobStatusPtrOutput) Conditions ¶
func (o JobStatusPtrOutput) Conditions() JobConditionArrayOutput
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 (o JobStatusPtrOutput) Elem() JobStatusOutput
func (JobStatusPtrOutput) ElementType ¶
func (JobStatusPtrOutput) ElementType() reflect.Type
func (JobStatusPtrOutput) Failed ¶
func (o JobStatusPtrOutput) Failed() pulumi.IntPtrOutput
The number of pods which reached phase Failed.
func (JobStatusPtrOutput) FailedIndexes ¶ added in v4.1.0
func (o JobStatusPtrOutput) FailedIndexes() pulumi.StringPtrOutput
FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
func (JobStatusPtrOutput) Ready ¶
func (o JobStatusPtrOutput) Ready() pulumi.IntPtrOutput
The number of pods which have a Ready condition.
This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).
func (JobStatusPtrOutput) StartTime ¶
func (o JobStatusPtrOutput) 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 (JobStatusPtrOutput) Succeeded ¶
func (o JobStatusPtrOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusPtrOutput) Terminating ¶ added in v4.1.0
func (o JobStatusPtrOutput) Terminating() pulumi.IntPtrOutput
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).
func (JobStatusPtrOutput) ToJobStatusPtrOutput ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusPtrOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
func (JobStatusPtrOutput) UncountedTerminatedPods ¶
func (o JobStatusPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:
- Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding counter.
Old jobs might not be tracked using this field, in which case the field remains null.
type JobTemplateSpec ¶
type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *JobSpec `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
type JobTemplateSpecArgs ¶
type JobTemplateSpecArgs struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrInput `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecArgs) ElementType ¶
func (JobTemplateSpecArgs) ElementType() reflect.Type
func (JobTemplateSpecArgs) ToJobTemplateSpecOutput ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
func (JobTemplateSpecArgs) ToOutput ¶ added in v4.2.0
func (i JobTemplateSpecArgs) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpec]
type JobTemplateSpecInput ¶
type JobTemplateSpecInput interface { pulumi.Input ToJobTemplateSpecOutput() JobTemplateSpecOutput ToJobTemplateSpecOutputWithContext(context.Context) JobTemplateSpecOutput }
JobTemplateSpecInput is an input type that accepts JobTemplateSpecArgs and JobTemplateSpecOutput values. You can construct a concrete instance of `JobTemplateSpecInput` via:
JobTemplateSpecArgs{...}
type JobTemplateSpecOutput ¶
type JobTemplateSpecOutput struct{ *pulumi.OutputState }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecOutput) ElementType ¶
func (JobTemplateSpecOutput) ElementType() reflect.Type
func (JobTemplateSpecOutput) Metadata ¶
func (o JobTemplateSpecOutput) Metadata() metav1.ObjectMetaPtrOutput
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 ¶
func (o JobTemplateSpecOutput) Spec() JobSpecPtrOutput
Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTemplateSpecOutput) ToJobTemplateSpecOutput ¶
func (o JobTemplateSpecOutput) ToJobTemplateSpecOutput() JobTemplateSpecOutput
func (JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext ¶
func (o JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput
func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput ¶
func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext ¶
func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
func (JobTemplateSpecOutput) ToOutput ¶ added in v4.2.0
func (o JobTemplateSpecOutput) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpec]
type JobTemplateSpecPatch ¶
type JobTemplateSpecPatch struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *JobSpecPatch `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
type JobTemplateSpecPatchArgs ¶
type JobTemplateSpecPatchArgs struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPatchPtrInput `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecPatchArgs) ElementType ¶
func (JobTemplateSpecPatchArgs) ElementType() reflect.Type
func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput ¶
func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput
func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext ¶
func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput
func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput ¶
func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext ¶
func (i JobTemplateSpecPatchArgs) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchArgs) ToOutput ¶ added in v4.2.0
func (i JobTemplateSpecPatchArgs) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpecPatch]
type JobTemplateSpecPatchInput ¶
type JobTemplateSpecPatchInput interface { pulumi.Input ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput ToJobTemplateSpecPatchOutputWithContext(context.Context) JobTemplateSpecPatchOutput }
JobTemplateSpecPatchInput is an input type that accepts JobTemplateSpecPatchArgs and JobTemplateSpecPatchOutput values. You can construct a concrete instance of `JobTemplateSpecPatchInput` via:
JobTemplateSpecPatchArgs{...}
type JobTemplateSpecPatchOutput ¶
type JobTemplateSpecPatchOutput struct{ *pulumi.OutputState }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecPatchOutput) ElementType ¶
func (JobTemplateSpecPatchOutput) ElementType() reflect.Type
func (JobTemplateSpecPatchOutput) Metadata ¶
func (o JobTemplateSpecPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobTemplateSpecPatchOutput) Spec ¶
func (o JobTemplateSpecPatchOutput) Spec() JobSpecPatchPtrOutput
Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput ¶
func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutput() JobTemplateSpecPatchOutput
func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext ¶
func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchOutputWithContext(ctx context.Context) JobTemplateSpecPatchOutput
func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput ¶
func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext ¶
func (o JobTemplateSpecPatchOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchOutput) ToOutput ¶ added in v4.2.0
func (o JobTemplateSpecPatchOutput) ToOutput(ctx context.Context) pulumix.Output[JobTemplateSpecPatch]
type JobTemplateSpecPatchPtrInput ¶
type JobTemplateSpecPatchPtrInput interface { pulumi.Input ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput ToJobTemplateSpecPatchPtrOutputWithContext(context.Context) JobTemplateSpecPatchPtrOutput }
JobTemplateSpecPatchPtrInput is an input type that accepts JobTemplateSpecPatchArgs, JobTemplateSpecPatchPtr and JobTemplateSpecPatchPtrOutput values. You can construct a concrete instance of `JobTemplateSpecPatchPtrInput` via:
JobTemplateSpecPatchArgs{...} or: nil
func JobTemplateSpecPatchPtr ¶
func JobTemplateSpecPatchPtr(v *JobTemplateSpecPatchArgs) JobTemplateSpecPatchPtrInput
type JobTemplateSpecPatchPtrOutput ¶
type JobTemplateSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (JobTemplateSpecPatchPtrOutput) Elem ¶
func (o JobTemplateSpecPatchPtrOutput) Elem() JobTemplateSpecPatchOutput
func (JobTemplateSpecPatchPtrOutput) ElementType ¶
func (JobTemplateSpecPatchPtrOutput) ElementType() reflect.Type
func (JobTemplateSpecPatchPtrOutput) Metadata ¶
func (o JobTemplateSpecPatchPtrOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobTemplateSpecPatchPtrOutput) Spec ¶
func (o JobTemplateSpecPatchPtrOutput) Spec() JobSpecPatchPtrOutput
Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput ¶
func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutput() JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext ¶
func (o JobTemplateSpecPatchPtrOutput) ToJobTemplateSpecPatchPtrOutputWithContext(ctx context.Context) JobTemplateSpecPatchPtrOutput
func (JobTemplateSpecPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o JobTemplateSpecPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplateSpecPatch]
type JobTemplateSpecPtrInput ¶
type JobTemplateSpecPtrInput interface { pulumi.Input ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput ToJobTemplateSpecPtrOutputWithContext(context.Context) JobTemplateSpecPtrOutput }
JobTemplateSpecPtrInput is an input type that accepts JobTemplateSpecArgs, JobTemplateSpecPtr and JobTemplateSpecPtrOutput values. You can construct a concrete instance of `JobTemplateSpecPtrInput` via:
JobTemplateSpecArgs{...} or: nil
func JobTemplateSpecPtr ¶
func JobTemplateSpecPtr(v *JobTemplateSpecArgs) JobTemplateSpecPtrInput
type JobTemplateSpecPtrOutput ¶
type JobTemplateSpecPtrOutput struct{ *pulumi.OutputState }
func (JobTemplateSpecPtrOutput) Elem ¶
func (o JobTemplateSpecPtrOutput) Elem() JobTemplateSpecOutput
func (JobTemplateSpecPtrOutput) ElementType ¶
func (JobTemplateSpecPtrOutput) ElementType() reflect.Type
func (JobTemplateSpecPtrOutput) Metadata ¶
func (o JobTemplateSpecPtrOutput) Metadata() metav1.ObjectMetaPtrOutput
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 ¶
func (o JobTemplateSpecPtrOutput) Spec() JobSpecPtrOutput
Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput ¶
func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext ¶
func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
func (JobTemplateSpecPtrOutput) ToOutput ¶ added in v4.2.0
func (o JobTemplateSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplateSpec]
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:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
type JobTypeArgs ¶
type JobTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrInput `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPtrInput `pulumi:"status"` }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
func (JobTypeArgs) ElementType ¶
func (JobTypeArgs) ElementType() reflect.Type
func (JobTypeArgs) ToJobTypeOutput ¶
func (i JobTypeArgs) ToJobTypeOutput() JobTypeOutput
func (JobTypeArgs) ToJobTypeOutputWithContext ¶
func (i JobTypeArgs) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput
type JobTypeArray ¶
type JobTypeArray []JobTypeInput
func (JobTypeArray) ElementType ¶
func (JobTypeArray) ElementType() reflect.Type
func (JobTypeArray) ToJobTypeArrayOutput ¶
func (i JobTypeArray) ToJobTypeArrayOutput() JobTypeArrayOutput
func (JobTypeArray) ToJobTypeArrayOutputWithContext ¶
func (i JobTypeArray) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput
type JobTypeArrayInput ¶
type JobTypeArrayInput interface { pulumi.Input ToJobTypeArrayOutput() JobTypeArrayOutput ToJobTypeArrayOutputWithContext(context.Context) JobTypeArrayOutput }
JobTypeArrayInput is an input type that accepts JobTypeArray and JobTypeArrayOutput values. You can construct a concrete instance of `JobTypeArrayInput` via:
JobTypeArray{ JobTypeArgs{...} }
type JobTypeArrayOutput ¶
type JobTypeArrayOutput struct{ *pulumi.OutputState }
func (JobTypeArrayOutput) ElementType ¶
func (JobTypeArrayOutput) ElementType() reflect.Type
func (JobTypeArrayOutput) Index ¶
func (o JobTypeArrayOutput) Index(i pulumi.IntInput) JobTypeOutput
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:
- The Job's '.status.startTime' is set, which indicates that the Job has started running.
- The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
- The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.
If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.
By default, if a resource failed to become ready in a previous update, Pulumi will continue to wait for readiness on the next update. If you would prefer to schedule a replacement for an unready resource on the next update, you can add the "pulumi.com/replaceUnready": "true" annotation to the resource definition.
func (JobTypeOutput) ApiVersion ¶
func (o JobTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobTypeOutput) ElementType ¶
func (JobTypeOutput) ElementType() reflect.Type
func (JobTypeOutput) Kind ¶
func (o JobTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (JobTypeOutput) Metadata ¶
func (o JobTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (JobTypeOutput) Spec ¶
func (o JobTypeOutput) Spec() JobSpecPtrOutput
Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTypeOutput) Status ¶
func (o JobTypeOutput) Status() JobStatusPtrOutput
Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (JobTypeOutput) ToJobTypeOutput ¶
func (o JobTypeOutput) ToJobTypeOutput() JobTypeOutput
func (JobTypeOutput) ToJobTypeOutputWithContext ¶
func (o JobTypeOutput) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput
type PodFailurePolicy ¶
type PodFailurePolicy struct { // A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. Rules []PodFailurePolicyRule `pulumi:"rules"` }
PodFailurePolicy describes how failed pods influence the backoffLimit.
type PodFailurePolicyArgs ¶
type PodFailurePolicyArgs struct { // A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. Rules PodFailurePolicyRuleArrayInput `pulumi:"rules"` }
PodFailurePolicy describes how failed pods influence the backoffLimit.
func (PodFailurePolicyArgs) ElementType ¶
func (PodFailurePolicyArgs) ElementType() reflect.Type
func (PodFailurePolicyArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicy]
func (PodFailurePolicyArgs) ToPodFailurePolicyOutput ¶
func (i PodFailurePolicyArgs) ToPodFailurePolicyOutput() PodFailurePolicyOutput
func (PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext ¶
func (i PodFailurePolicyArgs) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput
func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput ¶
func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
func (PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext ¶
func (i PodFailurePolicyArgs) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
type PodFailurePolicyInput ¶
type PodFailurePolicyInput interface { pulumi.Input ToPodFailurePolicyOutput() PodFailurePolicyOutput ToPodFailurePolicyOutputWithContext(context.Context) PodFailurePolicyOutput }
PodFailurePolicyInput is an input type that accepts PodFailurePolicyArgs and PodFailurePolicyOutput values. You can construct a concrete instance of `PodFailurePolicyInput` via:
PodFailurePolicyArgs{...}
type PodFailurePolicyOnExitCodesRequirement ¶
type PodFailurePolicyOnExitCodesRequirement struct { // Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template. ContainerName *string `pulumi:"containerName"` // Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: // // - In: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is in the set of specified values. // - NotIn: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is not in the set of specified values. // Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied. Operator string `pulumi:"operator"` // Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed. Values []int `pulumi:"values"` }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
type PodFailurePolicyOnExitCodesRequirementArgs ¶
type PodFailurePolicyOnExitCodesRequirementArgs struct { // Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template. ContainerName pulumi.StringPtrInput `pulumi:"containerName"` // Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: // // - In: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is in the set of specified values. // - NotIn: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is not in the set of specified values. // Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied. Operator pulumi.StringInput `pulumi:"operator"` // Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed. Values pulumi.IntArrayInput `pulumi:"values"` }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
func (PodFailurePolicyOnExitCodesRequirementArgs) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementArgs) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyOnExitCodesRequirementArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirement]
func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput ¶
func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput
func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext ¶
func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput
func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput ¶
func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
func (PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext ¶
func (i PodFailurePolicyOnExitCodesRequirementArgs) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
type PodFailurePolicyOnExitCodesRequirementInput ¶
type PodFailurePolicyOnExitCodesRequirementInput interface { pulumi.Input ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementOutput }
PodFailurePolicyOnExitCodesRequirementInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementArgs and PodFailurePolicyOnExitCodesRequirementOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementInput` via:
PodFailurePolicyOnExitCodesRequirementArgs{...}
type PodFailurePolicyOnExitCodesRequirementOutput ¶
type PodFailurePolicyOnExitCodesRequirementOutput struct{ *pulumi.OutputState }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
func (PodFailurePolicyOnExitCodesRequirementOutput) ContainerName ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) ContainerName() pulumi.StringPtrOutput
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
func (PodFailurePolicyOnExitCodesRequirementOutput) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementOutput) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementOutput) Operator ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) Operator() pulumi.StringOutput
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
- In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
- NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
func (PodFailurePolicyOnExitCodesRequirementOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOnExitCodesRequirementOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnExitCodesRequirement]
func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutput() PodFailurePolicyOnExitCodesRequirementOutput
func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementOutput
func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
func (PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
func (PodFailurePolicyOnExitCodesRequirementOutput) Values ¶
func (o PodFailurePolicyOnExitCodesRequirementOutput) Values() pulumi.IntArrayOutput
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
type PodFailurePolicyOnExitCodesRequirementPatch ¶
type PodFailurePolicyOnExitCodesRequirementPatch struct { // Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template. ContainerName *string `pulumi:"containerName"` // Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: // // - In: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is in the set of specified values. // - NotIn: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is not in the set of specified values. // Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied. Operator *string `pulumi:"operator"` // Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed. Values []int `pulumi:"values"` }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
type PodFailurePolicyOnExitCodesRequirementPatchArgs ¶
type PodFailurePolicyOnExitCodesRequirementPatchArgs struct { // Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template. ContainerName pulumi.StringPtrInput `pulumi:"containerName"` // Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: // // - In: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is in the set of specified values. // - NotIn: the requirement is satisfied if at least one container exit code // (might be multiple if there are multiple containers not restricted // by the 'containerName' field) is not in the set of specified values. // Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied. Operator pulumi.StringPtrInput `pulumi:"operator"` // Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed. Values pulumi.IntArrayInput `pulumi:"values"` }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput ¶
func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext ¶
func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput ¶
func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext ¶
func (i PodFailurePolicyOnExitCodesRequirementPatchArgs) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
type PodFailurePolicyOnExitCodesRequirementPatchInput ¶
type PodFailurePolicyOnExitCodesRequirementPatchInput interface { pulumi.Input ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput }
PodFailurePolicyOnExitCodesRequirementPatchInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementPatchArgs and PodFailurePolicyOnExitCodesRequirementPatchOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPatchInput` via:
PodFailurePolicyOnExitCodesRequirementPatchArgs{...}
type PodFailurePolicyOnExitCodesRequirementPatchOutput ¶
type PodFailurePolicyOnExitCodesRequirementPatchOutput struct{ *pulumi.OutputState }
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ContainerName ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ContainerName() pulumi.StringPtrOutput
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Operator ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) Operator() pulumi.StringPtrOutput
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
- In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
- NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutput() PodFailurePolicyOnExitCodesRequirementPatchOutput
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchOutput
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPatchOutput) Values ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchOutput) Values() pulumi.IntArrayOutput
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
type PodFailurePolicyOnExitCodesRequirementPatchPtrInput ¶
type PodFailurePolicyOnExitCodesRequirementPatchPtrInput interface { pulumi.Input ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput }
PodFailurePolicyOnExitCodesRequirementPatchPtrInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementPatchArgs, PodFailurePolicyOnExitCodesRequirementPatchPtr and PodFailurePolicyOnExitCodesRequirementPatchPtrOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPatchPtrInput` via:
PodFailurePolicyOnExitCodesRequirementPatchArgs{...} or: nil
func PodFailurePolicyOnExitCodesRequirementPatchPtr ¶
func PodFailurePolicyOnExitCodesRequirementPatchPtr(v *PodFailurePolicyOnExitCodesRequirementPatchArgs) PodFailurePolicyOnExitCodesRequirementPatchPtrInput
type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput ¶
type PodFailurePolicyOnExitCodesRequirementPatchPtrOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ContainerName ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ContainerName() pulumi.StringPtrOutput
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Operator ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Operator() pulumi.StringPtrOutput
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
- In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
- NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutput() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Values ¶
func (o PodFailurePolicyOnExitCodesRequirementPatchPtrOutput) Values() pulumi.IntArrayOutput
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
type PodFailurePolicyOnExitCodesRequirementPtrInput ¶
type PodFailurePolicyOnExitCodesRequirementPtrInput interface { pulumi.Input ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput }
PodFailurePolicyOnExitCodesRequirementPtrInput is an input type that accepts PodFailurePolicyOnExitCodesRequirementArgs, PodFailurePolicyOnExitCodesRequirementPtr and PodFailurePolicyOnExitCodesRequirementPtrOutput values. You can construct a concrete instance of `PodFailurePolicyOnExitCodesRequirementPtrInput` via:
PodFailurePolicyOnExitCodesRequirementArgs{...} or: nil
func PodFailurePolicyOnExitCodesRequirementPtr ¶
func PodFailurePolicyOnExitCodesRequirementPtr(v *PodFailurePolicyOnExitCodesRequirementArgs) PodFailurePolicyOnExitCodesRequirementPtrInput
type PodFailurePolicyOnExitCodesRequirementPtrOutput ¶
type PodFailurePolicyOnExitCodesRequirementPtrOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ContainerName ¶
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ContainerName() pulumi.StringPtrOutput
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ElementType ¶
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ElementType() reflect.Type
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Operator ¶
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) Operator() pulumi.StringPtrOutput
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
- In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
- NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicyOnExitCodesRequirement]
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput ¶
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutput() PodFailurePolicyOnExitCodesRequirementPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext ¶
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) ToPodFailurePolicyOnExitCodesRequirementPtrOutputWithContext(ctx context.Context) PodFailurePolicyOnExitCodesRequirementPtrOutput
func (PodFailurePolicyOnExitCodesRequirementPtrOutput) Values ¶
func (o PodFailurePolicyOnExitCodesRequirementPtrOutput) Values() pulumi.IntArrayOutput
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
type PodFailurePolicyOnPodConditionsPattern ¶
type PodFailurePolicyOnPodConditionsPattern struct { // Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. Status string `pulumi:"status"` // Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. Type string `pulumi:"type"` }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
type PodFailurePolicyOnPodConditionsPatternArgs ¶
type PodFailurePolicyOnPodConditionsPatternArgs struct { // Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. Status pulumi.StringInput `pulumi:"status"` // Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. Type pulumi.StringInput `pulumi:"type"` }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
func (PodFailurePolicyOnPodConditionsPatternArgs) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternArgs) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyOnPodConditionsPatternArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPattern]
func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput ¶
func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput
func (PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext ¶
func (i PodFailurePolicyOnPodConditionsPatternArgs) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput
type PodFailurePolicyOnPodConditionsPatternArray ¶
type PodFailurePolicyOnPodConditionsPatternArray []PodFailurePolicyOnPodConditionsPatternInput
func (PodFailurePolicyOnPodConditionsPatternArray) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternArray) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternArray) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyOnPodConditionsPatternArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPattern]
func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput ¶
func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput
func (PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext ¶
func (i PodFailurePolicyOnPodConditionsPatternArray) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput
type PodFailurePolicyOnPodConditionsPatternArrayInput ¶
type PodFailurePolicyOnPodConditionsPatternArrayInput interface { pulumi.Input ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput }
PodFailurePolicyOnPodConditionsPatternArrayInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternArray and PodFailurePolicyOnPodConditionsPatternArrayOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternArrayInput` via:
PodFailurePolicyOnPodConditionsPatternArray{ PodFailurePolicyOnPodConditionsPatternArgs{...} }
type PodFailurePolicyOnPodConditionsPatternArrayOutput ¶
type PodFailurePolicyOnPodConditionsPatternArrayOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPattern]
func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput ¶
func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutput() PodFailurePolicyOnPodConditionsPatternArrayOutput
func (PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext ¶
func (o PodFailurePolicyOnPodConditionsPatternArrayOutput) ToPodFailurePolicyOnPodConditionsPatternArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternArrayOutput
type PodFailurePolicyOnPodConditionsPatternInput ¶
type PodFailurePolicyOnPodConditionsPatternInput interface { pulumi.Input ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternOutput }
PodFailurePolicyOnPodConditionsPatternInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternArgs and PodFailurePolicyOnPodConditionsPatternOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternInput` via:
PodFailurePolicyOnPodConditionsPatternArgs{...}
type PodFailurePolicyOnPodConditionsPatternOutput ¶
type PodFailurePolicyOnPodConditionsPatternOutput struct{ *pulumi.OutputState }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
func (PodFailurePolicyOnPodConditionsPatternOutput) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternOutput) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternOutput) Status ¶
func (o PodFailurePolicyOnPodConditionsPatternOutput) Status() pulumi.StringOutput
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
func (PodFailurePolicyOnPodConditionsPatternOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOnPodConditionsPatternOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyOnPodConditionsPattern]
func (PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput ¶
func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutput() PodFailurePolicyOnPodConditionsPatternOutput
func (PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext ¶
func (o PodFailurePolicyOnPodConditionsPatternOutput) ToPodFailurePolicyOnPodConditionsPatternOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternOutput
func (PodFailurePolicyOnPodConditionsPatternOutput) Type ¶
func (o PodFailurePolicyOnPodConditionsPatternOutput) Type() pulumi.StringOutput
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
type PodFailurePolicyOnPodConditionsPatternPatch ¶
type PodFailurePolicyOnPodConditionsPatternPatch struct { // Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. Status *string `pulumi:"status"` // Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. Type *string `pulumi:"type"` }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
type PodFailurePolicyOnPodConditionsPatternPatchArgs ¶
type PodFailurePolicyOnPodConditionsPatternPatchArgs struct { // Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True. Status pulumi.StringPtrInput `pulumi:"status"` // Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type. Type pulumi.StringPtrInput `pulumi:"type"` }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput ¶
func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput
func (PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext ¶
func (i PodFailurePolicyOnPodConditionsPatternPatchArgs) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput
type PodFailurePolicyOnPodConditionsPatternPatchArray ¶
type PodFailurePolicyOnPodConditionsPatternPatchArray []PodFailurePolicyOnPodConditionsPatternPatchInput
func (PodFailurePolicyOnPodConditionsPatternPatchArray) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternPatchArray) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPatternPatch]
func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput ¶
func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
func (PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext ¶
func (i PodFailurePolicyOnPodConditionsPatternPatchArray) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
type PodFailurePolicyOnPodConditionsPatternPatchArrayInput ¶
type PodFailurePolicyOnPodConditionsPatternPatchArrayInput interface { pulumi.Input ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput }
PodFailurePolicyOnPodConditionsPatternPatchArrayInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternPatchArray and PodFailurePolicyOnPodConditionsPatternPatchArrayOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternPatchArrayInput` via:
PodFailurePolicyOnPodConditionsPatternPatchArray{ PodFailurePolicyOnPodConditionsPatternPatchArgs{...} }
type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput ¶
type PodFailurePolicyOnPodConditionsPatternPatchArrayOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyOnPodConditionsPatternPatch]
func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutput() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
func (PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchArrayOutput) ToPodFailurePolicyOnPodConditionsPatternPatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
type PodFailurePolicyOnPodConditionsPatternPatchInput ¶
type PodFailurePolicyOnPodConditionsPatternPatchInput interface { pulumi.Input ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput }
PodFailurePolicyOnPodConditionsPatternPatchInput is an input type that accepts PodFailurePolicyOnPodConditionsPatternPatchArgs and PodFailurePolicyOnPodConditionsPatternPatchOutput values. You can construct a concrete instance of `PodFailurePolicyOnPodConditionsPatternPatchInput` via:
PodFailurePolicyOnPodConditionsPatternPatchArgs{...}
type PodFailurePolicyOnPodConditionsPatternPatchOutput ¶
type PodFailurePolicyOnPodConditionsPatternPatchOutput struct{ *pulumi.OutputState }
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ElementType ¶
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ElementType() reflect.Type
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Status ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) Status() pulumi.StringPtrOutput
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutput() PodFailurePolicyOnPodConditionsPatternPatchOutput
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) ToPodFailurePolicyOnPodConditionsPatternPatchOutputWithContext(ctx context.Context) PodFailurePolicyOnPodConditionsPatternPatchOutput
func (PodFailurePolicyOnPodConditionsPatternPatchOutput) Type ¶
func (o PodFailurePolicyOnPodConditionsPatternPatchOutput) Type() pulumi.StringPtrOutput
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
type PodFailurePolicyOutput ¶
type PodFailurePolicyOutput struct{ *pulumi.OutputState }
PodFailurePolicy describes how failed pods influence the backoffLimit.
func (PodFailurePolicyOutput) ElementType ¶
func (PodFailurePolicyOutput) ElementType() reflect.Type
func (PodFailurePolicyOutput) Rules ¶
func (o PodFailurePolicyOutput) Rules() PodFailurePolicyRuleArrayOutput
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
func (PodFailurePolicyOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicy]
func (PodFailurePolicyOutput) ToPodFailurePolicyOutput ¶
func (o PodFailurePolicyOutput) ToPodFailurePolicyOutput() PodFailurePolicyOutput
func (PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext ¶
func (o PodFailurePolicyOutput) ToPodFailurePolicyOutputWithContext(ctx context.Context) PodFailurePolicyOutput
func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput ¶
func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
func (PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext ¶
func (o PodFailurePolicyOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
type PodFailurePolicyPatch ¶
type PodFailurePolicyPatch struct { // A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. Rules []PodFailurePolicyRulePatch `pulumi:"rules"` }
PodFailurePolicy describes how failed pods influence the backoffLimit.
type PodFailurePolicyPatchArgs ¶
type PodFailurePolicyPatchArgs struct { // A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed. Rules PodFailurePolicyRulePatchArrayInput `pulumi:"rules"` }
PodFailurePolicy describes how failed pods influence the backoffLimit.
func (PodFailurePolicyPatchArgs) ElementType ¶
func (PodFailurePolicyPatchArgs) ElementType() reflect.Type
func (PodFailurePolicyPatchArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyPatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyPatch]
func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput ¶
func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput
func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext ¶
func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput
func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput ¶
func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
func (PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext ¶
func (i PodFailurePolicyPatchArgs) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
type PodFailurePolicyPatchInput ¶
type PodFailurePolicyPatchInput interface { pulumi.Input ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput ToPodFailurePolicyPatchOutputWithContext(context.Context) PodFailurePolicyPatchOutput }
PodFailurePolicyPatchInput is an input type that accepts PodFailurePolicyPatchArgs and PodFailurePolicyPatchOutput values. You can construct a concrete instance of `PodFailurePolicyPatchInput` via:
PodFailurePolicyPatchArgs{...}
type PodFailurePolicyPatchOutput ¶
type PodFailurePolicyPatchOutput struct{ *pulumi.OutputState }
PodFailurePolicy describes how failed pods influence the backoffLimit.
func (PodFailurePolicyPatchOutput) ElementType ¶
func (PodFailurePolicyPatchOutput) ElementType() reflect.Type
func (PodFailurePolicyPatchOutput) Rules ¶
func (o PodFailurePolicyPatchOutput) Rules() PodFailurePolicyRulePatchArrayOutput
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
func (PodFailurePolicyPatchOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyPatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyPatch]
func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput ¶
func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutput() PodFailurePolicyPatchOutput
func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext ¶
func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchOutputWithContext(ctx context.Context) PodFailurePolicyPatchOutput
func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput ¶
func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
func (PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext ¶
func (o PodFailurePolicyPatchOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
type PodFailurePolicyPatchPtrInput ¶
type PodFailurePolicyPatchPtrInput interface { pulumi.Input ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput ToPodFailurePolicyPatchPtrOutputWithContext(context.Context) PodFailurePolicyPatchPtrOutput }
PodFailurePolicyPatchPtrInput is an input type that accepts PodFailurePolicyPatchArgs, PodFailurePolicyPatchPtr and PodFailurePolicyPatchPtrOutput values. You can construct a concrete instance of `PodFailurePolicyPatchPtrInput` via:
PodFailurePolicyPatchArgs{...} or: nil
func PodFailurePolicyPatchPtr ¶
func PodFailurePolicyPatchPtr(v *PodFailurePolicyPatchArgs) PodFailurePolicyPatchPtrInput
type PodFailurePolicyPatchPtrOutput ¶
type PodFailurePolicyPatchPtrOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyPatchPtrOutput) Elem ¶
func (o PodFailurePolicyPatchPtrOutput) Elem() PodFailurePolicyPatchOutput
func (PodFailurePolicyPatchPtrOutput) ElementType ¶
func (PodFailurePolicyPatchPtrOutput) ElementType() reflect.Type
func (PodFailurePolicyPatchPtrOutput) Rules ¶
func (o PodFailurePolicyPatchPtrOutput) Rules() PodFailurePolicyRulePatchArrayOutput
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
func (PodFailurePolicyPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicyPatch]
func (PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput ¶
func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutput() PodFailurePolicyPatchPtrOutput
func (PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext ¶
func (o PodFailurePolicyPatchPtrOutput) ToPodFailurePolicyPatchPtrOutputWithContext(ctx context.Context) PodFailurePolicyPatchPtrOutput
type PodFailurePolicyPtrInput ¶
type PodFailurePolicyPtrInput interface { pulumi.Input ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput ToPodFailurePolicyPtrOutputWithContext(context.Context) PodFailurePolicyPtrOutput }
PodFailurePolicyPtrInput is an input type that accepts PodFailurePolicyArgs, PodFailurePolicyPtr and PodFailurePolicyPtrOutput values. You can construct a concrete instance of `PodFailurePolicyPtrInput` via:
PodFailurePolicyArgs{...} or: nil
func PodFailurePolicyPtr ¶
func PodFailurePolicyPtr(v *PodFailurePolicyArgs) PodFailurePolicyPtrInput
type PodFailurePolicyPtrOutput ¶
type PodFailurePolicyPtrOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyPtrOutput) Elem ¶
func (o PodFailurePolicyPtrOutput) Elem() PodFailurePolicyOutput
func (PodFailurePolicyPtrOutput) ElementType ¶
func (PodFailurePolicyPtrOutput) ElementType() reflect.Type
func (PodFailurePolicyPtrOutput) Rules ¶
func (o PodFailurePolicyPtrOutput) Rules() PodFailurePolicyRuleArrayOutput
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
func (PodFailurePolicyPtrOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodFailurePolicy]
func (PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput ¶
func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutput() PodFailurePolicyPtrOutput
func (PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext ¶
func (o PodFailurePolicyPtrOutput) ToPodFailurePolicyPtrOutputWithContext(ctx context.Context) PodFailurePolicyPtrOutput
type PodFailurePolicyRule ¶
type PodFailurePolicyRule struct { // Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: // // - FailJob: indicates that the pod's job is marked as Failed and all // running pods are terminated. // - FailIndex: indicates that the pod's index is marked as Failed and will // not be restarted. // This value is alpha-level. It can be used when the // `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). // - Ignore: indicates that the counter towards the .backoffLimit is not // incremented and a replacement pod is created. // - Count: indicates that the pod is handled in the default way - the // counter towards the .backoffLimit is incremented. // Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. Action string `pulumi:"action"` // Represents the requirement on the container exit codes. OnExitCodes *PodFailurePolicyOnExitCodesRequirement `pulumi:"onExitCodes"` // Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. OnPodConditions []PodFailurePolicyOnPodConditionsPattern `pulumi:"onPodConditions"` }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
type PodFailurePolicyRuleArgs ¶
type PodFailurePolicyRuleArgs struct { // Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: // // - FailJob: indicates that the pod's job is marked as Failed and all // running pods are terminated. // - FailIndex: indicates that the pod's index is marked as Failed and will // not be restarted. // This value is alpha-level. It can be used when the // `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). // - Ignore: indicates that the counter towards the .backoffLimit is not // incremented and a replacement pod is created. // - Count: indicates that the pod is handled in the default way - the // counter towards the .backoffLimit is incremented. // Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. Action pulumi.StringInput `pulumi:"action"` // Represents the requirement on the container exit codes. OnExitCodes PodFailurePolicyOnExitCodesRequirementPtrInput `pulumi:"onExitCodes"` // Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. OnPodConditions PodFailurePolicyOnPodConditionsPatternArrayInput `pulumi:"onPodConditions"` }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
func (PodFailurePolicyRuleArgs) ElementType ¶
func (PodFailurePolicyRuleArgs) ElementType() reflect.Type
func (PodFailurePolicyRuleArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRule]
func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput ¶
func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput
func (PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext ¶
func (i PodFailurePolicyRuleArgs) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput
type PodFailurePolicyRuleArray ¶
type PodFailurePolicyRuleArray []PodFailurePolicyRuleInput
func (PodFailurePolicyRuleArray) ElementType ¶
func (PodFailurePolicyRuleArray) ElementType() reflect.Type
func (PodFailurePolicyRuleArray) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRule]
func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput ¶
func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput
func (PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext ¶
func (i PodFailurePolicyRuleArray) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput
type PodFailurePolicyRuleArrayInput ¶
type PodFailurePolicyRuleArrayInput interface { pulumi.Input ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput ToPodFailurePolicyRuleArrayOutputWithContext(context.Context) PodFailurePolicyRuleArrayOutput }
PodFailurePolicyRuleArrayInput is an input type that accepts PodFailurePolicyRuleArray and PodFailurePolicyRuleArrayOutput values. You can construct a concrete instance of `PodFailurePolicyRuleArrayInput` via:
PodFailurePolicyRuleArray{ PodFailurePolicyRuleArgs{...} }
type PodFailurePolicyRuleArrayOutput ¶
type PodFailurePolicyRuleArrayOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyRuleArrayOutput) ElementType ¶
func (PodFailurePolicyRuleArrayOutput) ElementType() reflect.Type
func (PodFailurePolicyRuleArrayOutput) Index ¶
func (o PodFailurePolicyRuleArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyRuleOutput
func (PodFailurePolicyRuleArrayOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRule]
func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput ¶
func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutput() PodFailurePolicyRuleArrayOutput
func (PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext ¶
func (o PodFailurePolicyRuleArrayOutput) ToPodFailurePolicyRuleArrayOutputWithContext(ctx context.Context) PodFailurePolicyRuleArrayOutput
type PodFailurePolicyRuleInput ¶
type PodFailurePolicyRuleInput interface { pulumi.Input ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput ToPodFailurePolicyRuleOutputWithContext(context.Context) PodFailurePolicyRuleOutput }
PodFailurePolicyRuleInput is an input type that accepts PodFailurePolicyRuleArgs and PodFailurePolicyRuleOutput values. You can construct a concrete instance of `PodFailurePolicyRuleInput` via:
PodFailurePolicyRuleArgs{...}
type PodFailurePolicyRuleOutput ¶
type PodFailurePolicyRuleOutput struct{ *pulumi.OutputState }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
func (PodFailurePolicyRuleOutput) Action ¶
func (o PodFailurePolicyRuleOutput) Action() pulumi.StringOutput
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
- FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated.
- FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
- Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created.
- Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
func (PodFailurePolicyRuleOutput) ElementType ¶
func (PodFailurePolicyRuleOutput) ElementType() reflect.Type
func (PodFailurePolicyRuleOutput) OnExitCodes ¶
func (o PodFailurePolicyRuleOutput) OnExitCodes() PodFailurePolicyOnExitCodesRequirementPtrOutput
Represents the requirement on the container exit codes.
func (PodFailurePolicyRuleOutput) OnPodConditions ¶
func (o PodFailurePolicyRuleOutput) OnPodConditions() PodFailurePolicyOnPodConditionsPatternArrayOutput
Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
func (PodFailurePolicyRuleOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRule]
func (PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput ¶
func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutput() PodFailurePolicyRuleOutput
func (PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext ¶
func (o PodFailurePolicyRuleOutput) ToPodFailurePolicyRuleOutputWithContext(ctx context.Context) PodFailurePolicyRuleOutput
type PodFailurePolicyRulePatch ¶
type PodFailurePolicyRulePatch struct { // Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: // // - FailJob: indicates that the pod's job is marked as Failed and all // running pods are terminated. // - FailIndex: indicates that the pod's index is marked as Failed and will // not be restarted. // This value is alpha-level. It can be used when the // `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). // - Ignore: indicates that the counter towards the .backoffLimit is not // incremented and a replacement pod is created. // - Count: indicates that the pod is handled in the default way - the // counter towards the .backoffLimit is incremented. // Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. Action *string `pulumi:"action"` // Represents the requirement on the container exit codes. OnExitCodes *PodFailurePolicyOnExitCodesRequirementPatch `pulumi:"onExitCodes"` // Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. OnPodConditions []PodFailurePolicyOnPodConditionsPatternPatch `pulumi:"onPodConditions"` }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
type PodFailurePolicyRulePatchArgs ¶
type PodFailurePolicyRulePatchArgs struct { // Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: // // - FailJob: indicates that the pod's job is marked as Failed and all // running pods are terminated. // - FailIndex: indicates that the pod's index is marked as Failed and will // not be restarted. // This value is alpha-level. It can be used when the // `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). // - Ignore: indicates that the counter towards the .backoffLimit is not // incremented and a replacement pod is created. // - Count: indicates that the pod is handled in the default way - the // counter towards the .backoffLimit is incremented. // Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. Action pulumi.StringPtrInput `pulumi:"action"` // Represents the requirement on the container exit codes. OnExitCodes PodFailurePolicyOnExitCodesRequirementPatchPtrInput `pulumi:"onExitCodes"` // Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. OnPodConditions PodFailurePolicyOnPodConditionsPatternPatchArrayInput `pulumi:"onPodConditions"` }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
func (PodFailurePolicyRulePatchArgs) ElementType ¶
func (PodFailurePolicyRulePatchArgs) ElementType() reflect.Type
func (PodFailurePolicyRulePatchArgs) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyRulePatchArgs) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRulePatch]
func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput ¶
func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput
func (PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext ¶
func (i PodFailurePolicyRulePatchArgs) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput
type PodFailurePolicyRulePatchArray ¶
type PodFailurePolicyRulePatchArray []PodFailurePolicyRulePatchInput
func (PodFailurePolicyRulePatchArray) ElementType ¶
func (PodFailurePolicyRulePatchArray) ElementType() reflect.Type
func (PodFailurePolicyRulePatchArray) ToOutput ¶ added in v4.2.0
func (i PodFailurePolicyRulePatchArray) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRulePatch]
func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput ¶
func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput
func (PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext ¶
func (i PodFailurePolicyRulePatchArray) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput
type PodFailurePolicyRulePatchArrayInput ¶
type PodFailurePolicyRulePatchArrayInput interface { pulumi.Input ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput ToPodFailurePolicyRulePatchArrayOutputWithContext(context.Context) PodFailurePolicyRulePatchArrayOutput }
PodFailurePolicyRulePatchArrayInput is an input type that accepts PodFailurePolicyRulePatchArray and PodFailurePolicyRulePatchArrayOutput values. You can construct a concrete instance of `PodFailurePolicyRulePatchArrayInput` via:
PodFailurePolicyRulePatchArray{ PodFailurePolicyRulePatchArgs{...} }
type PodFailurePolicyRulePatchArrayOutput ¶
type PodFailurePolicyRulePatchArrayOutput struct{ *pulumi.OutputState }
func (PodFailurePolicyRulePatchArrayOutput) ElementType ¶
func (PodFailurePolicyRulePatchArrayOutput) ElementType() reflect.Type
func (PodFailurePolicyRulePatchArrayOutput) Index ¶
func (o PodFailurePolicyRulePatchArrayOutput) Index(i pulumi.IntInput) PodFailurePolicyRulePatchOutput
func (PodFailurePolicyRulePatchArrayOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyRulePatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PodFailurePolicyRulePatch]
func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput ¶
func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutput() PodFailurePolicyRulePatchArrayOutput
func (PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext ¶
func (o PodFailurePolicyRulePatchArrayOutput) ToPodFailurePolicyRulePatchArrayOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchArrayOutput
type PodFailurePolicyRulePatchInput ¶
type PodFailurePolicyRulePatchInput interface { pulumi.Input ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput ToPodFailurePolicyRulePatchOutputWithContext(context.Context) PodFailurePolicyRulePatchOutput }
PodFailurePolicyRulePatchInput is an input type that accepts PodFailurePolicyRulePatchArgs and PodFailurePolicyRulePatchOutput values. You can construct a concrete instance of `PodFailurePolicyRulePatchInput` via:
PodFailurePolicyRulePatchArgs{...}
type PodFailurePolicyRulePatchOutput ¶
type PodFailurePolicyRulePatchOutput struct{ *pulumi.OutputState }
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
func (PodFailurePolicyRulePatchOutput) Action ¶
func (o PodFailurePolicyRulePatchOutput) Action() pulumi.StringPtrOutput
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
- FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated.
- FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).
- Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created.
- Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
func (PodFailurePolicyRulePatchOutput) ElementType ¶
func (PodFailurePolicyRulePatchOutput) ElementType() reflect.Type
func (PodFailurePolicyRulePatchOutput) OnExitCodes ¶
func (o PodFailurePolicyRulePatchOutput) OnExitCodes() PodFailurePolicyOnExitCodesRequirementPatchPtrOutput
Represents the requirement on the container exit codes.
func (PodFailurePolicyRulePatchOutput) OnPodConditions ¶
func (o PodFailurePolicyRulePatchOutput) OnPodConditions() PodFailurePolicyOnPodConditionsPatternPatchArrayOutput
Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
func (PodFailurePolicyRulePatchOutput) ToOutput ¶ added in v4.2.0
func (o PodFailurePolicyRulePatchOutput) ToOutput(ctx context.Context) pulumix.Output[PodFailurePolicyRulePatch]
func (PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput ¶
func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutput() PodFailurePolicyRulePatchOutput
func (PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext ¶
func (o PodFailurePolicyRulePatchOutput) ToPodFailurePolicyRulePatchOutputWithContext(ctx context.Context) PodFailurePolicyRulePatchOutput
type UncountedTerminatedPods ¶
type UncountedTerminatedPods struct { // failed holds UIDs of failed Pods. Failed []string `pulumi:"failed"` // succeeded holds UIDs of succeeded Pods. Succeeded []string `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
type UncountedTerminatedPodsArgs ¶
type UncountedTerminatedPodsArgs struct { // failed holds UIDs of failed Pods. Failed pulumi.StringArrayInput `pulumi:"failed"` // succeeded holds UIDs of succeeded Pods. Succeeded pulumi.StringArrayInput `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsArgs) ElementType ¶
func (UncountedTerminatedPodsArgs) ElementType() reflect.Type
func (UncountedTerminatedPodsArgs) ToOutput ¶ added in v4.2.0
func (i UncountedTerminatedPodsArgs) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPods]
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput ¶
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext ¶
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput ¶
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext ¶
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
type UncountedTerminatedPodsInput ¶
type UncountedTerminatedPodsInput interface { pulumi.Input ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput ToUncountedTerminatedPodsOutputWithContext(context.Context) UncountedTerminatedPodsOutput }
UncountedTerminatedPodsInput is an input type that accepts UncountedTerminatedPodsArgs and UncountedTerminatedPodsOutput values. You can construct a concrete instance of `UncountedTerminatedPodsInput` via:
UncountedTerminatedPodsArgs{...}
type UncountedTerminatedPodsOutput ¶
type UncountedTerminatedPodsOutput struct{ *pulumi.OutputState }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsOutput) ElementType ¶
func (UncountedTerminatedPodsOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsOutput) Failed ¶
func (o UncountedTerminatedPodsOutput) Failed() pulumi.StringArrayOutput
failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsOutput) Succeeded ¶
func (o UncountedTerminatedPodsOutput) Succeeded() pulumi.StringArrayOutput
succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsOutput) ToOutput ¶ added in v4.2.0
func (o UncountedTerminatedPodsOutput) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPods]
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput ¶
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext ¶
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput ¶
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext ¶
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
type UncountedTerminatedPodsPatch ¶
type UncountedTerminatedPodsPatch struct { // failed holds UIDs of failed Pods. Failed []string `pulumi:"failed"` // succeeded holds UIDs of succeeded Pods. Succeeded []string `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
type UncountedTerminatedPodsPatchArgs ¶
type UncountedTerminatedPodsPatchArgs struct { // failed holds UIDs of failed Pods. Failed pulumi.StringArrayInput `pulumi:"failed"` // succeeded holds UIDs of succeeded Pods. Succeeded pulumi.StringArrayInput `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsPatchArgs) ElementType ¶
func (UncountedTerminatedPodsPatchArgs) ElementType() reflect.Type
func (UncountedTerminatedPodsPatchArgs) ToOutput ¶ added in v4.2.0
func (i UncountedTerminatedPodsPatchArgs) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPodsPatch]
func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput ¶
func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput
func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext ¶
func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput
func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput ¶
func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
func (UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext ¶
func (i UncountedTerminatedPodsPatchArgs) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
type UncountedTerminatedPodsPatchInput ¶
type UncountedTerminatedPodsPatchInput interface { pulumi.Input ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput ToUncountedTerminatedPodsPatchOutputWithContext(context.Context) UncountedTerminatedPodsPatchOutput }
UncountedTerminatedPodsPatchInput is an input type that accepts UncountedTerminatedPodsPatchArgs and UncountedTerminatedPodsPatchOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPatchInput` via:
UncountedTerminatedPodsPatchArgs{...}
type UncountedTerminatedPodsPatchOutput ¶
type UncountedTerminatedPodsPatchOutput struct{ *pulumi.OutputState }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsPatchOutput) ElementType ¶
func (UncountedTerminatedPodsPatchOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsPatchOutput) Failed ¶
func (o UncountedTerminatedPodsPatchOutput) Failed() pulumi.StringArrayOutput
failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsPatchOutput) Succeeded ¶
func (o UncountedTerminatedPodsPatchOutput) Succeeded() pulumi.StringArrayOutput
succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsPatchOutput) ToOutput ¶ added in v4.2.0
func (o UncountedTerminatedPodsPatchOutput) ToOutput(ctx context.Context) pulumix.Output[UncountedTerminatedPodsPatch]
func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput ¶
func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutput() UncountedTerminatedPodsPatchOutput
func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext ¶
func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchOutput
func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput ¶
func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
func (UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext ¶
func (o UncountedTerminatedPodsPatchOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
type UncountedTerminatedPodsPatchPtrInput ¶
type UncountedTerminatedPodsPatchPtrInput interface { pulumi.Input ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput ToUncountedTerminatedPodsPatchPtrOutputWithContext(context.Context) UncountedTerminatedPodsPatchPtrOutput }
UncountedTerminatedPodsPatchPtrInput is an input type that accepts UncountedTerminatedPodsPatchArgs, UncountedTerminatedPodsPatchPtr and UncountedTerminatedPodsPatchPtrOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPatchPtrInput` via:
UncountedTerminatedPodsPatchArgs{...} or: nil
func UncountedTerminatedPodsPatchPtr ¶
func UncountedTerminatedPodsPatchPtr(v *UncountedTerminatedPodsPatchArgs) UncountedTerminatedPodsPatchPtrInput
type UncountedTerminatedPodsPatchPtrOutput ¶
type UncountedTerminatedPodsPatchPtrOutput struct{ *pulumi.OutputState }
func (UncountedTerminatedPodsPatchPtrOutput) ElementType ¶
func (UncountedTerminatedPodsPatchPtrOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsPatchPtrOutput) Failed ¶
func (o UncountedTerminatedPodsPatchPtrOutput) Failed() pulumi.StringArrayOutput
failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsPatchPtrOutput) Succeeded ¶
func (o UncountedTerminatedPodsPatchPtrOutput) Succeeded() pulumi.StringArrayOutput
succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsPatchPtrOutput) ToOutput ¶ added in v4.2.0
func (o UncountedTerminatedPodsPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UncountedTerminatedPodsPatch]
func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput ¶
func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutput() UncountedTerminatedPodsPatchPtrOutput
func (UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext ¶
func (o UncountedTerminatedPodsPatchPtrOutput) ToUncountedTerminatedPodsPatchPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPatchPtrOutput
type UncountedTerminatedPodsPtrInput ¶
type UncountedTerminatedPodsPtrInput interface { pulumi.Input ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput ToUncountedTerminatedPodsPtrOutputWithContext(context.Context) UncountedTerminatedPodsPtrOutput }
UncountedTerminatedPodsPtrInput is an input type that accepts UncountedTerminatedPodsArgs, UncountedTerminatedPodsPtr and UncountedTerminatedPodsPtrOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPtrInput` via:
UncountedTerminatedPodsArgs{...} or: nil
func UncountedTerminatedPodsPtr ¶
func UncountedTerminatedPodsPtr(v *UncountedTerminatedPodsArgs) UncountedTerminatedPodsPtrInput
type UncountedTerminatedPodsPtrOutput ¶
type UncountedTerminatedPodsPtrOutput struct{ *pulumi.OutputState }
func (UncountedTerminatedPodsPtrOutput) Elem ¶
func (o UncountedTerminatedPodsPtrOutput) Elem() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsPtrOutput) ElementType ¶
func (UncountedTerminatedPodsPtrOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsPtrOutput) Failed ¶
func (o UncountedTerminatedPodsPtrOutput) Failed() pulumi.StringArrayOutput
failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsPtrOutput) Succeeded ¶
func (o UncountedTerminatedPodsPtrOutput) Succeeded() pulumi.StringArrayOutput
succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsPtrOutput) ToOutput ¶ added in v4.2.0
func (o UncountedTerminatedPodsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UncountedTerminatedPods]
func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput ¶
func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext ¶
func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput