Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct {
metav1.TypeMeta `json:",inline"`
Metadata metav1.ObjectMeta `json:"metadata"`
Spec FunctionSpec `json:"spec"`
}
Function object
func (*Function) GetObjectKind ¶
func (e *Function) GetObjectKind() schema.ObjectKind
GetObjectKind required to satisfy Object interface
func (*Function) GetObjectMeta ¶
GetObjectMeta required to satisfy ObjectMetaAccessor interface
type FunctionList ¶
type FunctionList struct {
metav1.TypeMeta `json:",inline"`
Metadata metav1.ListMeta `json:"metadata"`
// Items is a list of third party objects
Items []*Function `json:"items"`
}
FunctionList contains map of functions
func (*FunctionList) GetListMeta ¶
func (el *FunctionList) GetListMeta() metav1.List
GetListMeta required to satisfy ListMetaAccessor interface
func (*FunctionList) GetObjectKind ¶
func (el *FunctionList) GetObjectKind() schema.ObjectKind
GetObjectKind required to satisfy Object interface
type FunctionSpec ¶
type FunctionSpec struct {
Handler string `json:"handler"`
Function string `json:"function"`
Runtime string `json:"runtime"`
Type string `json:"type"`
Topic string `json:"topic"`
Schedule string `json:"schedule"`
Deps string `json:"deps"`
Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"`
}
FunctionSpec contains func specification
Click to show internal directories.
Click to hide internal directories.