Documentation ¶
Index ¶
- type CronJob
- func (*CronJob) ElementType() reflect.Type
- func (i *CronJob) ToCronJobOutput() CronJobOutput
- func (i *CronJob) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
- func (i *CronJob) ToCronJobPtrOutput() CronJobPtrOutput
- func (i *CronJob) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
- type CronJobArgs
- type CronJobArray
- type CronJobArrayInput
- type CronJobArrayOutput
- type CronJobInput
- type CronJobList
- func (*CronJobList) ElementType() reflect.Type
- func (i *CronJobList) ToCronJobListOutput() CronJobListOutput
- func (i *CronJobList) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
- func (i *CronJobList) ToCronJobListPtrOutput() CronJobListPtrOutput
- func (i *CronJobList) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
- type CronJobListArgs
- type CronJobListArray
- 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
- type CronJobListInput
- type CronJobListMap
- 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
- type CronJobListOutput
- func (CronJobListOutput) ElementType() reflect.Type
- func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput
- func (o CronJobListOutput) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
- func (o CronJobListOutput) ToCronJobListPtrOutput() CronJobListPtrOutput
- func (o CronJobListOutput) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
- type CronJobListPtrInput
- type CronJobListPtrOutput
- type CronJobListState
- type CronJobListType
- type CronJobListTypeArgs
- 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
- type CronJobMap
- type CronJobMapInput
- type CronJobMapOutput
- type CronJobOutput
- func (CronJobOutput) ElementType() reflect.Type
- func (o CronJobOutput) ToCronJobOutput() CronJobOutput
- func (o CronJobOutput) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
- func (o CronJobOutput) ToCronJobPtrOutput() CronJobPtrOutput
- func (o CronJobOutput) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
- type CronJobPtrInput
- type CronJobPtrOutput
- 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
- 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) ToCronJobSpecOutput() CronJobSpecOutput
- func (o CronJobSpecOutput) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
- func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
- func (o CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
- 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) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
- func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
- 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
- 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
- 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
- type CronJobType
- type CronJobTypeArgs
- type CronJobTypeArray
- 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
- 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
- type Job
- type JobArgs
- type JobArray
- type JobArrayInput
- type JobArrayOutput
- type JobCondition
- type JobConditionArgs
- type JobConditionArray
- 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
- 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) Type() pulumi.StringOutput
- type JobInput
- type JobList
- func (*JobList) ElementType() reflect.Type
- func (i *JobList) ToJobListOutput() JobListOutput
- func (i *JobList) ToJobListOutputWithContext(ctx context.Context) JobListOutput
- func (i *JobList) ToJobListPtrOutput() JobListPtrOutput
- func (i *JobList) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
- type JobListArgs
- type JobListArray
- type JobListArrayInput
- type JobListArrayOutput
- type JobListInput
- type JobListMap
- type JobListMapInput
- type JobListMapOutput
- type JobListOutput
- func (JobListOutput) ElementType() reflect.Type
- func (o JobListOutput) ToJobListOutput() JobListOutput
- func (o JobListOutput) ToJobListOutputWithContext(ctx context.Context) JobListOutput
- func (o JobListOutput) ToJobListPtrOutput() JobListPtrOutput
- func (o JobListOutput) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
- type JobListPtrInput
- type JobListPtrOutput
- 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
- type JobMap
- type JobMapInput
- type JobMapOutput
- type JobOutput
- type JobPtrInput
- type JobPtrOutput
- 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
- type JobSpecInput
- type JobSpecOutput
- func (o JobSpecOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecOutput) BackoffLimit() 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) Parallelism() pulumi.IntPtrOutput
- 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) TtlSecondsAfterFinished() pulumi.IntPtrOutput
- type JobSpecPtrInput
- type JobSpecPtrOutput
- func (o JobSpecPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
- func (o JobSpecPtrOutput) BackoffLimit() 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) Parallelism() pulumi.IntPtrOutput
- 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) 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
- 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) StartTime() pulumi.StringPtrOutput
- func (o JobStatusOutput) Succeeded() 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) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
- 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) StartTime() pulumi.StringPtrOutput
- func (o JobStatusPtrOutput) Succeeded() pulumi.IntPtrOutput
- func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
- func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
- 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
- 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
- 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
- type JobType
- type JobTypeArgs
- type JobTypeArray
- type JobTypeArrayInput
- type JobTypeArrayOutput
- 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
- type UncountedTerminatedPods
- type UncountedTerminatedPodsArgs
- func (UncountedTerminatedPodsArgs) ElementType() reflect.Type
- 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) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
- func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
- 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) 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.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPtrOutput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPtrOutput `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
func GetCronJob ¶
func GetCronJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CronJobState, opts ...pulumi.ResourceOption) (*CronJob, error)
GetCronJob gets an existing CronJob resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCronJob ¶
func NewCronJob(ctx *pulumi.Context, name string, args *CronJobArgs, opts ...pulumi.ResourceOption) (*CronJob, error)
NewCronJob registers a new resource with the given unique name, arguments, and options.
func (*CronJob) ElementType ¶
func (*CronJob) ToCronJobOutput ¶
func (i *CronJob) ToCronJobOutput() CronJobOutput
func (*CronJob) ToCronJobOutputWithContext ¶
func (i *CronJob) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
func (*CronJob) ToCronJobPtrOutput ¶
func (i *CronJob) ToCronJobPtrOutput() CronJobPtrOutput
func (*CronJob) ToCronJobPtrOutputWithContext ¶
func (i *CronJob) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
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.StringPtrOutput `pulumi:"apiVersion"` // items is the list of CronJobs. Items CronJobTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
func GetCronJobList ¶
func GetCronJobList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CronJobListState, opts ...pulumi.ResourceOption) (*CronJobList, error)
GetCronJobList gets an existing CronJobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCronJobList ¶
func NewCronJobList(ctx *pulumi.Context, name string, args *CronJobListArgs, opts ...pulumi.ResourceOption) (*CronJobList, error)
NewCronJobList registers a new resource with the given unique name, arguments, and options.
func (*CronJobList) ElementType ¶
func (*CronJobList) ElementType() reflect.Type
func (*CronJobList) ToCronJobListOutput ¶
func (i *CronJobList) ToCronJobListOutput() CronJobListOutput
func (*CronJobList) ToCronJobListOutputWithContext ¶
func (i *CronJobList) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
func (*CronJobList) ToCronJobListPtrOutput ¶
func (i *CronJobList) ToCronJobListPtrOutput() CronJobListPtrOutput
func (*CronJobList) ToCronJobListPtrOutputWithContext ¶
func (i *CronJobList) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
type CronJobListArgs ¶
type CronJobListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of CronJobs. Items CronJobTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a CronJobList resource.
func (CronJobListArgs) ElementType ¶
func (CronJobListArgs) ElementType() reflect.Type
type CronJobListArray ¶
type CronJobListArray []CronJobListInput
func (CronJobListArray) ElementType ¶
func (CronJobListArray) ElementType() reflect.Type
func (CronJobListArray) ToCronJobListArrayOutput ¶
func (i CronJobListArray) ToCronJobListArrayOutput() CronJobListArrayOutput
func (CronJobListArray) ToCronJobListArrayOutputWithContext ¶
func (i CronJobListArray) ToCronJobListArrayOutputWithContext(ctx context.Context) CronJobListArrayOutput
type CronJobListArrayInput ¶
type CronJobListArrayInput interface { pulumi.Input ToCronJobListArrayOutput() CronJobListArrayOutput ToCronJobListArrayOutputWithContext(context.Context) CronJobListArrayOutput }
CronJobListArrayInput is an input type that accepts CronJobListArray and CronJobListArrayOutput values. You can construct a concrete instance of `CronJobListArrayInput` via:
CronJobListArray{ CronJobListArgs{...} }
type CronJobListArrayOutput ¶
type CronJobListArrayOutput struct{ *pulumi.OutputState }
func (CronJobListArrayOutput) ElementType ¶
func (CronJobListArrayOutput) ElementType() reflect.Type
func (CronJobListArrayOutput) Index ¶
func (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
type CronJobListInput ¶
type CronJobListInput interface { pulumi.Input ToCronJobListOutput() CronJobListOutput ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput }
type CronJobListMap ¶
type CronJobListMap map[string]CronJobListInput
func (CronJobListMap) ElementType ¶
func (CronJobListMap) ElementType() reflect.Type
func (CronJobListMap) ToCronJobListMapOutput ¶
func (i CronJobListMap) ToCronJobListMapOutput() CronJobListMapOutput
func (CronJobListMap) ToCronJobListMapOutputWithContext ¶
func (i CronJobListMap) ToCronJobListMapOutputWithContext(ctx context.Context) CronJobListMapOutput
type CronJobListMapInput ¶
type CronJobListMapInput interface { pulumi.Input ToCronJobListMapOutput() CronJobListMapOutput ToCronJobListMapOutputWithContext(context.Context) CronJobListMapOutput }
CronJobListMapInput is an input type that accepts CronJobListMap and CronJobListMapOutput values. You can construct a concrete instance of `CronJobListMapInput` via:
CronJobListMap{ "key": CronJobListArgs{...} }
type CronJobListMapOutput ¶
type CronJobListMapOutput struct{ *pulumi.OutputState }
func (CronJobListMapOutput) ElementType ¶
func (CronJobListMapOutput) ElementType() reflect.Type
func (CronJobListMapOutput) MapIndex ¶
func (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
type CronJobListOutput ¶
type CronJobListOutput struct {
*pulumi.OutputState
}
func (CronJobListOutput) ElementType ¶
func (CronJobListOutput) ElementType() reflect.Type
func (CronJobListOutput) ToCronJobListOutput ¶
func (o CronJobListOutput) ToCronJobListOutput() CronJobListOutput
func (CronJobListOutput) ToCronJobListOutputWithContext ¶
func (o CronJobListOutput) ToCronJobListOutputWithContext(ctx context.Context) CronJobListOutput
func (CronJobListOutput) ToCronJobListPtrOutput ¶
func (o CronJobListOutput) ToCronJobListPtrOutput() CronJobListPtrOutput
func (CronJobListOutput) ToCronJobListPtrOutputWithContext ¶
func (o CronJobListOutput) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
type CronJobListPtrInput ¶
type CronJobListPtrInput interface { pulumi.Input ToCronJobListPtrOutput() CronJobListPtrOutput ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput }
type CronJobListPtrOutput ¶
type CronJobListPtrOutput struct {
*pulumi.OutputState
}
func (CronJobListPtrOutput) ElementType ¶
func (CronJobListPtrOutput) ElementType() reflect.Type
func (CronJobListPtrOutput) ToCronJobListPtrOutput ¶
func (o CronJobListPtrOutput) ToCronJobListPtrOutput() CronJobListPtrOutput
func (CronJobListPtrOutput) ToCronJobListPtrOutputWithContext ¶
func (o CronJobListPtrOutput) ToCronJobListPtrOutputWithContext(ctx context.Context) CronJobListPtrOutput
type CronJobListState ¶
type CronJobListState struct { }
func (CronJobListState) ElementType ¶
func (CronJobListState) ElementType() reflect.Type
type CronJobListType ¶
type CronJobListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of CronJobs. Items []CronJobType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
type CronJobListTypeArgs ¶
type CronJobListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of CronJobs. Items CronJobTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
CronJobList is a collection of cron jobs.
func (CronJobListTypeArgs) ElementType ¶
func (CronJobListTypeArgs) ElementType() reflect.Type
func (CronJobListTypeArgs) ToCronJobListTypeOutput ¶
func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput
func (CronJobListTypeArgs) ToCronJobListTypeOutputWithContext ¶
func (i CronJobListTypeArgs) ToCronJobListTypeOutputWithContext(ctx context.Context) CronJobListTypeOutput
type CronJobListTypeInput ¶
type CronJobListTypeInput interface { pulumi.Input ToCronJobListTypeOutput() CronJobListTypeOutput ToCronJobListTypeOutputWithContext(context.Context) CronJobListTypeOutput }
CronJobListTypeInput is an input type that accepts CronJobListTypeArgs and CronJobListTypeOutput values. You can construct a concrete instance of `CronJobListTypeInput` via:
CronJobListTypeArgs{...}
type CronJobListTypeOutput ¶
type CronJobListTypeOutput struct{ *pulumi.OutputState }
CronJobList is a collection of cron jobs.
func (CronJobListTypeOutput) ApiVersion ¶
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
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) ElementType ¶
func (CronJobOutput) ElementType() reflect.Type
func (CronJobOutput) ToCronJobOutput ¶
func (o CronJobOutput) ToCronJobOutput() CronJobOutput
func (CronJobOutput) ToCronJobOutputWithContext ¶
func (o CronJobOutput) ToCronJobOutputWithContext(ctx context.Context) CronJobOutput
func (CronJobOutput) ToCronJobPtrOutput ¶
func (o CronJobOutput) ToCronJobPtrOutput() CronJobPtrOutput
func (CronJobOutput) ToCronJobPtrOutputWithContext ¶
func (o CronJobOutput) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
type CronJobPtrInput ¶
type CronJobPtrInput interface { pulumi.Input ToCronJobPtrOutput() CronJobPtrOutput ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput }
type CronJobPtrOutput ¶
type CronJobPtrOutput struct {
*pulumi.OutputState
}
func (CronJobPtrOutput) ElementType ¶
func (CronJobPtrOutput) ElementType() reflect.Type
func (CronJobPtrOutput) ToCronJobPtrOutput ¶
func (o CronJobPtrOutput) ToCronJobPtrOutput() CronJobPtrOutput
func (CronJobPtrOutput) ToCronJobPtrOutputWithContext ¶
func (o CronJobPtrOutput) ToCronJobPtrOutputWithContext(ctx context.Context) CronJobPtrOutput
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"` }
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"` }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecArgs) ElementType ¶
func (CronJobSpecArgs) ElementType() reflect.Type
func (CronJobSpecArgs) ToCronJobSpecOutput ¶
func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput
func (CronJobSpecArgs) ToCronJobSpecOutputWithContext ¶
func (i CronJobSpecArgs) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
func (CronJobSpecArgs) ToCronJobSpecPtrOutput ¶
func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext ¶
func (i CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
type CronJobSpecInput ¶
type CronJobSpecInput interface { pulumi.Input ToCronJobSpecOutput() CronJobSpecOutput ToCronJobSpecOutputWithContext(context.Context) CronJobSpecOutput }
CronJobSpecInput is an input type that accepts CronJobSpecArgs and CronJobSpecOutput values. You can construct a concrete instance of `CronJobSpecInput` via:
CronJobSpecArgs{...}
type CronJobSpecOutput ¶
type CronJobSpecOutput struct{ *pulumi.OutputState }
CronJobSpec describes how the job execution will look like and when it will actually run.
func (CronJobSpecOutput) ConcurrencyPolicy ¶
func (o CronJobSpecOutput) ConcurrencyPolicy() pulumi.StringPtrOutput
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
func (CronJobSpecOutput) ElementType ¶
func (CronJobSpecOutput) ElementType() reflect.Type
func (CronJobSpecOutput) FailedJobsHistoryLimit ¶
func (o CronJobSpecOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
func (CronJobSpecOutput) JobTemplate ¶
func (o CronJobSpecOutput) JobTemplate() JobTemplateSpecOutput
Specifies the job that will be created when executing a CronJob.
func (CronJobSpecOutput) Schedule ¶
func (o CronJobSpecOutput) Schedule() pulumi.StringOutput
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
func (CronJobSpecOutput) StartingDeadlineSeconds ¶
func (o CronJobSpecOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
func (CronJobSpecOutput) SuccessfulJobsHistoryLimit ¶
func (o CronJobSpecOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
func (CronJobSpecOutput) Suspend ¶
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) ToCronJobSpecOutput ¶
func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput
func (CronJobSpecOutput) ToCronJobSpecOutputWithContext ¶
func (o CronJobSpecOutput) ToCronJobSpecOutputWithContext(ctx context.Context) CronJobSpecOutput
func (CronJobSpecOutput) ToCronJobSpecPtrOutput ¶
func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext ¶
func (o CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
type 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) ToCronJobSpecPtrOutput ¶
func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext ¶
func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext(ctx context.Context) CronJobSpecPtrOutput
type CronJobState ¶
type CronJobState struct { }
func (CronJobState) ElementType ¶
func (CronJobState) ElementType() reflect.Type
type CronJobStatus ¶
type CronJobStatus struct { // A list of pointers to currently running jobs. Active []corev1.ObjectReference `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime *string `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime *string `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
type CronJobStatusArgs ¶
type CronJobStatusArgs struct { // A list of pointers to currently running jobs. Active corev1.ObjectReferenceArrayInput `pulumi:"active"` // Information when was the last time the job was successfully scheduled. LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"` // Information when was the last time the job successfully completed. LastSuccessfulTime pulumi.StringPtrInput `pulumi:"lastSuccessfulTime"` }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusArgs) ElementType ¶
func (CronJobStatusArgs) ElementType() reflect.Type
func (CronJobStatusArgs) ToCronJobStatusOutput ¶
func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput
func (CronJobStatusArgs) ToCronJobStatusOutputWithContext ¶
func (i CronJobStatusArgs) ToCronJobStatusOutputWithContext(ctx context.Context) CronJobStatusOutput
func (CronJobStatusArgs) ToCronJobStatusPtrOutput ¶
func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
func (CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext ¶
func (i CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext(ctx context.Context) CronJobStatusPtrOutput
type CronJobStatusInput ¶
type CronJobStatusInput interface { pulumi.Input ToCronJobStatusOutput() CronJobStatusOutput ToCronJobStatusOutputWithContext(context.Context) CronJobStatusOutput }
CronJobStatusInput is an input type that accepts CronJobStatusArgs and CronJobStatusOutput values. You can construct a concrete instance of `CronJobStatusInput` via:
CronJobStatusArgs{...}
type CronJobStatusOutput ¶
type CronJobStatusOutput struct{ *pulumi.OutputState }
CronJobStatus represents the current state of a cron job.
func (CronJobStatusOutput) Active ¶
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
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
type CronJobType ¶
type CronJobType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *CronJobSpec `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *CronJobStatus `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
type CronJobTypeArgs ¶
type CronJobTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec CronJobSpecPtrInput `pulumi:"spec"` // Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status CronJobStatusPtrInput `pulumi:"status"` }
CronJob represents the configuration of a single cron job.
func (CronJobTypeArgs) ElementType ¶
func (CronJobTypeArgs) ElementType() reflect.Type
func (CronJobTypeArgs) ToCronJobTypeOutput ¶
func (i CronJobTypeArgs) ToCronJobTypeOutput() CronJobTypeOutput
func (CronJobTypeArgs) ToCronJobTypeOutputWithContext ¶
func (i CronJobTypeArgs) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput
type CronJobTypeArray ¶
type CronJobTypeArray []CronJobTypeInput
func (CronJobTypeArray) ElementType ¶
func (CronJobTypeArray) ElementType() reflect.Type
func (CronJobTypeArray) ToCronJobTypeArrayOutput ¶
func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
func (CronJobTypeArray) ToCronJobTypeArrayOutputWithContext ¶
func (i CronJobTypeArray) ToCronJobTypeArrayOutputWithContext(ctx context.Context) CronJobTypeArrayOutput
type CronJobTypeArrayInput ¶
type CronJobTypeArrayInput interface { pulumi.Input ToCronJobTypeArrayOutput() CronJobTypeArrayOutput ToCronJobTypeArrayOutputWithContext(context.Context) CronJobTypeArrayOutput }
CronJobTypeArrayInput is an input type that accepts CronJobTypeArray and CronJobTypeArrayOutput values. You can construct a concrete instance of `CronJobTypeArrayInput` via:
CronJobTypeArray{ CronJobTypeArgs{...} }
type CronJobTypeArrayOutput ¶
type CronJobTypeArrayOutput struct{ *pulumi.OutputState }
func (CronJobTypeArrayOutput) ElementType ¶
func (CronJobTypeArrayOutput) ElementType() reflect.Type
func (CronJobTypeArrayOutput) Index ¶
func (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
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
type Job ¶
type Job struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrOutput `pulumi:"spec"` // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPtrOutput `pulumi:"status"` }
Job represents the configuration of a single job.
This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:
- 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 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 ¶
func (*Job) ToJobPtrOutput ¶
func (i *Job) ToJobPtrOutput() JobPtrOutput
func (*Job) ToJobPtrOutputWithContext ¶
func (i *Job) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput
type JobArgs ¶
type JobArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrInput }
The set of arguments for constructing a Job resource.
func (JobArgs) ElementType ¶
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
type JobConditionArray ¶
type JobConditionArray []JobConditionInput
func (JobConditionArray) ElementType ¶
func (JobConditionArray) ElementType() reflect.Type
func (JobConditionArray) ToJobConditionArrayOutput ¶
func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput
func (JobConditionArray) ToJobConditionArrayOutputWithContext ¶
func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput
type JobConditionArrayInput ¶
type JobConditionArrayInput interface { pulumi.Input ToJobConditionArrayOutput() JobConditionArrayOutput ToJobConditionArrayOutputWithContext(context.Context) JobConditionArrayOutput }
JobConditionArrayInput is an input type that accepts JobConditionArray and JobConditionArrayOutput values. You can construct a concrete instance of `JobConditionArrayInput` via:
JobConditionArray{ JobConditionArgs{...} }
type JobConditionArrayOutput ¶
type JobConditionArrayOutput struct{ *pulumi.OutputState }
func (JobConditionArrayOutput) ElementType ¶
func (JobConditionArrayOutput) ElementType() reflect.Type
func (JobConditionArrayOutput) Index ¶
func (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
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) Type ¶
func (o JobConditionOutput) Type() pulumi.StringOutput
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.StringPtrOutput `pulumi:"apiVersion"` // items is the list of Jobs. Items JobTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"` }
JobList is a collection of jobs.
func GetJobList ¶
func GetJobList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobListState, opts ...pulumi.ResourceOption) (*JobList, error)
GetJobList gets an existing JobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewJobList ¶
func NewJobList(ctx *pulumi.Context, name string, args *JobListArgs, opts ...pulumi.ResourceOption) (*JobList, error)
NewJobList registers a new resource with the given unique name, arguments, and options.
func (*JobList) ElementType ¶
func (*JobList) ToJobListOutput ¶
func (i *JobList) ToJobListOutput() JobListOutput
func (*JobList) ToJobListOutputWithContext ¶
func (i *JobList) ToJobListOutputWithContext(ctx context.Context) JobListOutput
func (*JobList) ToJobListPtrOutput ¶
func (i *JobList) ToJobListPtrOutput() JobListPtrOutput
func (*JobList) ToJobListPtrOutputWithContext ¶
func (i *JobList) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
type JobListArgs ¶
type JobListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of Jobs. Items JobTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a JobList resource.
func (JobListArgs) ElementType ¶
func (JobListArgs) ElementType() reflect.Type
type JobListArray ¶
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) ElementType ¶
func (JobListOutput) ElementType() reflect.Type
func (JobListOutput) ToJobListOutput ¶
func (o JobListOutput) ToJobListOutput() JobListOutput
func (JobListOutput) ToJobListOutputWithContext ¶
func (o JobListOutput) ToJobListOutputWithContext(ctx context.Context) JobListOutput
func (JobListOutput) ToJobListPtrOutput ¶
func (o JobListOutput) ToJobListPtrOutput() JobListPtrOutput
func (JobListOutput) ToJobListPtrOutputWithContext ¶
func (o JobListOutput) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
type JobListPtrInput ¶
type JobListPtrInput interface { pulumi.Input ToJobListPtrOutput() JobListPtrOutput ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput }
type JobListPtrOutput ¶
type JobListPtrOutput struct {
*pulumi.OutputState
}
func (JobListPtrOutput) ElementType ¶
func (JobListPtrOutput) ElementType() reflect.Type
func (JobListPtrOutput) ToJobListPtrOutput ¶
func (o JobListPtrOutput) ToJobListPtrOutput() JobListPtrOutput
func (JobListPtrOutput) ToJobListPtrOutputWithContext ¶
func (o JobListPtrOutput) ToJobListPtrOutputWithContext(ctx context.Context) JobListPtrOutput
type JobListState ¶
type JobListState struct { }
func (JobListState) ElementType ¶
func (JobListState) ElementType() reflect.Type
type JobListType ¶
type JobListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of Jobs. Items []JobType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
JobList is a collection of jobs.
type JobListTypeArgs ¶
type JobListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of Jobs. Items JobTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
JobList is a collection of jobs.
func (JobListTypeArgs) ElementType ¶
func (JobListTypeArgs) ElementType() reflect.Type
func (JobListTypeArgs) ToJobListTypeOutput ¶
func (i JobListTypeArgs) ToJobListTypeOutput() JobListTypeOutput
func (JobListTypeArgs) ToJobListTypeOutputWithContext ¶
func (i JobListTypeArgs) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput
type JobListTypeInput ¶
type JobListTypeInput interface { pulumi.Input ToJobListTypeOutput() JobListTypeOutput ToJobListTypeOutputWithContext(context.Context) JobListTypeOutput }
JobListTypeInput is an input type that accepts JobListTypeArgs and JobListTypeOutput values. You can construct a concrete instance of `JobListTypeInput` via:
JobListTypeArgs{...}
type JobListTypeOutput ¶
type JobListTypeOutput struct{ *pulumi.OutputState }
JobList is a collection of jobs.
func (JobListTypeOutput) ApiVersion ¶
func (o JobListTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobListTypeOutput) ElementType ¶
func (JobListTypeOutput) ElementType() reflect.Type
func (JobListTypeOutput) Items ¶
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
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) ElementType ¶
func (JobOutput) ToJobOutput ¶
func (JobOutput) ToJobOutputWithContext ¶
func (JobOutput) ToJobPtrOutput ¶
func (o JobOutput) ToJobPtrOutput() JobPtrOutput
func (JobOutput) ToJobPtrOutputWithContext ¶
func (o JobOutput) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput
type JobPtrInput ¶
type JobPtrInput interface { pulumi.Input ToJobPtrOutput() JobPtrOutput ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput }
type JobPtrOutput ¶
type JobPtrOutput struct {
*pulumi.OutputState
}
func (JobPtrOutput) ElementType ¶
func (JobPtrOutput) ElementType() reflect.Type
func (JobPtrOutput) ToJobPtrOutput ¶
func (o JobPtrOutput) ToJobPtrOutput() JobPtrOutput
func (JobPtrOutput) ToJobPtrOutputWithContext ¶
func (o JobPtrOutput) ToJobPtrOutputWithContext(ctx context.Context) JobPtrOutput
type JobSpec ¶
type JobSpec struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit *int `pulumi:"backoffLimit"` // CompletionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // This field is beta-level. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job. CompletionMode *string `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions *int `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector *bool `pulumi:"manualSelector"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism *int `pulumi:"parallelism"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector *metav1.LabelSelector `pulumi:"selector"` // Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. // // This field is beta-level, gated by SuspendJob feature flag (enabled by default). Suspend *bool `pulumi:"suspend"` // Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpec `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. TtlSecondsAfterFinished *int `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
type JobSpecArgs ¶
type JobSpecArgs struct { // Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"` // CompletionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. // // `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. // // `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. // // This field is beta-level. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job. CompletionMode pulumi.StringPtrInput `pulumi:"completionMode"` // Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Completions pulumi.IntPtrInput `pulumi:"completions"` // manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector ManualSelector pulumi.BoolPtrInput `pulumi:"manualSelector"` // Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Parallelism pulumi.IntPtrInput `pulumi:"parallelism"` // A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` // Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. // // This field is beta-level, gated by SuspendJob feature flag (enabled by default). Suspend pulumi.BoolPtrInput `pulumi:"suspend"` // Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpecInput `pulumi:"template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. TtlSecondsAfterFinished pulumi.IntPtrInput `pulumi:"ttlSecondsAfterFinished"` }
JobSpec describes how the job execution will look like.
func (JobSpecArgs) ElementType ¶
func (JobSpecArgs) ElementType() reflect.Type
func (JobSpecArgs) ToJobSpecOutput ¶
func (i JobSpecArgs) ToJobSpecOutput() JobSpecOutput
func (JobSpecArgs) ToJobSpecOutputWithContext ¶
func (i JobSpecArgs) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
func (JobSpecArgs) ToJobSpecPtrOutput ¶
func (i JobSpecArgs) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecArgs) ToJobSpecPtrOutputWithContext ¶
func (i JobSpecArgs) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
type JobSpecInput ¶
type JobSpecInput interface { pulumi.Input ToJobSpecOutput() JobSpecOutput ToJobSpecOutputWithContext(context.Context) JobSpecOutput }
JobSpecInput is an input type that accepts JobSpecArgs and JobSpecOutput values. You can construct a concrete instance of `JobSpecInput` via:
JobSpecArgs{...}
type JobSpecOutput ¶
type JobSpecOutput struct{ *pulumi.OutputState }
JobSpec describes how the job execution will look like.
func (JobSpecOutput) ActiveDeadlineSeconds ¶
func (o JobSpecOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecOutput) BackoffLimit ¶
func (o JobSpecOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecOutput) CompletionMode ¶
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)`.
This field is beta-level. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job.
func (JobSpecOutput) Completions ¶
func (o JobSpecOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) ElementType ¶
func (JobSpecOutput) ElementType() reflect.Type
func (JobSpecOutput) ManualSelector ¶
func (o JobSpecOutput) ManualSelector() pulumi.BoolPtrOutput
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
func (JobSpecOutput) Parallelism ¶
func (o JobSpecOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) Selector ¶
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.
This field is beta-level, gated by SuspendJob feature flag (enabled by default).
func (JobSpecOutput) Template ¶
func (o JobSpecOutput) Template() corev1.PodTemplateSpecOutput
Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecOutput) ToJobSpecOutput ¶
func (o JobSpecOutput) ToJobSpecOutput() JobSpecOutput
func (JobSpecOutput) ToJobSpecOutputWithContext ¶
func (o JobSpecOutput) ToJobSpecOutputWithContext(ctx context.Context) JobSpecOutput
func (JobSpecOutput) ToJobSpecPtrOutput ¶
func (o JobSpecOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecOutput) ToJobSpecPtrOutputWithContext ¶
func (o JobSpecOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
func (JobSpecOutput) TtlSecondsAfterFinished ¶
func (o JobSpecOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.
type JobSpecPtrInput ¶
type JobSpecPtrInput interface { pulumi.Input ToJobSpecPtrOutput() JobSpecPtrOutput ToJobSpecPtrOutputWithContext(context.Context) JobSpecPtrOutput }
JobSpecPtrInput is an input type that accepts JobSpecArgs, JobSpecPtr and JobSpecPtrOutput values. You can construct a concrete instance of `JobSpecPtrInput` via:
JobSpecArgs{...} or: nil
func JobSpecPtr ¶
func JobSpecPtr(v *JobSpecArgs) JobSpecPtrInput
type JobSpecPtrOutput ¶
type JobSpecPtrOutput struct{ *pulumi.OutputState }
func (JobSpecPtrOutput) ActiveDeadlineSeconds ¶
func (o JobSpecPtrOutput) ActiveDeadlineSeconds() pulumi.IntPtrOutput
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
func (JobSpecPtrOutput) BackoffLimit ¶
func (o JobSpecPtrOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
func (JobSpecPtrOutput) CompletionMode ¶
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)`.
This field is beta-level. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, the controller skips updates for the Job.
func (JobSpecPtrOutput) Completions ¶
func (o JobSpecPtrOutput) Completions() pulumi.IntPtrOutput
Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) Elem ¶
func (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) Parallelism ¶
func (o JobSpecPtrOutput) Parallelism() pulumi.IntPtrOutput
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) Selector ¶
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.
This field is beta-level, gated by SuspendJob feature flag (enabled by default).
func (JobSpecPtrOutput) Template ¶
func (o JobSpecPtrOutput) Template() corev1.PodTemplateSpecPtrOutput
Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
func (JobSpecPtrOutput) ToJobSpecPtrOutput ¶
func (o JobSpecPtrOutput) ToJobSpecPtrOutput() JobSpecPtrOutput
func (JobSpecPtrOutput) ToJobSpecPtrOutputWithContext ¶
func (o JobSpecPtrOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput
func (JobSpecPtrOutput) TtlSecondsAfterFinished ¶
func (o JobSpecPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.
type JobStatus ¶
type JobStatus struct { // The number of actively running pods. Active *int `pulumi:"active"` // CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes *string `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime *string `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions []JobCondition `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed *int `pulumi:"failed"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime *string `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded *int `pulumi:"succeeded"` // 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. // // This field is alpha-level. The job controller only makes use of this field when the feature gate PodTrackingWithFinalizers is enabled. 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 actively running pods. Active pulumi.IntPtrInput `pulumi:"active"` // CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". CompletedIndexes pulumi.StringPtrInput `pulumi:"completedIndexes"` // Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. CompletionTime pulumi.StringPtrInput `pulumi:"completionTime"` // The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Conditions JobConditionArrayInput `pulumi:"conditions"` // The number of pods which reached phase Failed. Failed pulumi.IntPtrInput `pulumi:"failed"` // Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded pulumi.IntPtrInput `pulumi:"succeeded"` // 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. // // This field is alpha-level. The job controller only makes use of this field when the feature gate PodTrackingWithFinalizers is enabled. 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 actively 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) StartTime ¶
func (o JobStatusOutput) StartTime() pulumi.StringPtrOutput
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
func (JobStatusOutput) Succeeded ¶
func (o JobStatusOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusOutput) ToJobStatusOutput ¶
func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput
func (JobStatusOutput) ToJobStatusOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
func (JobStatusOutput) ToJobStatusPtrOutput ¶
func (o JobStatusOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
func (JobStatusOutput) UncountedTerminatedPods ¶ added in v3.6.0
func (o JobStatusOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: (1) Add the pod UID to the arrays in this field. (2) Remove the pod finalizer. (3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is alpha-level. The job controller only makes use of this field when the feature gate PodTrackingWithFinalizers is enabled. 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 actively 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) 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) ToJobStatusPtrOutput ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusPtrOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
func (JobStatusPtrOutput) UncountedTerminatedPods ¶ added in v3.6.0
func (o JobStatusPtrOutput) UncountedTerminatedPods() UncountedTerminatedPodsPtrOutput
UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status: (1) Add the pod UID to the arrays in this field. (2) Remove the pod finalizer. (3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is alpha-level. The job controller only makes use of this field when the feature gate PodTrackingWithFinalizers is enabled. Old jobs might not be tracked using this field, in which case the field remains null.
type JobTemplateSpec ¶
type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *JobSpec `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
type JobTemplateSpecArgs ¶
type JobTemplateSpecArgs struct { // Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrInput `pulumi:"spec"` }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecArgs) ElementType ¶
func (JobTemplateSpecArgs) ElementType() reflect.Type
func (JobTemplateSpecArgs) ToJobTemplateSpecOutput ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext(ctx context.Context) JobTemplateSpecOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext ¶
func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext(ctx context.Context) JobTemplateSpecPtrOutput
type JobTemplateSpecInput ¶
type JobTemplateSpecInput interface { pulumi.Input ToJobTemplateSpecOutput() JobTemplateSpecOutput ToJobTemplateSpecOutputWithContext(context.Context) JobTemplateSpecOutput }
JobTemplateSpecInput is an input type that accepts JobTemplateSpecArgs and JobTemplateSpecOutput values. You can construct a concrete instance of `JobTemplateSpecInput` via:
JobTemplateSpecArgs{...}
type JobTemplateSpecOutput ¶
type JobTemplateSpecOutput struct{ *pulumi.OutputState }
JobTemplateSpec describes the data a Job should have when created from a template
func (JobTemplateSpecOutput) ElementType ¶
func (JobTemplateSpecOutput) ElementType() reflect.Type
func (JobTemplateSpecOutput) Metadata ¶
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
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
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 UncountedTerminatedPods ¶ added in v3.6.0
type UncountedTerminatedPods struct { // Failed holds UIDs of failed Pods. Failed []string `pulumi:"failed"` // Succeeded holds UIDs of succeeded Pods. Succeeded []string `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
type UncountedTerminatedPodsArgs ¶ added in v3.6.0
type UncountedTerminatedPodsArgs struct { // Failed holds UIDs of failed Pods. Failed pulumi.StringArrayInput `pulumi:"failed"` // Succeeded holds UIDs of succeeded Pods. Succeeded pulumi.StringArrayInput `pulumi:"succeeded"` }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsArgs) ElementType ¶ added in v3.6.0
func (UncountedTerminatedPodsArgs) ElementType() reflect.Type
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput ¶ added in v3.6.0
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext ¶ added in v3.6.0
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput ¶ added in v3.6.0
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext ¶ added in v3.6.0
func (i UncountedTerminatedPodsArgs) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
type UncountedTerminatedPodsInput ¶ added in v3.6.0
type UncountedTerminatedPodsInput interface { pulumi.Input ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput ToUncountedTerminatedPodsOutputWithContext(context.Context) UncountedTerminatedPodsOutput }
UncountedTerminatedPodsInput is an input type that accepts UncountedTerminatedPodsArgs and UncountedTerminatedPodsOutput values. You can construct a concrete instance of `UncountedTerminatedPodsInput` via:
UncountedTerminatedPodsArgs{...}
type UncountedTerminatedPodsOutput ¶ added in v3.6.0
type UncountedTerminatedPodsOutput struct{ *pulumi.OutputState }
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
func (UncountedTerminatedPodsOutput) ElementType ¶ added in v3.6.0
func (UncountedTerminatedPodsOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsOutput) Failed ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) Failed() pulumi.StringArrayOutput
Failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsOutput) Succeeded ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) Succeeded() pulumi.StringArrayOutput
Succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutput() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsOutputWithContext(ctx context.Context) UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext ¶ added in v3.6.0
func (o UncountedTerminatedPodsOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput
type UncountedTerminatedPodsPtrInput ¶ added in v3.6.0
type UncountedTerminatedPodsPtrInput interface { pulumi.Input ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput ToUncountedTerminatedPodsPtrOutputWithContext(context.Context) UncountedTerminatedPodsPtrOutput }
UncountedTerminatedPodsPtrInput is an input type that accepts UncountedTerminatedPodsArgs, UncountedTerminatedPodsPtr and UncountedTerminatedPodsPtrOutput values. You can construct a concrete instance of `UncountedTerminatedPodsPtrInput` via:
UncountedTerminatedPodsArgs{...} or: nil
func UncountedTerminatedPodsPtr ¶ added in v3.6.0
func UncountedTerminatedPodsPtr(v *UncountedTerminatedPodsArgs) UncountedTerminatedPodsPtrInput
type UncountedTerminatedPodsPtrOutput ¶ added in v3.6.0
type UncountedTerminatedPodsPtrOutput struct{ *pulumi.OutputState }
func (UncountedTerminatedPodsPtrOutput) Elem ¶ added in v3.6.0
func (o UncountedTerminatedPodsPtrOutput) Elem() UncountedTerminatedPodsOutput
func (UncountedTerminatedPodsPtrOutput) ElementType ¶ added in v3.6.0
func (UncountedTerminatedPodsPtrOutput) ElementType() reflect.Type
func (UncountedTerminatedPodsPtrOutput) Failed ¶ added in v3.6.0
func (o UncountedTerminatedPodsPtrOutput) Failed() pulumi.StringArrayOutput
Failed holds UIDs of failed Pods.
func (UncountedTerminatedPodsPtrOutput) Succeeded ¶ added in v3.6.0
func (o UncountedTerminatedPodsPtrOutput) Succeeded() pulumi.StringArrayOutput
Succeeded holds UIDs of succeeded Pods.
func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput ¶ added in v3.6.0
func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutput() UncountedTerminatedPodsPtrOutput
func (UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext ¶ added in v3.6.0
func (o UncountedTerminatedPodsPtrOutput) ToUncountedTerminatedPodsPtrOutputWithContext(ctx context.Context) UncountedTerminatedPodsPtrOutput