Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the siddhi v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=siddhi.io
Package v1alpha2 contains API Schema definitions for the siddhi v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=siddhi.io
Index ¶
- Variables
- func EqualApps(p []Apps, q []Apps) bool
- func EqualContainers(p *corev1.Container, q *corev1.Container) bool
- func EqualsPVCSpec(p *corev1.PersistentVolumeClaimSpec, q *corev1.PersistentVolumeClaimSpec) bool
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- type Apps
- type MessagingConfig
- type MessagingSystem
- type PartialApp
- type SiddhiProcess
- type SiddhiProcessList
- type SiddhiProcessSpec
- type SiddhiProcessStatus
- type TLS
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "siddhi.io", Version: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func EqualContainers ¶
EqualContainers checks the equality of two container specs
func EqualsPVCSpec ¶
func EqualsPVCSpec(p *corev1.PersistentVolumeClaimSpec, q *corev1.PersistentVolumeClaimSpec) bool
EqualsPVCSpec function of PVC check the equality of two PV structs
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type Apps ¶
Apps siddhi apps
func (*Apps) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Apps.
func (*Apps) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingConfig ¶
type MessagingConfig struct { ClusterID string `json:"streamingClusterId"` BootstrapServers []string `json:"bootstrapServers"` }
MessagingConfig contains the configs of the messaging layer
func (*MessagingConfig) DeepCopy ¶
func (in *MessagingConfig) DeepCopy() *MessagingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingConfig.
func (*MessagingConfig) DeepCopyInto ¶
func (in *MessagingConfig) DeepCopyInto(out *MessagingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessagingSystem ¶
type MessagingSystem struct { Type string `json:"type"` Config MessagingConfig `json:"config"` }
MessagingSystem contains the details about the messaging layer
func (*MessagingSystem) DeepCopy ¶
func (in *MessagingSystem) DeepCopy() *MessagingSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessagingSystem.
func (*MessagingSystem) DeepCopyInto ¶
func (in *MessagingSystem) DeepCopyInto(out *MessagingSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MessagingSystem) EmptyConfig ¶
func (p *MessagingSystem) EmptyConfig() bool
EmptyConfig function of MessagingSystem check the equality of two MessagingSystem structs
func (*MessagingSystem) Equals ¶
func (p *MessagingSystem) Equals(q *MessagingSystem) bool
Equals function of MessagingSystem check the equality of two MessagingSystem structs
func (*MessagingSystem) TypeDefined ¶
func (p *MessagingSystem) TypeDefined() bool
TypeDefined function of MessagingSystem check the equality of two MessagingSystem structs
type PartialApp ¶ added in v0.2.1
PartialApp siddhi partial app
func (*PartialApp) DeepCopy ¶ added in v0.2.1
func (in *PartialApp) DeepCopy() *PartialApp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialApp.
func (*PartialApp) DeepCopyInto ¶ added in v0.2.1
func (in *PartialApp) DeepCopyInto(out *PartialApp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SiddhiProcess ¶
type SiddhiProcess struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SiddhiProcessSpec `json:"spec,omitempty"` Status SiddhiProcessStatus `json:"status,omitempty"` }
SiddhiProcess is the Schema for the siddhiprocesses API +k8s:openapi-gen=true
func (*SiddhiProcess) DeepCopy ¶
func (in *SiddhiProcess) DeepCopy() *SiddhiProcess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiddhiProcess.
func (*SiddhiProcess) DeepCopyInto ¶
func (in *SiddhiProcess) DeepCopyInto(out *SiddhiProcess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SiddhiProcess) DeepCopyObject ¶
func (in *SiddhiProcess) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SiddhiProcessList ¶
type SiddhiProcessList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SiddhiProcess `json:"items"` }
SiddhiProcessList contains a list of SiddhiProcess
func (*SiddhiProcessList) DeepCopy ¶
func (in *SiddhiProcessList) DeepCopy() *SiddhiProcessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiddhiProcessList.
func (*SiddhiProcessList) DeepCopyInto ¶
func (in *SiddhiProcessList) DeepCopyInto(out *SiddhiProcessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SiddhiProcessList) DeepCopyObject ¶
func (in *SiddhiProcessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SiddhiProcessSpec ¶
type SiddhiProcessSpec struct { Apps []Apps `json:"apps"` SiddhiConfig string `json:"runner"` Container corev1.Container `json:"container"` MessagingSystem MessagingSystem `json:"messagingSystem"` PVC corev1.PersistentVolumeClaimSpec `json:"persistentVolumeClaim"` ImagePullSecret string `json:"imagePullSecret"` }
SiddhiProcessSpec defines the desired state of SiddhiProcess +k8s:openapi-gen=true
func (*SiddhiProcessSpec) DeepCopy ¶
func (in *SiddhiProcessSpec) DeepCopy() *SiddhiProcessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiddhiProcessSpec.
func (*SiddhiProcessSpec) DeepCopyInto ¶
func (in *SiddhiProcessSpec) DeepCopyInto(out *SiddhiProcessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SiddhiProcessSpec) Equals ¶
func (p *SiddhiProcessSpec) Equals(q *SiddhiProcessSpec) bool
Equals function checks the equality of two SiddhiProcess specs
type SiddhiProcessStatus ¶
type SiddhiProcessStatus struct { Status string `json:"status"` Ready string `json:"ready"` CurrentVersion int64 `json:"currentVersion"` PreviousVersion int64 `json:"previousVersion"` EventType string `json:"eventType"` PartialApps []PartialApp `json:"partialApps"` }
SiddhiProcessStatus defines the observed state of SiddhiProcess +k8s:openapi-gen=true
func (*SiddhiProcessStatus) DeepCopy ¶
func (in *SiddhiProcessStatus) DeepCopy() *SiddhiProcessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiddhiProcessStatus.
func (*SiddhiProcessStatus) DeepCopyInto ¶
func (in *SiddhiProcessStatus) DeepCopyInto(out *SiddhiProcessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLS ¶
type TLS struct {
SecretName string `json:"ingressSecret"`
}
TLS contains the TLS configuration of ingress
func (*TLS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
func (*TLS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.