fleetspeak_client

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fleetspeak_src_client_proto_fleetspeak_client_api_proto protoreflect.FileDescriptor
View Source
var File_fleetspeak_src_client_proto_fleetspeak_client_client_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APIMessage

type APIMessage struct {
	Type string     `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*APIMessage) Descriptor deprecated

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

Deprecated: Use APIMessage.ProtoReflect.Descriptor instead.

func (*APIMessage) GetData

func (x *APIMessage) GetData() *anypb.Any

func (*APIMessage) GetType

func (x *APIMessage) GetType() string

func (*APIMessage) ProtoMessage

func (*APIMessage) ProtoMessage()

func (*APIMessage) ProtoReflect

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

func (*APIMessage) Reset

func (x *APIMessage) Reset()

func (*APIMessage) String

func (x *APIMessage) String() string

type ByteBlob

type ByteBlob struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ByteBlob) Descriptor deprecated

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

Deprecated: Use ByteBlob.ProtoReflect.Descriptor instead.

func (*ByteBlob) GetData

func (x *ByteBlob) GetData() []byte

func (*ByteBlob) ProtoMessage

func (*ByteBlob) ProtoMessage()

func (*ByteBlob) ProtoReflect

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

func (*ByteBlob) Reset

func (x *ByteBlob) Reset()

func (*ByteBlob) String

func (x *ByteBlob) String() string

type ClientState

type ClientState struct {

	// The client key, normally fixed after first execution. Also defines the
	// client's id.
	ClientKey []byte `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// The most recent sequencing nonce received from the server.
	SequencingNonce uint64 `protobuf:"varint,7,opt,name=sequencing_nonce,json=sequencingNonce,proto3" json:"sequencing_nonce,omitempty"`
	// A set of revoked/blacklisted certificate serial numbers in big endian
	// format. Not restricted, but normally at most 20 bytes. (RFC 3280)
	RevokedCertSerials [][]byte `protobuf:"bytes,8,rep,name=revoked_cert_serials,json=revokedCertSerials,proto3" json:"revoked_cert_serials,omitempty"`
	// contains filtered or unexported fields
}

ClientState contains the state of the client which should be persisted across restarts.

func (*ClientState) Descriptor deprecated

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

Deprecated: Use ClientState.ProtoReflect.Descriptor instead.

func (*ClientState) GetClientKey

func (x *ClientState) GetClientKey() []byte

func (*ClientState) GetRevokedCertSerials

func (x *ClientState) GetRevokedCertSerials() [][]byte

func (*ClientState) GetSequencingNonce

func (x *ClientState) GetSequencingNonce() uint64

func (*ClientState) ProtoMessage

func (*ClientState) ProtoMessage()

func (*ClientState) ProtoReflect

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

func (*ClientState) Reset

func (x *ClientState) Reset()

func (*ClientState) String

func (x *ClientState) String() string

type CommunicatorConfig

type CommunicatorConfig struct {

	// The longest possible wait before attempting to contact the server.  The
	// communicator may poll sooner if there are messages for the server, of it
	// there has been recent communication with the server.
	//
	// A default of 5 minutes is used if unset.
	MaxPollDelaySeconds int32 `protobuf:"varint,2,opt,name=max_poll_delay_seconds,json=maxPollDelaySeconds,proto3" json:"max_poll_delay_seconds,omitempty"`
	// The longest possible wait before attempting to contact the server when
	// there is some data to transmit. The communicator may poll sooner if the
	// buffer is full.
	//
	// A default of 5 seconds is used if unset.
	MaxBufferDelaySeconds int32 `` /* 129-byte string literal not displayed */
	// The minimum time to wait after a failure to reach any server.
	//
	// A default of 5 minutes is used if unset.
	MinFailureDelaySeconds int32 `` /* 132-byte string literal not displayed */
	// If the communicator is unable to communicate with the server for this long,
	// it should kill fleetspeak, in the hope that a restart will fix things.
	//
	// A default of 7 days is used if unset.
	FailureSuicideTimeSeconds int32 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters used to configure communicator plugins.

func (*CommunicatorConfig) Descriptor deprecated

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

Deprecated: Use CommunicatorConfig.ProtoReflect.Descriptor instead.

func (*CommunicatorConfig) GetFailureSuicideTimeSeconds

func (x *CommunicatorConfig) GetFailureSuicideTimeSeconds() int32

func (*CommunicatorConfig) GetMaxBufferDelaySeconds

func (x *CommunicatorConfig) GetMaxBufferDelaySeconds() int32

func (*CommunicatorConfig) GetMaxPollDelaySeconds

func (x *CommunicatorConfig) GetMaxPollDelaySeconds() int32

func (*CommunicatorConfig) GetMinFailureDelaySeconds

func (x *CommunicatorConfig) GetMinFailureDelaySeconds() int32

func (*CommunicatorConfig) ProtoMessage

func (*CommunicatorConfig) ProtoMessage()

func (*CommunicatorConfig) ProtoReflect

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

func (*CommunicatorConfig) Reset

func (x *CommunicatorConfig) Reset()

func (*CommunicatorConfig) String

func (x *CommunicatorConfig) String() string

Jump to

Keyboard shortcuts

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