v1alpha2

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 9 Imported by: 6

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

Constants

This section is empty.

Variables

View Source
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 EqualApps

func EqualApps(p []Apps, q []Apps) bool

EqualApps checks the equality of two app slices

func EqualContainers

func EqualContainers(p *corev1.Container, q *corev1.Container) bool

EqualContainers checks the equality of two container specs

func EqualsPVCSpec

EqualsPVCSpec function of PVC check the equality of two PV structs

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

type Apps struct {
	ConfigMap string `json:"configMap"`
	Script    string `json:"script"`
}

Apps siddhi apps

func (*Apps) DeepCopy

func (in *Apps) DeepCopy() *Apps

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Apps.

func (*Apps) DeepCopyInto

func (in *Apps) DeepCopyInto(out *Apps)

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

type PartialApp struct {
	DeploymentName string   `json:"deploymentName"`
	Apps           []string `json:"app"`
}

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

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

func (in *TLS) DeepCopy() *TLS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.

func (*TLS) DeepCopyInto

func (in *TLS) DeepCopyInto(out *TLS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL