v1alpha1

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "stats.theia.antrea.io"

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   GroupName,
		Version: "v1alpha1"}

	StatusResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "clickhouse"}
)
View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ClickHouseStats

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

	DiskInfos   []DiskInfo   `json:"diskInfos,omitempty"`
	TableInfos  []TableInfo  `json:"tableInfos,omitempty"`
	InsertRates []InsertRate `json:"insertRates,omitempty"`
	StackTraces []StackTrace `json:"stackTraces,omitempty"`
	ErrorMsg    []string     `json:"errorMsg,omitempty"`
}

func (*ClickHouseStats) DeepCopy

func (in *ClickHouseStats) DeepCopy() *ClickHouseStats

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

func (*ClickHouseStats) DeepCopyInto

func (in *ClickHouseStats) DeepCopyInto(out *ClickHouseStats)

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

func (*ClickHouseStats) DeepCopyObject

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

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

type DiskInfo

type DiskInfo struct {
	Shard          string `json:"shard,omitempty"`
	Database       string `json:"name,omitempty"`
	Path           string `json:"path,omitempty"`
	FreeSpace      string `json:"freeSpace,omitempty"`
	TotalSpace     string `json:"totalSpace,omitempty"`
	UsedPercentage string `json:"usedPercentage,omitempty"`
}

func (*DiskInfo) DeepCopy

func (in *DiskInfo) DeepCopy() *DiskInfo

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

func (*DiskInfo) DeepCopyInto

func (in *DiskInfo) DeepCopyInto(out *DiskInfo)

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

type InsertRate

type InsertRate struct {
	Shard       string `json:"shard,omitempty"`
	RowsPerSec  string `json:"rowsPerSec,omitempty"`
	BytesPerSec string `json:"bytesPerSec,omitempty"`
}

func (*InsertRate) DeepCopy

func (in *InsertRate) DeepCopy() *InsertRate

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

func (*InsertRate) DeepCopyInto

func (in *InsertRate) DeepCopyInto(out *InsertRate)

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

type StackTrace

type StackTrace struct {
	Shard          string `json:"shard,omitempty"`
	TraceFunctions string `json:"traceFunctions,omitempty"`
	Count          string `json:"count,omitempty"`
}

func (*StackTrace) DeepCopy

func (in *StackTrace) DeepCopy() *StackTrace

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

func (*StackTrace) DeepCopyInto

func (in *StackTrace) DeepCopyInto(out *StackTrace)

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

type TableInfo

type TableInfo struct {
	Shard      string `json:"shard,omitempty"`
	Database   string `json:"database,omitempty"`
	TableName  string `json:"tableName,omitempty"`
	TotalRows  string `json:"totalRows,omitempty"`
	TotalBytes string `json:"totalBytes,omitempty"`
	TotalCols  string `json:"totalCols,omitempty"`
}

func (*TableInfo) DeepCopy

func (in *TableInfo) DeepCopy() *TableInfo

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

func (*TableInfo) DeepCopyInto

func (in *TableInfo) DeepCopyInto(out *TableInfo)

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