Documentation ¶
Index ¶
- Constants
- Variables
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)deprecated
- func (x *SurfacerConf) GetConnectionString() string
- func (x *SurfacerConf) GetMetricsBufferSize() int64
- func (x *SurfacerConf) GetMetricsTableName() string
- func (*SurfacerConf) ProtoMessage()
- func (x *SurfacerConf) ProtoReflect() protoreflect.Message
- func (x *SurfacerConf) Reset()
- func (x *SurfacerConf) String() string
Constants ¶
View Source
const (
Default_SurfacerConf_MetricsBufferSize = int64(10000)
)
Default values for SurfacerConf fields.
Variables ¶
View Source
var File_github_com_google_cloudprober_surfacers_postgres_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { ConnectionString *string `protobuf:"bytes,1,req,name=connection_string,json=connectionString" json:"connection_string,omitempty"` MetricsTableName *string `protobuf:"bytes,2,req,name=metrics_table_name,json=metricsTableName" json:"metrics_table_name,omitempty"` MetricsBufferSize *int64 `protobuf:"varint,3,opt,name=metrics_buffer_size,json=metricsBufferSize,def=10000" json:"metrics_buffer_size,omitempty"` // contains filtered or unexported fields }
func (*SurfacerConf) Descriptor
deprecated
func (*SurfacerConf) Descriptor() ([]byte, []int)
Deprecated: Use SurfacerConf.ProtoReflect.Descriptor instead.
func (*SurfacerConf) GetConnectionString ¶
func (x *SurfacerConf) GetConnectionString() string
func (*SurfacerConf) GetMetricsBufferSize ¶ added in v0.11.2
func (x *SurfacerConf) GetMetricsBufferSize() int64
func (*SurfacerConf) GetMetricsTableName ¶
func (x *SurfacerConf) GetMetricsTableName() string
func (*SurfacerConf) ProtoMessage ¶
func (*SurfacerConf) ProtoMessage()
func (*SurfacerConf) ProtoReflect ¶ added in v0.10.8
func (x *SurfacerConf) ProtoReflect() protoreflect.Message
func (*SurfacerConf) Reset ¶
func (x *SurfacerConf) Reset()
func (*SurfacerConf) String ¶
func (x *SurfacerConf) String() string
Click to show internal directories.
Click to hide internal directories.