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 TinyNodeComponentStatus
- type TinyNodeEdge
- type TinyNodeList
- type TinyNodeModuleStatus
- type TinyNodePortConfig
- type TinyNodePortStatus
- type TinyNodeSpec
- type TinyNodeStatus
- type TinySignal
- type TinySignalList
- type TinySignalSpec
- type TinySignalStatus
- type TinyTracker
- type TinyTrackerList
- type TinyTrackerPortDataWebhook
- type TinyTrackerSpec
- type TinyTrackerStatisticsWebhook
- type TinyTrackerStatus
Constants ¶
const ( // flow ID label FlowIDLabel = "tinysystems.io/flow-id" // module major version label ModuleNameMajorLabel = "tinysystems.io/module-version-major" // module exact version label ModuleVersionLabel = "tinysystems.io/module-version" // visual annotations used by platform ComponentPosXAnnotation = "tinysystems.io/component-pos-x" ComponentPosYAnnotation = "tinysystems.io/component-pos-y" ComponentPosSpinAnnotation = "tinysystems.io/component-pos-spin" CustomLabel = "tinysystems.io/custom-label" SuggestedHttpPortAnnotation = "tinysystems.io/suggested-http-port" // ingress annotations IngressHostNameSuffixAnnotation = "tinysystems.io/ingress-hostname-suffix" IngressWildcardCertificateAnnotation = "tinysystems.io/ingress-wildcard-certificate" )
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 TinyNodeComponentStatus ¶ added in v0.1.31
type TinyNodeComponentStatus struct { // +kubebuilder:validation:Required Description string `json:"description"` // +kubebuilder:validation:Required Info string `json:"info"` // +kubebuilder:validation:Optional Tags []string `json:"tags"` }
func (*TinyNodeComponentStatus) DeepCopy ¶ added in v0.1.31
func (in *TinyNodeComponentStatus) DeepCopy() *TinyNodeComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeComponentStatus.
func (*TinyNodeComponentStatus) DeepCopyInto ¶ added in v0.1.31
func (in *TinyNodeComponentStatus) DeepCopyInto(out *TinyNodeComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 TinyNodeModuleStatus ¶ added in v0.1.31
type TinyNodeModuleStatus struct { // +kubebuilder:validation:Required Name string `json:"name"` // +kubebuilder:validation:Required Version string `json:"version"` }
func (*TinyNodeModuleStatus) DeepCopy ¶ added in v0.1.31
func (in *TinyNodeModuleStatus) DeepCopy() *TinyNodeModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinyNodeModuleStatus.
func (*TinyNodeModuleStatus) DeepCopyInto ¶ added in v0.1.31
func (in *TinyNodeModuleStatus) DeepCopyInto(out *TinyNodeModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` Control bool `json:"control"` 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"` }
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:Required Module TinyNodeModuleStatus `json:"module"` // +kubebuilder:validation:Required Component TinyNodeComponentStatus `json:"component"` // +kubebuilder:validation:Optional Ports []TinyNodePortStatus `json:"ports"` // +kubebuilder:validation:Optional Error string `json:"error,omitempty"` // +kubebuilder:validation:Optional Status string `json:"status,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 TinySignal ¶ added in v0.1.30
type TinySignal struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TinySignalSpec `json:"spec,omitempty"` Status TinySignalStatus `json:"status,omitempty"` }
TinySignal is the Schema for the tinysignals API
func (*TinySignal) DeepCopy ¶ added in v0.1.30
func (in *TinySignal) DeepCopy() *TinySignal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinySignal.
func (*TinySignal) DeepCopyInto ¶ added in v0.1.30
func (in *TinySignal) DeepCopyInto(out *TinySignal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinySignal) DeepCopyObject ¶ added in v0.1.30
func (in *TinySignal) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinySignalList ¶ added in v0.1.30
type TinySignalList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TinySignal `json:"items"` }
TinySignalList contains a list of TinySignal
func (*TinySignalList) DeepCopy ¶ added in v0.1.30
func (in *TinySignalList) DeepCopy() *TinySignalList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinySignalList.
func (*TinySignalList) DeepCopyInto ¶ added in v0.1.30
func (in *TinySignalList) DeepCopyInto(out *TinySignalList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TinySignalList) DeepCopyObject ¶ added in v0.1.30
func (in *TinySignalList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TinySignalSpec ¶ added in v0.1.30
type TinySignalSpec struct { // Foo is an example field of TinySignal. Edit tinysignal_types.go to remove/update Node string `json:"node"` Port string `json:"port"` // +kubebuilder:validation:Optional Data []byte `json:"data"` }
TinySignalSpec defines the desired state of TinySignal
func (*TinySignalSpec) DeepCopy ¶ added in v0.1.30
func (in *TinySignalSpec) DeepCopy() *TinySignalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinySignalSpec.
func (*TinySignalSpec) DeepCopyInto ¶ added in v0.1.30
func (in *TinySignalSpec) DeepCopyInto(out *TinySignalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TinySignalStatus ¶ added in v0.1.30
type TinySignalStatus struct { }
TinySignalStatus defines the observed state of TinySignal
func (*TinySignalStatus) DeepCopy ¶ added in v0.1.30
func (in *TinySignalStatus) DeepCopy() *TinySignalStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TinySignalStatus.
func (*TinySignalStatus) DeepCopyInto ¶ added in v0.1.30
func (in *TinySignalStatus) DeepCopyInto(out *TinySignalStatus)
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.