fleetspeak_socketservice

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetApiProxyPath

func (x *Config) GetApiProxyPath() string

func (*Config) GetDisableResourceMonitoring

func (x *Config) GetDisableResourceMonitoring() bool

func (*Config) GetResourceMonitoringSamplePeriodSeconds

func (x *Config) GetResourceMonitoringSamplePeriodSeconds() int32

func (*Config) GetResourceMonitoringSampleSize

func (x *Config) GetResourceMonitoringSampleSize() int32

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL