Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the aws v1alpha1 API group +kubebuilder:object:generate=true +groupName=aws.operators.jittakal.io
Index ¶
Constants ¶
const ( PENDING_STATE = "PENDING" ADJUSTED_STATE = "ADJUSTED" ADJUSTING_STATE = "ADJUSTING" ERROR_STATE = "ERROR" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "aws.operators.jittakal.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type LambdaConcurrencyScaler ¶
type LambdaConcurrencyScaler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LambdaConcurrencyScalerSpec `json:"spec,omitempty"` Status LambdaConcurrencyScalerStatus `json:"status,omitempty"` }
LambdaConcurrencyScaler is the Schema for the lambdaconcurrencyscalers API
func (*LambdaConcurrencyScaler) DeepCopy ¶
func (in *LambdaConcurrencyScaler) DeepCopy() *LambdaConcurrencyScaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConcurrencyScaler.
func (*LambdaConcurrencyScaler) DeepCopyInto ¶
func (in *LambdaConcurrencyScaler) DeepCopyInto(out *LambdaConcurrencyScaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LambdaConcurrencyScaler) DeepCopyObject ¶
func (in *LambdaConcurrencyScaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LambdaConcurrencyScalerList ¶
type LambdaConcurrencyScalerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LambdaConcurrencyScaler `json:"items"` }
LambdaConcurrencyScalerList contains a list of LambdaConcurrencyScaler
func (*LambdaConcurrencyScalerList) DeepCopy ¶
func (in *LambdaConcurrencyScalerList) DeepCopy() *LambdaConcurrencyScalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConcurrencyScalerList.
func (*LambdaConcurrencyScalerList) DeepCopyInto ¶
func (in *LambdaConcurrencyScalerList) DeepCopyInto(out *LambdaConcurrencyScalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LambdaConcurrencyScalerList) DeepCopyObject ¶
func (in *LambdaConcurrencyScalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LambdaConcurrencyScalerSpec ¶
type LambdaConcurrencyScalerSpec struct { // Name of AWS SQS AWSSQSName string `json:"awsSQSName"` // AWS SQS Message Visible Count Threshold AWSSQSMsgCountThreshold int32 `json:"awsSQSMsgCountThreshold"` // Name of AWS Lambda AWSLambdaName string `json:"awsLambdaName"` // Minimum Reserved Concurrency Configuration of AWS Lambda AWSLambdaMinConcurrency int32 `json:"awsLambdaMinConcurrency"` // Minimum Reserved Concurrency Configuration of AWS Lambda AWSLambdaMaxConcurrency int32 `json:"awsLamndaMaxConcurrency"` // Steps to Increase or Decrease Reserved Concurrency Configuration of AWS Lambda AWSLambdaStepConcurrency int32 `json:"awsLambdaStepConcurrency"` }
LambdaConcurrencyScalerSpec defines the desired state of LambdaConcurrencyScaler
func (*LambdaConcurrencyScalerSpec) DeepCopy ¶
func (in *LambdaConcurrencyScalerSpec) DeepCopy() *LambdaConcurrencyScalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConcurrencyScalerSpec.
func (*LambdaConcurrencyScalerSpec) DeepCopyInto ¶
func (in *LambdaConcurrencyScalerSpec) DeepCopyInto(out *LambdaConcurrencyScalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LambdaConcurrencyScalerStatus ¶
type LambdaConcurrencyScalerStatus struct { // State of Concurrency Adjustment State string `json:"state"` // Desired Concurrency Concurrency int32 `json:"concurrency"` // Time Since last concurrency adjusted AdjustedTimestamp metav1.Time `json:"adjustedTimestamp,omitempty"` }
LambdaConcurrencyScalerStatus defines the observed state of LambdaConcurrencyScaler
func (*LambdaConcurrencyScalerStatus) DeepCopy ¶
func (in *LambdaConcurrencyScalerStatus) DeepCopy() *LambdaConcurrencyScalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaConcurrencyScalerStatus.
func (*LambdaConcurrencyScalerStatus) DeepCopyInto ¶
func (in *LambdaConcurrencyScalerStatus) DeepCopyInto(out *LambdaConcurrencyScalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.