Documentation
¶
Index ¶
- Constants
- Variables
- type SurfacerConf
- func (*SurfacerConf) Descriptor() ([]byte, []int)deprecated
- func (x *SurfacerConf) GetCompressionEnabled() bool
- func (x *SurfacerConf) GetFilePath() string
- func (x *SurfacerConf) GetPrefix() 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_Prefix = string("cloudprober") Default_SurfacerConf_CompressionEnabled = bool(false) )
Default values for SurfacerConf fields.
Variables ¶
View Source
var File_github_com_google_cloudprober_surfacers_file_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SurfacerConf ¶
type SurfacerConf struct { // Where to write the results. If left unset, file surfacer writes to the // standard output. FilePath *string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"` Prefix *string `protobuf:"bytes,2,opt,name=prefix,def=cloudprober" json:"prefix,omitempty"` // Compress data before writing to the file. CompressionEnabled *bool `protobuf:"varint,3,opt,name=compression_enabled,json=compressionEnabled,def=0" json:"compression_enabled,omitempty"` // contains filtered or unexported fields }
func (*SurfacerConf) Descriptor
deprecated
func (*SurfacerConf) Descriptor() ([]byte, []int)
Deprecated: Use SurfacerConf.ProtoReflect.Descriptor instead.
func (*SurfacerConf) GetCompressionEnabled ¶
func (x *SurfacerConf) GetCompressionEnabled() bool
func (*SurfacerConf) GetFilePath ¶
func (x *SurfacerConf) GetFilePath() string
func (*SurfacerConf) GetPrefix ¶
func (x *SurfacerConf) GetPrefix() 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.