Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.tinysystems.io
Index ¶
- Constants
- Variables
- type Position
- type TinyModule
- type TinyModuleList
- type TinyModuleSpec
- type TinyModuleStatus
- type TinyNode
- type TinyNodeEdge
- type TinyNodeList
- type TinyNodePortConfig
- type TinyNodePortStatus
- type TinyNodeSpec
- type TinyNodeStatus
- type TinyTracker
- type TinyTrackerList
- type TinyTrackerPortDataWebhook
- type TinyTrackerSpec
- type TinyTrackerStatisticsWebhook
- type TinyTrackerStatus
Constants ¶
const ( FlowIDLabel = "tinysystems.io/flow-id" ModuleNameLabel = "tinysystems.io/module-name" ModuleVersionLabel = "tinysystems.io/module-version" ComponentDescriptionAnnotation = "tinysystems.io/component-description" ComponentInfoAnnotation = "tinysystems.io/component-info" ComponentTagsAnnotation = "tinysystems.io/component-tags" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.tinysystems.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 TinyModule ¶
type TinyModule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TinyModuleSpec `json:"spec,omitempty"`
Status TinyModuleStatus `json:"status,omitempty"`
}
TinyModule is the Schema for the tinymodules API
func (*TinyModule) DeepCopy ¶
func (in *TinyModule) DeepCopy() *TinyModule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyModule.
func (*TinyModule) DeepCopyInto ¶
func (in *TinyModule) DeepCopyInto(out *TinyModule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyModule) DeepCopyObject ¶
func (in *TinyModule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyModuleList ¶
type TinyModuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TinyModule `json:"items"`
}
TinyModuleList contains a list of TinyModule
func (*TinyModuleList) DeepCopy ¶
func (in *TinyModuleList) DeepCopy() *TinyModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyModuleList.
func (*TinyModuleList) DeepCopyInto ¶
func (in *TinyModuleList) DeepCopyInto(out *TinyModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyModuleList) DeepCopyObject ¶
func (in *TinyModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyModuleSpec ¶
type TinyModuleSpec struct {
// Foo is an example field of TinyModule. Edit tinymodule_types.go to remove/update
Image string `json:"image,omitempty"`
}
TinyModuleSpec defines the desired state of TinyModule
func (*TinyModuleSpec) DeepCopy ¶
func (in *TinyModuleSpec) DeepCopy() *TinyModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyModuleSpec.
func (*TinyModuleSpec) DeepCopyInto ¶
func (in *TinyModuleSpec) DeepCopyInto(out *TinyModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyModuleStatus ¶
type TinyModuleStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Addr string `json:"addr"`
}
TinyModuleStatus defines the observed state of TinyModule
func (*TinyModuleStatus) DeepCopy ¶
func (in *TinyModuleStatus) DeepCopy() *TinyModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyModuleStatus.
func (*TinyModuleStatus) DeepCopyInto ¶
func (in *TinyModuleStatus) DeepCopyInto(out *TinyModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyNode ¶
type TinyNode struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TinyNodeSpec `json:"spec,omitempty"`
Status TinyNodeStatus `json:"status,omitempty"`
}
TinyNode is the Schema for the tinynodes API
func (*TinyNode) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNode.
func (*TinyNode) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyNode) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyNodeEdge ¶
type TinyNodeEdge struct {
// Edge id
// +kubebuilder:validation:Required
ID string `json:"id"`
// Current node's port name
// Source port
// +kubebuilder:validation:Required
Port string `json:"port"`
// Other node's full port name
// +kubebuilder:validation:Required
To string `json:"to"`
}
func (*TinyNodeEdge) DeepCopy ¶
func (in *TinyNodeEdge) DeepCopy() *TinyNodeEdge
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeEdge.
func (*TinyNodeEdge) DeepCopyInto ¶
func (in *TinyNodeEdge) DeepCopyInto(out *TinyNodeEdge)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyNodeList ¶
type TinyNodeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TinyNode `json:"items"`
}
TinyNodeList contains a list of TinyNode
func (*TinyNodeList) DeepCopy ¶
func (in *TinyNodeList) DeepCopy() *TinyNodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeList.
func (*TinyNodeList) DeepCopyInto ¶
func (in *TinyNodeList) DeepCopyInto(out *TinyNodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyNodeList) DeepCopyObject ¶
func (in *TinyNodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyNodePortConfig ¶
type TinyNodePortConfig struct {
// +kubebuilder:validation:Optional
// Settings depend on a sender
From string `json:"from,omitempty"`
// +kubebuilder:validation:Required
Port string `json:"port"`
// +kubebuilder:validation:Optional
//Schema JSON schema of the port
Schema []byte `json:"schema"`
// +kubebuilder:validation:Optional
//Configuration JSON data of the port's configuration
Configuration []byte `json:"configuration"`
}
func (*TinyNodePortConfig) DeepCopy ¶
func (in *TinyNodePortConfig) DeepCopy() *TinyNodePortConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodePortConfig.
func (*TinyNodePortConfig) DeepCopyInto ¶
func (in *TinyNodePortConfig) DeepCopyInto(out *TinyNodePortConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyNodePortStatus ¶
type TinyNodePortStatus struct {
Name string `json:"name"`
Label string `json:"label"`
Position Position `json:"position"`
Settings bool `json:"settings"`
Status bool `json:"status"`
Source bool `json:"source"`
Schema []byte `json:"schema"`
Configuration []byte `json:"configuration"`
}
func (*TinyNodePortStatus) DeepCopy ¶
func (in *TinyNodePortStatus) DeepCopy() *TinyNodePortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodePortStatus.
func (*TinyNodePortStatus) DeepCopyInto ¶
func (in *TinyNodePortStatus) DeepCopyInto(out *TinyNodePortStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyNodeSpec ¶
type TinyNodeSpec struct {
// Module name - container image repo + tag
// +kubebuilder:validation:Required
Module string `json:"module"`
// Component name within a module
// +kubebuilder:validation:Required
Component string `json:"component"`
// Port configurations
// +kubebuilder:validation:Optional
Ports []TinyNodePortConfig `json:"ports"`
// Edges to send message next
// +kubebuilder:validation:Optional
Edges []TinyNodeEdge `json:"edges"`
//Run if emitter component should run
// +kubebuilder:validation:Optional
Run bool `json:"run"`
}
TinyNodeSpec defines the desired state of TinyNode
func (*TinyNodeSpec) DeepCopy ¶
func (in *TinyNodeSpec) DeepCopy() *TinyNodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeSpec.
func (*TinyNodeSpec) DeepCopyInto ¶
func (in *TinyNodeSpec) DeepCopyInto(out *TinyNodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyNodeStatus ¶
type TinyNodeStatus struct {
// +kubebuilder:validation:Optional
Ports []TinyNodePortStatus `json:"ports"`
// +kubebuilder:validation:Optional
Error string `json:"error,omitempty"`
// +kubebuilder:validation:Optional
Status string `json:"status,omitempty"`
// +kubebuilder:validation:Optional
Emitter bool `json:"emitter,omitempty"`
// +kubebuilder:validation:Optional
Running bool `json:"running,omitempty"`
}
TinyNodeStatus defines the observed state of TinyNode
func (*TinyNodeStatus) DeepCopy ¶
func (in *TinyNodeStatus) DeepCopy() *TinyNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeStatus.
func (*TinyNodeStatus) DeepCopyInto ¶
func (in *TinyNodeStatus) DeepCopyInto(out *TinyNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyTracker ¶
type TinyTracker struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TinyTrackerSpec `json:"spec,omitempty"`
Status TinyTrackerStatus `json:"status,omitempty"`
}
TinyTracker is the Schema for the tinytrackers API
func (*TinyTracker) DeepCopy ¶
func (in *TinyTracker) DeepCopy() *TinyTracker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTracker.
func (*TinyTracker) DeepCopyInto ¶
func (in *TinyTracker) DeepCopyInto(out *TinyTracker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyTracker) DeepCopyObject ¶
func (in *TinyTracker) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyTrackerList ¶
type TinyTrackerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TinyTracker `json:"items"`
}
TinyTrackerList contains a list of TinyTracker
func (*TinyTrackerList) DeepCopy ¶
func (in *TinyTrackerList) DeepCopy() *TinyTrackerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTrackerList.
func (*TinyTrackerList) DeepCopyInto ¶
func (in *TinyTrackerList) DeepCopyInto(out *TinyTrackerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinyTrackerList) DeepCopyObject ¶
func (in *TinyTrackerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinyTrackerPortDataWebhook ¶
type TinyTrackerPortDataWebhook struct {
FlowID string `json:"flowID"`
// URL of the POST request
URL string `json:"url,omitempty"`
//Interval send requests not often than interval
Interval metav1.Duration `json:"interval"`
//Do not send data bigger than below
MaxDataSize int `json:"maxDataSize"`
}
func (*TinyTrackerPortDataWebhook) DeepCopy ¶
func (in *TinyTrackerPortDataWebhook) DeepCopy() *TinyTrackerPortDataWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTrackerPortDataWebhook.
func (*TinyTrackerPortDataWebhook) DeepCopyInto ¶
func (in *TinyTrackerPortDataWebhook) DeepCopyInto(out *TinyTrackerPortDataWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyTrackerSpec ¶
type TinyTrackerSpec struct {
// +kubebuilder:validation:Optional
PortDataWebhook *TinyTrackerPortDataWebhook `json:"portDataWebhook"`
// +kubebuilder:validation:Optional
NodeStatisticsWebhook *TinyTrackerStatisticsWebhook `json:"nodeStatisticsWebhook"`
}
TinyTrackerSpec defines the desired state of Tracker
func (*TinyTrackerSpec) DeepCopy ¶
func (in *TinyTrackerSpec) DeepCopy() *TinyTrackerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTrackerSpec.
func (*TinyTrackerSpec) DeepCopyInto ¶
func (in *TinyTrackerSpec) DeepCopyInto(out *TinyTrackerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyTrackerStatisticsWebhook ¶
type TinyTrackerStatisticsWebhook struct {
FlowID string `json:"flowID"`
// URL of the POST request
URL string `json:"url,omitempty"`
//Interval send requests not often than interval
Interval metav1.Duration `json:"interval"`
}
func (*TinyTrackerStatisticsWebhook) DeepCopy ¶
func (in *TinyTrackerStatisticsWebhook) DeepCopy() *TinyTrackerStatisticsWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTrackerStatisticsWebhook.
func (*TinyTrackerStatisticsWebhook) DeepCopyInto ¶
func (in *TinyTrackerStatisticsWebhook) DeepCopyInto(out *TinyTrackerStatisticsWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinyTrackerStatus ¶
type TinyTrackerStatus struct {
}
TinyTrackerStatus defines the observed state of TinyTracker
func (*TinyTrackerStatus) DeepCopy ¶
func (in *TinyTrackerStatus) DeepCopy() *TinyTrackerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyTrackerStatus.
func (*TinyTrackerStatus) DeepCopyInto ¶
func (in *TinyTrackerStatus) DeepCopyInto(out *TinyTrackerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.