pb

package
v0.6.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	TransportModule *TransportModule `protobuf:"bytes,1,opt,name=transport_module,json=transportModule,proto3" json:"transport_module,omitempty"`
	Network         *Network         `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Module          *Module          `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	Runtime         *Runtime         `protobuf:"bytes,4,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetModule

func (x *Config) GetModule() *Module

func (*Config) GetNetwork

func (x *Config) GetNetwork() *Network

func (*Config) GetRuntime

func (x *Config) GetRuntime() *Runtime

func (*Config) GetTransportModule

func (x *Config) GetTransportModule() *TransportModule

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 Listener

type Listener struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // ip:port
	// contains filtered or unexported fields
}

func (*Listener) Descriptor deprecated

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetAddress

func (x *Listener) GetAddress() string

func (*Listener) GetNetwork

func (x *Listener) GetNetwork() string

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect

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

func (*Listener) Reset

func (x *Listener) Reset()

func (*Listener) String

func (x *Listener) String() string

type Module

type Module struct {
	Argv []string          `protobuf:"bytes,1,rep,name=argv,proto3" json:"argv,omitempty"` // warning: this is not a recommended way to pass configuration parameters to the module, use transport_module.config instead.
	Env  map[string]string ``                                                              // warning: this is not a recommended way to pass configuration parameters to the module, use transport_module.config instead.
	/* 147-byte string literal not displayed */
	InheritStdin  bool              `protobuf:"varint,3,opt,name=inherit_stdin,json=inheritStdin,proto3" json:"inherit_stdin,omitempty"`
	InheritStdout bool              `protobuf:"varint,4,opt,name=inherit_stdout,json=inheritStdout,proto3" json:"inherit_stdout,omitempty"`
	InheritStderr bool              `protobuf:"varint,5,opt,name=inherit_stderr,json=inheritStderr,proto3" json:"inherit_stderr,omitempty"`
	PreopenedDirs map[string]string `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetArgv

func (x *Module) GetArgv() []string

func (*Module) GetEnv

func (x *Module) GetEnv() map[string]string

func (*Module) GetInheritStderr

func (x *Module) GetInheritStderr() bool

func (*Module) GetInheritStdin

func (x *Module) GetInheritStdin() bool

func (*Module) GetInheritStdout

func (x *Module) GetInheritStdout() bool

func (*Module) GetPreopenedDirs

func (x *Module) GetPreopenedDirs() map[string]string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type Network

type Network struct {
	Listener *Listener `protobuf:"bytes,1,opt,name=listener,proto3" json:"listener,omitempty"`
	// contains filtered or unexported fields
}

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetListener

func (x *Network) GetListener() *Listener

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type Runtime

type Runtime struct {
	ForceInterpreter        bool `protobuf:"varint,1,opt,name=force_interpreter,json=forceInterpreter,proto3" json:"force_interpreter,omitempty"`
	DoNotCloseOnContextDone bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Runtime) Descriptor deprecated

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

Deprecated: Use Runtime.ProtoReflect.Descriptor instead.

func (*Runtime) GetDoNotCloseOnContextDone

func (x *Runtime) GetDoNotCloseOnContextDone() bool

func (*Runtime) GetForceInterpreter

func (x *Runtime) GetForceInterpreter() bool

func (*Runtime) ProtoMessage

func (*Runtime) ProtoMessage()

func (*Runtime) ProtoReflect

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

func (*Runtime) Reset

func (x *Runtime) Reset()

func (*Runtime) String

func (x *Runtime) String() string

type TransportModule

type TransportModule struct {
	Bin    []byte `protobuf:"bytes,1,opt,name=bin,proto3" json:"bin,omitempty"`
	Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*TransportModule) Descriptor deprecated

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

Deprecated: Use TransportModule.ProtoReflect.Descriptor instead.

func (*TransportModule) GetBin

func (x *TransportModule) GetBin() []byte

func (*TransportModule) GetConfig

func (x *TransportModule) GetConfig() []byte

func (*TransportModule) ProtoMessage

func (*TransportModule) ProtoMessage()

func (*TransportModule) ProtoReflect

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

func (*TransportModule) Reset

func (x *TransportModule) Reset()

func (*TransportModule) String

func (x *TransportModule) String() string

Jump to

Keyboard shortcuts

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