fleetspeak_stdinservice

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

Documentation

Index

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetCmd

func (x *Config) GetCmd() 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 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 (*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

Jump to

Keyboard shortcuts

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