v1

package
v1.9.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

GroupName is the group name use in this package.

Variables

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: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_ElasticSearchStorageServer_To_v1_ElasticSearchStorageServer

func Convert_config_ElasticSearchStorageServer_To_v1_ElasticSearchStorageServer(in *config.ElasticSearchStorageServer, out *ElasticSearchStorageServer, s conversion.Scope) error

Convert_config_ElasticSearchStorageServer_To_v1_ElasticSearchStorageServer is an autogenerated conversion function.

func Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage

func Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage(in *config.ElasticSearchStorage, out *ElasticSearchStorage, s conversion.Scope) error

Convert_config_ElasticSearchStorage_To_v1_ElasticSearchStorage is an autogenerated conversion function.

func Convert_config_InfluxDBStorageServer_To_v1_InfluxDBStorageServer

func Convert_config_InfluxDBStorageServer_To_v1_InfluxDBStorageServer(in *config.InfluxDBStorageServer, out *InfluxDBStorageServer, s conversion.Scope) error

Convert_config_InfluxDBStorageServer_To_v1_InfluxDBStorageServer is an autogenerated conversion function.

func Convert_config_InfluxDBStorage_To_v1_InfluxDBStorage

func Convert_config_InfluxDBStorage_To_v1_InfluxDBStorage(in *config.InfluxDBStorage, out *InfluxDBStorage, s conversion.Scope) error

Convert_config_InfluxDBStorage_To_v1_InfluxDBStorage is an autogenerated conversion function.

func Convert_config_MonitorConfiguration_To_v1_MonitorConfiguration

func Convert_config_MonitorConfiguration_To_v1_MonitorConfiguration(in *config.MonitorConfiguration, out *MonitorConfiguration, s conversion.Scope) error

Convert_config_MonitorConfiguration_To_v1_MonitorConfiguration is an autogenerated conversion function.

func Convert_config_Storage_To_v1_Storage

func Convert_config_Storage_To_v1_Storage(in *config.Storage, out *Storage, s conversion.Scope) error

Convert_config_Storage_To_v1_Storage is an autogenerated conversion function.

func Convert_config_ThanosStorageServer_To_v1_ThanosStorageServer

func Convert_config_ThanosStorageServer_To_v1_ThanosStorageServer(in *config.ThanosStorageServer, out *ThanosStorageServer, s conversion.Scope) error

Convert_config_ThanosStorageServer_To_v1_ThanosStorageServer is an autogenerated conversion function.

func Convert_config_ThanosStorage_To_v1_ThanosStorage

func Convert_config_ThanosStorage_To_v1_ThanosStorage(in *config.ThanosStorage, out *ThanosStorage, s conversion.Scope) error

Convert_config_ThanosStorage_To_v1_ThanosStorage is an autogenerated conversion function.

func Convert_v1_ElasticSearchStorageServer_To_config_ElasticSearchStorageServer

func Convert_v1_ElasticSearchStorageServer_To_config_ElasticSearchStorageServer(in *ElasticSearchStorageServer, out *config.ElasticSearchStorageServer, s conversion.Scope) error

Convert_v1_ElasticSearchStorageServer_To_config_ElasticSearchStorageServer is an autogenerated conversion function.

func Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage

func Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage(in *ElasticSearchStorage, out *config.ElasticSearchStorage, s conversion.Scope) error

Convert_v1_ElasticSearchStorage_To_config_ElasticSearchStorage is an autogenerated conversion function.

func Convert_v1_InfluxDBStorageServer_To_config_InfluxDBStorageServer

func Convert_v1_InfluxDBStorageServer_To_config_InfluxDBStorageServer(in *InfluxDBStorageServer, out *config.InfluxDBStorageServer, s conversion.Scope) error

Convert_v1_InfluxDBStorageServer_To_config_InfluxDBStorageServer is an autogenerated conversion function.

func Convert_v1_InfluxDBStorage_To_config_InfluxDBStorage

func Convert_v1_InfluxDBStorage_To_config_InfluxDBStorage(in *InfluxDBStorage, out *config.InfluxDBStorage, s conversion.Scope) error

Convert_v1_InfluxDBStorage_To_config_InfluxDBStorage is an autogenerated conversion function.

func Convert_v1_MonitorConfiguration_To_config_MonitorConfiguration

func Convert_v1_MonitorConfiguration_To_config_MonitorConfiguration(in *MonitorConfiguration, out *config.MonitorConfiguration, s conversion.Scope) error

Convert_v1_MonitorConfiguration_To_config_MonitorConfiguration is an autogenerated conversion function.

func Convert_v1_Storage_To_config_Storage

func Convert_v1_Storage_To_config_Storage(in *Storage, out *config.Storage, s conversion.Scope) error

Convert_v1_Storage_To_config_Storage is an autogenerated conversion function.

func Convert_v1_ThanosStorageServer_To_config_ThanosStorageServer

func Convert_v1_ThanosStorageServer_To_config_ThanosStorageServer(in *ThanosStorageServer, out *config.ThanosStorageServer, s conversion.Scope) error

Convert_v1_ThanosStorageServer_To_config_ThanosStorageServer is an autogenerated conversion function.

func Convert_v1_ThanosStorage_To_config_ThanosStorage

func Convert_v1_ThanosStorage_To_config_ThanosStorage(in *ThanosStorage, out *config.ThanosStorage, s conversion.Scope) error

Convert_v1_ThanosStorage_To_config_ThanosStorage 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_MonitorConfiguration

func SetDefaults_MonitorConfiguration(obj *MonitorConfiguration)

func SetObjectDefaults_MonitorConfiguration

func SetObjectDefaults_MonitorConfiguration(in *MonitorConfiguration)

Types

type ElasticSearchStorage

type ElasticSearchStorage struct {
	Servers []ElasticSearchStorageServer `json:"servers"`
}

func (*ElasticSearchStorage) DeepCopy

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

func (*ElasticSearchStorage) DeepCopyInto

func (in *ElasticSearchStorage) DeepCopyInto(out *ElasticSearchStorage)

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

type ElasticSearchStorageServer

type ElasticSearchStorageServer struct {
	Address string `json:"address"`
	// +optional
	Username string `json:"username,omitempty"`
	// +optional
	Password string `json:"password,omitempty"`
}

func (*ElasticSearchStorageServer) DeepCopy

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

func (*ElasticSearchStorageServer) DeepCopyInto

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

type InfluxDBStorage

type InfluxDBStorage struct {
	// +optional
	RetentionDays *int                    `json:"retentionDays,omitempty"`
	Servers       []InfluxDBStorageServer `json:"servers"`
}

func (*InfluxDBStorage) DeepCopy

func (in *InfluxDBStorage) DeepCopy() *InfluxDBStorage

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

func (*InfluxDBStorage) DeepCopyInto

func (in *InfluxDBStorage) DeepCopyInto(out *InfluxDBStorage)

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

type InfluxDBStorageServer

type InfluxDBStorageServer struct {
	Address string `json:"address"`
	// +optional
	Username string `json:"username,omitempty"`
	// +optional
	Password string `json:"password,omitempty"`
	// +optional
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`
}

func (*InfluxDBStorageServer) DeepCopy

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

func (*InfluxDBStorageServer) DeepCopyInto

func (in *InfluxDBStorageServer) DeepCopyInto(out *InfluxDBStorageServer)

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

type MonitorConfiguration

type MonitorConfiguration struct {
	metav1.TypeMeta

	Storage Storage `json:"storage"`
}

MonitorConfiguration contains the configuration for the Monitor

func (*MonitorConfiguration) DeepCopy

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

func (*MonitorConfiguration) DeepCopyInto

func (in *MonitorConfiguration) DeepCopyInto(out *MonitorConfiguration)

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

func (*MonitorConfiguration) DeepCopyObject

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

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

type Storage

type Storage struct {
	// +optional
	Thanos *ThanosStorage `json:"thanos,omitempty"`
	// +optional
	InfluxDB *InfluxDBStorage `json:"influxDB,omitempty"`
	// +optional
	ElasticSearch *ElasticSearchStorage `json:"elasticSearch,omitempty"`
}

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

type ThanosStorage

type ThanosStorage struct {
	Servers []ThanosStorageServer `json:"servers"`
}

func (*ThanosStorage) DeepCopy

func (in *ThanosStorage) DeepCopy() *ThanosStorage

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

func (*ThanosStorage) DeepCopyInto

func (in *ThanosStorage) DeepCopyInto(out *ThanosStorage)

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

type ThanosStorageServer

type ThanosStorageServer struct {
	Address string `json:"address"`
}

func (*ThanosStorageServer) DeepCopy

func (in *ThanosStorageServer) DeepCopy() *ThanosStorageServer

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

func (*ThanosStorageServer) DeepCopyInto

func (in *ThanosStorageServer) DeepCopyInto(out *ThanosStorageServer)

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