Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the Kubeless API +groupName=kubeless.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder collects the scheme builder functions for the Kubeless API SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies the SchemeBuilder functions to a specified scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kubeless.GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Function ¶
type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec FunctionSpec `json:"spec"` }
Function object
func (*Function) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function.
func (*Function) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Function) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionList ¶
type FunctionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of third party objects Items []*Function `json:"items"` }
FunctionList contains map of functions
func (*FunctionList) DeepCopy ¶
func (in *FunctionList) DeepCopy() *FunctionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList.
func (*FunctionList) DeepCopyInto ¶
func (in *FunctionList) DeepCopyInto(out *FunctionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FunctionList) DeepCopyObject ¶
func (in *FunctionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FunctionSpec ¶
type FunctionSpec struct { Handler string `json:"handler"` // Function handler: "file.function" Function string `json:"function"` // Function file content or URL of the function FunctionContentType string `json:"function-content-type"` // Function file content type (plain text, base64 or zip) Checksum string `json:"checksum"` // Checksum of the file Runtime string `json:"runtime"` // Function runtime to use Type string `json:"type"` // Function trigger type Topic string `json:"topic"` // Function topic trigger (for PubSub type) Schedule string `json:"schedule"` // Function scheduled time (for Schedule type) Timeout string `json:"timeout"` // Maximum timeout for the function to complete its execution Deps string `json:"deps"` // Function dependencies ServiceSpec v1.ServiceSpec `json:"service"` Deployment v1beta1.Deployment `json:"deployment" protobuf:"bytes,3,opt,name=template"` HorizontalPodAutoscaler v2beta1.HorizontalPodAutoscaler `json:"horizontalPodAutoscaler" protobuf:"bytes,3,opt,name=horizontalPodAutoscaler"` }
FunctionSpec contains func specification
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.