v1alpha2

package
v0.2.0-m2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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 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 DeploymentConfig

type DeploymentConfig struct {
	Mode            string          `json:"mode"`
	MessagingSystem MessagingSystem `json:"messagingSystem"`
	PV              PV              `json:"persistenceVolume"`
}

DeploymentConfig contains the config details of the SiddhiProcess deployment

func (*DeploymentConfig) DeepCopy

func (in *DeploymentConfig) DeepCopy() *DeploymentConfig

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

func (*DeploymentConfig) DeepCopyInto

func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig)

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:"clusterId"`
	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 PV

type PV struct {
	AccessModes []string    `json:"accessModes"`
	VolumeMode  string      `json:"volumeMode"`
	Class       string      `json:"storageClassName"`
	Resources   PVCResource `json:"resources"`
}

PV contains the configurations of the persistence volume

func (*PV) DeepCopy

func (in *PV) DeepCopy() *PV

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

func (*PV) DeepCopyInto

func (in *PV) DeepCopyInto(out *PV)

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

func (*PV) Equals

func (p *PV) Equals(q *PV) bool

Equals function of PV check the equality of two PV structs

type PVCRequest

type PVCRequest struct {
	Storage string `json:"storage"`
}

PVCRequest hold resource details of the PVC

func (*PVCRequest) DeepCopy

func (in *PVCRequest) DeepCopy() *PVCRequest

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

func (*PVCRequest) DeepCopyInto

func (in *PVCRequest) DeepCopyInto(out *PVCRequest)

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

type PVCResource

type PVCResource struct {
	Requests PVCRequest `json:"requests"`
}

PVCResource contains PVC resource details

func (*PVCResource) DeepCopy

func (in *PVCResource) DeepCopy() *PVCResource

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

func (*PVCResource) DeepCopyInto

func (in *PVCResource) DeepCopyInto(out *PVCResource)

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"`
	PV              PV               `json:"persistentVolume"`
	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"`
}

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