v1alpha1

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.k8s.kubemq.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.k8s.kubemq.io", Version: "v1alpha1"}

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

type GrafanaConfig struct {
	// +optional
	DashboardUrl string `json:"dashboardUrl,omitempty"`
	// +optional
	Image string `json:"image,omitempty"`
}

func (*GrafanaConfig) DeepCopy

func (in *GrafanaConfig) DeepCopy() *GrafanaConfig

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

func (*GrafanaConfig) DeepCopyInto

func (in *GrafanaConfig) DeepCopyInto(out *GrafanaConfig)

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

type KubemqCluster

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

	Spec   KubemqClusterSpec   `json:"spec,omitempty"`
	Status KubemqClusterStatus `json:"status,omitempty"`
}

func (*KubemqCluster) DeepCopy

func (in *KubemqCluster) DeepCopy() *KubemqCluster

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

func (*KubemqCluster) DeepCopyInto

func (in *KubemqCluster) DeepCopyInto(out *KubemqCluster)

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

func (*KubemqCluster) DeepCopyObject

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

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

type KubemqClusterList

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

KubemqClusterList contains a list of KubemqCluster

func (*KubemqClusterList) DeepCopy

func (in *KubemqClusterList) DeepCopy() *KubemqClusterList

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

func (*KubemqClusterList) DeepCopyInto

func (in *KubemqClusterList) DeepCopyInto(out *KubemqClusterList)

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

func (*KubemqClusterList) DeepCopyObject

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

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

type KubemqClusterSpec

type KubemqClusterSpec struct {
	// +optional
	// +kubebuilder:validation:Minimum=0
	Replicas *int32 `json:"replicas,omitempty"`

	// +optional
	ConfigData string `json:"configData,omitempty"`

	// +optional
	License string `json:"license,omitempty"`

	// +optional
	Key string `json:"key,omitempty"`

	// +optional
	Standalone bool `json:"standalone"`

	// +optional
	Volume *config.VolumeConfig `json:"volume,omitempty"`

	// +optional
	Image *config.ImageConfig `json:"image,omitempty"`

	// +optional
	Api *config.ApiConfig `json:"api,omitempty"`

	// +optional
	Rest *config.RestConfig `json:"rest,omitempty"`

	// +optional
	Grpc *config.GrpcConfig `json:"grpc,omitempty"`

	// +optional
	Tls *config.TlsConfig `json:"tls,omitempty"`

	// +optional
	Resources *config.ResourceConfig `json:"resources,omitempty"`

	// +optional
	NodeSelectors *config.NodeSelectorConfig `json:"nodeSelectors,omitempty"`

	// +optional
	Authentication *config.AuthenticationConfig `json:"authentication,omitempty"`

	// +optional
	Authorization *config.AuthorizationConfig `json:"authorization,omitempty"`

	// +optional
	Health *config.HealthConfig `json:"health,omitempty"`

	// +optional
	Routing *config.RoutingConfig `json:"routing,omitempty"`

	// +optional
	Log *config.LogConfig `json:"log,omitempty"`

	// +optional
	Notification *config.NotificationConfig `json:"notification,omitempty"`

	// +optional
	Store *config.StoreConfig `json:"store,omitempty"`

	// +optional
	Queue *config.QueueConfig `json:"queue,omitempty"`

	// +optional
	StatefulSetConfigData string `json:"statefulsetConfigData,omitempty"`
}

KubemqClusterSpec defines the desired state of KubemqCluster

func (*KubemqClusterSpec) DeepCopy

func (in *KubemqClusterSpec) DeepCopy() *KubemqClusterSpec

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

func (*KubemqClusterSpec) DeepCopyInto

func (in *KubemqClusterSpec) DeepCopyInto(out *KubemqClusterSpec)

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

type KubemqClusterStatus

type KubemqClusterStatus struct {
	Replicas *int32 `json:"replicas"`

	Version string `json:"version"`

	Ready int32 `json:"ready"`

	Grpc string `json:"grpc"`

	Rest string `json:"rest"`

	Api string `json:"api"`

	Selector string `json:"selector"`

	LicenseType string `json:"license_type"`

	LicenseTo string `json:"license_to"`

	LicenseExpire string `json:"license_expire"`

	Status string `json:"status"`
}

KubemqClusterStatus defines the observed state of KubemqCluster

func (*KubemqClusterStatus) DeepCopy

func (in *KubemqClusterStatus) DeepCopy() *KubemqClusterStatus

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

func (*KubemqClusterStatus) DeepCopyInto

func (in *KubemqClusterStatus) DeepCopyInto(out *KubemqClusterStatus)

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

type KubemqConnector

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

	Spec   KubemqConnectorSpec   `json:"spec,omitempty"`
	Status KubemqConnectorStatus `json:"status,omitempty"`
}

KubemqConnector is the Schema for the kubemqconnectors API

func (*KubemqConnector) DeepCopy

func (in *KubemqConnector) DeepCopy() *KubemqConnector

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

func (*KubemqConnector) DeepCopyInto

func (in *KubemqConnector) DeepCopyInto(out *KubemqConnector)

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

func (*KubemqConnector) DeepCopyObject

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

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

type KubemqConnectorList

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

KubemqConnectorList contains a list of KubemqConnector

func (*KubemqConnectorList) DeepCopy

func (in *KubemqConnectorList) DeepCopy() *KubemqConnectorList

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

func (*KubemqConnectorList) DeepCopyInto

func (in *KubemqConnectorList) DeepCopyInto(out *KubemqConnectorList)

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

func (*KubemqConnectorList) DeepCopyObject

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

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

type KubemqConnectorSpec

type KubemqConnectorSpec struct {
	Replicas *int32 `json:"replicas,omitempty"`

	Type string `json:"type"`

	// +optional
	Image string `json:"image,omitempty"`

	Config string `json:"config"`

	NodePort int32 `json:"node_port,omitempty"`

	ServiceType string `json:"service_type"`
}

KubemqConnectorSpec defines the desired state of KubemqConnector

func (*KubemqConnectorSpec) DeepCopy

func (in *KubemqConnectorSpec) DeepCopy() *KubemqConnectorSpec

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

func (*KubemqConnectorSpec) DeepCopyInto

func (in *KubemqConnectorSpec) DeepCopyInto(out *KubemqConnectorSpec)

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

type KubemqConnectorStatus

type KubemqConnectorStatus struct {
	Replicas int32 `json:"replicas"`

	Type string `json:"type"`

	Image string `json:"image"`

	Api string `json:"api"`

	Status string `json:"status"`
}

KubemqConnectorStatus defines the observed state of KubemqConnector

func (*KubemqConnectorStatus) DeepCopy

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

func (*KubemqConnectorStatus) DeepCopyInto

func (in *KubemqConnectorStatus) DeepCopyInto(out *KubemqConnectorStatus)

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

type KubemqDashboard

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

	Spec   KubemqDashboardSpec   `json:"spec,omitempty"`
	Status KubemqDashboardStatus `json:"status,omitempty"`
}

KubemqDashboard is the Schema for the kubemqdashboards API

func (*KubemqDashboard) DeepCopy

func (in *KubemqDashboard) DeepCopy() *KubemqDashboard

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

func (*KubemqDashboard) DeepCopyInto

func (in *KubemqDashboard) DeepCopyInto(out *KubemqDashboard)

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

func (*KubemqDashboard) DeepCopyObject

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

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

type KubemqDashboardList

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

func (*KubemqDashboardList) DeepCopy

func (in *KubemqDashboardList) DeepCopy() *KubemqDashboardList

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

func (*KubemqDashboardList) DeepCopyInto

func (in *KubemqDashboardList) DeepCopyInto(out *KubemqDashboardList)

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

func (*KubemqDashboardList) DeepCopyObject

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

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

type KubemqDashboardSpec

type KubemqDashboardSpec struct {
	// +optional
	Port int32 `json:"port,omitempty"`

	// +optional
	Prometheus *PrometheusConfig `json:"prometheus,omitempty"`

	// +optional
	Grafana *GrafanaConfig `json:"grafana,omitempty"`
}

KubemqDashboardSpec defines the desired state of KubemqDashboard

func (*KubemqDashboardSpec) DeepCopy

func (in *KubemqDashboardSpec) DeepCopy() *KubemqDashboardSpec

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

func (*KubemqDashboardSpec) DeepCopyInto

func (in *KubemqDashboardSpec) DeepCopyInto(out *KubemqDashboardSpec)

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

type KubemqDashboardStatus

type KubemqDashboardStatus struct {
	Status            string `json:"status"`
	Address           string `json:"address"`
	PrometheusVersion string `json:"prometheus_version"`
	GrafanaVersion    string `json:"grafana_version"`
}

KubemqDashboardStatus defines the observed state of KubemqDashboard

func (*KubemqDashboardStatus) DeepCopy

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

func (*KubemqDashboardStatus) DeepCopyInto

func (in *KubemqDashboardStatus) DeepCopyInto(out *KubemqDashboardStatus)

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

type PrometheusConfig

type PrometheusConfig struct {
	// +optional
	NodePort int32 `json:"nodePort,omitempty"`
	// +optional
	Image string `json:"image,omitempty"`
}

func (*PrometheusConfig) DeepCopy

func (in *PrometheusConfig) DeepCopy() *PrometheusConfig

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

func (*PrometheusConfig) DeepCopyInto

func (in *PrometheusConfig) DeepCopyInto(out *PrometheusConfig)

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

Directories

Path Synopsis
kubemqcluster

Jump to

Keyboard shortcuts

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