fleetspeak_client_generic

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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_generic_proto_fleetspeak_client_generic_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {

	// One or more PEM encoded certificates that the client should trust,
	// typically a CA certificate specific to the installation.
	TrustedCerts string `protobuf:"bytes,1,opt,name=trusted_certs,json=trustedCerts,proto3" json:"trusted_certs,omitempty"`
	// The servers that the client should attempt to connect to in <host>:<port>
	// format. E.g. "lazy.com:443", "10.0.0.5:1234"
	Server []string `protobuf:"bytes,2,rep,name=server,proto3" json:"server,omitempty"`
	// The client labels that this client should present to the server. Labels
	// indicating the client architecture and OS are automatically included.
	ClientLabel []string `protobuf:"bytes,3,rep,name=client_label,json=clientLabel,proto3" json:"client_label,omitempty"`
	// Types that are assignable to PersistenceHandler:
	//
	//	*Config_FilesystemHandler
	//	*Config_RegistryHandler
	PersistenceHandler isConfig_PersistenceHandler `protobuf_oneof:"persistence_handler"`
	// If set, the client will use long running persistent connections, otherwise
	// it will make regular short lived polls to the server. Recommended.
	Streaming bool `protobuf:"varint,6,opt,name=streaming,proto3" json:"streaming,omitempty"`
	// If provided, proxy used for connecting to the server.
	// The format is a URL.
	// See https://golang.org/pkg/net/http/#Transport.Proxy for details.
	Proxy string `protobuf:"bytes,7,opt,name=proxy,proto3" json:"proxy,omitempty"`
	// The name of the HTTP header that the client uses to pass its certificate to
	// the server frontend for identification. Required only if the server
	// frontend is configured to use https_header_checksum_config.
	ClientCertificateHeader string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetClientCertificateHeader

func (x *Config) GetClientCertificateHeader() string

func (*Config) GetClientLabel

func (x *Config) GetClientLabel() []string

func (*Config) GetFilesystemHandler

func (x *Config) GetFilesystemHandler() *FilesystemHandler

func (*Config) GetPersistenceHandler

func (m *Config) GetPersistenceHandler() isConfig_PersistenceHandler

func (*Config) GetProxy

func (x *Config) GetProxy() string

func (*Config) GetRegistryHandler

func (x *Config) GetRegistryHandler() *RegistryHandler

func (*Config) GetServer

func (x *Config) GetServer() []string

func (*Config) GetStreaming

func (x *Config) GetStreaming() bool

func (*Config) GetTrustedCerts

func (x *Config) GetTrustedCerts() string

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

type Config_FilesystemHandler

type Config_FilesystemHandler struct {
	FilesystemHandler *FilesystemHandler `protobuf:"bytes,4,opt,name=filesystem_handler,json=filesystemHandler,proto3,oneof"`
}

type Config_RegistryHandler

type Config_RegistryHandler struct {
	RegistryHandler *RegistryHandler `protobuf:"bytes,5,opt,name=registry_handler,json=registryHandler,proto3,oneof"`
}

type FilesystemHandler

type FilesystemHandler struct {

	// Where to persist client state, see NewFilesystemPersistenceHandler for
	// details:
	//
	// https://godoc.org/github.com/google/fleetspeak/fleetspeak/src/client/config#FilesystemPersistenceHandler
	ConfigurationDirectory string `` /* 127-byte string literal not displayed */
	StateFile              string `protobuf:"bytes,2,opt,name=state_file,json=stateFile,proto3" json:"state_file,omitempty"`
	// contains filtered or unexported fields
}

func (*FilesystemHandler) Descriptor deprecated

func (*FilesystemHandler) Descriptor() ([]byte, []int)

Deprecated: Use FilesystemHandler.ProtoReflect.Descriptor instead.

func (*FilesystemHandler) GetConfigurationDirectory

func (x *FilesystemHandler) GetConfigurationDirectory() string

func (*FilesystemHandler) GetStateFile

func (x *FilesystemHandler) GetStateFile() string

func (*FilesystemHandler) ProtoMessage

func (*FilesystemHandler) ProtoMessage()

func (*FilesystemHandler) ProtoReflect

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

func (*FilesystemHandler) Reset

func (x *FilesystemHandler) Reset()

func (*FilesystemHandler) String

func (x *FilesystemHandler) String() string

type RegistryHandler

type RegistryHandler struct {

	// Where to persist client state, see NewWindowsRegistryPersistenceHandler
	// for details:
	//
	// https://github.com/google/fleetspeak/blob/master/fleetspeak/src/client/config/windows_registry_persistence_handler.go
	ConfigurationKey string `protobuf:"bytes,1,opt,name=configuration_key,json=configurationKey,proto3" json:"configuration_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistryHandler) Descriptor deprecated

func (*RegistryHandler) Descriptor() ([]byte, []int)

Deprecated: Use RegistryHandler.ProtoReflect.Descriptor instead.

func (*RegistryHandler) GetConfigurationKey

func (x *RegistryHandler) GetConfigurationKey() string

func (*RegistryHandler) ProtoMessage

func (*RegistryHandler) ProtoMessage()

func (*RegistryHandler) ProtoReflect

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

func (*RegistryHandler) Reset

func (x *RegistryHandler) Reset()

func (*RegistryHandler) String

func (x *RegistryHandler) String() string

Jump to

Keyboard shortcuts

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