v1

package
v0.0.0-...-70f9892 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the eventmesh-operator v1 API group +kubebuilder:object:generate=true +groupName=eventmesh-operator.eventmesh

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "eventmesh-operator.eventmesh", Version: "v1"}

	// 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 Connectors

type Connectors struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ConnectorsSpec   `json:"spec,omitempty"`
	Status ConnectorsStatus `json:"status,omitempty"`
}

Connectors is the Schema for the Connectors API

func (*Connectors) DeepCopy

func (in *Connectors) DeepCopy() *Connectors

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

func (*Connectors) DeepCopyInto

func (in *Connectors) DeepCopyInto(out *Connectors)

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

func (*Connectors) DeepCopyObject

func (in *Connectors) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConnectorsList

type ConnectorsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Connectors `json:"items"`
}

ConnectorsList contains a list of Connectors

func (*ConnectorsList) DeepCopy

func (in *ConnectorsList) DeepCopy() *ConnectorsList

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

func (*ConnectorsList) DeepCopyInto

func (in *ConnectorsList) DeepCopyInto(out *ConnectorsList)

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

func (*ConnectorsList) DeepCopyObject

func (in *ConnectorsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConnectorsSpec

type ConnectorsSpec struct {

	// Size of connector
	Size int `json:"size"`
	// ConnectorContainers define some configuration
	ConnectorContainers []corev1.Container `json:"connectorContainers"`
	// HostNetwork can be true or false
	HostNetwork bool `json:"hostNetwork,omitempty"`
	// DNSPolicy Set DNS policy for the pod.
	DNSPolicy corev1.DNSPolicy `json:"dnsPolicy,omitempty"`
	// Volumes define the connector config
	Volumes []corev1.Volume `json:"volumes"`
	// ImagePullPolicy defines how the image is pulled
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
	// PodSecurityContext Pod Security Context
	PodSecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"`
	// ContainerSecurityContext Container Security Context
	ContainerSecurityContext *corev1.SecurityContext `json:"containerSecurityContext,omitempty"`
	// ImagePullSecrets The secrets used to pull image from private registry
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
	// Affinity the pod's scheduling constraints
	Affinity *corev1.Affinity `json:"affinity,omitempty"`
	// Tolerations the pod's tolerations.
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
	// NodeSelector is a selector which must be true for the pod to fit on a node
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// PriorityClassName indicates the pod's priority
	PriorityClassName string `json:"priorityClassName,omitempty"`
	// ServiceAccountName
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

ConnectorsSpec defines the desired state of ConnectorsSpec

func (*ConnectorsSpec) DeepCopy

func (in *ConnectorsSpec) DeepCopy() *ConnectorsSpec

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

func (*ConnectorsSpec) DeepCopyInto

func (in *ConnectorsSpec) DeepCopyInto(out *ConnectorsSpec)

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

type ConnectorsStatus

type ConnectorsStatus struct {
	Size int `json:"size"`

	Nodes []string `json:"nodes"`
}

ConnectorsStatus defines the observed state of ConnectorsStatus

func (*ConnectorsStatus) DeepCopy

func (in *ConnectorsStatus) DeepCopy() *ConnectorsStatus

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

func (*ConnectorsStatus) DeepCopyInto

func (in *ConnectorsStatus) DeepCopyInto(out *ConnectorsStatus)

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

type Runtime

type Runtime struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RuntimeSpec   `json:"spec,omitempty"`
	Status RuntimeStatus `json:"status,omitempty"`
}

Runtime is the Schema for the Runtime API

func (*Runtime) DeepCopy

func (in *Runtime) DeepCopy() *Runtime

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

func (*Runtime) DeepCopyInto

func (in *Runtime) DeepCopyInto(out *Runtime)

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

func (*Runtime) DeepCopyObject

func (in *Runtime) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RuntimeList

type RuntimeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Runtime `json:"items"`
}

RuntimeList contains a list of Runtime

func (*RuntimeList) DeepCopy

func (in *RuntimeList) DeepCopy() *RuntimeList

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

func (*RuntimeList) DeepCopyInto

func (in *RuntimeList) DeepCopyInto(out *RuntimeList)

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

func (*RuntimeList) DeepCopyObject

func (in *RuntimeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RuntimeSpec

type RuntimeSpec struct {

	// Size of runtime
	Size int `json:"size"`
	// AllowRestart defines whether allow pod restart
	AllowRestart bool `json:"allowRestart"`
	// ReplicaPerGroup each runtime's replica number
	ReplicaPerGroup int `json:"replicaPerGroup"`
	// RuntimePodTemplate define some configuration
	RuntimePodTemplate corev1.PodTemplate `json:"runtimePodTemplate"`
	// PodSecurityContext Pod Security Context
	PodSecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"`
	// ContainerSecurityContext Container Security Context
	ContainerSecurityContext *corev1.SecurityContext `json:"containerSecurityContext,omitempty"`
}

RuntimeSpec defines the desired state of Runtime

func (*RuntimeSpec) DeepCopy

func (in *RuntimeSpec) DeepCopy() *RuntimeSpec

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

func (*RuntimeSpec) DeepCopyInto

func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec)

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

type RuntimeStatus

type RuntimeStatus struct {
	Size int `json:"size"`

	Nodes []string `json:"nodes"`
}

RuntimeStatus defines the observed state of Runtime

func (*RuntimeStatus) DeepCopy

func (in *RuntimeStatus) DeepCopy() *RuntimeStatus

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

func (*RuntimeStatus) DeepCopyInto

func (in *RuntimeStatus) DeepCopyInto(out *RuntimeStatus)

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