Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the Kubeless API +groupName=kubeless.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CronJobTrigger
- type CronJobTriggerList
- type CronJobTriggerSpec
- type Function
- type FunctionList
- type FunctionSpec
- type HTTPTrigger
- type HTTPTriggerList
- type HTTPTriggerSpec
- type KafkaTrigger
- type KafkaTriggerList
- type KafkaTriggerSpec
- type NATSTrigger
- type NATSTriggerList
- type NATSTriggerSpec
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 CronJobTrigger ¶ added in v0.5.0
type CronJobTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec CronJobTriggerSpec `json:"spec"` }
CronJobTrigger is Kubeless resource representing cron job event source
func (*CronJobTrigger) DeepCopy ¶ added in v0.5.0
func (in *CronJobTrigger) DeepCopy() *CronJobTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobTrigger.
func (*CronJobTrigger) DeepCopyInto ¶ added in v0.5.0
func (in *CronJobTrigger) DeepCopyInto(out *CronJobTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronJobTrigger) DeepCopyObject ¶ added in v0.5.0
func (in *CronJobTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronJobTriggerList ¶ added in v0.5.0
type CronJobTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of third party objects Items []*CronJobTrigger `json:"items"` }
CronJobTriggerList is list of CronJobTrigger's
func (*CronJobTriggerList) DeepCopy ¶ added in v0.5.0
func (in *CronJobTriggerList) DeepCopy() *CronJobTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobTriggerList.
func (*CronJobTriggerList) DeepCopyInto ¶ added in v0.5.0
func (in *CronJobTriggerList) DeepCopyInto(out *CronJobTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CronJobTriggerList) DeepCopyObject ¶ added in v0.5.0
func (in *CronJobTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CronJobTriggerSpec ¶ added in v0.5.0
type CronJobTriggerSpec struct { Schedule string `json:"schedule"` // Scheduled time (for Schedule type) FunctionName string `json:"function-name"` // Name of the associated function }
CronJobTriggerSpec defines specification for CronJobTrigger
func (*CronJobTriggerSpec) DeepCopy ¶ added in v0.5.0
func (in *CronJobTriggerSpec) DeepCopy() *CronJobTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobTriggerSpec.
func (*CronJobTriggerSpec) DeepCopyInto ¶ added in v0.5.0
func (in *CronJobTriggerSpec) DeepCopyInto(out *CronJobTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 Timeout string `json:"timeout"` // Maximum timeout for the function to complete its execution Deps string `json:"deps"` // Function dependencies Deployment v1beta1.Deployment `json:"deployment" protobuf:"bytes,3,opt,name=template"` ServiceSpec v1.ServiceSpec `json:"service"` 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.
type HTTPTrigger ¶ added in v0.5.0
type HTTPTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec HTTPTriggerSpec `json:"spec"` }
HTTPTrigger is Kubeless resource representing HTTP trigger event source
func (*HTTPTrigger) DeepCopy ¶ added in v0.5.0
func (in *HTTPTrigger) DeepCopy() *HTTPTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTrigger.
func (*HTTPTrigger) DeepCopyInto ¶ added in v0.5.0
func (in *HTTPTrigger) DeepCopyInto(out *HTTPTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPTrigger) DeepCopyObject ¶ added in v0.5.0
func (in *HTTPTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPTriggerList ¶ added in v0.5.0
type HTTPTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of third party objects Items []*HTTPTrigger `json:"items"` }
HTTPTriggerList is list of HTTPTrigger's
func (*HTTPTriggerList) DeepCopy ¶ added in v0.5.0
func (in *HTTPTriggerList) DeepCopy() *HTTPTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTriggerList.
func (*HTTPTriggerList) DeepCopyInto ¶ added in v0.5.0
func (in *HTTPTriggerList) DeepCopyInto(out *HTTPTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPTriggerList) DeepCopyObject ¶ added in v0.5.0
func (in *HTTPTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPTriggerSpec ¶ added in v0.5.0
type HTTPTriggerSpec struct { FunctionName string `json:"function-name"` // Name of the associated function HostName string `json:"host-name"` TLSAcme bool `json:"tls"` TLSSecret string `json:"tls-secret"` Path string `json:"path"` BasicAuthSecret string `json:"basic-auth-secret"` Gateway string `json:"gateway"` }
HTTPTriggerSpec defines specification for HTTP trigger
func (*HTTPTriggerSpec) DeepCopy ¶ added in v0.5.0
func (in *HTTPTriggerSpec) DeepCopy() *HTTPTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTriggerSpec.
func (*HTTPTriggerSpec) DeepCopyInto ¶ added in v0.5.0
func (in *HTTPTriggerSpec) DeepCopyInto(out *HTTPTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaTrigger ¶ added in v0.5.0
type KafkaTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec KafkaTriggerSpec `json:"spec"` }
KafkaTrigger is Kubeless resource representing Kafka event source
func (*KafkaTrigger) DeepCopy ¶ added in v0.5.0
func (in *KafkaTrigger) DeepCopy() *KafkaTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaTrigger.
func (*KafkaTrigger) DeepCopyInto ¶ added in v0.5.0
func (in *KafkaTrigger) DeepCopyInto(out *KafkaTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KafkaTrigger) DeepCopyObject ¶ added in v0.5.0
func (in *KafkaTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KafkaTriggerList ¶ added in v0.5.0
type KafkaTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of third party objects Items []*KafkaTrigger `json:"items"` }
KafkaTriggerList is list of KafkaTrigger's
func (*KafkaTriggerList) DeepCopy ¶ added in v0.5.0
func (in *KafkaTriggerList) DeepCopy() *KafkaTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaTriggerList.
func (*KafkaTriggerList) DeepCopyInto ¶ added in v0.5.0
func (in *KafkaTriggerList) DeepCopyInto(out *KafkaTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KafkaTriggerList) DeepCopyObject ¶ added in v0.5.0
func (in *KafkaTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KafkaTriggerSpec ¶ added in v0.5.0
type KafkaTriggerSpec struct { Topic string `json:"topic"` // Trigger topic (for PubSub type) FunctionSelector metav1.LabelSelector `json:"functionSelector"` }
KafkaTriggerSpec defines specification for KafkaTrigger
func (*KafkaTriggerSpec) DeepCopy ¶ added in v0.5.0
func (in *KafkaTriggerSpec) DeepCopy() *KafkaTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaTriggerSpec.
func (*KafkaTriggerSpec) DeepCopyInto ¶ added in v0.5.0
func (in *KafkaTriggerSpec) DeepCopyInto(out *KafkaTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NATSTrigger ¶ added in v0.6.0
type NATSTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec NATSTriggerSpec `json:"spec"` }
NATSTrigger is Kubeless resource representing NATS event source
func (*NATSTrigger) DeepCopy ¶ added in v0.6.0
func (in *NATSTrigger) DeepCopy() *NATSTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSTrigger.
func (*NATSTrigger) DeepCopyInto ¶ added in v0.6.0
func (in *NATSTrigger) DeepCopyInto(out *NATSTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NATSTrigger) DeepCopyObject ¶ added in v0.6.0
func (in *NATSTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NATSTriggerList ¶ added in v0.6.0
type NATSTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of third party objects Items []*NATSTrigger `json:"items"` }
NATSTriggerList is list of NATSTrigger's
func (*NATSTriggerList) DeepCopy ¶ added in v0.6.0
func (in *NATSTriggerList) DeepCopy() *NATSTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSTriggerList.
func (*NATSTriggerList) DeepCopyInto ¶ added in v0.6.0
func (in *NATSTriggerList) DeepCopyInto(out *NATSTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NATSTriggerList) DeepCopyObject ¶ added in v0.6.0
func (in *NATSTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NATSTriggerSpec ¶ added in v0.6.0
type NATSTriggerSpec struct { Topic string `json:"topic"` // Trigger topic (for PubSub type) FunctionSelector metav1.LabelSelector `json:"functionSelector"` }
NATSTriggerSpec defines specification for NATSTrigger
func (*NATSTriggerSpec) DeepCopy ¶ added in v0.6.0
func (in *NATSTriggerSpec) DeepCopy() *NATSTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSTriggerSpec.
func (*NATSTriggerSpec) DeepCopyInto ¶ added in v0.6.0
func (in *NATSTriggerSpec) DeepCopyInto(out *NATSTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.