Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=batch.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type FairSharePolicyObservation
- type FairSharePolicyParameters
- 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 (mg *SchedulingPolicy) GetManagementPolicy() xpv1.ManagementPolicy
- 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) GetProviderReference() *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) LateInitialize(attrs []byte) (bool, error)
- func (mg *SchedulingPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *SchedulingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SchedulingPolicy) SetManagementPolicy(r xpv1.ManagementPolicy)
- 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) SetProviderReference(r *xpv1.Reference)
- func (mg *SchedulingPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SchedulingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SchedulingPolicyList
- type SchedulingPolicyObservation
- type SchedulingPolicyParameters
- type SchedulingPolicySpec
- type SchedulingPolicyStatus
- type ShareDistributionObservation
- type ShareDistributionParameters
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 ( 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 { 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 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 ¶
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. 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 ¶
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 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"` }
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 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:Required 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.