pb

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Command string            `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	Args    []string          `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Env     map[string]string `` /* 147-byte string literal not displayed */
	Config  string            `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(config string) *Config

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetArgs

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

func (*Config) GetCommand

func (x *Config) GetCommand() string

func (*Config) GetConfig

func (x *Config) GetConfig() string

func (*Config) GetEnv

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

func (*Config) Parse

func (p *Config) Parse()

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

Jump to

Keyboard shortcuts

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