v1beta1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJob

type CronJob struct {
	pulumi.CustomResourceState

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

CronJob represents the configuration of a single cron job.

func GetCronJob

func GetCronJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CronJobState, opts ...pulumi.ResourceOption) (*CronJob, error)

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

func NewCronJob

func NewCronJob(ctx *pulumi.Context,
	name string, args *CronJobArgs, opts ...pulumi.ResourceOption) (*CronJob, error)

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

type CronJobArgs

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

The set of arguments for constructing a CronJob resource.

func (CronJobArgs) ElementType

func (CronJobArgs) ElementType() reflect.Type

type CronJobList

type CronJobList struct {
	pulumi.CustomResourceState

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

CronJobList is a collection of cron jobs.

func GetCronJobList

func GetCronJobList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CronJobListState, opts ...pulumi.ResourceOption) (*CronJobList, error)

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

func NewCronJobList

func NewCronJobList(ctx *pulumi.Context,
	name string, args *CronJobListArgs, opts ...pulumi.ResourceOption) (*CronJobList, error)

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

type CronJobListArgs

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

The set of arguments for constructing a CronJobList resource.

func (CronJobListArgs) ElementType

func (CronJobListArgs) ElementType() reflect.Type

type CronJobListState

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

func (CronJobListState) ElementType

func (CronJobListState) ElementType() reflect.Type

type CronJobListType

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

CronJobList is a collection of cron jobs.

type CronJobListTypeArgs

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

CronJobList is a collection of cron jobs.

func (CronJobListTypeArgs) ElementType

func (CronJobListTypeArgs) ElementType() reflect.Type

func (CronJobListTypeArgs) ToCronJobListTypeOutput

func (i CronJobListTypeArgs) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeArgs) ToCronJobListTypeOutputWithContext

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

type CronJobListTypeInput

type CronJobListTypeInput interface {
	pulumi.Input

	ToCronJobListTypeOutput() CronJobListTypeOutput
	ToCronJobListTypeOutputWithContext(context.Context) CronJobListTypeOutput
}

type CronJobListTypeOutput

type CronJobListTypeOutput struct{ *pulumi.OutputState }

CronJobList is a collection of cron jobs.

func (CronJobListTypeOutput) ApiVersion

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

func (CronJobListTypeOutput) ElementType

func (CronJobListTypeOutput) ElementType() reflect.Type

func (CronJobListTypeOutput) Items

items is the list of CronJobs.

func (CronJobListTypeOutput) 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 (CronJobListTypeOutput) ToCronJobListTypeOutput

func (o CronJobListTypeOutput) ToCronJobListTypeOutput() CronJobListTypeOutput

func (CronJobListTypeOutput) ToCronJobListTypeOutputWithContext

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

type CronJobSpec

type CronJobSpec struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy *string `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	FailedJobsHistoryLimit *int `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate *JobTemplateSpec `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule *string `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds *int `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
	SuccessfulJobsHistoryLimit *int `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend *bool `pulumi:"suspend"`
}

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

type CronJobSpecArgs

type CronJobSpecArgs struct {
	// Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
	ConcurrencyPolicy pulumi.StringPtrInput `pulumi:"concurrencyPolicy"`
	// The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	FailedJobsHistoryLimit pulumi.IntPtrInput `pulumi:"failedJobsHistoryLimit"`
	// Specifies the job that will be created when executing a CronJob.
	JobTemplate JobTemplateSpecPtrInput `pulumi:"jobTemplate"`
	// The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
	Schedule pulumi.StringPtrInput `pulumi:"schedule"`
	// Optional deadline in seconds for starting the job if it misses scheduled time for any reason.  Missed jobs executions will be counted as failed ones.
	StartingDeadlineSeconds pulumi.IntPtrInput `pulumi:"startingDeadlineSeconds"`
	// The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.
	SuccessfulJobsHistoryLimit pulumi.IntPtrInput `pulumi:"successfulJobsHistoryLimit"`
	// This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.  Defaults to false.
	Suspend pulumi.BoolPtrInput `pulumi:"suspend"`
}

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

func (CronJobSpecArgs) ElementType

func (CronJobSpecArgs) ElementType() reflect.Type

func (CronJobSpecArgs) ToCronJobSpecOutput

func (i CronJobSpecArgs) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecArgs) ToCronJobSpecOutputWithContext

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

func (CronJobSpecArgs) ToCronJobSpecPtrOutput

func (i CronJobSpecArgs) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecArgs) ToCronJobSpecPtrOutputWithContext

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

type CronJobSpecInput

type CronJobSpecInput interface {
	pulumi.Input

	ToCronJobSpecOutput() CronJobSpecOutput
	ToCronJobSpecOutputWithContext(context.Context) CronJobSpecOutput
}

type CronJobSpecOutput

type CronJobSpecOutput struct{ *pulumi.OutputState }

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

func (CronJobSpecOutput) ConcurrencyPolicy

func (o CronJobSpecOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecOutput) ElementType

func (CronJobSpecOutput) ElementType() reflect.Type

func (CronJobSpecOutput) FailedJobsHistoryLimit

func (o CronJobSpecOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (CronJobSpecOutput) JobTemplate

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

func (CronJobSpecOutput) Schedule

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

func (CronJobSpecOutput) StartingDeadlineSeconds

func (o CronJobSpecOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.

func (CronJobSpecOutput) Suspend

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

func (CronJobSpecOutput) ToCronJobSpecOutput

func (o CronJobSpecOutput) ToCronJobSpecOutput() CronJobSpecOutput

func (CronJobSpecOutput) ToCronJobSpecOutputWithContext

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

func (CronJobSpecOutput) ToCronJobSpecPtrOutput

func (o CronJobSpecOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecOutput) ToCronJobSpecPtrOutputWithContext

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

type CronJobSpecPtrInput

type CronJobSpecPtrInput interface {
	pulumi.Input

	ToCronJobSpecPtrOutput() CronJobSpecPtrOutput
	ToCronJobSpecPtrOutputWithContext(context.Context) CronJobSpecPtrOutput
}

func CronJobSpecPtr

func CronJobSpecPtr(v *CronJobSpecArgs) CronJobSpecPtrInput

type CronJobSpecPtrOutput

type CronJobSpecPtrOutput struct{ *pulumi.OutputState }

func (CronJobSpecPtrOutput) ConcurrencyPolicy

func (o CronJobSpecPtrOutput) ConcurrencyPolicy() pulumi.StringPtrOutput

Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

func (CronJobSpecPtrOutput) Elem

func (CronJobSpecPtrOutput) ElementType

func (CronJobSpecPtrOutput) ElementType() reflect.Type

func (CronJobSpecPtrOutput) FailedJobsHistoryLimit

func (o CronJobSpecPtrOutput) FailedJobsHistoryLimit() pulumi.IntPtrOutput

The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (CronJobSpecPtrOutput) JobTemplate

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

func (CronJobSpecPtrOutput) Schedule

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

func (CronJobSpecPtrOutput) StartingDeadlineSeconds

func (o CronJobSpecPtrOutput) StartingDeadlineSeconds() pulumi.IntPtrOutput

Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.

func (CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit

func (o CronJobSpecPtrOutput) SuccessfulJobsHistoryLimit() pulumi.IntPtrOutput

The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.

func (CronJobSpecPtrOutput) Suspend

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

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutput

func (o CronJobSpecPtrOutput) ToCronJobSpecPtrOutput() CronJobSpecPtrOutput

func (CronJobSpecPtrOutput) ToCronJobSpecPtrOutputWithContext

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

type CronJobState

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

func (CronJobState) ElementType

func (CronJobState) ElementType() reflect.Type

type CronJobStatus

type CronJobStatus struct {
	// A list of pointers to currently running jobs.
	Active []corev1.ObjectReference `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime *string `pulumi:"lastScheduleTime"`
}

CronJobStatus represents the current state of a cron job.

type CronJobStatusArgs

type CronJobStatusArgs struct {
	// A list of pointers to currently running jobs.
	Active corev1.ObjectReferenceArrayInput `pulumi:"active"`
	// Information when was the last time the job was successfully scheduled.
	LastScheduleTime pulumi.StringPtrInput `pulumi:"lastScheduleTime"`
}

CronJobStatus represents the current state of a cron job.

func (CronJobStatusArgs) ElementType

func (CronJobStatusArgs) ElementType() reflect.Type

func (CronJobStatusArgs) ToCronJobStatusOutput

func (i CronJobStatusArgs) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusArgs) ToCronJobStatusOutputWithContext

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

func (CronJobStatusArgs) ToCronJobStatusPtrOutput

func (i CronJobStatusArgs) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusArgs) ToCronJobStatusPtrOutputWithContext

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

type CronJobStatusInput

type CronJobStatusInput interface {
	pulumi.Input

	ToCronJobStatusOutput() CronJobStatusOutput
	ToCronJobStatusOutputWithContext(context.Context) CronJobStatusOutput
}

type CronJobStatusOutput

type CronJobStatusOutput struct{ *pulumi.OutputState }

CronJobStatus represents the current state of a cron job.

func (CronJobStatusOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusOutput) ElementType

func (CronJobStatusOutput) ElementType() reflect.Type

func (CronJobStatusOutput) LastScheduleTime

func (o CronJobStatusOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusOutput) ToCronJobStatusOutput

func (o CronJobStatusOutput) ToCronJobStatusOutput() CronJobStatusOutput

func (CronJobStatusOutput) ToCronJobStatusOutputWithContext

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

func (CronJobStatusOutput) ToCronJobStatusPtrOutput

func (o CronJobStatusOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusOutput) ToCronJobStatusPtrOutputWithContext

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

type CronJobStatusPtrInput

type CronJobStatusPtrInput interface {
	pulumi.Input

	ToCronJobStatusPtrOutput() CronJobStatusPtrOutput
	ToCronJobStatusPtrOutputWithContext(context.Context) CronJobStatusPtrOutput
}

type CronJobStatusPtrOutput

type CronJobStatusPtrOutput struct{ *pulumi.OutputState }

func (CronJobStatusPtrOutput) Active

A list of pointers to currently running jobs.

func (CronJobStatusPtrOutput) Elem

func (CronJobStatusPtrOutput) ElementType

func (CronJobStatusPtrOutput) ElementType() reflect.Type

func (CronJobStatusPtrOutput) LastScheduleTime

func (o CronJobStatusPtrOutput) LastScheduleTime() pulumi.StringPtrOutput

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

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutput

func (o CronJobStatusPtrOutput) ToCronJobStatusPtrOutput() CronJobStatusPtrOutput

func (CronJobStatusPtrOutput) ToCronJobStatusPtrOutputWithContext

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

type CronJobType

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

CronJob represents the configuration of a single cron job.

type CronJobTypeArgs

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

CronJob represents the configuration of a single cron job.

func (CronJobTypeArgs) ElementType

func (CronJobTypeArgs) ElementType() reflect.Type

func (CronJobTypeArgs) ToCronJobTypeOutput

func (i CronJobTypeArgs) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeArgs) ToCronJobTypeOutputWithContext

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

type CronJobTypeArray

type CronJobTypeArray []CronJobTypeInput

func (CronJobTypeArray) ElementType

func (CronJobTypeArray) ElementType() reflect.Type

func (CronJobTypeArray) ToCronJobTypeArrayOutput

func (i CronJobTypeArray) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArray) ToCronJobTypeArrayOutputWithContext

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

type CronJobTypeArrayInput

type CronJobTypeArrayInput interface {
	pulumi.Input

	ToCronJobTypeArrayOutput() CronJobTypeArrayOutput
	ToCronJobTypeArrayOutputWithContext(context.Context) CronJobTypeArrayOutput
}

type CronJobTypeArrayOutput

type CronJobTypeArrayOutput struct{ *pulumi.OutputState }

func (CronJobTypeArrayOutput) ElementType

func (CronJobTypeArrayOutput) ElementType() reflect.Type

func (CronJobTypeArrayOutput) Index

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutput

func (o CronJobTypeArrayOutput) ToCronJobTypeArrayOutput() CronJobTypeArrayOutput

func (CronJobTypeArrayOutput) ToCronJobTypeArrayOutputWithContext

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

type CronJobTypeInput

type CronJobTypeInput interface {
	pulumi.Input

	ToCronJobTypeOutput() CronJobTypeOutput
	ToCronJobTypeOutputWithContext(context.Context) CronJobTypeOutput
}

type CronJobTypeOutput

type CronJobTypeOutput struct{ *pulumi.OutputState }

CronJob represents the configuration of a single cron job.

func (CronJobTypeOutput) ApiVersion

func (o CronJobTypeOutput) ApiVersion() pulumi.StringPtrOutput

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

func (CronJobTypeOutput) ElementType

func (CronJobTypeOutput) ElementType() reflect.Type

func (CronJobTypeOutput) Kind

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

func (CronJobTypeOutput) Spec

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

func (CronJobTypeOutput) ToCronJobTypeOutput

func (o CronJobTypeOutput) ToCronJobTypeOutput() CronJobTypeOutput

func (CronJobTypeOutput) ToCronJobTypeOutputWithContext

func (o CronJobTypeOutput) ToCronJobTypeOutputWithContext(ctx context.Context) CronJobTypeOutput

type JobTemplateSpec

type JobTemplateSpec struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *batchv1.JobSpec `pulumi:"spec"`
}

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

type JobTemplateSpecArgs

type JobTemplateSpecArgs struct {
	// Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec batchv1.JobSpecPtrInput `pulumi:"spec"`
}

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

func (JobTemplateSpecArgs) ElementType

func (JobTemplateSpecArgs) ElementType() reflect.Type

func (JobTemplateSpecArgs) ToJobTemplateSpecOutput

func (i JobTemplateSpecArgs) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecOutputWithContext

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

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput

func (i JobTemplateSpecArgs) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecArgs) ToJobTemplateSpecPtrOutputWithContext

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

type JobTemplateSpecInput

type JobTemplateSpecInput interface {
	pulumi.Input

	ToJobTemplateSpecOutput() JobTemplateSpecOutput
	ToJobTemplateSpecOutputWithContext(context.Context) JobTemplateSpecOutput
}

type JobTemplateSpecOutput

type JobTemplateSpecOutput struct{ *pulumi.OutputState }

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

func (JobTemplateSpecOutput) ElementType

func (JobTemplateSpecOutput) ElementType() reflect.Type

func (JobTemplateSpecOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecOutput) Spec

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

func (JobTemplateSpecOutput) ToJobTemplateSpecOutput

func (o JobTemplateSpecOutput) ToJobTemplateSpecOutput() JobTemplateSpecOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecOutputWithContext

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

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput

func (o JobTemplateSpecOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecOutput) ToJobTemplateSpecPtrOutputWithContext

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

type JobTemplateSpecPtrInput

type JobTemplateSpecPtrInput interface {
	pulumi.Input

	ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput
	ToJobTemplateSpecPtrOutputWithContext(context.Context) JobTemplateSpecPtrOutput
}

type JobTemplateSpecPtrOutput

type JobTemplateSpecPtrOutput struct{ *pulumi.OutputState }

func (JobTemplateSpecPtrOutput) Elem

func (JobTemplateSpecPtrOutput) ElementType

func (JobTemplateSpecPtrOutput) ElementType() reflect.Type

func (JobTemplateSpecPtrOutput) Metadata

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (JobTemplateSpecPtrOutput) Spec

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

func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput

func (o JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutput() JobTemplateSpecPtrOutput

func (JobTemplateSpecPtrOutput) ToJobTemplateSpecPtrOutputWithContext

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

Jump to

Keyboard shortcuts

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