v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=batch.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "batch.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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 FairSharePolicyObservation

type FairSharePolicyObservation struct {

	// A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see FairsharePolicy.
	ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"`

	ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"`

	// One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see FairsharePolicy. The share_distribution block is documented below.
	ShareDistribution []ShareDistributionObservation `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"`
}

func (*FairSharePolicyObservation) DeepCopy

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

func (*FairSharePolicyObservation) DeepCopyInto

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

type FairSharePolicyParameters

type FairSharePolicyParameters struct {

	// A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see FairsharePolicy.
	// +kubebuilder:validation:Optional
	ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"`

	// +kubebuilder:validation:Optional
	ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"`

	// One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see FairsharePolicy. The share_distribution block is documented below.
	// +kubebuilder:validation:Optional
	ShareDistribution []ShareDistributionParameters `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"`
}

func (*FairSharePolicyParameters) DeepCopy

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

func (*FairSharePolicyParameters) DeepCopyInto

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) GetManagementPolicy

func (mg *SchedulingPolicy) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

func (mg *SchedulingPolicy) GetProviderReference() *xpv1.Reference

GetProviderReference of this SchedulingPolicy. Deprecated: Use GetProviderConfigReference.

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) 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) SetManagementPolicy

func (mg *SchedulingPolicy) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

func (mg *SchedulingPolicy) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SchedulingPolicy. Deprecated: Use SetProviderConfigReference.

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 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

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"`

	FairSharePolicy []FairSharePolicyObservation `json:"fairSharePolicy,omitempty" tf:"fair_share_policy,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Key-value map of resource tags.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*SchedulingPolicyObservation) DeepCopy

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

func (*SchedulingPolicyObservation) DeepCopyInto

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

type SchedulingPolicyParameters

type SchedulingPolicyParameters struct {

	// +kubebuilder:validation:Optional
	FairSharePolicy []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
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SchedulingPolicyParameters) DeepCopy

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

func (*SchedulingPolicyParameters) DeepCopyInto

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"`
}

SchedulingPolicySpec defines the desired state of SchedulingPolicy

func (*SchedulingPolicySpec) DeepCopy

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

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 ShareDistributionObservation

type ShareDistributionObservation struct {

	// A fair share identifier or fair share identifier prefix. For more information, see ShareAttributes.
	ShareIdentifier *string `json:"shareIdentifier,omitempty" tf:"share_identifier,omitempty"`

	// The weight factor for the fair share identifier. For more information, see ShareAttributes.
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"`
}

func (*ShareDistributionObservation) DeepCopy

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

func (*ShareDistributionObservation) DeepCopyInto

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

type ShareDistributionParameters

type ShareDistributionParameters struct {

	// A fair share identifier or fair share identifier prefix. For more information, see ShareAttributes.
	// +kubebuilder:validation:Required
	ShareIdentifier *string `json:"shareIdentifier" tf:"share_identifier,omitempty"`

	// The weight factor for the fair share identifier. For more information, see ShareAttributes.
	// +kubebuilder:validation:Optional
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"`
}

func (*ShareDistributionParameters) DeepCopy

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

func (*ShareDistributionParameters) DeepCopyInto

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