Documentation ¶
Overview ¶
Package config is the internal version of the API.
Index ¶
Constants ¶
const GroupName = "monitor.config.tkestack.io"
GroupName is the group name used in this package
Variables ¶
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func MonitorConfigurationPathRefs ¶
func MonitorConfigurationPathRefs(gc *MonitorConfiguration) []*string
MonitorConfigurationPathRefs returns pointers to all of the MonitorConfiguration fields that contain filepaths. You might use this, for example, to resolve all relative paths against some common root before passing the configuration to the application. This method must be kept up to date as new fields are added.
Types ¶
type ElasticSearchStorage ¶
type ElasticSearchStorage struct {
Servers []ElasticSearchStorageServer
}
func (*ElasticSearchStorage) DeepCopy ¶
func (in *ElasticSearchStorage) DeepCopy() *ElasticSearchStorage
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 // +optional Username string // +optional Password string }
func (*ElasticSearchStorageServer) DeepCopy ¶
func (in *ElasticSearchStorageServer) DeepCopy() *ElasticSearchStorageServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticSearchStorageServer.
func (*ElasticSearchStorageServer) DeepCopyInto ¶
func (in *ElasticSearchStorageServer) DeepCopyInto(out *ElasticSearchStorageServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfluxDBStorage ¶
type InfluxDBStorage struct { RetentionDays *int Servers []InfluxDBStorageServer }
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 // +optional Username string // +optional Password string // +optional TimeoutSeconds *int32 }
func (*InfluxDBStorageServer) DeepCopy ¶
func (in *InfluxDBStorageServer) DeepCopy() *InfluxDBStorageServer
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 ¶
MonitorConfiguration contains the configuration for the Monitor
func (*MonitorConfiguration) DeepCopy ¶
func (in *MonitorConfiguration) DeepCopy() *MonitorConfiguration
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 // +optional InfluxDB *InfluxDBStorage // +optional ElasticSearch *ElasticSearchStorage }
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThanosStorage ¶
type ThanosStorage struct {
Servers []ThanosStorageServer
}
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
}
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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |