v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
const (
	PENDING_STATE   = "PENDING"
	ADJUSTED_STATE  = "ADJUSTED"
	ADJUSTING_STATE = "ADJUSTING"
	ERROR_STATE     = "ERROR"
)

Variables

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

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

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

func (*LambdaConcurrencyScalerList) DeepCopyInto

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

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

func (*LambdaConcurrencyScalerSpec) DeepCopyInto

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

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

func (*LambdaConcurrencyScalerStatus) 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