Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the serverless v1 API group +kubebuilder:object:generate=true +groupName=serverless.kloudlite.io
Index ¶
- Variables
- type Lambda
- func (in *Lambda) DeepCopy() *Lambda
- func (in *Lambda) DeepCopyInto(out *Lambda)
- func (in *Lambda) DeepCopyObject() runtime.Object
- func (lm *Lambda) EnsureGVK()
- func (m *Lambda) GetEnsuredAnnotations() map[string]string
- func (lm *Lambda) GetEnsuredLabels() map[string]string
- func (lm *Lambda) GetStatus() *rApi.Status
- type LambdaList
- type LambdaSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "serverless.kloudlite.io", Version: "v1"} // 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 Lambda ¶
type Lambda struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LambdaSpec `json:"spec"` Status rApi.Status `json:"status,omitempty"` }
Lambda is the Schema for the lambdas API
func (*Lambda) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lambda.
func (*Lambda) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Lambda) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Lambda) GetEnsuredAnnotations ¶
func (*Lambda) GetEnsuredLabels ¶
type LambdaList ¶
type LambdaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Lambda `json:"items"` }
LambdaList contains a list of Lambda
func (*LambdaList) DeepCopy ¶
func (in *LambdaList) DeepCopy() *LambdaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaList.
func (*LambdaList) DeepCopyInto ¶
func (in *LambdaList) DeepCopyInto(out *LambdaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LambdaList) DeepCopyObject ¶
func (in *LambdaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LambdaSpec ¶
type LambdaSpec struct { // +kubebuilder:default=kloudlite-svc-account ServiceAccount string `json:"serviceAccount,omitempty"` // +kubebuilder:default=1 MinScale int `json:"minScale,omitempty"` // +kubebuilder:default=5 MaxScale int `json:"maxScale,omitempty"` // +kubebuilder:default=100 TargetRps int `json:"targetRps,omitempty"` // +kubebuilder:validation:Optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` Containers []v1.AppContainer `json:"containers,omitempty"` }
LambdaSpec defines the desired state of Lambda
func (*LambdaSpec) DeepCopy ¶
func (in *LambdaSpec) DeepCopy() *LambdaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LambdaSpec.
func (*LambdaSpec) DeepCopyInto ¶
func (in *LambdaSpec) DeepCopyInto(out *LambdaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.