v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=batch.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: batch.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ComputeEnvironment

type ComputeEnvironment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComputeEnvironmentSpec   `json:"spec,omitempty"`
	Status            ComputeEnvironmentStatus `json:"status,omitempty"`
}

func (*ComputeEnvironment) DeepCopy

func (in *ComputeEnvironment) DeepCopy() *ComputeEnvironment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironment.

func (*ComputeEnvironment) DeepCopyInto

func (in *ComputeEnvironment) DeepCopyInto(out *ComputeEnvironment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeEnvironment) DeepCopyObject

func (in *ComputeEnvironment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComputeEnvironment) SetupWebhookWithManager

func (r *ComputeEnvironment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ComputeEnvironment) ValidateCreate

func (r *ComputeEnvironment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ComputeEnvironment) ValidateDelete

func (r *ComputeEnvironment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ComputeEnvironment) ValidateUpdate

func (r *ComputeEnvironment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ComputeEnvironmentList

type ComputeEnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ComputeEnvironment CRD objects
	Items []ComputeEnvironment `json:"items,omitempty"`
}

ComputeEnvironmentList is a list of ComputeEnvironments

func (*ComputeEnvironmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentList.

func (*ComputeEnvironmentList) DeepCopyInto

func (in *ComputeEnvironmentList) DeepCopyInto(out *ComputeEnvironmentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComputeEnvironmentList) DeepCopyObject

func (in *ComputeEnvironmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ComputeEnvironmentSpec

type ComputeEnvironmentSpec struct {
	State *ComputeEnvironmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource ComputeEnvironmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ComputeEnvironmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentSpec.

func (*ComputeEnvironmentSpec) DeepCopyInto

func (in *ComputeEnvironmentSpec) DeepCopyInto(out *ComputeEnvironmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeEnvironmentSpecComputeResources

type ComputeEnvironmentSpecComputeResources struct {
	// +optional
	AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy"`
	// +optional
	BidPercentage *int64 `json:"bidPercentage,omitempty" tf:"bid_percentage"`
	// +optional
	DesiredVcpus *int64 `json:"desiredVcpus,omitempty" tf:"desired_vcpus"`
	// +optional
	Ec2Configuration *ComputeEnvironmentSpecComputeResourcesEc2Configuration `json:"ec2Configuration,omitempty" tf:"ec2_configuration"`
	// +optional
	Ec2KeyPair *string `json:"ec2KeyPair,omitempty" tf:"ec2_key_pair"`
	// +optional
	ImageID *string `json:"imageID,omitempty" tf:"image_id"`
	// +optional
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role"`
	// +optional
	InstanceType []string `json:"instanceType,omitempty" tf:"instance_type"`
	// +optional
	LaunchTemplate *ComputeEnvironmentSpecComputeResourcesLaunchTemplate `json:"launchTemplate,omitempty" tf:"launch_template"`
	MaxVcpus       *int64                                                `json:"maxVcpus" tf:"max_vcpus"`
	// +optional
	MinVcpus         *int64   `json:"minVcpus,omitempty" tf:"min_vcpus"`
	SecurityGroupIDS []string `json:"securityGroupIDS" tf:"security_group_ids"`
	// +optional
	SpotIamFleetRole *string  `json:"spotIamFleetRole,omitempty" tf:"spot_iam_fleet_role"`
	Subnets          []string `json:"subnets" tf:"subnets"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	Type *string            `json:"type" tf:"type"`
}

func (*ComputeEnvironmentSpecComputeResources) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentSpecComputeResources.

func (*ComputeEnvironmentSpecComputeResources) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeEnvironmentSpecComputeResourcesCodec

type ComputeEnvironmentSpecComputeResourcesCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputeEnvironmentSpecComputeResourcesCodec) Decode

func (ComputeEnvironmentSpecComputeResourcesCodec) Encode

func (ComputeEnvironmentSpecComputeResourcesCodec) IsEmpty

type ComputeEnvironmentSpecComputeResourcesEc2Configuration added in v0.5.0

type ComputeEnvironmentSpecComputeResourcesEc2Configuration struct {
	// +optional
	ImageIDOverride *string `json:"imageIDOverride,omitempty" tf:"image_id_override"`
	// +optional
	ImageType *string `json:"imageType,omitempty" tf:"image_type"`
}

func (*ComputeEnvironmentSpecComputeResourcesEc2Configuration) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentSpecComputeResourcesEc2Configuration.

func (*ComputeEnvironmentSpecComputeResourcesEc2Configuration) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeEnvironmentSpecComputeResourcesEc2ConfigurationCodec added in v0.5.0

type ComputeEnvironmentSpecComputeResourcesEc2ConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputeEnvironmentSpecComputeResourcesEc2ConfigurationCodec) Decode added in v0.5.0

func (ComputeEnvironmentSpecComputeResourcesEc2ConfigurationCodec) Encode added in v0.5.0

func (ComputeEnvironmentSpecComputeResourcesEc2ConfigurationCodec) IsEmpty added in v0.5.0

type ComputeEnvironmentSpecComputeResourcesLaunchTemplate

type ComputeEnvironmentSpecComputeResourcesLaunchTemplate struct {
	// +optional
	LaunchTemplateID *string `json:"launchTemplateID,omitempty" tf:"launch_template_id"`
	// +optional
	LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*ComputeEnvironmentSpecComputeResourcesLaunchTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentSpecComputeResourcesLaunchTemplate.

func (*ComputeEnvironmentSpecComputeResourcesLaunchTemplate) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeEnvironmentSpecComputeResourcesLaunchTemplateCodec

type ComputeEnvironmentSpecComputeResourcesLaunchTemplateCodec struct {
}

+k8s:deepcopy-gen=false

func (ComputeEnvironmentSpecComputeResourcesLaunchTemplateCodec) Decode

func (ComputeEnvironmentSpecComputeResourcesLaunchTemplateCodec) Encode

func (ComputeEnvironmentSpecComputeResourcesLaunchTemplateCodec) IsEmpty

type ComputeEnvironmentSpecResource

type ComputeEnvironmentSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	ComputeEnvironmentName *string `json:"computeEnvironmentName,omitempty" tf:"compute_environment_name"`
	// +optional
	ComputeEnvironmentNamePrefix *string `json:"computeEnvironmentNamePrefix,omitempty" tf:"compute_environment_name_prefix"`
	// +optional
	ComputeResources *ComputeEnvironmentSpecComputeResources `json:"computeResources,omitempty" tf:"compute_resources"`
	// +optional
	EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn"`
	// +optional
	ServiceRole *string `json:"serviceRole,omitempty" tf:"service_role"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	StatusReason *string `json:"statusReason,omitempty" tf:"status_reason"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	Type    *string            `json:"type" tf:"type"`
}

func (*ComputeEnvironmentSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentSpecResource.

func (*ComputeEnvironmentSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComputeEnvironmentStatus

type ComputeEnvironmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ComputeEnvironmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeEnvironmentStatus.

func (*ComputeEnvironmentStatus) DeepCopyInto

func (in *ComputeEnvironmentStatus) DeepCopyInto(out *ComputeEnvironmentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinition

type JobDefinition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JobDefinitionSpec   `json:"spec,omitempty"`
	Status            JobDefinitionStatus `json:"status,omitempty"`
}

func (*JobDefinition) DeepCopy

func (in *JobDefinition) DeepCopy() *JobDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinition.

func (*JobDefinition) DeepCopyInto

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

func (in *JobDefinition) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*JobDefinition) SetupWebhookWithManager

func (r *JobDefinition) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*JobDefinition) ValidateCreate

func (r *JobDefinition) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*JobDefinition) ValidateDelete

func (r *JobDefinition) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*JobDefinition) ValidateUpdate

func (r *JobDefinition) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type JobDefinitionList

type JobDefinitionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of JobDefinition CRD objects
	Items []JobDefinition `json:"items,omitempty"`
}

JobDefinitionList is a list of JobDefinitions

func (*JobDefinitionList) DeepCopy

func (in *JobDefinitionList) DeepCopy() *JobDefinitionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionList.

func (*JobDefinitionList) DeepCopyInto

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

func (in *JobDefinitionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JobDefinitionSpec

type JobDefinitionSpec struct {
	State *JobDefinitionSpecResource `json:"state,omitempty" tf:"-"`

	Resource JobDefinitionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*JobDefinitionSpec) DeepCopy

func (in *JobDefinitionSpec) DeepCopy() *JobDefinitionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpec.

func (*JobDefinitionSpec) DeepCopyInto

func (in *JobDefinitionSpec) DeepCopyInto(out *JobDefinitionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinitionSpecResource

type JobDefinitionSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties"`
	Name                *string `json:"name" tf:"name"`
	// +optional
	Parameters *map[string]string `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	PlatformCapabilities []string `json:"platformCapabilities,omitempty" tf:"platform_capabilities"`
	// +optional
	PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags"`
	// +optional
	RetryStrategy *JobDefinitionSpecRetryStrategy `json:"retryStrategy,omitempty" tf:"retry_strategy"`
	// +optional
	Revision *int64 `json:"revision,omitempty" tf:"revision"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	Timeout *JobDefinitionSpecTimeout `json:"timeout,omitempty" tf:"timeout"`
	Type    *string                   `json:"type" tf:"type"`
}

func (*JobDefinitionSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpecResource.

func (*JobDefinitionSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinitionSpecRetryStrategy

type JobDefinitionSpecRetryStrategy struct {
	// +optional
	Attempts *int64 `json:"attempts,omitempty" tf:"attempts"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	EvaluateOnExit []JobDefinitionSpecRetryStrategyEvaluateOnExit `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit"`
}

func (*JobDefinitionSpecRetryStrategy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpecRetryStrategy.

func (*JobDefinitionSpecRetryStrategy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinitionSpecRetryStrategyCodec

type JobDefinitionSpecRetryStrategyCodec struct {
}

+k8s:deepcopy-gen=false

func (JobDefinitionSpecRetryStrategyCodec) Decode

func (JobDefinitionSpecRetryStrategyCodec) Encode

func (JobDefinitionSpecRetryStrategyCodec) IsEmpty

type JobDefinitionSpecRetryStrategyEvaluateOnExit

type JobDefinitionSpecRetryStrategyEvaluateOnExit struct {
	Action *string `json:"action" tf:"action"`
	// +optional
	OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code"`
	// +optional
	OnReason *string `json:"onReason,omitempty" tf:"on_reason"`
	// +optional
	OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason"`
}

func (*JobDefinitionSpecRetryStrategyEvaluateOnExit) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpecRetryStrategyEvaluateOnExit.

func (*JobDefinitionSpecRetryStrategyEvaluateOnExit) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinitionSpecTimeout

type JobDefinitionSpecTimeout struct {
	// +optional
	AttemptDurationSeconds *int64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds"`
}

func (*JobDefinitionSpecTimeout) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionSpecTimeout.

func (*JobDefinitionSpecTimeout) DeepCopyInto

func (in *JobDefinitionSpecTimeout) DeepCopyInto(out *JobDefinitionSpecTimeout)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefinitionSpecTimeoutCodec

type JobDefinitionSpecTimeoutCodec struct {
}

+k8s:deepcopy-gen=false

func (JobDefinitionSpecTimeoutCodec) Decode

func (JobDefinitionSpecTimeoutCodec) Encode

func (JobDefinitionSpecTimeoutCodec) IsEmpty

type JobDefinitionStatus

type JobDefinitionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*JobDefinitionStatus) DeepCopy

func (in *JobDefinitionStatus) DeepCopy() *JobDefinitionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefinitionStatus.

func (*JobDefinitionStatus) DeepCopyInto

func (in *JobDefinitionStatus) DeepCopyInto(out *JobDefinitionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobQueue

type JobQueue struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JobQueueSpec   `json:"spec,omitempty"`
	Status            JobQueueStatus `json:"status,omitempty"`
}

func (*JobQueue) DeepCopy

func (in *JobQueue) DeepCopy() *JobQueue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQueue.

func (*JobQueue) DeepCopyInto

func (in *JobQueue) DeepCopyInto(out *JobQueue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JobQueue) DeepCopyObject

func (in *JobQueue) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*JobQueue) SetupWebhookWithManager

func (r *JobQueue) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*JobQueue) ValidateCreate

func (r *JobQueue) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*JobQueue) ValidateDelete

func (r *JobQueue) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*JobQueue) ValidateUpdate

func (r *JobQueue) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type JobQueueList

type JobQueueList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of JobQueue CRD objects
	Items []JobQueue `json:"items,omitempty"`
}

JobQueueList is a list of JobQueues

func (*JobQueueList) DeepCopy

func (in *JobQueueList) DeepCopy() *JobQueueList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQueueList.

func (*JobQueueList) DeepCopyInto

func (in *JobQueueList) DeepCopyInto(out *JobQueueList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JobQueueList) DeepCopyObject

func (in *JobQueueList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type JobQueueSpec

type JobQueueSpec struct {
	State *JobQueueSpecResource `json:"state,omitempty" tf:"-"`

	Resource JobQueueSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*JobQueueSpec) DeepCopy

func (in *JobQueueSpec) DeepCopy() *JobQueueSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQueueSpec.

func (*JobQueueSpec) DeepCopyInto

func (in *JobQueueSpec) DeepCopyInto(out *JobQueueSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobQueueSpecResource

type JobQueueSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn                 *string  `json:"arn,omitempty" tf:"arn"`
	ComputeEnvironments []string `json:"computeEnvironments" tf:"compute_environments"`
	Name                *string  `json:"name" tf:"name"`
	Priority            *int64   `json:"priority" tf:"priority"`
	// +optional
	SchedulingPolicyArn *string `json:"schedulingPolicyArn,omitempty" tf:"scheduling_policy_arn"`
	State               *string `json:"state" tf:"state"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*JobQueueSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQueueSpecResource.

func (*JobQueueSpecResource) DeepCopyInto

func (in *JobQueueSpecResource) DeepCopyInto(out *JobQueueSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobQueueStatus

type JobQueueStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*JobQueueStatus) DeepCopy

func (in *JobQueueStatus) DeepCopy() *JobQueueStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQueueStatus.

func (*JobQueueStatus) DeepCopyInto

func (in *JobQueueStatus) DeepCopyInto(out *JobQueueStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulingPolicy added in v0.5.0

type SchedulingPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SchedulingPolicySpec   `json:"spec,omitempty"`
	Status            SchedulingPolicyStatus `json:"status,omitempty"`
}

func (*SchedulingPolicy) DeepCopy added in v0.5.0

func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicy.

func (*SchedulingPolicy) DeepCopyInto added in v0.5.0

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 added in v0.5.0

func (in *SchedulingPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SchedulingPolicy) SetupWebhookWithManager added in v0.5.0

func (r *SchedulingPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*SchedulingPolicy) ValidateCreate added in v0.5.0

func (r *SchedulingPolicy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*SchedulingPolicy) ValidateDelete added in v0.5.0

func (r *SchedulingPolicy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*SchedulingPolicy) ValidateUpdate added in v0.5.0

func (r *SchedulingPolicy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SchedulingPolicyList added in v0.5.0

type SchedulingPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of SchedulingPolicy CRD objects
	Items []SchedulingPolicy `json:"items,omitempty"`
}

SchedulingPolicyList is a list of SchedulingPolicys

func (*SchedulingPolicyList) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyList.

func (*SchedulingPolicyList) DeepCopyInto added in v0.5.0

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 added in v0.5.0

func (in *SchedulingPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SchedulingPolicySpec added in v0.5.0

type SchedulingPolicySpec struct {
	State *SchedulingPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource SchedulingPolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*SchedulingPolicySpec) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicySpec.

func (*SchedulingPolicySpec) DeepCopyInto added in v0.5.0

func (in *SchedulingPolicySpec) DeepCopyInto(out *SchedulingPolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulingPolicySpecFairSharePolicy added in v0.5.0

type SchedulingPolicySpecFairSharePolicy struct {
	// +optional
	ComputeReservation *int64 `json:"computeReservation,omitempty" tf:"compute_reservation"`
	// +optional
	ShareDecaySeconds *int64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds"`
	// +optional
	// +kubebuilder:validation:MaxItems=500
	ShareDistribution []SchedulingPolicySpecFairSharePolicyShareDistribution `json:"shareDistribution,omitempty" tf:"share_distribution"`
}

func (*SchedulingPolicySpecFairSharePolicy) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicySpecFairSharePolicy.

func (*SchedulingPolicySpecFairSharePolicy) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulingPolicySpecFairSharePolicyCodec added in v0.5.0

type SchedulingPolicySpecFairSharePolicyCodec struct {
}

+k8s:deepcopy-gen=false

func (SchedulingPolicySpecFairSharePolicyCodec) Decode added in v0.5.0

func (SchedulingPolicySpecFairSharePolicyCodec) Encode added in v0.5.0

func (SchedulingPolicySpecFairSharePolicyCodec) IsEmpty added in v0.5.0

type SchedulingPolicySpecFairSharePolicyShareDistribution added in v0.5.0

type SchedulingPolicySpecFairSharePolicyShareDistribution struct {
	ShareIdentifier *string `json:"shareIdentifier" tf:"share_identifier"`
	// +optional
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor"`
}

func (*SchedulingPolicySpecFairSharePolicyShareDistribution) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicySpecFairSharePolicyShareDistribution.

func (*SchedulingPolicySpecFairSharePolicyShareDistribution) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulingPolicySpecResource added in v0.5.0

type SchedulingPolicySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	FairSharePolicy *SchedulingPolicySpecFairSharePolicy `json:"fairSharePolicy,omitempty" tf:"fair_share_policy"`
	Name            *string                              `json:"name" tf:"name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*SchedulingPolicySpecResource) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicySpecResource.

func (*SchedulingPolicySpecResource) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulingPolicyStatus added in v0.5.0

type SchedulingPolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*SchedulingPolicyStatus) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingPolicyStatus.

func (*SchedulingPolicyStatus) DeepCopyInto added in v0.5.0

func (in *SchedulingPolicyStatus) DeepCopyInto(out *SchedulingPolicyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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