Documentation ¶
Index ¶
- 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) 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) 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) 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) 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) 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
- type JobStatusPtrInput
- type JobStatusPtrOutput
- func (o JobStatusPtrOutput) Active() pulumi.IntPtrOutput
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
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 { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // items is the list of Jobs. Items JobTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
func (JobListState) ElementType ¶
func (JobListState) ElementType() reflect.Type
type JobListType ¶
type JobListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // items is the list of Jobs. Items []JobType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
JobList is a collection of jobs.
type JobListTypeArgs ¶
type JobListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // items is the list of Jobs. Items JobTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
JobList is a collection of jobs.
func (JobListTypeArgs) ElementType ¶
func (JobListTypeArgs) ElementType() reflect.Type
func (JobListTypeArgs) ToJobListTypeOutput ¶
func (i JobListTypeArgs) ToJobListTypeOutput() JobListTypeOutput
func (JobListTypeArgs) ToJobListTypeOutputWithContext ¶
func (i JobListTypeArgs) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput
type JobListTypeInput ¶
type JobListTypeInput interface { pulumi.Input ToJobListTypeOutput() JobListTypeOutput ToJobListTypeOutputWithContext(context.Context) JobListTypeOutput }
JobListTypeInput is an input type that accepts JobListTypeArgs and JobListTypeOutput values. You can construct a concrete instance of `JobListTypeInput` via:
JobListTypeArgs{...}
type JobListTypeOutput ¶
type JobListTypeOutput struct{ *pulumi.OutputState }
JobList is a collection of jobs.
func (JobListTypeOutput) ApiVersion ¶
func (o JobListTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (JobListTypeOutput) ElementType ¶
func (JobListTypeOutput) ElementType() reflect.Type
func (JobListTypeOutput) Items ¶
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 active before the system tries to terminate it; value must be positive integer ActiveDeadlineSeconds *int `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit *int `pulumi:"backoffLimit"` // 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"` // 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 active before the system tries to terminate it; value must be positive integer ActiveDeadlineSeconds pulumi.IntPtrInput `pulumi:"activeDeadlineSeconds"` // Specifies the number of retries before marking this job failed. Defaults to 6 BackoffLimit pulumi.IntPtrInput `pulumi:"backoffLimit"` // Specifies the 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"` // 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 active before the system tries to terminate it; value must be positive integer
func (JobSpecOutput) BackoffLimit ¶
func (o JobSpecOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
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) 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 active before the system tries to terminate it; value must be positive integer
func (JobSpecPtrOutput) BackoffLimit ¶
func (o JobSpecPtrOutput) BackoffLimit() pulumi.IntPtrOutput
Specifies the number of retries before marking this job failed. Defaults to 6
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) 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 JobState ¶
type JobState struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec JobSpecPtrInput // Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status JobStatusPtrInput }
func (JobState) ElementType ¶
type JobStatus ¶
type JobStatus struct { // The number of actively running pods. Active *int `pulumi:"active"` // 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". 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 was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. StartTime *string `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded *int `pulumi:"succeeded"` }
JobStatus represents the current state of a Job.
type JobStatusArgs ¶
type JobStatusArgs struct { // The number of actively running pods. Active pulumi.IntPtrInput `pulumi:"active"` // 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". 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 was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The number of pods which reached phase Succeeded. Succeeded pulumi.IntPtrInput `pulumi:"succeeded"` }
JobStatus represents the current state of a Job.
func (JobStatusArgs) ElementType ¶
func (JobStatusArgs) ElementType() reflect.Type
func (JobStatusArgs) ToJobStatusOutput ¶
func (i JobStatusArgs) ToJobStatusOutput() JobStatusOutput
func (JobStatusArgs) ToJobStatusOutputWithContext ¶
func (i JobStatusArgs) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
func (JobStatusArgs) ToJobStatusPtrOutput ¶
func (i JobStatusArgs) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusArgs) ToJobStatusPtrOutputWithContext ¶
func (i JobStatusArgs) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
type JobStatusInput ¶
type JobStatusInput interface { pulumi.Input ToJobStatusOutput() JobStatusOutput ToJobStatusOutputWithContext(context.Context) JobStatusOutput }
JobStatusInput is an input type that accepts JobStatusArgs and JobStatusOutput values. You can construct a concrete instance of `JobStatusInput` via:
JobStatusArgs{...}
type JobStatusOutput ¶
type JobStatusOutput struct{ *pulumi.OutputState }
JobStatus represents the current state of a Job.
func (JobStatusOutput) Active ¶
func (o JobStatusOutput) Active() pulumi.IntPtrOutput
The number of actively running pods.
func (JobStatusOutput) 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". 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 was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
func (JobStatusOutput) Succeeded ¶
func (o JobStatusOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusOutput) ToJobStatusOutput ¶
func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput
func (JobStatusOutput) ToJobStatusOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput
func (JobStatusOutput) ToJobStatusPtrOutput ¶
func (o JobStatusOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
type JobStatusPtrInput ¶
type JobStatusPtrInput interface { pulumi.Input ToJobStatusPtrOutput() JobStatusPtrOutput ToJobStatusPtrOutputWithContext(context.Context) JobStatusPtrOutput }
JobStatusPtrInput is an input type that accepts JobStatusArgs, JobStatusPtr and JobStatusPtrOutput values. You can construct a concrete instance of `JobStatusPtrInput` via:
JobStatusArgs{...} or: nil
func JobStatusPtr ¶
func JobStatusPtr(v *JobStatusArgs) JobStatusPtrInput
type JobStatusPtrOutput ¶
type JobStatusPtrOutput struct{ *pulumi.OutputState }
func (JobStatusPtrOutput) Active ¶
func (o JobStatusPtrOutput) Active() pulumi.IntPtrOutput
The number of actively running pods.
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". 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 was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
func (JobStatusPtrOutput) Succeeded ¶
func (o JobStatusPtrOutput) Succeeded() pulumi.IntPtrOutput
The number of pods which reached phase Succeeded.
func (JobStatusPtrOutput) ToJobStatusPtrOutput ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutput() JobStatusPtrOutput
func (JobStatusPtrOutput) ToJobStatusPtrOutputWithContext ¶
func (o JobStatusPtrOutput) ToJobStatusPtrOutputWithContext(ctx context.Context) JobStatusPtrOutput
type 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.
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.
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.
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