Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetApiProxyPath() string
- func (x *Config) GetDisableResourceMonitoring() bool
- func (x *Config) GetResourceMonitoringSamplePeriodSeconds() int32
- func (x *Config) GetResourceMonitoringSampleSize() int32
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_fleetspeak_src_client_socketservice_proto_fleetspeak_socketservice_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // The given api_proxy_path may be an arbitrary filesystem path and will be // used to pair the daemon service with its non-child client process. // // On Unix in particular, a Unix socket will be created at this path and used // for communication between FS and the client. // // Side note: FS requires the proxy's parent directory's perms to be 0700. // If the parent directory doesn't exist, FS will mkdir -p it with perms set // to 0700. ApiProxyPath string `protobuf:"bytes,1,opt,name=api_proxy_path,json=apiProxyPath,proto3" json:"api_proxy_path,omitempty"` // By default, socket services report resource usage every 10 minutes. This // flag disables this if set. DisableResourceMonitoring bool `` /* 139-byte string literal not displayed */ // How many samples to aggregate into a report when monitoring resource usage. // If unset, defaults to 20. ResourceMonitoringSampleSize int32 `` /* 150-byte string literal not displayed */ // How long to wait between resource monitoring samples. If unset, defaults to // 30 seconds. ResourceMonitoringSamplePeriodSeconds int32 `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
The configuration information expected by socketservice.Factory in ClientServiceConfig.config.
func (*Config) Descriptor
deprecated
func (*Config) GetApiProxyPath ¶
func (*Config) GetDisableResourceMonitoring ¶
func (*Config) GetResourceMonitoringSamplePeriodSeconds ¶
func (*Config) GetResourceMonitoringSampleSize ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.