v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the siddhi v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=siddhi.io

Package v1alpha1 contains API Schema definitions for the siddhi v1alpha1 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: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

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 EnviromentVariable

type EnviromentVariable struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

EnviromentVariable to store env name and value

func (*EnviromentVariable) DeepCopy

func (in *EnviromentVariable) DeepCopy() *EnviromentVariable

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

func (*EnviromentVariable) DeepCopyInto

func (in *EnviromentVariable) DeepCopyInto(out *EnviromentVariable)

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

type Pod

type Pod struct {
	Image           string `json:"image"`
	ImageTag        string `json:"imageTag"`
	ImagePullSecret string `json:"imagePullSecret"`
}

Pod contains the POD details

func (*Pod) DeepCopy

func (in *Pod) DeepCopy() *Pod

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

func (*Pod) DeepCopyInto

func (in *Pod) DeepCopyInto(out *Pod)

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                []string             `json:"apps"`
	Query               string               `json:"query"`
	SiddhiConfig        string               `json:"siddhi.runner.configs"`
	EnviromentVariables []EnviromentVariable `json:"env"`
	SiddhiIngressTLS    TLS                  `json:"tls"`
	SiddhiPod           Pod                  `json:"pod"`
}

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.

type SiddhiProcessStatus

type SiddhiProcessStatus struct {
	Nodes  []string `json:"nodes"`
	Status string   `json:"status"`
}

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