Documentation
¶
Index ¶
- Variables
- type Config
- type InputMessage
- func (*InputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InputMessage) GetArgs() []string
- func (x *InputMessage) GetInput() []byte
- func (*InputMessage) ProtoMessage()
- func (x *InputMessage) ProtoReflect() protoreflect.Message
- func (x *InputMessage) Reset()
- func (x *InputMessage) String() string
- type OutputMessage
- func (*OutputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *OutputMessage) GetResourceUsage() *fleetspeak_monitoring.AggregatedResourceUsage
- func (x *OutputMessage) GetStderr() []byte
- func (x *OutputMessage) GetStdout() []byte
- func (x *OutputMessage) GetTimestamp() *timestamppb.Timestamp
- func (*OutputMessage) ProtoMessage()
- func (x *OutputMessage) ProtoReflect() protoreflect.Message
- func (x *OutputMessage) Reset()
- func (x *OutputMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_config_proto protoreflect.FileDescriptor
View Source
var File_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"` // contains filtered or unexported fields }
The configuration information expected by stdinservice.Factory in ClientServiceConfig.config.
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type InputMessage ¶
type InputMessage struct { // The data to be forwarded to the service. Input []byte `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // Command line arguments. Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*InputMessage) Descriptor
deprecated
func (*InputMessage) Descriptor() ([]byte, []int)
Deprecated: Use InputMessage.ProtoReflect.Descriptor instead.
func (*InputMessage) GetArgs ¶
func (x *InputMessage) GetArgs() []string
func (*InputMessage) GetInput ¶
func (x *InputMessage) GetInput() []byte
func (*InputMessage) ProtoMessage ¶
func (*InputMessage) ProtoMessage()
func (*InputMessage) ProtoReflect ¶
func (x *InputMessage) ProtoReflect() protoreflect.Message
func (*InputMessage) Reset ¶
func (x *InputMessage) Reset()
func (*InputMessage) String ¶
func (x *InputMessage) String() string
type OutputMessage ¶
type OutputMessage struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` ResourceUsage *fleetspeak_monitoring.AggregatedResourceUsage `protobuf:"bytes,3,opt,name=resource_usage,json=resourceUsage,proto3" json:"resource_usage,omitempty"` // When the message was generated. Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*OutputMessage) Descriptor
deprecated
func (*OutputMessage) Descriptor() ([]byte, []int)
Deprecated: Use OutputMessage.ProtoReflect.Descriptor instead.
func (*OutputMessage) GetResourceUsage ¶
func (x *OutputMessage) GetResourceUsage() *fleetspeak_monitoring.AggregatedResourceUsage
func (*OutputMessage) GetStderr ¶
func (x *OutputMessage) GetStderr() []byte
func (*OutputMessage) GetStdout ¶
func (x *OutputMessage) GetStdout() []byte
func (*OutputMessage) GetTimestamp ¶
func (x *OutputMessage) GetTimestamp() *timestamppb.Timestamp
func (*OutputMessage) ProtoMessage ¶
func (*OutputMessage) ProtoMessage()
func (*OutputMessage) ProtoReflect ¶
func (x *OutputMessage) ProtoReflect() protoreflect.Message
func (*OutputMessage) Reset ¶
func (x *OutputMessage) Reset()
func (*OutputMessage) String ¶
func (x *OutputMessage) String() string
Click to show internal directories.
Click to hide internal directories.