Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=batch.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ContainersInitParameters
- type ContainersObservation
- type ContainersParameters
- type EksPropertiesInitParameters
- type EksPropertiesObservation
- type EksPropertiesParameters
- type EmptyDirInitParameters
- type EmptyDirObservation
- type EmptyDirParameters
- type EnvInitParameters
- type EnvObservation
- type EnvParameters
- type EvaluateOnExitInitParameters
- type EvaluateOnExitObservation
- type EvaluateOnExitParameters
- type FairSharePolicyInitParameters
- type FairSharePolicyObservation
- type FairSharePolicyParameters
- type HostPathInitParameters
- type HostPathObservation
- type HostPathParameters
- type JobDefinition
- func (in *JobDefinition) DeepCopy() *JobDefinition
- func (in *JobDefinition) DeepCopyInto(out *JobDefinition)
- func (in *JobDefinition) DeepCopyObject() runtime.Object
- func (mg *JobDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *JobDefinition) GetConnectionDetailsMapping() map[string]string
- func (mg *JobDefinition) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *JobDefinition) GetID() string
- func (tr *JobDefinition) GetInitParameters() (map[string]any, error)
- func (mg *JobDefinition) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *JobDefinition) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *JobDefinition) GetObservation() (map[string]any, error)
- func (tr *JobDefinition) GetParameters() (map[string]any, error)
- func (mg *JobDefinition) GetProviderConfigReference() *xpv1.Reference
- func (mg *JobDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *JobDefinition) GetTerraformResourceType() string
- func (tr *JobDefinition) GetTerraformSchemaVersion() int
- func (mg *JobDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *JobDefinition) Hub()
- func (tr *JobDefinition) LateInitialize(attrs []byte) (bool, error)
- func (mg *JobDefinition) SetConditions(c ...xpv1.Condition)
- func (mg *JobDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *JobDefinition) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *JobDefinition) SetObservation(obs map[string]any) error
- func (tr *JobDefinition) SetParameters(params map[string]any) error
- func (mg *JobDefinition) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *JobDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *JobDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type JobDefinitionInitParameters
- type JobDefinitionList
- type JobDefinitionObservation
- type JobDefinitionParameters
- type JobDefinitionSpec
- type JobDefinitionStatus
- type MetadataInitParameters
- type MetadataObservation
- type MetadataParameters
- type PodPropertiesInitParameters
- type PodPropertiesObservation
- type PodPropertiesParameters
- type ResourcesInitParameters
- type ResourcesObservation
- type ResourcesParameters
- type RetryStrategyInitParameters
- type RetryStrategyObservation
- type RetryStrategyParameters
- type SchedulingPolicy
- func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy
- func (in *SchedulingPolicy) DeepCopyInto(out *SchedulingPolicy)
- func (in *SchedulingPolicy) DeepCopyObject() runtime.Object
- func (mg *SchedulingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SchedulingPolicy) GetConnectionDetailsMapping() map[string]string
- func (mg *SchedulingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SchedulingPolicy) GetID() string
- func (tr *SchedulingPolicy) GetInitParameters() (map[string]any, error)
- func (mg *SchedulingPolicy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SchedulingPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SchedulingPolicy) GetObservation() (map[string]any, error)
- func (tr *SchedulingPolicy) GetParameters() (map[string]any, error)
- func (mg *SchedulingPolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *SchedulingPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SchedulingPolicy) GetTerraformResourceType() string
- func (tr *SchedulingPolicy) GetTerraformSchemaVersion() int
- func (mg *SchedulingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SchedulingPolicy) Hub()
- func (tr *SchedulingPolicy) LateInitialize(attrs []byte) (bool, error)
- func (mg *SchedulingPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *SchedulingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SchedulingPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SchedulingPolicy) SetObservation(obs map[string]any) error
- func (tr *SchedulingPolicy) SetParameters(params map[string]any) error
- func (mg *SchedulingPolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SchedulingPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SchedulingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SchedulingPolicyInitParameters
- type SchedulingPolicyList
- type SchedulingPolicyObservation
- type SchedulingPolicyParameters
- type SchedulingPolicySpec
- type SchedulingPolicyStatus
- type SecretInitParameters
- type SecretObservation
- type SecretParameters
- type SecurityContextInitParameters
- type SecurityContextObservation
- type SecurityContextParameters
- type ShareDistributionInitParameters
- type ShareDistributionObservation
- type ShareDistributionParameters
- type TimeoutInitParameters
- type TimeoutObservation
- type TimeoutParameters
- type VolumeMountsInitParameters
- type VolumeMountsObservation
- type VolumeMountsParameters
- type VolumesInitParameters
- type VolumesObservation
- type VolumesParameters
Constants ¶
const ( CRDGroup = "batch.aws.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( JobDefinition_Kind = "JobDefinition" JobDefinition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: JobDefinition_Kind}.String() JobDefinition_KindAPIVersion = JobDefinition_Kind + "." + CRDGroupVersion.String() JobDefinition_GroupVersionKind = CRDGroupVersion.WithKind(JobDefinition_Kind) )
Repository type metadata.
var ( SchedulingPolicy_Kind = "SchedulingPolicy" SchedulingPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SchedulingPolicy_Kind}.String() SchedulingPolicy_KindAPIVersion = SchedulingPolicy_Kind + "." + CRDGroupVersion.String() SchedulingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SchedulingPolicy_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ContainersInitParameters ¶ added in v1.5.0
type ContainersInitParameters struct { // An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment. Args []*string `json:"args,omitempty" tf:"args,omitempty"` // The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment. Command []*string `json:"command,omitempty" tf:"command,omitempty"` // The environment variables to pass to a container. See EKS Environment below. Env []EnvInitParameters `json:"env,omitempty" tf:"env,omitempty"` // The Docker image used to start the container. Image *string `json:"image,omitempty" tf:"image,omitempty"` // The image pull policy for the container. Supported values are Always, IfNotPresent, and Never. ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"` // The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu. Resources []ResourcesInitParameters `json:"resources,omitempty" tf:"resources,omitempty"` // The security context for a job. SecurityContext []SecurityContextInitParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"` // The volume mounts for the container. VolumeMounts []VolumeMountsInitParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"` }
func (*ContainersInitParameters) DeepCopy ¶ added in v1.5.0
func (in *ContainersInitParameters) DeepCopy() *ContainersInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainersInitParameters.
func (*ContainersInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *ContainersInitParameters) DeepCopyInto(out *ContainersInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainersObservation ¶ added in v1.5.0
type ContainersObservation struct { // An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment. Args []*string `json:"args,omitempty" tf:"args,omitempty"` // The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment. Command []*string `json:"command,omitempty" tf:"command,omitempty"` // The environment variables to pass to a container. See EKS Environment below. Env []EnvObservation `json:"env,omitempty" tf:"env,omitempty"` // The Docker image used to start the container. Image *string `json:"image,omitempty" tf:"image,omitempty"` // The image pull policy for the container. Supported values are Always, IfNotPresent, and Never. ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"` // The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu. Resources []ResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"` // The security context for a job. SecurityContext []SecurityContextObservation `json:"securityContext,omitempty" tf:"security_context,omitempty"` // The volume mounts for the container. VolumeMounts []VolumeMountsObservation `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"` }
func (*ContainersObservation) DeepCopy ¶ added in v1.5.0
func (in *ContainersObservation) DeepCopy() *ContainersObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainersObservation.
func (*ContainersObservation) DeepCopyInto ¶ added in v1.5.0
func (in *ContainersObservation) DeepCopyInto(out *ContainersObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainersParameters ¶ added in v1.5.0
type ContainersParameters struct { // An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment. // +kubebuilder:validation:Optional Args []*string `json:"args,omitempty" tf:"args,omitempty"` // The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment. // +kubebuilder:validation:Optional Command []*string `json:"command,omitempty" tf:"command,omitempty"` // The environment variables to pass to a container. See EKS Environment below. // +kubebuilder:validation:Optional Env []EnvParameters `json:"env,omitempty" tf:"env,omitempty"` // The Docker image used to start the container. // +kubebuilder:validation:Optional Image *string `json:"image" tf:"image,omitempty"` // The image pull policy for the container. Supported values are Always, IfNotPresent, and Never. // +kubebuilder:validation:Optional ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"` // The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu. // +kubebuilder:validation:Optional Resources []ResourcesParameters `json:"resources,omitempty" tf:"resources,omitempty"` // The security context for a job. // +kubebuilder:validation:Optional SecurityContext []SecurityContextParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"` // The volume mounts for the container. // +kubebuilder:validation:Optional VolumeMounts []VolumeMountsParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"` }
func (*ContainersParameters) DeepCopy ¶ added in v1.5.0
func (in *ContainersParameters) DeepCopy() *ContainersParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainersParameters.
func (*ContainersParameters) DeepCopyInto ¶ added in v1.5.0
func (in *ContainersParameters) DeepCopyInto(out *ContainersParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EksPropertiesInitParameters ¶ added in v1.5.0
type EksPropertiesInitParameters struct { // The properties for the Kubernetes pod resources of a job. See pod_properties below. PodProperties []PodPropertiesInitParameters `json:"podProperties,omitempty" tf:"pod_properties,omitempty"` }
func (*EksPropertiesInitParameters) DeepCopy ¶ added in v1.5.0
func (in *EksPropertiesInitParameters) DeepCopy() *EksPropertiesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksPropertiesInitParameters.
func (*EksPropertiesInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EksPropertiesInitParameters) DeepCopyInto(out *EksPropertiesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EksPropertiesObservation ¶ added in v1.5.0
type EksPropertiesObservation struct { // The properties for the Kubernetes pod resources of a job. See pod_properties below. PodProperties []PodPropertiesObservation `json:"podProperties,omitempty" tf:"pod_properties,omitempty"` }
func (*EksPropertiesObservation) DeepCopy ¶ added in v1.5.0
func (in *EksPropertiesObservation) DeepCopy() *EksPropertiesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksPropertiesObservation.
func (*EksPropertiesObservation) DeepCopyInto ¶ added in v1.5.0
func (in *EksPropertiesObservation) DeepCopyInto(out *EksPropertiesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EksPropertiesParameters ¶ added in v1.5.0
type EksPropertiesParameters struct { // The properties for the Kubernetes pod resources of a job. See pod_properties below. // +kubebuilder:validation:Optional PodProperties []PodPropertiesParameters `json:"podProperties" tf:"pod_properties,omitempty"` }
func (*EksPropertiesParameters) DeepCopy ¶ added in v1.5.0
func (in *EksPropertiesParameters) DeepCopy() *EksPropertiesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksPropertiesParameters.
func (*EksPropertiesParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EksPropertiesParameters) DeepCopyInto(out *EksPropertiesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmptyDirInitParameters ¶ added in v1.5.0
type EmptyDirInitParameters struct { // The medium to store the volume. The default value is an empty string, which uses the storage of the node. Medium *string `json:"medium,omitempty" tf:"medium,omitempty"` // The maximum size of the volume. By default, there's no maximum size defined. SizeLimit *string `json:"sizeLimit,omitempty" tf:"size_limit,omitempty"` }
func (*EmptyDirInitParameters) DeepCopy ¶ added in v1.5.0
func (in *EmptyDirInitParameters) DeepCopy() *EmptyDirInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirInitParameters.
func (*EmptyDirInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EmptyDirInitParameters) DeepCopyInto(out *EmptyDirInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmptyDirObservation ¶ added in v1.5.0
type EmptyDirObservation struct { // The medium to store the volume. The default value is an empty string, which uses the storage of the node. Medium *string `json:"medium,omitempty" tf:"medium,omitempty"` // The maximum size of the volume. By default, there's no maximum size defined. SizeLimit *string `json:"sizeLimit,omitempty" tf:"size_limit,omitempty"` }
func (*EmptyDirObservation) DeepCopy ¶ added in v1.5.0
func (in *EmptyDirObservation) DeepCopy() *EmptyDirObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirObservation.
func (*EmptyDirObservation) DeepCopyInto ¶ added in v1.5.0
func (in *EmptyDirObservation) DeepCopyInto(out *EmptyDirObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmptyDirParameters ¶ added in v1.5.0
type EmptyDirParameters struct { // The medium to store the volume. The default value is an empty string, which uses the storage of the node. // +kubebuilder:validation:Optional Medium *string `json:"medium,omitempty" tf:"medium,omitempty"` // The maximum size of the volume. By default, there's no maximum size defined. // +kubebuilder:validation:Optional SizeLimit *string `json:"sizeLimit" tf:"size_limit,omitempty"` }
func (*EmptyDirParameters) DeepCopy ¶ added in v1.5.0
func (in *EmptyDirParameters) DeepCopy() *EmptyDirParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirParameters.
func (*EmptyDirParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EmptyDirParameters) DeepCopyInto(out *EmptyDirParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvInitParameters ¶ added in v1.5.0
type EnvInitParameters struct { // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The value of the environment variable. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*EnvInitParameters) DeepCopy ¶ added in v1.5.0
func (in *EnvInitParameters) DeepCopy() *EnvInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvInitParameters.
func (*EnvInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EnvInitParameters) DeepCopyInto(out *EnvInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvObservation ¶ added in v1.5.0
type EnvObservation struct { // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The value of the environment variable. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*EnvObservation) DeepCopy ¶ added in v1.5.0
func (in *EnvObservation) DeepCopy() *EnvObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvObservation.
func (*EnvObservation) DeepCopyInto ¶ added in v1.5.0
func (in *EnvObservation) DeepCopyInto(out *EnvObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvParameters ¶ added in v1.5.0
type EnvParameters struct { // Specifies the name of the job definition. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // The value of the environment variable. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*EnvParameters) DeepCopy ¶ added in v1.5.0
func (in *EnvParameters) DeepCopy() *EnvParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvParameters.
func (*EnvParameters) DeepCopyInto ¶ added in v1.5.0
func (in *EnvParameters) DeepCopyInto(out *EnvParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EvaluateOnExitInitParameters ¶ added in v0.41.0
type EvaluateOnExitInitParameters struct { // Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit. Action *string `json:"action,omitempty" tf:"action,omitempty"` // A glob pattern to match against the decimal representation of the exit code returned for a job. OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"` // A glob pattern to match against the reason returned for a job. OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"` // A glob pattern to match against the status reason returned for a job. OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"` }
func (*EvaluateOnExitInitParameters) DeepCopy ¶ added in v0.41.0
func (in *EvaluateOnExitInitParameters) DeepCopy() *EvaluateOnExitInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluateOnExitInitParameters.
func (*EvaluateOnExitInitParameters) DeepCopyInto ¶ added in v0.41.0
func (in *EvaluateOnExitInitParameters) DeepCopyInto(out *EvaluateOnExitInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EvaluateOnExitObservation ¶ added in v0.41.0
type EvaluateOnExitObservation struct { // Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit. Action *string `json:"action,omitempty" tf:"action,omitempty"` // A glob pattern to match against the decimal representation of the exit code returned for a job. OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"` // A glob pattern to match against the reason returned for a job. OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"` // A glob pattern to match against the status reason returned for a job. OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"` }
func (*EvaluateOnExitObservation) DeepCopy ¶ added in v0.41.0
func (in *EvaluateOnExitObservation) DeepCopy() *EvaluateOnExitObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluateOnExitObservation.
func (*EvaluateOnExitObservation) DeepCopyInto ¶ added in v0.41.0
func (in *EvaluateOnExitObservation) DeepCopyInto(out *EvaluateOnExitObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EvaluateOnExitParameters ¶ added in v0.41.0
type EvaluateOnExitParameters struct { // Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit. // +kubebuilder:validation:Optional Action *string `json:"action" tf:"action,omitempty"` // A glob pattern to match against the decimal representation of the exit code returned for a job. // +kubebuilder:validation:Optional OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"` // A glob pattern to match against the reason returned for a job. // +kubebuilder:validation:Optional OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"` // A glob pattern to match against the status reason returned for a job. // +kubebuilder:validation:Optional OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"` }
func (*EvaluateOnExitParameters) DeepCopy ¶ added in v0.41.0
func (in *EvaluateOnExitParameters) DeepCopy() *EvaluateOnExitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluateOnExitParameters.
func (*EvaluateOnExitParameters) DeepCopyInto ¶ added in v0.41.0
func (in *EvaluateOnExitParameters) DeepCopyInto(out *EvaluateOnExitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FairSharePolicyInitParameters ¶ added in v0.38.0
type FairSharePolicyInitParameters struct { float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"` ShareDistribution []ShareDistributionInitParameters `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"` }ComputeReservation *
func (*FairSharePolicyInitParameters) DeepCopy ¶ added in v0.38.0
func (in *FairSharePolicyInitParameters) DeepCopy() *FairSharePolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FairSharePolicyInitParameters.
func (*FairSharePolicyInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *FairSharePolicyInitParameters) DeepCopyInto(out *FairSharePolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FairSharePolicyObservation ¶
type FairSharePolicyObservation struct { float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"` ShareDistribution []ShareDistributionObservation `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"` }ComputeReservation *
func (*FairSharePolicyObservation) DeepCopy ¶
func (in *FairSharePolicyObservation) DeepCopy() *FairSharePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FairSharePolicyObservation.
func (*FairSharePolicyObservation) DeepCopyInto ¶
func (in *FairSharePolicyObservation) DeepCopyInto(out *FairSharePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FairSharePolicyParameters ¶
type FairSharePolicyParameters struct { // +kubebuilder:validation:Optional ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"` ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"` // +kubebuilder:validation:Optional ShareDistribution []ShareDistributionParameters `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"` }
func (*FairSharePolicyParameters) DeepCopy ¶
func (in *FairSharePolicyParameters) DeepCopy() *FairSharePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FairSharePolicyParameters.
func (*FairSharePolicyParameters) DeepCopyInto ¶
func (in *FairSharePolicyParameters) DeepCopyInto(out *FairSharePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPathInitParameters ¶ added in v1.5.0
type HostPathInitParameters struct { // The path of the file or directory on the host to mount into containers on the pod. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*HostPathInitParameters) DeepCopy ¶ added in v1.5.0
func (in *HostPathInitParameters) DeepCopy() *HostPathInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathInitParameters.
func (*HostPathInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *HostPathInitParameters) DeepCopyInto(out *HostPathInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPathObservation ¶ added in v1.5.0
type HostPathObservation struct { // The path of the file or directory on the host to mount into containers on the pod. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*HostPathObservation) DeepCopy ¶ added in v1.5.0
func (in *HostPathObservation) DeepCopy() *HostPathObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathObservation.
func (*HostPathObservation) DeepCopyInto ¶ added in v1.5.0
func (in *HostPathObservation) DeepCopyInto(out *HostPathObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostPathParameters ¶ added in v1.5.0
type HostPathParameters struct { // The path of the file or directory on the host to mount into containers on the pod. // +kubebuilder:validation:Optional Path *string `json:"path" tf:"path,omitempty"` }
func (*HostPathParameters) DeepCopy ¶ added in v1.5.0
func (in *HostPathParameters) DeepCopy() *HostPathParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathParameters.
func (*HostPathParameters) DeepCopyInto ¶ added in v1.5.0
func (in *HostPathParameters) DeepCopyInto(out *HostPathParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobDefinition ¶ added in v0.41.0
type JobDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec JobDefinitionSpec `json:"spec"` Status JobDefinitionStatus `json:"status,omitempty"` }
JobDefinition is the Schema for the JobDefinitions API. Provides a Batch Job Definition resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*JobDefinition) DeepCopy ¶ added in v0.41.0
func (in *JobDefinition) DeepCopy() *JobDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinition.
func (*JobDefinition) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinition) DeepCopyInto(out *JobDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JobDefinition) DeepCopyObject ¶ added in v0.41.0
func (in *JobDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JobDefinition) GetCondition ¶ added in v0.41.0
func (mg *JobDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this JobDefinition.
func (*JobDefinition) GetConnectionDetailsMapping ¶ added in v0.41.0
func (tr *JobDefinition) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this JobDefinition
func (*JobDefinition) GetDeletionPolicy ¶ added in v0.41.0
func (mg *JobDefinition) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this JobDefinition.
func (*JobDefinition) GetID ¶ added in v0.41.0
func (tr *JobDefinition) GetID() string
GetID returns ID of underlying Terraform resource of this JobDefinition
func (*JobDefinition) GetInitParameters ¶ added in v0.41.0
func (tr *JobDefinition) GetInitParameters() (map[string]any, error)
GetInitParameters of this JobDefinition
func (*JobDefinition) GetManagementPolicies ¶ added in v0.41.0
func (mg *JobDefinition) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this JobDefinition.
func (*JobDefinition) GetMergedParameters ¶ added in v0.44.0
func (tr *JobDefinition) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this JobDefinition
func (*JobDefinition) GetObservation ¶ added in v0.41.0
func (tr *JobDefinition) GetObservation() (map[string]any, error)
GetObservation of this JobDefinition
func (*JobDefinition) GetParameters ¶ added in v0.41.0
func (tr *JobDefinition) GetParameters() (map[string]any, error)
GetParameters of this JobDefinition
func (*JobDefinition) GetProviderConfigReference ¶ added in v0.41.0
func (mg *JobDefinition) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this JobDefinition.
func (*JobDefinition) GetPublishConnectionDetailsTo ¶ added in v0.41.0
func (mg *JobDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this JobDefinition.
func (*JobDefinition) GetTerraformResourceType ¶ added in v0.41.0
func (mg *JobDefinition) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this JobDefinition
func (*JobDefinition) GetTerraformSchemaVersion ¶ added in v0.41.0
func (tr *JobDefinition) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*JobDefinition) GetWriteConnectionSecretToReference ¶ added in v0.41.0
func (mg *JobDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this JobDefinition.
func (*JobDefinition) Hub ¶ added in v0.47.2
func (tr *JobDefinition) Hub()
Hub marks this type as a conversion hub.
func (*JobDefinition) LateInitialize ¶ added in v0.41.0
func (tr *JobDefinition) LateInitialize(attrs []byte) (bool, error)
LateInitialize this JobDefinition using its observed tfState. returns True if there are any spec changes for the resource.
func (*JobDefinition) SetConditions ¶ added in v0.41.0
func (mg *JobDefinition) SetConditions(c ...xpv1.Condition)
SetConditions of this JobDefinition.
func (*JobDefinition) SetDeletionPolicy ¶ added in v0.41.0
func (mg *JobDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this JobDefinition.
func (*JobDefinition) SetManagementPolicies ¶ added in v0.41.0
func (mg *JobDefinition) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this JobDefinition.
func (*JobDefinition) SetObservation ¶ added in v0.41.0
func (tr *JobDefinition) SetObservation(obs map[string]any) error
SetObservation for this JobDefinition
func (*JobDefinition) SetParameters ¶ added in v0.41.0
func (tr *JobDefinition) SetParameters(params map[string]any) error
SetParameters for this JobDefinition
func (*JobDefinition) SetProviderConfigReference ¶ added in v0.41.0
func (mg *JobDefinition) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this JobDefinition.
func (*JobDefinition) SetPublishConnectionDetailsTo ¶ added in v0.41.0
func (mg *JobDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this JobDefinition.
func (*JobDefinition) SetWriteConnectionSecretToReference ¶ added in v0.41.0
func (mg *JobDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this JobDefinition.
type JobDefinitionInitParameters ¶ added in v0.41.0
type JobDefinitionInitParameters struct { // A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container. ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"` // When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left ACTIVE. Defaults to true. DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"` // A valid eks properties. This parameter is only valid if the type parameter is container. EksProperties []EksPropertiesInitParameters `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode. NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"` // Specifies the parameter substitution placeholders to set in the job definition. // +mapType=granular Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE. // +listType=set PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"` // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false. PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"` // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below. RetryStrategy []RetryStrategyInitParameters `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"` // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999. SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below. Timeout []TimeoutInitParameters `json:"timeout,omitempty" tf:"timeout,omitempty"` // The type of job definition. Must be container or multinode. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*JobDefinitionInitParameters) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionInitParameters) DeepCopy() *JobDefinitionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionInitParameters.
func (*JobDefinitionInitParameters) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionInitParameters) DeepCopyInto(out *JobDefinitionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobDefinitionList ¶ added in v0.41.0
type JobDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []JobDefinition `json:"items"` }
JobDefinitionList contains a list of JobDefinitions
func (*JobDefinitionList) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionList) DeepCopy() *JobDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionList.
func (*JobDefinitionList) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionList) DeepCopyInto(out *JobDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JobDefinitionList) DeepCopyObject ¶ added in v0.41.0
func (in *JobDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JobDefinitionList) GetItems ¶ added in v0.41.0
func (l *JobDefinitionList) GetItems() []resource.Managed
GetItems of this JobDefinitionList.
type JobDefinitionObservation ¶ added in v0.41.0
type JobDefinitionObservation struct { // The Amazon Resource Name of the job definition, includes revision (:#). Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // The ARN without the revision number. ArnPrefix *string `json:"arnPrefix,omitempty" tf:"arn_prefix,omitempty"` // A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container. ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"` // When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left ACTIVE. Defaults to true. DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"` // A valid eks properties. This parameter is only valid if the type parameter is container. EksProperties []EksPropertiesObservation `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode. NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"` // Specifies the parameter substitution placeholders to set in the job definition. // +mapType=granular Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE. // +listType=set PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"` // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false. PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"` // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below. RetryStrategy []RetryStrategyObservation `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"` // The revision of the job definition. Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"` // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999. SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below. Timeout []TimeoutObservation `json:"timeout,omitempty" tf:"timeout,omitempty"` // The type of job definition. Must be container or multinode. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*JobDefinitionObservation) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionObservation) DeepCopy() *JobDefinitionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionObservation.
func (*JobDefinitionObservation) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionObservation) DeepCopyInto(out *JobDefinitionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobDefinitionParameters ¶ added in v0.41.0
type JobDefinitionParameters struct { // A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container. // +kubebuilder:validation:Optional ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"` // When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left ACTIVE. Defaults to true. // +kubebuilder:validation:Optional DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"` // A valid eks properties. This parameter is only valid if the type parameter is container. // +kubebuilder:validation:Optional EksProperties []EksPropertiesParameters `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"` // Specifies the name of the job definition. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode. // +kubebuilder:validation:Optional NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"` // Specifies the parameter substitution placeholders to set in the job definition. // +kubebuilder:validation:Optional // +mapType=granular Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` // The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE. // +kubebuilder:validation:Optional // +listType=set PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"` // Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false. // +kubebuilder:validation:Optional PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1. Defined below. // +kubebuilder:validation:Optional RetryStrategy []RetryStrategyParameters `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"` // The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999. // +kubebuilder:validation:Optional SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below. // +kubebuilder:validation:Optional Timeout []TimeoutParameters `json:"timeout,omitempty" tf:"timeout,omitempty"` // The type of job definition. Must be container or multinode. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*JobDefinitionParameters) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionParameters) DeepCopy() *JobDefinitionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionParameters.
func (*JobDefinitionParameters) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionParameters) DeepCopyInto(out *JobDefinitionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobDefinitionSpec ¶ added in v0.41.0
type JobDefinitionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider JobDefinitionParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider JobDefinitionInitParameters `json:"initProvider,omitempty"` }
JobDefinitionSpec defines the desired state of JobDefinition
func (*JobDefinitionSpec) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionSpec) DeepCopy() *JobDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpec.
func (*JobDefinitionSpec) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionSpec) DeepCopyInto(out *JobDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobDefinitionStatus ¶ added in v0.41.0
type JobDefinitionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider JobDefinitionObservation `json:"atProvider,omitempty"` }
JobDefinitionStatus defines the observed state of JobDefinition.
func (*JobDefinitionStatus) DeepCopy ¶ added in v0.41.0
func (in *JobDefinitionStatus) DeepCopy() *JobDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionStatus.
func (*JobDefinitionStatus) DeepCopyInto ¶ added in v0.41.0
func (in *JobDefinitionStatus) DeepCopyInto(out *JobDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataInitParameters ¶ added in v1.5.0
type MetadataInitParameters struct { // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` }
func (*MetadataInitParameters) DeepCopy ¶ added in v1.5.0
func (in *MetadataInitParameters) DeepCopy() *MetadataInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataInitParameters.
func (*MetadataInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MetadataInitParameters) DeepCopyInto(out *MetadataInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataObservation ¶ added in v1.5.0
type MetadataObservation struct { // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` }
func (*MetadataObservation) DeepCopy ¶ added in v1.5.0
func (in *MetadataObservation) DeepCopy() *MetadataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataObservation.
func (*MetadataObservation) DeepCopyInto ¶ added in v1.5.0
func (in *MetadataObservation) DeepCopyInto(out *MetadataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataParameters ¶ added in v1.5.0
type MetadataParameters struct { // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` }
func (*MetadataParameters) DeepCopy ¶ added in v1.5.0
func (in *MetadataParameters) DeepCopy() *MetadataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataParameters.
func (*MetadataParameters) DeepCopyInto ¶ added in v1.5.0
func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodPropertiesInitParameters ¶ added in v1.5.0
type PodPropertiesInitParameters struct { // The properties of the container that's used on the Amazon EKS pod. See containers below. Containers []ContainersInitParameters `json:"containers,omitempty" tf:"containers,omitempty"` // The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation. DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"` // Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"` // Metadata about the Kubernetes pod. Metadata []MetadataInitParameters `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name of the service account that's used to run the pod. ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"` // Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types. Volumes []VolumesInitParameters `json:"volumes,omitempty" tf:"volumes,omitempty"` }
func (*PodPropertiesInitParameters) DeepCopy ¶ added in v1.5.0
func (in *PodPropertiesInitParameters) DeepCopy() *PodPropertiesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPropertiesInitParameters.
func (*PodPropertiesInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *PodPropertiesInitParameters) DeepCopyInto(out *PodPropertiesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodPropertiesObservation ¶ added in v1.5.0
type PodPropertiesObservation struct { // The properties of the container that's used on the Amazon EKS pod. See containers below. Containers []ContainersObservation `json:"containers,omitempty" tf:"containers,omitempty"` // The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation. DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"` // Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"` // Metadata about the Kubernetes pod. Metadata []MetadataObservation `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name of the service account that's used to run the pod. ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"` // Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types. Volumes []VolumesObservation `json:"volumes,omitempty" tf:"volumes,omitempty"` }
func (*PodPropertiesObservation) DeepCopy ¶ added in v1.5.0
func (in *PodPropertiesObservation) DeepCopy() *PodPropertiesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPropertiesObservation.
func (*PodPropertiesObservation) DeepCopyInto ¶ added in v1.5.0
func (in *PodPropertiesObservation) DeepCopyInto(out *PodPropertiesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodPropertiesParameters ¶ added in v1.5.0
type PodPropertiesParameters struct { // The properties of the container that's used on the Amazon EKS pod. See containers below. // +kubebuilder:validation:Optional Containers []ContainersParameters `json:"containers" tf:"containers,omitempty"` // The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation. // +kubebuilder:validation:Optional DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"` // Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. // +kubebuilder:validation:Optional HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"` // Metadata about the Kubernetes pod. // +kubebuilder:validation:Optional Metadata []MetadataParameters `json:"metadata,omitempty" tf:"metadata,omitempty"` // The name of the service account that's used to run the pod. // +kubebuilder:validation:Optional ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"` // Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types. // +kubebuilder:validation:Optional Volumes []VolumesParameters `json:"volumes,omitempty" tf:"volumes,omitempty"` }
func (*PodPropertiesParameters) DeepCopy ¶ added in v1.5.0
func (in *PodPropertiesParameters) DeepCopy() *PodPropertiesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPropertiesParameters.
func (*PodPropertiesParameters) DeepCopyInto ¶ added in v1.5.0
func (in *PodPropertiesParameters) DeepCopyInto(out *PodPropertiesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesInitParameters ¶ added in v1.5.0
type ResourcesInitParameters struct { // +mapType=granular Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"` // +mapType=granular Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"` }
func (*ResourcesInitParameters) DeepCopy ¶ added in v1.5.0
func (in *ResourcesInitParameters) DeepCopy() *ResourcesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesInitParameters.
func (*ResourcesInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *ResourcesInitParameters) DeepCopyInto(out *ResourcesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesObservation ¶ added in v1.5.0
type ResourcesObservation struct { // +mapType=granular Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"` // +mapType=granular Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"` }
func (*ResourcesObservation) DeepCopy ¶ added in v1.5.0
func (in *ResourcesObservation) DeepCopy() *ResourcesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesObservation.
func (*ResourcesObservation) DeepCopyInto ¶ added in v1.5.0
func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesParameters ¶ added in v1.5.0
type ResourcesParameters struct { // +kubebuilder:validation:Optional // +mapType=granular Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"` // +kubebuilder:validation:Optional // +mapType=granular Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"` }
func (*ResourcesParameters) DeepCopy ¶ added in v1.5.0
func (in *ResourcesParameters) DeepCopy() *ResourcesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesParameters.
func (*ResourcesParameters) DeepCopyInto ¶ added in v1.5.0
func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryStrategyInitParameters ¶ added in v0.41.0
type RetryStrategyInitParameters struct { // The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"` // The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks. EvaluateOnExit []EvaluateOnExitInitParameters `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"` }
func (*RetryStrategyInitParameters) DeepCopy ¶ added in v0.41.0
func (in *RetryStrategyInitParameters) DeepCopy() *RetryStrategyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategyInitParameters.
func (*RetryStrategyInitParameters) DeepCopyInto ¶ added in v0.41.0
func (in *RetryStrategyInitParameters) DeepCopyInto(out *RetryStrategyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryStrategyObservation ¶ added in v0.41.0
type RetryStrategyObservation struct { // The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"` // The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks. EvaluateOnExit []EvaluateOnExitObservation `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"` }
func (*RetryStrategyObservation) DeepCopy ¶ added in v0.41.0
func (in *RetryStrategyObservation) DeepCopy() *RetryStrategyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategyObservation.
func (*RetryStrategyObservation) DeepCopyInto ¶ added in v0.41.0
func (in *RetryStrategyObservation) DeepCopyInto(out *RetryStrategyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetryStrategyParameters ¶ added in v0.41.0
type RetryStrategyParameters struct { // The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. // +kubebuilder:validation:Optional Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"` // The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks. // +kubebuilder:validation:Optional EvaluateOnExit []EvaluateOnExitParameters `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"` }
func (*RetryStrategyParameters) DeepCopy ¶ added in v0.41.0
func (in *RetryStrategyParameters) DeepCopy() *RetryStrategyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryStrategyParameters.
func (*RetryStrategyParameters) DeepCopyInto ¶ added in v0.41.0
func (in *RetryStrategyParameters) DeepCopyInto(out *RetryStrategyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicy ¶
type SchedulingPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SchedulingPolicySpec `json:"spec"` Status SchedulingPolicyStatus `json:"status,omitempty"` }
SchedulingPolicy is the Schema for the SchedulingPolicys API. Provides a Batch Scheduling Policy resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*SchedulingPolicy) DeepCopy ¶
func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicy.
func (*SchedulingPolicy) DeepCopyInto ¶
func (in *SchedulingPolicy) DeepCopyInto(out *SchedulingPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SchedulingPolicy) DeepCopyObject ¶
func (in *SchedulingPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SchedulingPolicy) GetCondition ¶
func (mg *SchedulingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SchedulingPolicy.
func (*SchedulingPolicy) GetConnectionDetailsMapping ¶
func (tr *SchedulingPolicy) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SchedulingPolicy
func (*SchedulingPolicy) GetDeletionPolicy ¶
func (mg *SchedulingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SchedulingPolicy.
func (*SchedulingPolicy) GetID ¶
func (tr *SchedulingPolicy) GetID() string
GetID returns ID of underlying Terraform resource of this SchedulingPolicy
func (*SchedulingPolicy) GetInitParameters ¶ added in v0.38.0
func (tr *SchedulingPolicy) GetInitParameters() (map[string]any, error)
GetInitParameters of this SchedulingPolicy
func (*SchedulingPolicy) GetManagementPolicies ¶ added in v0.38.0
func (mg *SchedulingPolicy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SchedulingPolicy.
func (*SchedulingPolicy) GetMergedParameters ¶ added in v0.44.0
func (tr *SchedulingPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SchedulingPolicy
func (*SchedulingPolicy) GetObservation ¶
func (tr *SchedulingPolicy) GetObservation() (map[string]any, error)
GetObservation of this SchedulingPolicy
func (*SchedulingPolicy) GetParameters ¶
func (tr *SchedulingPolicy) GetParameters() (map[string]any, error)
GetParameters of this SchedulingPolicy
func (*SchedulingPolicy) GetProviderConfigReference ¶
func (mg *SchedulingPolicy) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SchedulingPolicy.
func (*SchedulingPolicy) GetPublishConnectionDetailsTo ¶
func (mg *SchedulingPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SchedulingPolicy.
func (*SchedulingPolicy) GetTerraformResourceType ¶
func (mg *SchedulingPolicy) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SchedulingPolicy
func (*SchedulingPolicy) GetTerraformSchemaVersion ¶
func (tr *SchedulingPolicy) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SchedulingPolicy) GetWriteConnectionSecretToReference ¶
func (mg *SchedulingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SchedulingPolicy.
func (*SchedulingPolicy) Hub ¶ added in v0.47.2
func (tr *SchedulingPolicy) Hub()
Hub marks this type as a conversion hub.
func (*SchedulingPolicy) LateInitialize ¶
func (tr *SchedulingPolicy) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SchedulingPolicy using its observed tfState. returns True if there are any spec changes for the resource.
func (*SchedulingPolicy) SetConditions ¶
func (mg *SchedulingPolicy) SetConditions(c ...xpv1.Condition)
SetConditions of this SchedulingPolicy.
func (*SchedulingPolicy) SetDeletionPolicy ¶
func (mg *SchedulingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SchedulingPolicy.
func (*SchedulingPolicy) SetManagementPolicies ¶ added in v0.38.0
func (mg *SchedulingPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SchedulingPolicy.
func (*SchedulingPolicy) SetObservation ¶
func (tr *SchedulingPolicy) SetObservation(obs map[string]any) error
SetObservation for this SchedulingPolicy
func (*SchedulingPolicy) SetParameters ¶
func (tr *SchedulingPolicy) SetParameters(params map[string]any) error
SetParameters for this SchedulingPolicy
func (*SchedulingPolicy) SetProviderConfigReference ¶
func (mg *SchedulingPolicy) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SchedulingPolicy.
func (*SchedulingPolicy) SetPublishConnectionDetailsTo ¶
func (mg *SchedulingPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SchedulingPolicy.
func (*SchedulingPolicy) SetWriteConnectionSecretToReference ¶
func (mg *SchedulingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SchedulingPolicy.
type SchedulingPolicyInitParameters ¶ added in v0.38.0
type SchedulingPolicyInitParameters struct { // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*SchedulingPolicyInitParameters) DeepCopy ¶ added in v0.38.0
func (in *SchedulingPolicyInitParameters) DeepCopy() *SchedulingPolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyInitParameters.
func (*SchedulingPolicyInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *SchedulingPolicyInitParameters) DeepCopyInto(out *SchedulingPolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicyList ¶
type SchedulingPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SchedulingPolicy `json:"items"` }
SchedulingPolicyList contains a list of SchedulingPolicys
func (*SchedulingPolicyList) DeepCopy ¶
func (in *SchedulingPolicyList) DeepCopy() *SchedulingPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyList.
func (*SchedulingPolicyList) DeepCopyInto ¶
func (in *SchedulingPolicyList) DeepCopyInto(out *SchedulingPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SchedulingPolicyList) DeepCopyObject ¶
func (in *SchedulingPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SchedulingPolicyList) GetItems ¶
func (l *SchedulingPolicyList) GetItems() []resource.Managed
GetItems of this SchedulingPolicyList.
type SchedulingPolicyObservation ¶
type SchedulingPolicyObservation struct { // The Amazon Resource Name of the scheduling policy. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*SchedulingPolicyObservation) DeepCopy ¶
func (in *SchedulingPolicyObservation) DeepCopy() *SchedulingPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyObservation.
func (*SchedulingPolicyObservation) DeepCopyInto ¶
func (in *SchedulingPolicyObservation) DeepCopyInto(out *SchedulingPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicyParameters ¶
type SchedulingPolicyParameters struct { FairSharePolicyParameters `json:"fairSharePolicy,omitempty" tf:"fair_share_policy,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }FairSharePolicy []
func (*SchedulingPolicyParameters) DeepCopy ¶
func (in *SchedulingPolicyParameters) DeepCopy() *SchedulingPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyParameters.
func (*SchedulingPolicyParameters) DeepCopyInto ¶
func (in *SchedulingPolicyParameters) DeepCopyInto(out *SchedulingPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicySpec ¶
type SchedulingPolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider SchedulingPolicyParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SchedulingPolicyInitParameters `json:"initProvider,omitempty"` }
SchedulingPolicySpec defines the desired state of SchedulingPolicy
func (*SchedulingPolicySpec) DeepCopy ¶
func (in *SchedulingPolicySpec) DeepCopy() *SchedulingPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicySpec.
func (*SchedulingPolicySpec) DeepCopyInto ¶
func (in *SchedulingPolicySpec) DeepCopyInto(out *SchedulingPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingPolicyStatus ¶
type SchedulingPolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SchedulingPolicyObservation `json:"atProvider,omitempty"` }
SchedulingPolicyStatus defines the observed state of SchedulingPolicy.
func (*SchedulingPolicyStatus) DeepCopy ¶
func (in *SchedulingPolicyStatus) DeepCopy() *SchedulingPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyStatus.
func (*SchedulingPolicyStatus) DeepCopyInto ¶
func (in *SchedulingPolicyStatus) DeepCopyInto(out *SchedulingPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretInitParameters ¶ added in v1.5.0
type SecretInitParameters struct { // Specifies whether the secret or the secret's keys must be defined. Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"` // The name of the secret. The name must be allowed as a DNS subdomain name. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` }
func (*SecretInitParameters) DeepCopy ¶ added in v1.5.0
func (in *SecretInitParameters) DeepCopy() *SecretInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretInitParameters.
func (*SecretInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretObservation ¶ added in v1.5.0
type SecretObservation struct { // Specifies whether the secret or the secret's keys must be defined. Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"` // The name of the secret. The name must be allowed as a DNS subdomain name. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` }
func (*SecretObservation) DeepCopy ¶ added in v1.5.0
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶ added in v1.5.0
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶ added in v1.5.0
type SecretParameters struct { // Specifies whether the secret or the secret's keys must be defined. // +kubebuilder:validation:Optional Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"` // The name of the secret. The name must be allowed as a DNS subdomain name. // +kubebuilder:validation:Optional SecretName *string `json:"secretName" tf:"secret_name,omitempty"` }
func (*SecretParameters) DeepCopy ¶ added in v1.5.0
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶ added in v1.5.0
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityContextInitParameters ¶ added in v1.5.0
type SecurityContextInitParameters struct { Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"` ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"` RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"` RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"` }
func (*SecurityContextInitParameters) DeepCopy ¶ added in v1.5.0
func (in *SecurityContextInitParameters) DeepCopy() *SecurityContextInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextInitParameters.
func (*SecurityContextInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *SecurityContextInitParameters) DeepCopyInto(out *SecurityContextInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityContextObservation ¶ added in v1.5.0
type SecurityContextObservation struct { Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"` ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"` RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"` RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"` RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"` }
func (*SecurityContextObservation) DeepCopy ¶ added in v1.5.0
func (in *SecurityContextObservation) DeepCopy() *SecurityContextObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextObservation.
func (*SecurityContextObservation) DeepCopyInto ¶ added in v1.5.0
func (in *SecurityContextObservation) DeepCopyInto(out *SecurityContextObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityContextParameters ¶ added in v1.5.0
type SecurityContextParameters struct { // +kubebuilder:validation:Optional Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"` // +kubebuilder:validation:Optional ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"` // +kubebuilder:validation:Optional RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"` // +kubebuilder:validation:Optional RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"` // +kubebuilder:validation:Optional RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"` }
func (*SecurityContextParameters) DeepCopy ¶ added in v1.5.0
func (in *SecurityContextParameters) DeepCopy() *SecurityContextParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextParameters.
func (*SecurityContextParameters) DeepCopyInto ¶ added in v1.5.0
func (in *SecurityContextParameters) DeepCopyInto(out *SecurityContextParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShareDistributionInitParameters ¶ added in v0.38.0
type ShareDistributionInitParameters struct { string `json:"shareIdentifier,omitempty" tf:"share_identifier,omitempty"` WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"` }ShareIdentifier *
func (*ShareDistributionInitParameters) DeepCopy ¶ added in v0.38.0
func (in *ShareDistributionInitParameters) DeepCopy() *ShareDistributionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDistributionInitParameters.
func (*ShareDistributionInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *ShareDistributionInitParameters) DeepCopyInto(out *ShareDistributionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShareDistributionObservation ¶
type ShareDistributionObservation struct { string `json:"shareIdentifier,omitempty" tf:"share_identifier,omitempty"` WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"` }ShareIdentifier *
func (*ShareDistributionObservation) DeepCopy ¶
func (in *ShareDistributionObservation) DeepCopy() *ShareDistributionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDistributionObservation.
func (*ShareDistributionObservation) DeepCopyInto ¶
func (in *ShareDistributionObservation) DeepCopyInto(out *ShareDistributionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShareDistributionParameters ¶
type ShareDistributionParameters struct { // +kubebuilder:validation:Optional ShareIdentifier *string `json:"shareIdentifier" tf:"share_identifier,omitempty"` // +kubebuilder:validation:Optional WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"` }
func (*ShareDistributionParameters) DeepCopy ¶
func (in *ShareDistributionParameters) DeepCopy() *ShareDistributionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDistributionParameters.
func (*ShareDistributionParameters) DeepCopyInto ¶
func (in *ShareDistributionParameters) DeepCopyInto(out *ShareDistributionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeoutInitParameters ¶ added in v0.41.0
type TimeoutInitParameters struct { // The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds. AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"` }
func (*TimeoutInitParameters) DeepCopy ¶ added in v0.41.0
func (in *TimeoutInitParameters) DeepCopy() *TimeoutInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutInitParameters.
func (*TimeoutInitParameters) DeepCopyInto ¶ added in v0.41.0
func (in *TimeoutInitParameters) DeepCopyInto(out *TimeoutInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeoutObservation ¶ added in v0.41.0
type TimeoutObservation struct { // The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds. AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"` }
func (*TimeoutObservation) DeepCopy ¶ added in v0.41.0
func (in *TimeoutObservation) DeepCopy() *TimeoutObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutObservation.
func (*TimeoutObservation) DeepCopyInto ¶ added in v0.41.0
func (in *TimeoutObservation) DeepCopyInto(out *TimeoutObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeoutParameters ¶ added in v0.41.0
type TimeoutParameters struct { // The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds. // +kubebuilder:validation:Optional AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"` }
func (*TimeoutParameters) DeepCopy ¶ added in v0.41.0
func (in *TimeoutParameters) DeepCopy() *TimeoutParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutParameters.
func (*TimeoutParameters) DeepCopyInto ¶ added in v0.41.0
func (in *TimeoutParameters) DeepCopyInto(out *TimeoutParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountsInitParameters ¶ added in v1.5.0
type VolumeMountsInitParameters struct { // The path of the file or directory on the host to mount into containers on the pod. MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` }
func (*VolumeMountsInitParameters) DeepCopy ¶ added in v1.5.0
func (in *VolumeMountsInitParameters) DeepCopy() *VolumeMountsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountsInitParameters.
func (*VolumeMountsInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *VolumeMountsInitParameters) DeepCopyInto(out *VolumeMountsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountsObservation ¶ added in v1.5.0
type VolumeMountsObservation struct { // The path of the file or directory on the host to mount into containers on the pod. MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` }
func (*VolumeMountsObservation) DeepCopy ¶ added in v1.5.0
func (in *VolumeMountsObservation) DeepCopy() *VolumeMountsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountsObservation.
func (*VolumeMountsObservation) DeepCopyInto ¶ added in v1.5.0
func (in *VolumeMountsObservation) DeepCopyInto(out *VolumeMountsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountsParameters ¶ added in v1.5.0
type VolumeMountsParameters struct { // The path of the file or directory on the host to mount into containers on the pod. // +kubebuilder:validation:Optional MountPath *string `json:"mountPath" tf:"mount_path,omitempty"` // Specifies the name of the job definition. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Optional ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` }
func (*VolumeMountsParameters) DeepCopy ¶ added in v1.5.0
func (in *VolumeMountsParameters) DeepCopy() *VolumeMountsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountsParameters.
func (*VolumeMountsParameters) DeepCopyInto ¶ added in v1.5.0
func (in *VolumeMountsParameters) DeepCopyInto(out *VolumeMountsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesInitParameters ¶ added in v1.5.0
type VolumesInitParameters struct { EmptyDir []EmptyDirInitParameters `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"` // The path of the file or directory on the host to mount into containers on the pod. HostPath []HostPathInitParameters `json:"hostPath,omitempty" tf:"host_path,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` Secret []SecretInitParameters `json:"secret,omitempty" tf:"secret,omitempty"` }
func (*VolumesInitParameters) DeepCopy ¶ added in v1.5.0
func (in *VolumesInitParameters) DeepCopy() *VolumesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesInitParameters.
func (*VolumesInitParameters) DeepCopyInto ¶ added in v1.5.0
func (in *VolumesInitParameters) DeepCopyInto(out *VolumesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesObservation ¶ added in v1.5.0
type VolumesObservation struct { EmptyDir []EmptyDirObservation `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"` // The path of the file or directory on the host to mount into containers on the pod. HostPath []HostPathObservation `json:"hostPath,omitempty" tf:"host_path,omitempty"` // Specifies the name of the job definition. Name *string `json:"name,omitempty" tf:"name,omitempty"` Secret []SecretObservation `json:"secret,omitempty" tf:"secret,omitempty"` }
func (*VolumesObservation) DeepCopy ¶ added in v1.5.0
func (in *VolumesObservation) DeepCopy() *VolumesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesObservation.
func (*VolumesObservation) DeepCopyInto ¶ added in v1.5.0
func (in *VolumesObservation) DeepCopyInto(out *VolumesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesParameters ¶ added in v1.5.0
type VolumesParameters struct { // +kubebuilder:validation:Optional EmptyDir []EmptyDirParameters `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"` // The path of the file or directory on the host to mount into containers on the pod. // +kubebuilder:validation:Optional HostPath []HostPathParameters `json:"hostPath,omitempty" tf:"host_path,omitempty"` // Specifies the name of the job definition. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` }
func (*VolumesParameters) DeepCopy ¶ added in v1.5.0
func (in *VolumesParameters) DeepCopy() *VolumesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesParameters.
func (*VolumesParameters) DeepCopyInto ¶ added in v1.5.0
func (in *VolumesParameters) DeepCopyInto(out *VolumesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.