v1

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 16 Imported by: 6

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=monitor.tkestack.io

Index

Constants

View Source
const GroupName = "monitor.tkestack.io"

GroupName is the group name use in this package.

View Source
const Version = "v1"

Version is the version name use in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder collects functions that add things to a scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AddFieldLabelConversionsForPrometheus added in v1.3.1

func AddFieldLabelConversionsForPrometheus(scheme *runtime.Scheme) error

AddFieldLabelConversionsForPrometheus adds a conversion function to convert field selectors of Prometheus from the given version to internal version representation.

func Convert_monitor_ClusterOverviewResult_To_v1_ClusterOverviewResult added in v1.3.1

func Convert_monitor_ClusterOverviewResult_To_v1_ClusterOverviewResult(in *monitor.ClusterOverviewResult, out *ClusterOverviewResult, s conversion.Scope) error

Convert_monitor_ClusterOverviewResult_To_v1_ClusterOverviewResult is an autogenerated conversion function.

func Convert_monitor_ClusterOverview_To_v1_ClusterOverview added in v1.3.1

func Convert_monitor_ClusterOverview_To_v1_ClusterOverview(in *monitor.ClusterOverview, out *ClusterOverview, s conversion.Scope) error

Convert_monitor_ClusterOverview_To_v1_ClusterOverview is an autogenerated conversion function.

func Convert_monitor_ClusterStatistic_To_v1_ClusterStatistic added in v1.3.1

func Convert_monitor_ClusterStatistic_To_v1_ClusterStatistic(in *monitor.ClusterStatistic, out *ClusterStatistic, s conversion.Scope) error

Convert_monitor_ClusterStatistic_To_v1_ClusterStatistic is an autogenerated conversion function.

func Convert_monitor_ConfigMapList_To_v1_ConfigMapList

func Convert_monitor_ConfigMapList_To_v1_ConfigMapList(in *monitor.ConfigMapList, out *ConfigMapList, s conversion.Scope) error

Convert_monitor_ConfigMapList_To_v1_ConfigMapList is an autogenerated conversion function.

func Convert_monitor_ConfigMap_To_v1_ConfigMap

func Convert_monitor_ConfigMap_To_v1_ConfigMap(in *monitor.ConfigMap, out *ConfigMap, s conversion.Scope) error

Convert_monitor_ConfigMap_To_v1_ConfigMap is an autogenerated conversion function.

func Convert_monitor_MetricList_To_v1_MetricList

func Convert_monitor_MetricList_To_v1_MetricList(in *monitor.MetricList, out *MetricList, s conversion.Scope) error

Convert_monitor_MetricList_To_v1_MetricList is an autogenerated conversion function.

func Convert_monitor_MetricQueryCondition_To_v1_MetricQueryCondition

func Convert_monitor_MetricQueryCondition_To_v1_MetricQueryCondition(in *monitor.MetricQueryCondition, out *MetricQueryCondition, s conversion.Scope) error

Convert_monitor_MetricQueryCondition_To_v1_MetricQueryCondition is an autogenerated conversion function.

func Convert_monitor_MetricQuery_To_v1_MetricQuery

func Convert_monitor_MetricQuery_To_v1_MetricQuery(in *monitor.MetricQuery, out *MetricQuery, s conversion.Scope) error

Convert_monitor_MetricQuery_To_v1_MetricQuery is an autogenerated conversion function.

func Convert_monitor_Metric_To_v1_Metric

func Convert_monitor_Metric_To_v1_Metric(in *monitor.Metric, out *Metric, s conversion.Scope) error

Convert_monitor_Metric_To_v1_Metric is an autogenerated conversion function.

func Convert_monitor_PrometheusList_To_v1_PrometheusList added in v1.3.1

func Convert_monitor_PrometheusList_To_v1_PrometheusList(in *monitor.PrometheusList, out *PrometheusList, s conversion.Scope) error

Convert_monitor_PrometheusList_To_v1_PrometheusList is an autogenerated conversion function.

func Convert_monitor_PrometheusRemoteAddr_To_v1_PrometheusRemoteAddr added in v1.3.1

func Convert_monitor_PrometheusRemoteAddr_To_v1_PrometheusRemoteAddr(in *monitor.PrometheusRemoteAddr, out *PrometheusRemoteAddr, s conversion.Scope) error

Convert_monitor_PrometheusRemoteAddr_To_v1_PrometheusRemoteAddr is an autogenerated conversion function.

func Convert_monitor_PrometheusSpec_To_v1_PrometheusSpec added in v1.3.1

func Convert_monitor_PrometheusSpec_To_v1_PrometheusSpec(in *monitor.PrometheusSpec, out *PrometheusSpec, s conversion.Scope) error

Convert_monitor_PrometheusSpec_To_v1_PrometheusSpec is an autogenerated conversion function.

func Convert_monitor_PrometheusStatus_To_v1_PrometheusStatus added in v1.3.1

func Convert_monitor_PrometheusStatus_To_v1_PrometheusStatus(in *monitor.PrometheusStatus, out *PrometheusStatus, s conversion.Scope) error

Convert_monitor_PrometheusStatus_To_v1_PrometheusStatus is an autogenerated conversion function.

func Convert_monitor_Prometheus_To_v1_Prometheus added in v1.3.1

func Convert_monitor_Prometheus_To_v1_Prometheus(in *monitor.Prometheus, out *Prometheus, s conversion.Scope) error

Convert_monitor_Prometheus_To_v1_Prometheus is an autogenerated conversion function.

func Convert_monitor_ResourceRequirements_To_v1_ResourceRequirements added in v1.3.1

func Convert_monitor_ResourceRequirements_To_v1_ResourceRequirements(in *monitor.ResourceRequirements, out *ResourceRequirements, s conversion.Scope) error

Convert_monitor_ResourceRequirements_To_v1_ResourceRequirements is an autogenerated conversion function.

func Convert_v1_ClusterOverviewResult_To_monitor_ClusterOverviewResult added in v1.3.1

func Convert_v1_ClusterOverviewResult_To_monitor_ClusterOverviewResult(in *ClusterOverviewResult, out *monitor.ClusterOverviewResult, s conversion.Scope) error

Convert_v1_ClusterOverviewResult_To_monitor_ClusterOverviewResult is an autogenerated conversion function.

func Convert_v1_ClusterOverview_To_monitor_ClusterOverview added in v1.3.1

func Convert_v1_ClusterOverview_To_monitor_ClusterOverview(in *ClusterOverview, out *monitor.ClusterOverview, s conversion.Scope) error

Convert_v1_ClusterOverview_To_monitor_ClusterOverview is an autogenerated conversion function.

func Convert_v1_ClusterStatistic_To_monitor_ClusterStatistic added in v1.3.1

func Convert_v1_ClusterStatistic_To_monitor_ClusterStatistic(in *ClusterStatistic, out *monitor.ClusterStatistic, s conversion.Scope) error

Convert_v1_ClusterStatistic_To_monitor_ClusterStatistic is an autogenerated conversion function.

func Convert_v1_ConfigMapList_To_monitor_ConfigMapList

func Convert_v1_ConfigMapList_To_monitor_ConfigMapList(in *ConfigMapList, out *monitor.ConfigMapList, s conversion.Scope) error

Convert_v1_ConfigMapList_To_monitor_ConfigMapList is an autogenerated conversion function.

func Convert_v1_ConfigMap_To_monitor_ConfigMap

func Convert_v1_ConfigMap_To_monitor_ConfigMap(in *ConfigMap, out *monitor.ConfigMap, s conversion.Scope) error

Convert_v1_ConfigMap_To_monitor_ConfigMap is an autogenerated conversion function.

func Convert_v1_MetricList_To_monitor_MetricList

func Convert_v1_MetricList_To_monitor_MetricList(in *MetricList, out *monitor.MetricList, s conversion.Scope) error

Convert_v1_MetricList_To_monitor_MetricList is an autogenerated conversion function.

func Convert_v1_MetricQueryCondition_To_monitor_MetricQueryCondition

func Convert_v1_MetricQueryCondition_To_monitor_MetricQueryCondition(in *MetricQueryCondition, out *monitor.MetricQueryCondition, s conversion.Scope) error

Convert_v1_MetricQueryCondition_To_monitor_MetricQueryCondition is an autogenerated conversion function.

func Convert_v1_MetricQuery_To_monitor_MetricQuery

func Convert_v1_MetricQuery_To_monitor_MetricQuery(in *MetricQuery, out *monitor.MetricQuery, s conversion.Scope) error

Convert_v1_MetricQuery_To_monitor_MetricQuery is an autogenerated conversion function.

func Convert_v1_Metric_To_monitor_Metric

func Convert_v1_Metric_To_monitor_Metric(in *Metric, out *monitor.Metric, s conversion.Scope) error

Convert_v1_Metric_To_monitor_Metric is an autogenerated conversion function.

func Convert_v1_PrometheusList_To_monitor_PrometheusList added in v1.3.1

func Convert_v1_PrometheusList_To_monitor_PrometheusList(in *PrometheusList, out *monitor.PrometheusList, s conversion.Scope) error

Convert_v1_PrometheusList_To_monitor_PrometheusList is an autogenerated conversion function.

func Convert_v1_PrometheusRemoteAddr_To_monitor_PrometheusRemoteAddr added in v1.3.1

func Convert_v1_PrometheusRemoteAddr_To_monitor_PrometheusRemoteAddr(in *PrometheusRemoteAddr, out *monitor.PrometheusRemoteAddr, s conversion.Scope) error

Convert_v1_PrometheusRemoteAddr_To_monitor_PrometheusRemoteAddr is an autogenerated conversion function.

func Convert_v1_PrometheusSpec_To_monitor_PrometheusSpec added in v1.3.1

func Convert_v1_PrometheusSpec_To_monitor_PrometheusSpec(in *PrometheusSpec, out *monitor.PrometheusSpec, s conversion.Scope) error

Convert_v1_PrometheusSpec_To_monitor_PrometheusSpec is an autogenerated conversion function.

func Convert_v1_PrometheusStatus_To_monitor_PrometheusStatus added in v1.3.1

func Convert_v1_PrometheusStatus_To_monitor_PrometheusStatus(in *PrometheusStatus, out *monitor.PrometheusStatus, s conversion.Scope) error

Convert_v1_PrometheusStatus_To_monitor_PrometheusStatus is an autogenerated conversion function.

func Convert_v1_Prometheus_To_monitor_Prometheus added in v1.3.1

func Convert_v1_Prometheus_To_monitor_Prometheus(in *Prometheus, out *monitor.Prometheus, s conversion.Scope) error

Convert_v1_Prometheus_To_monitor_Prometheus is an autogenerated conversion function.

func Convert_v1_ResourceRequirements_To_monitor_ResourceRequirements added in v1.3.1

func Convert_v1_ResourceRequirements_To_monitor_ResourceRequirements(in *ResourceRequirements, out *monitor.ResourceRequirements, s conversion.Scope) error

Convert_v1_ResourceRequirements_To_monitor_ResourceRequirements is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a LocalGroup qualified GroupResource

func SetDefaults_ConfigMap

func SetDefaults_ConfigMap(obj *ConfigMap)

func SetDefaults_PrometheusStatus added in v1.3.1

func SetDefaults_PrometheusStatus(obj *PrometheusStatus)

func SetObjectDefaults_ConfigMap

func SetObjectDefaults_ConfigMap(in *ConfigMap)

func SetObjectDefaults_ConfigMapList

func SetObjectDefaults_ConfigMapList(in *ConfigMapList)

func SetObjectDefaults_Prometheus added in v1.3.1

func SetObjectDefaults_Prometheus(in *Prometheus)

func SetObjectDefaults_PrometheusList added in v1.3.1

func SetObjectDefaults_PrometheusList(in *PrometheusList)

Types

type AddonPhase added in v1.3.1

type AddonPhase string

AddonPhase defines the phase of helm constructor.

const (
	// AddonPhaseInitializing means is wait initializing.
	AddonPhaseInitializing AddonPhase = "Initializing"
	// AddonPhaseReinitializing means is reinitializing.
	AddonPhaseReinitializing AddonPhase = "Reinitializing"
	// AddonPhaseChecking means is wait checking.
	AddonPhaseChecking AddonPhase = "Checking"
	// AddonPhaseRunning means is running.
	AddonPhaseRunning AddonPhase = "Running"
	// AddonPhaseUpgrading means is upgrading.
	AddonPhaseUpgrading AddonPhase = "Upgrading"
	// AddonPhaseFailed means has been failed.
	AddonPhaseFailed AddonPhase = "Failed"
	// AddonPhasePending means the controller is proceeding deploying
	AddonPhasePending AddonPhase = "Pending"
	// AddonPhaseUnhealthy means some pods of GPUManager is partial running
	AddonPhaseUnhealthy AddonPhase = "Unhealthy"
	// AddonPhaseTerminating means addon terminating
	AddonPhaseTerminating AddonPhase = "Terminating"
	// AddonPhaseUnknown means addon unknown
	AddonPhaseUnknown AddonPhase = "Unknown"
)

type ClusterOverview added in v1.3.1

type ClusterOverview struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// +optional
	Result *ClusterOverviewResult `json:"result,omitempty" protobuf:"bytes,2,opt,name=result"`
}

ClusterOverview defines the structure for querying clusters' overview data request and result.

func (*ClusterOverview) DeepCopy added in v1.3.1

func (in *ClusterOverview) DeepCopy() *ClusterOverview

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

func (*ClusterOverview) DeepCopyInto added in v1.3.1

func (in *ClusterOverview) DeepCopyInto(out *ClusterOverview)

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

func (*ClusterOverview) DeepCopyObject added in v1.3.1

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

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

func (*ClusterOverview) Descriptor added in v1.3.1

func (*ClusterOverview) Descriptor() ([]byte, []int)

func (*ClusterOverview) Marshal added in v1.3.1

func (m *ClusterOverview) Marshal() (dAtA []byte, err error)

func (*ClusterOverview) MarshalTo added in v1.3.1

func (m *ClusterOverview) MarshalTo(dAtA []byte) (int, error)

func (*ClusterOverview) MarshalToSizedBuffer added in v1.3.1

func (m *ClusterOverview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterOverview) ProtoMessage added in v1.3.1

func (*ClusterOverview) ProtoMessage()

func (*ClusterOverview) Reset added in v1.3.1

func (m *ClusterOverview) Reset()

func (*ClusterOverview) Size added in v1.3.1

func (m *ClusterOverview) Size() (n int)

func (*ClusterOverview) String added in v1.3.1

func (this *ClusterOverview) String() string

func (ClusterOverview) SwaggerDoc added in v1.3.1

func (ClusterOverview) SwaggerDoc() map[string]string

func (*ClusterOverview) Unmarshal added in v1.3.1

func (m *ClusterOverview) Unmarshal(dAtA []byte) error

func (*ClusterOverview) XXX_DiscardUnknown added in v1.3.1

func (m *ClusterOverview) XXX_DiscardUnknown()

func (*ClusterOverview) XXX_Marshal added in v1.3.1

func (m *ClusterOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterOverview) XXX_Merge added in v1.3.1

func (m *ClusterOverview) XXX_Merge(src proto.Message)

func (*ClusterOverview) XXX_Size added in v1.3.1

func (m *ClusterOverview) XXX_Size() int

func (*ClusterOverview) XXX_Unmarshal added in v1.3.1

func (m *ClusterOverview) XXX_Unmarshal(b []byte) error

type ClusterOverviewResult added in v1.3.1

type ClusterOverviewResult struct {
	ClusterCount           int32               `json:"clusterCount" protobuf:"bytes,1,opt,name=clusterCount"`
	ClusterAbnormal        int32               `json:"clusterAbnormal" protobuf:"bytes,2,opt,name=clusterAbnormal"`
	ProjectCount           int32               `json:"projectCount" protobuf:"bytes,3,opt,name=projectCount"`
	ProjectAbnormal        int32               `json:"projectAbnormal" protobuf:"bytes,4,opt,name=projectAbnormal"`
	NodeCount              int32               `json:"nodeCount" protobuf:"bytes,5,opt,name=nodeCount"`
	NodeAbnormal           int32               `json:"nodeAbnormal" protobuf:"bytes,6,opt,name=nodeAbnormal"`
	WorkloadCount          int32               `json:"workloadCount" protobuf:"bytes,7,opt,name=workloadCount"`
	WorkloadAbnormal       int32               `json:"workloadAbnormal" protobuf:"bytes,8,opt,name=workloadAbnormal"`
	CPUCapacity            float64             `json:"cpuCapacity" protobuf:"bytes,9,opt,name=cpuCapacity"`
	CPUAllocatable         float64             `json:"cpuAllocatable" protobuf:"bytes,10,opt,name=cpuAllocatable"`
	CPUNotReadyCapacity    float64             `json:"cpuNotReadyCapacity" protobuf:"bytes,11,opt,name=cpuNotReadyCapacity"`
	CPUNotReadyAllocatable float64             `json:"cpuNotReadyAllocatable" protobuf:"bytes,12,opt,name=cpuNotReadyAllocatable"`
	MemCapacity            int64               `json:"memCapacity" protobuf:"bytes,13,opt,name=memCapacity"`
	MemAllocatable         int64               `json:"memAllocatable" protobuf:"bytes,14,opt,name=memAllocatable"`
	MemNotReadyCapacity    int64               `json:"memNotReadyCapacity" protobuf:"bytes,15,opt,name=memNotReadyCapacity"`
	MemNotReadyAllocatable int64               `json:"memNotReadyAllocatable" protobuf:"bytes,16,opt,name=memNotReadyAllocatable"`
	PodCount               int32               `json:"podCount" protobuf:"bytes,17,opt,name=podCount"`
	Clusters               []*ClusterStatistic `json:"clusters" protobuf:"bytes,18,opt,name=clusters"`
}

func (*ClusterOverviewResult) DeepCopy added in v1.3.1

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

func (*ClusterOverviewResult) DeepCopyInto added in v1.3.1

func (in *ClusterOverviewResult) DeepCopyInto(out *ClusterOverviewResult)

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

func (*ClusterOverviewResult) Descriptor added in v1.3.1

func (*ClusterOverviewResult) Descriptor() ([]byte, []int)

func (*ClusterOverviewResult) Marshal added in v1.3.1

func (m *ClusterOverviewResult) Marshal() (dAtA []byte, err error)

func (*ClusterOverviewResult) MarshalTo added in v1.3.1

func (m *ClusterOverviewResult) MarshalTo(dAtA []byte) (int, error)

func (*ClusterOverviewResult) MarshalToSizedBuffer added in v1.3.1

func (m *ClusterOverviewResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterOverviewResult) ProtoMessage added in v1.3.1

func (*ClusterOverviewResult) ProtoMessage()

func (*ClusterOverviewResult) Reset added in v1.3.1

func (m *ClusterOverviewResult) Reset()

func (*ClusterOverviewResult) Size added in v1.3.1

func (m *ClusterOverviewResult) Size() (n int)

func (*ClusterOverviewResult) String added in v1.3.1

func (this *ClusterOverviewResult) String() string

func (*ClusterOverviewResult) Unmarshal added in v1.3.1

func (m *ClusterOverviewResult) Unmarshal(dAtA []byte) error

func (*ClusterOverviewResult) XXX_DiscardUnknown added in v1.3.1

func (m *ClusterOverviewResult) XXX_DiscardUnknown()

func (*ClusterOverviewResult) XXX_Marshal added in v1.3.1

func (m *ClusterOverviewResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterOverviewResult) XXX_Merge added in v1.3.1

func (m *ClusterOverviewResult) XXX_Merge(src proto.Message)

func (*ClusterOverviewResult) XXX_Size added in v1.3.1

func (m *ClusterOverviewResult) XXX_Size() int

func (*ClusterOverviewResult) XXX_Unmarshal added in v1.3.1

func (m *ClusterOverviewResult) XXX_Unmarshal(b []byte) error

type ClusterStatistic added in v1.3.1

type ClusterStatistic struct {
	ClusterID                string  `json:"clusterID" protobuf:"bytes,1,opt,name=clusterID"`
	ClusterDisplayName       string  `json:"clusterDisplayName" protobuf:"bytes,2,opt,name=clusterDisplayName"`
	TenantID                 string  `json:"tenantID" protobuf:"bytes,3,opt,name=tenantID"`
	ClusterPhase             string  `json:"clusterPhase" protobuf:"bytes,4,opt,name=clusterPhase"`
	NodeCount                int32   `json:"nodeCount" protobuf:"bytes,5,opt,name=nodeCount"`
	NodeAbnormal             int32   `json:"nodeAbnormal" protobuf:"bytes,6,opt,name=nodeAbnormal"`
	WorkloadCount            int32   `json:"workloadCount" protobuf:"bytes,7,opt,name=workloadCount"`
	WorkloadAbnormal         int32   `json:"workloadAbnormal" protobuf:"bytes,8,opt,name=workloadAbnormal"`
	HasMetricServer          bool    `json:"hasMetricServer" protobuf:"bytes,9,opt,name=hasMetricServer"`
	CPUUsed                  float64 `json:"cpuUsed" protobuf:"bytes,10,opt,name=cpuUsed"`
	CPURequest               float64 `json:"cpuRequest" protobuf:"bytes,11,opt,name=cpuRequest"`
	CPULimit                 float64 `json:"cpuLimit" protobuf:"bytes,12,opt,name=cpuLimit"`
	CPUCapacity              float64 `json:"cpuCapacity" protobuf:"bytes,13,opt,name=cpuCapacity"`
	CPUAllocatable           float64 `json:"cpuAllocatable" protobuf:"bytes,14,opt,name=cpuAllocatable"`
	CPUNotReadyCapacity      float64 `json:"cpuNotReadyCapacity" protobuf:"bytes,15,opt,name=cpuNotReadyCapacity"`
	CPUNotReadyAllocatable   float64 `json:"cpuNotReadyAllocatable" protobuf:"bytes,16,opt,name=cpuNotReadyAllocatable"`
	CPURequestRate           string  `json:"cpuRequestRate" protobuf:"bytes,17,opt,name=cpuRequestRate"`
	CPUAllocatableRate       string  `json:"cpuAllocatableRate" protobuf:"bytes,18,opt,name=cpuAllocatableRate"`
	CPUUsage                 string  `json:"cpuUsage" protobuf:"bytes,19,opt,name=cpuUsage"`
	MemUsed                  int64   `json:"memUsed" protobuf:"bytes,20,opt,name=memUsed"`
	MemRequest               int64   `json:"memRequest" protobuf:"bytes,21,opt,name=memRequest"`
	MemLimit                 int64   `json:"memLimit" protobuf:"bytes,22,opt,name=memLimit"`
	MemCapacity              int64   `json:"memCapacity" protobuf:"bytes,23,opt,name=memCapacity"`
	MemAllocatable           int64   `json:"memAllocatable" protobuf:"bytes,24,opt,name=memAllocatable"`
	MemNotReadyCapacity      int64   `json:"memNotReadyCapacity" protobuf:"bytes,25,opt,name=memNotReadyCapacity"`
	MemNotReadyAllocatable   int64   `json:"memNotReadyAllocatable" protobuf:"bytes,26,opt,name=memNotReadyAllocatable"`
	MemRequestRate           string  `json:"memRequestRate" protobuf:"bytes,27,opt,name=memRequestRate"`
	MemAllocatableRate       string  `json:"memAllocatableRate" protobuf:"bytes,28,opt,name=memAllocatableRate"`
	MemUsage                 string  `json:"memUsage" protobuf:"bytes,29,opt,name=memUsage"`
	PodCount                 int32   `json:"podCount" protobuf:"bytes,30,opt,name=podCount"`
	SchedulerHealthy         bool    `json:"schedulerHealthy" protobuf:"bytes,31,opt,name=schedulerHealthy"`
	ControllerManagerHealthy bool    `json:"controllerManagerHealthy" protobuf:"bytes,32,opt,name=controllerManagerHealthy"`
	EtcdHealthy              bool    `json:"etcdHealthy" protobuf:"bytes,33,opt,name=etcdHealthy"`
}

func (*ClusterStatistic) DeepCopy added in v1.3.1

func (in *ClusterStatistic) DeepCopy() *ClusterStatistic

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

func (*ClusterStatistic) DeepCopyInto added in v1.3.1

func (in *ClusterStatistic) DeepCopyInto(out *ClusterStatistic)

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

func (*ClusterStatistic) Descriptor added in v1.3.1

func (*ClusterStatistic) Descriptor() ([]byte, []int)

func (*ClusterStatistic) Marshal added in v1.3.1

func (m *ClusterStatistic) Marshal() (dAtA []byte, err error)

func (*ClusterStatistic) MarshalTo added in v1.3.1

func (m *ClusterStatistic) MarshalTo(dAtA []byte) (int, error)

func (*ClusterStatistic) MarshalToSizedBuffer added in v1.3.1

func (m *ClusterStatistic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterStatistic) ProtoMessage added in v1.3.1

func (*ClusterStatistic) ProtoMessage()

func (*ClusterStatistic) Reset added in v1.3.1

func (m *ClusterStatistic) Reset()

func (*ClusterStatistic) Size added in v1.3.1

func (m *ClusterStatistic) Size() (n int)

func (*ClusterStatistic) String added in v1.3.1

func (this *ClusterStatistic) String() string

func (*ClusterStatistic) Unmarshal added in v1.3.1

func (m *ClusterStatistic) Unmarshal(dAtA []byte) error

func (*ClusterStatistic) XXX_DiscardUnknown added in v1.3.1

func (m *ClusterStatistic) XXX_DiscardUnknown()

func (*ClusterStatistic) XXX_Marshal added in v1.3.1

func (m *ClusterStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterStatistic) XXX_Merge added in v1.3.1

func (m *ClusterStatistic) XXX_Merge(src proto.Message)

func (*ClusterStatistic) XXX_Size added in v1.3.1

func (m *ClusterStatistic) XXX_Size() int

func (*ClusterStatistic) XXX_Unmarshal added in v1.3.1

func (m *ClusterStatistic) XXX_Unmarshal(b []byte) error

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// +optional
	BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"`
}

ConfigMap holds configuration data for tke to consume.

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

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

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

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

func (*ConfigMap) DeepCopyObject

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

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

func (*ConfigMap) Descriptor

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) Size

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapList

type ConfigMapList struct {
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ConfigMaps.
	Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

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

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

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

func (*ConfigMapList) DeepCopyObject

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

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

func (*ConfigMapList) Descriptor

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type Metric

type Metric struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// +optional
	Query MetricQuery `json:"query,omitempty" protobuf:"bytes,2,opt,name=query"`
	// +optional
	JSONResult string `json:"jsonResult,omitempty" protobuf:"bytes,3,opt,name=jsonResult"`
}

Metric defines the structure for querying monitoring data requests and results.

func (*Metric) DeepCopy

func (in *Metric) DeepCopy() *Metric

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

func (*Metric) DeepCopyInto

func (in *Metric) DeepCopyInto(out *Metric)

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

func (*Metric) DeepCopyObject

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

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

func (*Metric) Descriptor

func (*Metric) Descriptor() ([]byte, []int)

func (*Metric) Marshal

func (m *Metric) Marshal() (dAtA []byte, err error)

func (*Metric) MarshalTo

func (m *Metric) MarshalTo(dAtA []byte) (int, error)

func (*Metric) MarshalToSizedBuffer

func (m *Metric) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) Size

func (m *Metric) Size() (n int)

func (*Metric) String

func (this *Metric) String() string

func (Metric) SwaggerDoc

func (Metric) SwaggerDoc() map[string]string

func (*Metric) Unmarshal

func (m *Metric) Unmarshal(dAtA []byte) error

func (*Metric) XXX_DiscardUnknown

func (m *Metric) XXX_DiscardUnknown()

func (*Metric) XXX_Marshal

func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metric) XXX_Merge

func (m *Metric) XXX_Merge(src proto.Message)

func (*Metric) XXX_Size

func (m *Metric) XXX_Size() int

func (*Metric) XXX_Unmarshal

func (m *Metric) XXX_Unmarshal(b []byte) error

type MetricList

type MetricList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of metrics
	Items []Metric `json:"items" protobuf:"bytes,2,rep,name=items"`
}

MetricList is the whole list of all metrics.

func (*MetricList) DeepCopy

func (in *MetricList) DeepCopy() *MetricList

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

func (*MetricList) DeepCopyInto

func (in *MetricList) DeepCopyInto(out *MetricList)

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

func (*MetricList) DeepCopyObject

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

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

func (*MetricList) Descriptor

func (*MetricList) Descriptor() ([]byte, []int)

func (*MetricList) Marshal

func (m *MetricList) Marshal() (dAtA []byte, err error)

func (*MetricList) MarshalTo

func (m *MetricList) MarshalTo(dAtA []byte) (int, error)

func (*MetricList) MarshalToSizedBuffer

func (m *MetricList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricList) ProtoMessage

func (*MetricList) ProtoMessage()

func (*MetricList) Reset

func (m *MetricList) Reset()

func (*MetricList) Size

func (m *MetricList) Size() (n int)

func (*MetricList) String

func (this *MetricList) String() string

func (MetricList) SwaggerDoc

func (MetricList) SwaggerDoc() map[string]string

func (*MetricList) Unmarshal

func (m *MetricList) Unmarshal(dAtA []byte) error

func (*MetricList) XXX_DiscardUnknown

func (m *MetricList) XXX_DiscardUnknown()

func (*MetricList) XXX_Marshal

func (m *MetricList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricList) XXX_Merge

func (m *MetricList) XXX_Merge(src proto.Message)

func (*MetricList) XXX_Size

func (m *MetricList) XXX_Size() int

func (*MetricList) XXX_Unmarshal

func (m *MetricList) XXX_Unmarshal(b []byte) error

type MetricQuery

type MetricQuery struct {
	Table string `json:"table" protobuf:"bytes,1,opt,name=table"`
	// +optional
	StartTime *int64 `json:"startTime,omitempty" protobuf:"varint,2,opt,name=startTime"`
	// +optional
	EndTime    *int64                 `json:"endTime,omitempty" protobuf:"varint,3,opt,name=endTime"`
	Fields     []string               `json:"fields" protobuf:"bytes,4,rep,name=fields"`
	Conditions []MetricQueryCondition `json:"conditions" protobuf:"bytes,5,rep,name=conditions"`
	// +optional
	OrderBy string `json:"orderBy,omitempty" protobuf:"bytes,6,opt,name=orderBy"`
	// +optional
	Order   string   `json:"order,omitempty" protobuf:"bytes,7,opt,name=order"`
	GroupBy []string `json:"groupBy" protobuf:"bytes,8,rep,name=groupBy"`
	Limit   int32    `json:"limit" protobuf:"varint,9,opt,name=limit"`
	Offset  int32    `json:"offset" protobuf:"varint,10,opt,name=offset"`
}

func (*MetricQuery) DeepCopy

func (in *MetricQuery) DeepCopy() *MetricQuery

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

func (*MetricQuery) DeepCopyInto

func (in *MetricQuery) DeepCopyInto(out *MetricQuery)

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

func (*MetricQuery) Descriptor

func (*MetricQuery) Descriptor() ([]byte, []int)

func (*MetricQuery) Marshal

func (m *MetricQuery) Marshal() (dAtA []byte, err error)

func (*MetricQuery) MarshalTo

func (m *MetricQuery) MarshalTo(dAtA []byte) (int, error)

func (*MetricQuery) MarshalToSizedBuffer

func (m *MetricQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricQuery) ProtoMessage

func (*MetricQuery) ProtoMessage()

func (*MetricQuery) Reset

func (m *MetricQuery) Reset()

func (*MetricQuery) Size

func (m *MetricQuery) Size() (n int)

func (*MetricQuery) String

func (this *MetricQuery) String() string

func (*MetricQuery) Unmarshal

func (m *MetricQuery) Unmarshal(dAtA []byte) error

func (*MetricQuery) XXX_DiscardUnknown

func (m *MetricQuery) XXX_DiscardUnknown()

func (*MetricQuery) XXX_Marshal

func (m *MetricQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricQuery) XXX_Merge

func (m *MetricQuery) XXX_Merge(src proto.Message)

func (*MetricQuery) XXX_Size

func (m *MetricQuery) XXX_Size() int

func (*MetricQuery) XXX_Unmarshal

func (m *MetricQuery) XXX_Unmarshal(b []byte) error

type MetricQueryCondition

type MetricQueryCondition struct {
	Key   string `json:"key" protobuf:"bytes,1,opt,name=key"`
	Expr  string `json:"expr" protobuf:"bytes,2,opt,name=expr"`
	Value string `json:"value" protobuf:"bytes,3,opt,name=value"`
}

func (*MetricQueryCondition) DeepCopy

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

func (*MetricQueryCondition) DeepCopyInto

func (in *MetricQueryCondition) DeepCopyInto(out *MetricQueryCondition)

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

func (*MetricQueryCondition) Descriptor

func (*MetricQueryCondition) Descriptor() ([]byte, []int)

func (*MetricQueryCondition) Marshal

func (m *MetricQueryCondition) Marshal() (dAtA []byte, err error)

func (*MetricQueryCondition) MarshalTo

func (m *MetricQueryCondition) MarshalTo(dAtA []byte) (int, error)

func (*MetricQueryCondition) MarshalToSizedBuffer

func (m *MetricQueryCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricQueryCondition) ProtoMessage

func (*MetricQueryCondition) ProtoMessage()

func (*MetricQueryCondition) Reset

func (m *MetricQueryCondition) Reset()

func (*MetricQueryCondition) Size

func (m *MetricQueryCondition) Size() (n int)

func (*MetricQueryCondition) String

func (this *MetricQueryCondition) String() string

func (*MetricQueryCondition) Unmarshal

func (m *MetricQueryCondition) Unmarshal(dAtA []byte) error

func (*MetricQueryCondition) XXX_DiscardUnknown

func (m *MetricQueryCondition) XXX_DiscardUnknown()

func (*MetricQueryCondition) XXX_Marshal

func (m *MetricQueryCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricQueryCondition) XXX_Merge

func (m *MetricQueryCondition) XXX_Merge(src proto.Message)

func (*MetricQueryCondition) XXX_Size

func (m *MetricQueryCondition) XXX_Size() int

func (*MetricQueryCondition) XXX_Unmarshal

func (m *MetricQueryCondition) XXX_Unmarshal(b []byte) error

type Prometheus added in v1.3.1

type Prometheus struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of clusters in this set.
	// +optional
	Spec PrometheusSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status PrometheusStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Prometheus is a kubernetes package manager.

func (*Prometheus) DeepCopy added in v1.3.1

func (in *Prometheus) DeepCopy() *Prometheus

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

func (*Prometheus) DeepCopyInto added in v1.3.1

func (in *Prometheus) DeepCopyInto(out *Prometheus)

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

func (*Prometheus) DeepCopyObject added in v1.3.1

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

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

func (*Prometheus) Descriptor added in v1.3.1

func (*Prometheus) Descriptor() ([]byte, []int)

func (*Prometheus) Marshal added in v1.3.1

func (m *Prometheus) Marshal() (dAtA []byte, err error)

func (*Prometheus) MarshalTo added in v1.3.1

func (m *Prometheus) MarshalTo(dAtA []byte) (int, error)

func (*Prometheus) MarshalToSizedBuffer added in v1.3.1

func (m *Prometheus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Prometheus) ProtoMessage added in v1.3.1

func (*Prometheus) ProtoMessage()

func (*Prometheus) Reset added in v1.3.1

func (m *Prometheus) Reset()

func (*Prometheus) Size added in v1.3.1

func (m *Prometheus) Size() (n int)

func (*Prometheus) String added in v1.3.1

func (this *Prometheus) String() string

func (Prometheus) SwaggerDoc added in v1.3.1

func (Prometheus) SwaggerDoc() map[string]string

func (*Prometheus) Unmarshal added in v1.3.1

func (m *Prometheus) Unmarshal(dAtA []byte) error

func (*Prometheus) XXX_DiscardUnknown added in v1.3.1

func (m *Prometheus) XXX_DiscardUnknown()

func (*Prometheus) XXX_Marshal added in v1.3.1

func (m *Prometheus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Prometheus) XXX_Merge added in v1.3.1

func (m *Prometheus) XXX_Merge(src proto.Message)

func (*Prometheus) XXX_Size added in v1.3.1

func (m *Prometheus) XXX_Size() int

func (*Prometheus) XXX_Unmarshal added in v1.3.1

func (m *Prometheus) XXX_Unmarshal(b []byte) error

type PrometheusList added in v1.3.1

type PrometheusList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of Prometheuss
	Items []Prometheus `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PrometheusList is the whole list of all prometheus which owned by a tenant.

func (*PrometheusList) DeepCopy added in v1.3.1

func (in *PrometheusList) DeepCopy() *PrometheusList

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

func (*PrometheusList) DeepCopyInto added in v1.3.1

func (in *PrometheusList) DeepCopyInto(out *PrometheusList)

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

func (*PrometheusList) DeepCopyObject added in v1.3.1

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

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

func (*PrometheusList) Descriptor added in v1.3.1

func (*PrometheusList) Descriptor() ([]byte, []int)

func (*PrometheusList) Marshal added in v1.3.1

func (m *PrometheusList) Marshal() (dAtA []byte, err error)

func (*PrometheusList) MarshalTo added in v1.3.1

func (m *PrometheusList) MarshalTo(dAtA []byte) (int, error)

func (*PrometheusList) MarshalToSizedBuffer added in v1.3.1

func (m *PrometheusList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrometheusList) ProtoMessage added in v1.3.1

func (*PrometheusList) ProtoMessage()

func (*PrometheusList) Reset added in v1.3.1

func (m *PrometheusList) Reset()

func (*PrometheusList) Size added in v1.3.1

func (m *PrometheusList) Size() (n int)

func (*PrometheusList) String added in v1.3.1

func (this *PrometheusList) String() string

func (PrometheusList) SwaggerDoc added in v1.3.1

func (PrometheusList) SwaggerDoc() map[string]string

func (*PrometheusList) Unmarshal added in v1.3.1

func (m *PrometheusList) Unmarshal(dAtA []byte) error

func (*PrometheusList) XXX_DiscardUnknown added in v1.3.1

func (m *PrometheusList) XXX_DiscardUnknown()

func (*PrometheusList) XXX_Marshal added in v1.3.1

func (m *PrometheusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrometheusList) XXX_Merge added in v1.3.1

func (m *PrometheusList) XXX_Merge(src proto.Message)

func (*PrometheusList) XXX_Size added in v1.3.1

func (m *PrometheusList) XXX_Size() int

func (*PrometheusList) XXX_Unmarshal added in v1.3.1

func (m *PrometheusList) XXX_Unmarshal(b []byte) error

type PrometheusRemoteAddr added in v1.3.1

type PrometheusRemoteAddr struct {
	WriteAddr []string `json:"writeAddr,omitempty" protobuf:"bytes,1,opt,name=writeAddr"`
	ReadAddr  []string `json:"readAddr,omitempty" protobuf:"bytes,2,opt,name=readAddr"`
}

PrometheusRemoteAddr is the remote write/read address for prometheus

func (*PrometheusRemoteAddr) DeepCopy added in v1.3.1

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

func (*PrometheusRemoteAddr) DeepCopyInto added in v1.3.1

func (in *PrometheusRemoteAddr) DeepCopyInto(out *PrometheusRemoteAddr)

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

func (*PrometheusRemoteAddr) Descriptor added in v1.3.1

func (*PrometheusRemoteAddr) Descriptor() ([]byte, []int)

func (*PrometheusRemoteAddr) Marshal added in v1.3.1

func (m *PrometheusRemoteAddr) Marshal() (dAtA []byte, err error)

func (*PrometheusRemoteAddr) MarshalTo added in v1.3.1

func (m *PrometheusRemoteAddr) MarshalTo(dAtA []byte) (int, error)

func (*PrometheusRemoteAddr) MarshalToSizedBuffer added in v1.3.1

func (m *PrometheusRemoteAddr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrometheusRemoteAddr) ProtoMessage added in v1.3.1

func (*PrometheusRemoteAddr) ProtoMessage()

func (*PrometheusRemoteAddr) Reset added in v1.3.1

func (m *PrometheusRemoteAddr) Reset()

func (*PrometheusRemoteAddr) Size added in v1.3.1

func (m *PrometheusRemoteAddr) Size() (n int)

func (*PrometheusRemoteAddr) String added in v1.3.1

func (this *PrometheusRemoteAddr) String() string

func (PrometheusRemoteAddr) SwaggerDoc added in v1.3.1

func (PrometheusRemoteAddr) SwaggerDoc() map[string]string

func (*PrometheusRemoteAddr) Unmarshal added in v1.3.1

func (m *PrometheusRemoteAddr) Unmarshal(dAtA []byte) error

func (*PrometheusRemoteAddr) XXX_DiscardUnknown added in v1.3.1

func (m *PrometheusRemoteAddr) XXX_DiscardUnknown()

func (*PrometheusRemoteAddr) XXX_Marshal added in v1.3.1

func (m *PrometheusRemoteAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrometheusRemoteAddr) XXX_Merge added in v1.3.1

func (m *PrometheusRemoteAddr) XXX_Merge(src proto.Message)

func (*PrometheusRemoteAddr) XXX_Size added in v1.3.1

func (m *PrometheusRemoteAddr) XXX_Size() int

func (*PrometheusRemoteAddr) XXX_Unmarshal added in v1.3.1

func (m *PrometheusRemoteAddr) XXX_Unmarshal(b []byte) error

type PrometheusSpec added in v1.3.1

type PrometheusSpec struct {
	TenantID    string `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	ClusterName string `json:"clusterName" protobuf:"bytes,2,opt,name=clusterName"`
	Version     string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
	// SubVersion is the components version such as node-exporter.
	SubVersion map[string]string `json:"subVersion,omitempty" protobuf:"bytes,4,opt,name=subVersion"`
	// RemoteAddress is the remote address for prometheus when writing/reading outside of cluster.
	RemoteAddress PrometheusRemoteAddr `json:"remoteAddress,omitempty" protobuf:"bytes,5,opt,name=remoteAddress"`
	// +optional
	// NotifyWebhook is the address that alert messages send to, optional. If not set, a default webhook address "https://[notify-api-address]/webhook" will be used.
	NotifyWebhook string `json:"notifyWebhook,omitempty" protobuf:"bytes,6,opt,name=notifyWebhook"`
	// +optional
	// Resources is the resource request and limit for prometheus
	Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,7,opt,name=resources"`
	// +optional
	// RunOnMaster indicates whether to add master Affinity for all monitor components or not
	RunOnMaster bool `json:"runOnMaster,omitempty" protobuf:"bytes,8,opt,name=runOnMaster"`
	// +optional
	// AlertRepeatInterval indicates repeat interval of alerts
	AlertRepeatInterval string `json:"alertRepeatInterval,omitempty" protobuf:"bytes,9,opt,name=alertRepeatInterval"`
	// +optional
	// WithNPD indicates whether to deploy node-problem-detector or not
	WithNPD bool `json:"withNPD,omitempty" protobuf:"bytes,10,opt,name=withNPD"`
}

PrometheusSpec describes the attributes on a Prometheus.

func (*PrometheusSpec) DeepCopy added in v1.3.1

func (in *PrometheusSpec) DeepCopy() *PrometheusSpec

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

func (*PrometheusSpec) DeepCopyInto added in v1.3.1

func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec)

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

func (*PrometheusSpec) Descriptor added in v1.3.1

func (*PrometheusSpec) Descriptor() ([]byte, []int)

func (*PrometheusSpec) Marshal added in v1.3.1

func (m *PrometheusSpec) Marshal() (dAtA []byte, err error)

func (*PrometheusSpec) MarshalTo added in v1.3.1

func (m *PrometheusSpec) MarshalTo(dAtA []byte) (int, error)

func (*PrometheusSpec) MarshalToSizedBuffer added in v1.3.1

func (m *PrometheusSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrometheusSpec) ProtoMessage added in v1.3.1

func (*PrometheusSpec) ProtoMessage()

func (*PrometheusSpec) Reset added in v1.3.1

func (m *PrometheusSpec) Reset()

func (*PrometheusSpec) Size added in v1.3.1

func (m *PrometheusSpec) Size() (n int)

func (*PrometheusSpec) String added in v1.3.1

func (this *PrometheusSpec) String() string

func (PrometheusSpec) SwaggerDoc added in v1.3.1

func (PrometheusSpec) SwaggerDoc() map[string]string

func (*PrometheusSpec) Unmarshal added in v1.3.1

func (m *PrometheusSpec) Unmarshal(dAtA []byte) error

func (*PrometheusSpec) XXX_DiscardUnknown added in v1.3.1

func (m *PrometheusSpec) XXX_DiscardUnknown()

func (*PrometheusSpec) XXX_Marshal added in v1.3.1

func (m *PrometheusSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrometheusSpec) XXX_Merge added in v1.3.1

func (m *PrometheusSpec) XXX_Merge(src proto.Message)

func (*PrometheusSpec) XXX_Size added in v1.3.1

func (m *PrometheusSpec) XXX_Size() int

func (*PrometheusSpec) XXX_Unmarshal added in v1.3.1

func (m *PrometheusSpec) XXX_Unmarshal(b []byte) error

type PrometheusStatus added in v1.3.1

type PrometheusStatus struct {
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
	// Phase is the current lifecycle phase of the helm of cluster.
	// +optional
	Phase AddonPhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase"`
	// Reason is a brief CamelCase string that describes any failure.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
	// +optional
	RetryCount int32 `json:"retryCount" protobuf:"varint,4,name=retryCount"`
	// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
	// +optional
	LastReInitializingTimestamp metav1.Time `json:"lastReInitializingTimestamp" protobuf:"bytes,5,name=lastReInitializingTimestamp"`
	// SubVersion is the components version such as node-exporter.
	SubVersion map[string]string `json:"subVersion,omitempty" protobuf:"bytes,6,opt,name=subVersion"`
}

PrometheusStatus is information about the current status of a Prometheus.

func (*PrometheusStatus) DeepCopy added in v1.3.1

func (in *PrometheusStatus) DeepCopy() *PrometheusStatus

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

func (*PrometheusStatus) DeepCopyInto added in v1.3.1

func (in *PrometheusStatus) DeepCopyInto(out *PrometheusStatus)

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

func (*PrometheusStatus) Descriptor added in v1.3.1

func (*PrometheusStatus) Descriptor() ([]byte, []int)

func (*PrometheusStatus) Marshal added in v1.3.1

func (m *PrometheusStatus) Marshal() (dAtA []byte, err error)

func (*PrometheusStatus) MarshalTo added in v1.3.1

func (m *PrometheusStatus) MarshalTo(dAtA []byte) (int, error)

func (*PrometheusStatus) MarshalToSizedBuffer added in v1.3.1

func (m *PrometheusStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrometheusStatus) ProtoMessage added in v1.3.1

func (*PrometheusStatus) ProtoMessage()

func (*PrometheusStatus) Reset added in v1.3.1

func (m *PrometheusStatus) Reset()

func (*PrometheusStatus) Size added in v1.3.1

func (m *PrometheusStatus) Size() (n int)

func (*PrometheusStatus) String added in v1.3.1

func (this *PrometheusStatus) String() string

func (PrometheusStatus) SwaggerDoc added in v1.3.1

func (PrometheusStatus) SwaggerDoc() map[string]string

func (*PrometheusStatus) Unmarshal added in v1.3.1

func (m *PrometheusStatus) Unmarshal(dAtA []byte) error

func (*PrometheusStatus) XXX_DiscardUnknown added in v1.3.1

func (m *PrometheusStatus) XXX_DiscardUnknown()

func (*PrometheusStatus) XXX_Marshal added in v1.3.1

func (m *PrometheusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrometheusStatus) XXX_Merge added in v1.3.1

func (m *PrometheusStatus) XXX_Merge(src proto.Message)

func (*PrometheusStatus) XXX_Size added in v1.3.1

func (m *PrometheusStatus) XXX_Size() int

func (*PrometheusStatus) XXX_Unmarshal added in v1.3.1

func (m *PrometheusStatus) XXX_Unmarshal(b []byte) error

type ResourceList added in v1.3.1

type ResourceList map[string]resource.Quantity

ResourceList is a set of (resource name, quantity) pairs.

func (ResourceList) DeepCopy added in v1.3.1

func (in ResourceList) DeepCopy() ResourceList

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

func (ResourceList) DeepCopyInto added in v1.3.1

func (in ResourceList) DeepCopyInto(out *ResourceList)

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

type ResourceRequirements added in v1.3.1

type ResourceRequirements struct {
	Limits   ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList"`
	Requests ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList"`
}

ResourceRequirements describes the compute resource requirements.

func (*ResourceRequirements) DeepCopy added in v1.3.1

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

func (*ResourceRequirements) DeepCopyInto added in v1.3.1

func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements)

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

func (*ResourceRequirements) Descriptor added in v1.3.1

func (*ResourceRequirements) Descriptor() ([]byte, []int)

func (*ResourceRequirements) Marshal added in v1.3.1

func (m *ResourceRequirements) Marshal() (dAtA []byte, err error)

func (*ResourceRequirements) MarshalTo added in v1.3.1

func (m *ResourceRequirements) MarshalTo(dAtA []byte) (int, error)

func (*ResourceRequirements) MarshalToSizedBuffer added in v1.3.1

func (m *ResourceRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceRequirements) ProtoMessage added in v1.3.1

func (*ResourceRequirements) ProtoMessage()

func (*ResourceRequirements) Reset added in v1.3.1

func (m *ResourceRequirements) Reset()

func (*ResourceRequirements) Size added in v1.3.1

func (m *ResourceRequirements) Size() (n int)

func (*ResourceRequirements) String added in v1.3.1

func (this *ResourceRequirements) String() string

func (ResourceRequirements) SwaggerDoc added in v1.3.1

func (ResourceRequirements) SwaggerDoc() map[string]string

func (*ResourceRequirements) Unmarshal added in v1.3.1

func (m *ResourceRequirements) Unmarshal(dAtA []byte) error

func (*ResourceRequirements) XXX_DiscardUnknown added in v1.3.1

func (m *ResourceRequirements) XXX_DiscardUnknown()

func (*ResourceRequirements) XXX_Marshal added in v1.3.1

func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceRequirements) XXX_Merge added in v1.3.1

func (m *ResourceRequirements) XXX_Merge(src proto.Message)

func (*ResourceRequirements) XXX_Size added in v1.3.1

func (m *ResourceRequirements) XXX_Size() int

func (*ResourceRequirements) XXX_Unmarshal added in v1.3.1

func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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