v1

package
v3.0.0-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrOutput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrOutput `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

NewJob registers a new resource with the given unique name, arguments, and options.

func (*Job) ElementType

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

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

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

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

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

type JobArrayInput

type JobArrayInput interface {
	pulumi.Input

	ToJobArrayOutput() JobArrayOutput
	ToJobArrayOutputWithContext(context.Context) JobArrayOutput
}

JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:

JobArray{ JobArgs{...} }

type JobArrayOutput

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobCondition

type JobCondition struct {
	// Last time the condition was checked.
	LastProbeTime *string `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message *string `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status string `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type string `pulumi:"type"`
}

JobCondition describes current state of a job.

type JobConditionArgs

type JobConditionArgs struct {
	// Last time the condition was checked.
	LastProbeTime pulumi.StringPtrInput `pulumi:"lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// Human readable message indicating details about last transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (brief) reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringInput `pulumi:"status"`
	// Type of job condition, Complete or Failed.
	Type pulumi.StringInput `pulumi:"type"`
}

JobCondition describes current state of a job.

func (JobConditionArgs) ElementType

func (JobConditionArgs) ElementType() reflect.Type

func (JobConditionArgs) ToJobConditionOutput

func (i JobConditionArgs) ToJobConditionOutput() JobConditionOutput

func (JobConditionArgs) ToJobConditionOutputWithContext

func (i JobConditionArgs) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

type JobConditionArray

type JobConditionArray []JobConditionInput

func (JobConditionArray) ElementType

func (JobConditionArray) ElementType() reflect.Type

func (JobConditionArray) ToJobConditionArrayOutput

func (i JobConditionArray) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArray) ToJobConditionArrayOutputWithContext

func (i JobConditionArray) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

type JobConditionArrayInput

type JobConditionArrayInput interface {
	pulumi.Input

	ToJobConditionArrayOutput() JobConditionArrayOutput
	ToJobConditionArrayOutputWithContext(context.Context) JobConditionArrayOutput
}

JobConditionArrayInput is an input type that accepts JobConditionArray and JobConditionArrayOutput values. You can construct a concrete instance of `JobConditionArrayInput` via:

JobConditionArray{ JobConditionArgs{...} }

type JobConditionArrayOutput

type JobConditionArrayOutput struct{ *pulumi.OutputState }

func (JobConditionArrayOutput) ElementType

func (JobConditionArrayOutput) ElementType() reflect.Type

func (JobConditionArrayOutput) Index

func (JobConditionArrayOutput) ToJobConditionArrayOutput

func (o JobConditionArrayOutput) ToJobConditionArrayOutput() JobConditionArrayOutput

func (JobConditionArrayOutput) ToJobConditionArrayOutputWithContext

func (o JobConditionArrayOutput) ToJobConditionArrayOutputWithContext(ctx context.Context) JobConditionArrayOutput

type JobConditionInput

type JobConditionInput interface {
	pulumi.Input

	ToJobConditionOutput() JobConditionOutput
	ToJobConditionOutputWithContext(context.Context) JobConditionOutput
}

JobConditionInput is an input type that accepts JobConditionArgs and JobConditionOutput values. You can construct a concrete instance of `JobConditionInput` via:

JobConditionArgs{...}

type JobConditionOutput

type JobConditionOutput struct{ *pulumi.OutputState }

JobCondition describes current state of a job.

func (JobConditionOutput) ElementType

func (JobConditionOutput) ElementType() reflect.Type

func (JobConditionOutput) LastProbeTime

func (o JobConditionOutput) LastProbeTime() pulumi.StringPtrOutput

Last time the condition was checked.

func (JobConditionOutput) LastTransitionTime

func (o JobConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transit from one status to another.

func (JobConditionOutput) Message

Human readable message indicating details about last transition.

func (JobConditionOutput) Reason

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

func (JobConditionOutput) Status

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

func (JobConditionOutput) ToJobConditionOutput

func (o JobConditionOutput) ToJobConditionOutput() JobConditionOutput

func (JobConditionOutput) ToJobConditionOutputWithContext

func (o JobConditionOutput) ToJobConditionOutputWithContext(ctx context.Context) JobConditionOutput

func (JobConditionOutput) Type

Type of job condition, Complete or Failed.

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobList

type JobList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// items is the list of Jobs.
	Items JobTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

JobList is a collection of jobs.

func GetJobList

func GetJobList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobListState, opts ...pulumi.ResourceOption) (*JobList, error)

GetJobList gets an existing JobList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobList

func NewJobList(ctx *pulumi.Context,
	name string, args *JobListArgs, opts ...pulumi.ResourceOption) (*JobList, error)

NewJobList registers a new resource with the given unique name, arguments, and options.

func (*JobList) ElementType

func (*JobList) ElementType() reflect.Type

func (*JobList) ToJobListOutput

func (i *JobList) ToJobListOutput() JobListOutput

func (*JobList) ToJobListOutputWithContext

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

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 (JobListArrayOutput) ToJobListArrayOutput

func (o JobListArrayOutput) ToJobListArrayOutput() JobListArrayOutput

func (JobListArrayOutput) ToJobListArrayOutputWithContext

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

type JobListInput

type JobListInput interface {
	pulumi.Input

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

type JobListMap

type JobListMap map[string]JobListInput

func (JobListMap) ElementType

func (JobListMap) ElementType() reflect.Type

func (JobListMap) ToJobListMapOutput

func (i JobListMap) ToJobListMapOutput() JobListMapOutput

func (JobListMap) ToJobListMapOutputWithContext

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

type JobListMapInput

type JobListMapInput interface {
	pulumi.Input

	ToJobListMapOutput() JobListMapOutput
	ToJobListMapOutputWithContext(context.Context) JobListMapOutput
}

JobListMapInput is an input type that accepts JobListMap and JobListMapOutput values. You can construct a concrete instance of `JobListMapInput` via:

JobListMap{ "key": JobListArgs{...} }

type JobListMapOutput

type JobListMapOutput struct{ *pulumi.OutputState }

func (JobListMapOutput) ElementType

func (JobListMapOutput) ElementType() reflect.Type

func (JobListMapOutput) MapIndex

func (JobListMapOutput) ToJobListMapOutput

func (o JobListMapOutput) ToJobListMapOutput() JobListMapOutput

func (JobListMapOutput) ToJobListMapOutputWithContext

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

type JobListOutput

type JobListOutput struct {
	*pulumi.OutputState
}

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

items is the list of Jobs.

func (JobListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobListTypeOutput) ToJobListTypeOutput

func (o JobListTypeOutput) ToJobListTypeOutput() JobListTypeOutput

func (JobListTypeOutput) ToJobListTypeOutputWithContext

func (o JobListTypeOutput) ToJobListTypeOutputWithContext(ctx context.Context) JobListTypeOutput

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

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

type JobMapInput

type JobMapInput interface {
	pulumi.Input

	ToJobMapOutput() JobMapOutput
	ToJobMapOutputWithContext(context.Context) JobMapOutput
}

JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:

JobMap{ "key": JobArgs{...} }

type JobMapOutput

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex

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

func (JobMapOutput) ToJobMapOutput

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext

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

type JobOutput

type JobOutput struct {
	*pulumi.OutputState
}

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

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

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

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

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 (JobSpecPtrOutput) ElementType

func (JobSpecPtrOutput) ElementType() reflect.Type

func (JobSpecPtrOutput) ManualSelector

func (o JobSpecPtrOutput) ManualSelector() pulumi.BoolPtrOutput

manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

func (JobSpecPtrOutput) Parallelism

func (o JobSpecPtrOutput) Parallelism() pulumi.IntPtrOutput

Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPtrOutput) Selector

A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (JobSpecPtrOutput) Template

Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

func (JobSpecPtrOutput) ToJobSpecPtrOutput

func (o JobSpecPtrOutput) ToJobSpecPtrOutput() JobSpecPtrOutput

func (JobSpecPtrOutput) ToJobSpecPtrOutputWithContext

func (o JobSpecPtrOutput) ToJobSpecPtrOutputWithContext(ctx context.Context) JobSpecPtrOutput

func (JobSpecPtrOutput) TtlSecondsAfterFinished

func (o JobSpecPtrOutput) TtlSecondsAfterFinished() pulumi.IntPtrOutput

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.

type JobState

type JobState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrInput
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobStatus

type JobStatus struct {
	// The number of actively running pods.
	Active *int `pulumi:"active"`
	// 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

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

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

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 (JobStatusPtrOutput) ElementType

func (JobStatusPtrOutput) ElementType() reflect.Type

func (JobStatusPtrOutput) Failed

The number of pods which reached phase Failed.

func (JobStatusPtrOutput) StartTime

Represents time when the job 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:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type JobTypeArgs

type JobTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec JobSpecPtrInput `pulumi:"spec"`
	// Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status JobStatusPtrInput `pulumi:"status"`
}

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (JobTypeArgs) ElementType

func (JobTypeArgs) ElementType() reflect.Type

func (JobTypeArgs) ToJobTypeOutput

func (i JobTypeArgs) ToJobTypeOutput() JobTypeOutput

func (JobTypeArgs) ToJobTypeOutputWithContext

func (i JobTypeArgs) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput

type JobTypeArray

type JobTypeArray []JobTypeInput

func (JobTypeArray) ElementType

func (JobTypeArray) ElementType() reflect.Type

func (JobTypeArray) ToJobTypeArrayOutput

func (i JobTypeArray) ToJobTypeArrayOutput() JobTypeArrayOutput

func (JobTypeArray) ToJobTypeArrayOutputWithContext

func (i JobTypeArray) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput

type JobTypeArrayInput

type JobTypeArrayInput interface {
	pulumi.Input

	ToJobTypeArrayOutput() JobTypeArrayOutput
	ToJobTypeArrayOutputWithContext(context.Context) JobTypeArrayOutput
}

JobTypeArrayInput is an input type that accepts JobTypeArray and JobTypeArrayOutput values. You can construct a concrete instance of `JobTypeArrayInput` via:

JobTypeArray{ JobTypeArgs{...} }

type JobTypeArrayOutput

type JobTypeArrayOutput struct{ *pulumi.OutputState }

func (JobTypeArrayOutput) ElementType

func (JobTypeArrayOutput) ElementType() reflect.Type

func (JobTypeArrayOutput) Index

func (JobTypeArrayOutput) ToJobTypeArrayOutput

func (o JobTypeArrayOutput) ToJobTypeArrayOutput() JobTypeArrayOutput

func (JobTypeArrayOutput) ToJobTypeArrayOutputWithContext

func (o JobTypeArrayOutput) ToJobTypeArrayOutputWithContext(ctx context.Context) JobTypeArrayOutput

type JobTypeInput

type JobTypeInput interface {
	pulumi.Input

	ToJobTypeOutput() JobTypeOutput
	ToJobTypeOutputWithContext(context.Context) JobTypeOutput
}

JobTypeInput is an input type that accepts JobTypeArgs and JobTypeOutput values. You can construct a concrete instance of `JobTypeInput` via:

JobTypeArgs{...}

type JobTypeOutput

type JobTypeOutput struct{ *pulumi.OutputState }

Job represents the configuration of a single job.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Job's '.status.startTime' is set, which indicates that the Job has started running.
  2. The Job's '.status.conditions' has a status of type 'Complete', and a 'status' set to 'True'.
  3. The Job's '.status.conditions' do not have a status of type 'Failed', with a 'status' set to 'True'. If this condition is set, we should fail the Job immediately.

If the Job has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (JobTypeOutput) ApiVersion

func (o JobTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (JobTypeOutput) ElementType

func (JobTypeOutput) ElementType() reflect.Type

func (JobTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (JobTypeOutput) Spec

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

func (JobTypeOutput) ToJobTypeOutput

func (o JobTypeOutput) ToJobTypeOutput() JobTypeOutput

func (JobTypeOutput) ToJobTypeOutputWithContext

func (o JobTypeOutput) ToJobTypeOutputWithContext(ctx context.Context) JobTypeOutput

Jump to

Keyboard shortcuts

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