Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the core v1beta1 API group +kubebuilder:object:generate=true +groupName=core.k8s.kubemq.io
Index ¶
- Variables
- type GrafanaConfig
- type KubemqCluster
- type KubemqClusterList
- type KubemqClusterSpec
- type KubemqClusterStatus
- type KubemqConnector
- type KubemqConnectorList
- type KubemqConnectorSpec
- type KubemqConnectorStatus
- type KubemqDashboard
- type KubemqDashboardList
- type KubemqDashboardSpec
- type KubemqDashboardStatus
- type PrometheusConfig
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.k8s.kubemq.io", Version: "v1beta1"} // 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" yaml:"spec,omitempty"` Status KubemqClusterStatus `json:"status,omitempty" yaml:"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" yaml:"inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Items []KubemqCluster `json:"items" yaml:"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" yaml:"replicas,omitempty"` // +optional ConfigData string `json:"configData,omitempty" yaml:"configData,omitempty"` // +optional License string `json:"license,omitempty" yaml:"license,omitempty"` // +optional Key string `json:"key,omitempty" yaml:"key,omitempty"` // +optional Standalone bool `json:"standalone,omitempty" yaml:"standalone,omitempty"` // +optional Volume *config.VolumeConfig `json:"volume,omitempty" yaml:"volume,omitempty"` // +optional Image *config.ImageConfig `json:"image,omitempty" yaml:"image,omitempty"` // +optional Api *config.ApiConfig `json:"api,omitempty" yaml:"api,omitempty"` // +optional Rest *config.RestConfig `json:"rest,omitempty" yaml:"rest,omitempty"` // +optional Grpc *config.GrpcConfig `json:"grpc,omitempty" yaml:"grpc,omitempty"` // +optional Tls *config.TlsConfig `json:"tls,omitempty" yaml:"tls,omitempty"` // +optional Resources *config.ResourceConfig `json:"resources,omitempty" yaml:"resources,omitempty"` // +optional NodeSelectors *config.NodeSelectorConfig `json:"nodeSelectors,omitempty" yaml:"nodeSelectors,omitempty"` // +optional Authentication *config.AuthenticationConfig `json:"authentication,omitempty" yaml:"authentication,omitempty"` // +optional Authorization *config.AuthorizationConfig `json:"authorization,omitempty" yaml:"authorization,omitempty"` // +optional Health *config.HealthConfig `json:"health,omitempty" yaml:"health,omitempty"` // +optional Routing *config.RoutingConfig `json:"routing,omitempty" yaml:"routing,omitempty"` // +optional Log *config.LogConfig `json:"log,omitempty" yaml:"log,omitempty"` // +optional Notification *config.NotificationConfig `json:"notification,omitempty" yaml:"notification,omitempty"` // +optional Store *config.StoreConfig `json:"store,omitempty" yaml:"store,omitempty"` // +optional Queue *config.QueueConfig `json:"queue,omitempty" yaml:"queue,omitempty"` // +optional StatefulSetConfigData string `json:"statefulsetConfigData,omitempty" yaml:"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" yaml:"replicas"` Version string `json:"version" yaml:"version"` Ready int32 `json:"ready" yaml:"ready"` Grpc string `json:"grpc" yaml:"grpc"` Rest string `json:"rest" yaml:"rest"` Api string `json:"api" yaml:"api"` Selector string `json:"selector" yaml:"selector"` LicenseType string `json:"license_type" yaml:"licenseType"` LicenseTo string `json:"license_to" yaml:"licenseTo"` LicenseExpire string `json:"license_expire" yaml:"licenseExpire"` Status string `json:"status" yaml:"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" yaml:"inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Spec KubemqConnectorSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status KubemqConnectorStatus `json:"status,omitempty" yaml:"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" yaml:"metav1.inline"` metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Items []KubemqConnector `json:"items" yaml:"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" yaml:"replicas,omitempty"` Type string `json:"type" yaml:"type"` // +optional Image string `json:"image,omitempty" yaml:"image,omitempty"` Config string `json:"config" yaml:"config"` NodePort int32 `json:"node_port,omitempty" yaml:"node_port"` ServiceType string `json:"service_type" yaml:"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" yaml:"replicas"` Type string `json:"type" yaml:"type"` Image string `json:"image" yaml:"image"` Api string `json:"api" yaml:"api"` Status string `json:"status" yaml:"status"` }
KubemqConnectorStatus defines the observed state of KubemqConnector
func (*KubemqConnectorStatus) DeepCopy ¶
func (in *KubemqConnectorStatus) DeepCopy() *KubemqConnectorStatus
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 ¶
func (in *KubemqDashboardStatus) DeepCopy() *KubemqDashboardStatus
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.