server: go.chromium.org/goma/server/proto/command Index | Files

package command

import "go.chromium.org/goma/server/proto/command"

Index

Package Files

command.pb.go command_service.pb.go package_opts.pb.go setup.pb.go

Variables

var CmdDescriptor_PathType_name = map[int32]string{
    0:  "UNKNOWN_PATH_TYPE",
    1:  "POSIX",
    2:  "WINDOWS",
}
var CmdDescriptor_PathType_value = map[string]int32{
    "UNKNOWN_PATH_TYPE": 0,
    "POSIX":             1,
    "WINDOWS":           2,
}
var Install_PrefixStyle_name = map[int32]string{
    0:  "ASIS",
    1:  "REGEXP",
    2:  "REGEXP_MAY_SKIP_BINARY_HASH_MISSING",
}
var Install_PrefixStyle_value = map[string]int32{
    "ASIS":                                0,
    "REGEXP":                              1,
    "REGEXP_MAY_SKIP_BINARY_HASH_MISSING": 2,
}

type BuildInfo Uses

type BuildInfo struct {
    // who build this toolchain.
    Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
    // hostname where the toolchain was built.
    Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // current working directory of toolchain build.
    Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`
    // when this toolchain was built.
    Timestamp *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    // full image name of cmd_server container.
    CmdServer string `protobuf:"bytes,7,opt,name=cmd_server,json=cmdServer,proto3" json:"cmd_server,omitempty"`
    // full qualified toolchain name (separated by space)
    Toolchain            string   `protobuf:"bytes,8,opt,name=toolchain,proto3" json:"toolchain,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

BuildInfo is image build info.

func (*BuildInfo) Descriptor Uses

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

func (*BuildInfo) GetCmdServer Uses

func (m *BuildInfo) GetCmdServer() string

func (*BuildInfo) GetCreator Uses

func (m *BuildInfo) GetCreator() string

func (*BuildInfo) GetDirectory Uses

func (m *BuildInfo) GetDirectory() string

func (*BuildInfo) GetHostname Uses

func (m *BuildInfo) GetHostname() string

func (*BuildInfo) GetTimestamp Uses

func (m *BuildInfo) GetTimestamp() *timestamp.Timestamp

func (*BuildInfo) GetToolchain Uses

func (m *BuildInfo) GetToolchain() string

func (*BuildInfo) ProtoMessage Uses

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) Reset Uses

func (m *BuildInfo) Reset()

func (*BuildInfo) String Uses

func (m *BuildInfo) String() string

func (*BuildInfo) XXX_DiscardUnknown Uses

func (m *BuildInfo) XXX_DiscardUnknown()

func (*BuildInfo) XXX_Marshal Uses

func (m *BuildInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildInfo) XXX_Merge Uses

func (m *BuildInfo) XXX_Merge(src proto.Message)

func (*BuildInfo) XXX_Size Uses

func (m *BuildInfo) XXX_Size() int

func (*BuildInfo) XXX_Unmarshal Uses

func (m *BuildInfo) XXX_Unmarshal(b []byte) error

type CmdDescriptor Uses

type CmdDescriptor struct {
    Selector             *Selector                    `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
    Setup                *CmdDescriptor_Setup         `protobuf:"bytes,2,opt,name=setup,proto3" json:"setup,omitempty"`
    Cross                *CmdDescriptor_Cross         `protobuf:"bytes,3,opt,name=cross,proto3" json:"cross,omitempty"`
    EmulationOpts        *CmdDescriptor_EmulationOpts `protobuf:"bytes,6,opt,name=emulation_opts,json=emulationOpts,proto3" json:"emulation_opts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

CmdDescriptor is a command descriptor. NEXT ID TO USE: 7

func (*CmdDescriptor) Descriptor Uses

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

func (*CmdDescriptor) GetCross Uses

func (m *CmdDescriptor) GetCross() *CmdDescriptor_Cross

func (*CmdDescriptor) GetEmulationOpts Uses

func (m *CmdDescriptor) GetEmulationOpts() *CmdDescriptor_EmulationOpts

func (*CmdDescriptor) GetSelector Uses

func (m *CmdDescriptor) GetSelector() *Selector

func (*CmdDescriptor) GetSetup Uses

func (m *CmdDescriptor) GetSetup() *CmdDescriptor_Setup

func (*CmdDescriptor) ProtoMessage Uses

func (*CmdDescriptor) ProtoMessage()

func (*CmdDescriptor) Reset Uses

func (m *CmdDescriptor) Reset()

func (*CmdDescriptor) String Uses

func (m *CmdDescriptor) String() string

func (*CmdDescriptor) XXX_DiscardUnknown Uses

func (m *CmdDescriptor) XXX_DiscardUnknown()

func (*CmdDescriptor) XXX_Marshal Uses

func (m *CmdDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdDescriptor) XXX_Merge Uses

func (m *CmdDescriptor) XXX_Merge(src proto.Message)

func (*CmdDescriptor) XXX_Size Uses

func (m *CmdDescriptor) XXX_Size() int

func (*CmdDescriptor) XXX_Unmarshal Uses

func (m *CmdDescriptor) XXX_Unmarshal(b []byte) error

type CmdDescriptor_Cross Uses

type CmdDescriptor_Cross struct {
    // If clang_need_target is true, exec_service adds -target <arch>
    // in args if args does not have -target option.
    // note: it is clang/clang++ specific.
    ClangNeedTarget      bool     `protobuf:"varint,1,opt,name=clang_need_target,json=clangNeedTarget,proto3" json:"clang_need_target,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

cross options (when user's platform and cmd_server's platform differs)

func (*CmdDescriptor_Cross) Descriptor Uses

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

func (*CmdDescriptor_Cross) GetClangNeedTarget Uses

func (m *CmdDescriptor_Cross) GetClangNeedTarget() bool

func (*CmdDescriptor_Cross) ProtoMessage Uses

func (*CmdDescriptor_Cross) ProtoMessage()

func (*CmdDescriptor_Cross) Reset Uses

func (m *CmdDescriptor_Cross) Reset()

func (*CmdDescriptor_Cross) String Uses

func (m *CmdDescriptor_Cross) String() string

func (*CmdDescriptor_Cross) XXX_DiscardUnknown Uses

func (m *CmdDescriptor_Cross) XXX_DiscardUnknown()

func (*CmdDescriptor_Cross) XXX_Marshal Uses

func (m *CmdDescriptor_Cross) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdDescriptor_Cross) XXX_Merge Uses

func (m *CmdDescriptor_Cross) XXX_Merge(src proto.Message)

func (*CmdDescriptor_Cross) XXX_Size Uses

func (m *CmdDescriptor_Cross) XXX_Size() int

func (*CmdDescriptor_Cross) XXX_Unmarshal Uses

func (m *CmdDescriptor_Cross) XXX_Unmarshal(b []byte) error

type CmdDescriptor_EmulationOpts Uses

type CmdDescriptor_EmulationOpts struct {
    // respect_client_include_paths is true if we need to append
    // include directories sent from goma client to command line.
    // For example, when we choose a binary is not relocatable, we need to
    // specify -isystem, -imsvc (or equivalent)
    RespectClientIncludePaths bool     `protobuf:"varint,1,opt,name=respect_client_include_paths,json=respectClientIncludePaths,proto3" json:"respect_client_include_paths,omitempty"`
    XXX_NoUnkeyedLiteral      struct{} `json:"-"`
    XXX_unrecognized          []byte   `json:"-"`
    XXX_sizecache             int32    `json:"-"`
}

EmulationOpts is used when goma backend cannot fully emulate client environment.

func (*CmdDescriptor_EmulationOpts) Descriptor Uses

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

func (*CmdDescriptor_EmulationOpts) GetRespectClientIncludePaths Uses

func (m *CmdDescriptor_EmulationOpts) GetRespectClientIncludePaths() bool

func (*CmdDescriptor_EmulationOpts) ProtoMessage Uses

func (*CmdDescriptor_EmulationOpts) ProtoMessage()

func (*CmdDescriptor_EmulationOpts) Reset Uses

func (m *CmdDescriptor_EmulationOpts) Reset()

func (*CmdDescriptor_EmulationOpts) String Uses

func (m *CmdDescriptor_EmulationOpts) String() string

func (*CmdDescriptor_EmulationOpts) XXX_DiscardUnknown Uses

func (m *CmdDescriptor_EmulationOpts) XXX_DiscardUnknown()

func (*CmdDescriptor_EmulationOpts) XXX_Marshal Uses

func (m *CmdDescriptor_EmulationOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdDescriptor_EmulationOpts) XXX_Merge Uses

func (m *CmdDescriptor_EmulationOpts) XXX_Merge(src proto.Message)

func (*CmdDescriptor_EmulationOpts) XXX_Size Uses

func (m *CmdDescriptor_EmulationOpts) XXX_Size() int

func (*CmdDescriptor_EmulationOpts) XXX_Unmarshal Uses

func (m *CmdDescriptor_EmulationOpts) XXX_Unmarshal(b []byte) error

type CmdDescriptor_PathType Uses

type CmdDescriptor_PathType int32
const (
    CmdDescriptor_UNKNOWN_PATH_TYPE CmdDescriptor_PathType = 0
    CmdDescriptor_POSIX             CmdDescriptor_PathType = 1
    CmdDescriptor_WINDOWS           CmdDescriptor_PathType = 2
)

func (CmdDescriptor_PathType) EnumDescriptor Uses

func (CmdDescriptor_PathType) EnumDescriptor() ([]byte, []int)

func (CmdDescriptor_PathType) String Uses

func (x CmdDescriptor_PathType) String() string

type CmdDescriptor_Setup Uses

type CmdDescriptor_Setup struct {
    // If cmd_file.Path is abs path, then this command binary is installed
    // in image at the path, and no need to setup. when run command, use
    // this path instead of local_compiler_path.  files would be empty.
    //
    // If cmd_file.Path is relative path from cmd_dir, then this command
    // binary is installed at local_compiler_path as cmd run setup.  files
    // would be also installed.
    CmdFile              *FileSpec              `protobuf:"bytes,1,opt,name=cmd_file,json=cmdFile,proto3" json:"cmd_file,omitempty"`
    CmdDir               string                 `protobuf:"bytes,2,opt,name=cmd_dir,json=cmdDir,proto3" json:"cmd_dir,omitempty"`
    Files                []*FileSpec            `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
    PathType             CmdDescriptor_PathType `protobuf:"varint,4,opt,name=path_type,json=pathType,proto3,enum=command.CmdDescriptor_PathType" json:"path_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

command binaries to run. it includes driver program (e.g. gcc), and subprograms (e.g. cc1, cc1plus, as, objcopy etc). note: shared objects in standard dirs (/lib, /usr/lib, etc) will be included in image, so no need to install in each run. shared objects specified by RPATH (i.e. $ORIGIN/../lib, e.g. libstdc++.so.6 in chromium-clang) should be specified in files below.

path is represented in path type.

func (*CmdDescriptor_Setup) Descriptor Uses

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

func (*CmdDescriptor_Setup) GetCmdDir Uses

func (m *CmdDescriptor_Setup) GetCmdDir() string

func (*CmdDescriptor_Setup) GetCmdFile Uses

func (m *CmdDescriptor_Setup) GetCmdFile() *FileSpec

func (*CmdDescriptor_Setup) GetFiles Uses

func (m *CmdDescriptor_Setup) GetFiles() []*FileSpec

func (*CmdDescriptor_Setup) GetPathType Uses

func (m *CmdDescriptor_Setup) GetPathType() CmdDescriptor_PathType

func (*CmdDescriptor_Setup) ProtoMessage Uses

func (*CmdDescriptor_Setup) ProtoMessage()

func (*CmdDescriptor_Setup) Reset Uses

func (m *CmdDescriptor_Setup) Reset()

func (*CmdDescriptor_Setup) String Uses

func (m *CmdDescriptor_Setup) String() string

func (*CmdDescriptor_Setup) XXX_DiscardUnknown Uses

func (m *CmdDescriptor_Setup) XXX_DiscardUnknown()

func (*CmdDescriptor_Setup) XXX_Marshal Uses

func (m *CmdDescriptor_Setup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CmdDescriptor_Setup) XXX_Merge Uses

func (m *CmdDescriptor_Setup) XXX_Merge(src proto.Message)

func (*CmdDescriptor_Setup) XXX_Size Uses

func (m *CmdDescriptor_Setup) XXX_Size() int

func (*CmdDescriptor_Setup) XXX_Unmarshal Uses

func (m *CmdDescriptor_Setup) XXX_Unmarshal(b []byte) error

type Config Uses

type Config struct {
    Target             *Target             `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
    BuildInfo          *BuildInfo          `protobuf:"bytes,3,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"`
    CmdDescriptor      *CmdDescriptor      `protobuf:"bytes,4,opt,name=cmd_descriptor,json=cmdDescriptor,proto3" json:"cmd_descriptor,omitempty"`
    RemoteexecPlatform *RemoteexecPlatform `protobuf:"bytes,5,opt,name=remoteexec_platform,json=remoteexecPlatform,proto3" json:"remoteexec_platform,omitempty"`
    // If this config is configured for arbitrary toolchain support,
    // set dimensions of the config. Otherwise, this should be nil.
    Dimensions           []string `protobuf:"bytes,6,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Config is a command config; mapping from selector.

func (*Config) Descriptor Uses

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

func (*Config) GetBuildInfo Uses

func (m *Config) GetBuildInfo() *BuildInfo

func (*Config) GetCmdDescriptor Uses

func (m *Config) GetCmdDescriptor() *CmdDescriptor

func (*Config) GetDimensions Uses

func (m *Config) GetDimensions() []string

func (*Config) GetRemoteexecPlatform Uses

func (m *Config) GetRemoteexecPlatform() *RemoteexecPlatform

func (*Config) GetTarget Uses

func (m *Config) GetTarget() *Target

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

type ConfigMap Uses

type ConfigMap struct {
    Runtimes             []*RuntimeConfig `protobuf:"bytes,1,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

ConfigMap is a config map; data source of Config. admin creates/updates the file in <bucket>/<config>.config and ConfigMapBucket will read the info.

func (*ConfigMap) Descriptor Uses

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

func (*ConfigMap) GetRuntimes Uses

func (m *ConfigMap) GetRuntimes() []*RuntimeConfig

func (*ConfigMap) ProtoMessage Uses

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset Uses

func (m *ConfigMap) Reset()

func (*ConfigMap) String Uses

func (m *ConfigMap) String() string

func (*ConfigMap) XXX_DiscardUnknown Uses

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal Uses

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge Uses

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size Uses

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal Uses

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigResp Uses

type ConfigResp struct {
    VersionId            string    `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
    Configs              []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

TODO: remove ConfigResp.

func (*ConfigResp) Descriptor Uses

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

func (*ConfigResp) GetConfigs Uses

func (m *ConfigResp) GetConfigs() []*Config

func (*ConfigResp) GetVersionId Uses

func (m *ConfigResp) GetVersionId() string

func (*ConfigResp) ProtoMessage Uses

func (*ConfigResp) ProtoMessage()

func (*ConfigResp) Reset Uses

func (m *ConfigResp) Reset()

func (*ConfigResp) String Uses

func (m *ConfigResp) String() string

func (*ConfigResp) XXX_DiscardUnknown Uses

func (m *ConfigResp) XXX_DiscardUnknown()

func (*ConfigResp) XXX_Marshal Uses

func (m *ConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigResp) XXX_Merge Uses

func (m *ConfigResp) XXX_Merge(src proto.Message)

func (*ConfigResp) XXX_Size Uses

func (m *ConfigResp) XXX_Size() int

func (*ConfigResp) XXX_Unmarshal Uses

func (m *ConfigResp) XXX_Unmarshal(b []byte) error

type FileSpec Uses

type FileSpec struct {
    // path in client file system.
    // may be relative.
    // for cmd descriptor, it is relative to command binary directory.
    // (e.g. /usr/bin for /usr/bin/gcc).
    // for CmdReq, it is relative to working directory specified in cmd.Dir.
    Path         string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    Size         int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
    Hash         string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
    IsExecutable bool   `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"`
    Symlink      string `protobuf:"bytes,5,opt,name=symlink,proto3" json:"symlink,omitempty"`
    // used for goma api.
    HashKey              string        `protobuf:"bytes,6,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
    Blob                 *api.FileBlob `protobuf:"bytes,7,opt,name=blob,proto3" json:"blob,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

FileSpec is a file metadata. content is identified by hash. NEXT_ID_TO_USE: 9

func (*FileSpec) Descriptor Uses

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

func (*FileSpec) GetBlob Uses

func (m *FileSpec) GetBlob() *api.FileBlob

func (*FileSpec) GetHash Uses

func (m *FileSpec) GetHash() string

func (*FileSpec) GetHashKey Uses

func (m *FileSpec) GetHashKey() string

func (*FileSpec) GetIsExecutable Uses

func (m *FileSpec) GetIsExecutable() bool

func (*FileSpec) GetPath Uses

func (m *FileSpec) GetPath() string

func (*FileSpec) GetSize Uses

func (m *FileSpec) GetSize() int64
func (m *FileSpec) GetSymlink() string

func (*FileSpec) ProtoMessage Uses

func (*FileSpec) ProtoMessage()

func (*FileSpec) Reset Uses

func (m *FileSpec) Reset()

func (*FileSpec) String Uses

func (m *FileSpec) String() string

func (*FileSpec) XXX_DiscardUnknown Uses

func (m *FileSpec) XXX_DiscardUnknown()

func (*FileSpec) XXX_Marshal Uses

func (m *FileSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileSpec) XXX_Merge Uses

func (m *FileSpec) XXX_Merge(src proto.Message)

func (*FileSpec) XXX_Size Uses

func (m *FileSpec) XXX_Size() int

func (*FileSpec) XXX_Unmarshal Uses

func (m *FileSpec) XXX_Unmarshal(b []byte) error

type Install Uses

type Install struct {
    // command key (e.g. "gcc", "clang++")
    // note that this value will be Selector name in command.proto.
    // in other words, this value must be the same with matching CommandSpec name
    // in api/goma_data.proto if the install is a compiler.
    // i.e. equivalent CompilerFlags::GetCompilerName.
    //
    // followings are known compiler keys (as of Jun 2017):
    // gcc, g++, clang, clang++, cl.exe, clang-cl, javac, ps3ppusnc.exe
    //
    // for subprogram etc, it should be basename
    // e.g. "libFindBadConstructs.so".
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // prefix dir (or toolchain root).
    Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
    // prefix_style represents how prefix need to be handled.
    PrefixStyle Install_PrefixStyle `protobuf:"varint,7,opt,name=prefix_style,json=prefixStyle,proto3,enum=command.Install_PrefixStyle" json:"prefix_style,omitempty"`
    // path in prefix dir.
    // actual binary should be found in "prefix/path".
    Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
    // glob for additional files (i.e. wrapper scripts, libs etc).
    // glob syntax is filepath.Match's.
    // relative to prefix dir.
    // if it ends with '/', all files under this dir will be added.
    Files       []string             `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
    ForSelector *Install_ForSelector `protobuf:"bytes,5,opt,name=for_selector,json=forSelector,proto3" json:"for_selector,omitempty"`
    // clang_need_target is true if --target option is always needed
    // to run command.
    // https://clang.llvm.org/docs/CrossCompilation.html#target-triple
    // this can be also true if exec_server want to use client's raw target.
    // e.g. set --target x86_64-apple-darwin-10.8.0 sent by client.
    // note: this is clang/clang++ only.
    ClangNeedTarget      bool     `protobuf:"varint,6,opt,name=clang_need_target,json=clangNeedTarget,proto3" json:"clang_need_target,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Install describes which command to be installed. path is represented as server path (posix style), and converted to client path in CmdDescriptor.Setup.

NEXT ID TO USE: 8

func (*Install) Descriptor Uses

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

func (*Install) GetClangNeedTarget Uses

func (m *Install) GetClangNeedTarget() bool

func (*Install) GetFiles Uses

func (m *Install) GetFiles() []string

func (*Install) GetForSelector Uses

func (m *Install) GetForSelector() *Install_ForSelector

func (*Install) GetKey Uses

func (m *Install) GetKey() string

func (*Install) GetPath Uses

func (m *Install) GetPath() string

func (*Install) GetPrefix Uses

func (m *Install) GetPrefix() string

func (*Install) GetPrefixStyle Uses

func (m *Install) GetPrefixStyle() Install_PrefixStyle

func (*Install) ProtoMessage Uses

func (*Install) ProtoMessage()

func (*Install) Reset Uses

func (m *Install) Reset()

func (*Install) String Uses

func (m *Install) String() string

func (*Install) XXX_DiscardUnknown Uses

func (m *Install) XXX_DiscardUnknown()

func (*Install) XXX_Marshal Uses

func (m *Install) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Install) XXX_Merge Uses

func (m *Install) XXX_Merge(src proto.Message)

func (*Install) XXX_Size Uses

func (m *Install) XXX_Size() int

func (*Install) XXX_Unmarshal Uses

func (m *Install) XXX_Unmarshal(b []byte) error

type Install_ForSelector Uses

type Install_ForSelector struct {
    // target of this cross compile.
    // this is used for dispatching a compiler as a build target.
    // note that target must be normalized.
    // e.g. x86_64-darwin
    Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
    // binary_hash_from represents a filename to calculate hash when selector is
    // made.
    // e.g. darwin/third_party/llvm-build/Release+Asserts/bin/clang
    //
    // if prefix_style above is either of REGEXP or
    // REGEXP_MAY_SKIP_BINARY_HASH_MISSING, you can use regexp grouping variable
    // here.
    // e.g. if prefix_style is REGEXP, prefix is linux/clang-([0-9]+) and
    // found clang-12345, binary_hash_from darwin/clang-$1/bin/clang is
    // automatically converted to darwin/clang-12345/bin/clang when this
    // field is used.
    // if prefix_style is REGEXP_MAY_SKIP_BINARY_HASH_MISSING and
    // darwin/clang-12345/bin/clang does not exist, setup_cmd just skip
    // to proceed setup of the command without error.
    BinaryHashFrom       string   `protobuf:"bytes,2,opt,name=binary_hash_from,json=binaryHashFrom,proto3" json:"binary_hash_from,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

ForSelector is used for setting selector for cross compile. selector's name and version is set by compiler specified by prefix and path above. note that setup_cmd in cmd_server is responsible for setting version and equivalent hash, and setting cross option in CmdDescriptor. for compilers, the result of --version option must be the same between ForSelector and Install. for subprograms, the behavior must be the same between ForSelector and Install. ForSelector and Install are expected to be made from the same source code.

func (*Install_ForSelector) Descriptor Uses

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

func (*Install_ForSelector) GetBinaryHashFrom Uses

func (m *Install_ForSelector) GetBinaryHashFrom() string

func (*Install_ForSelector) GetTarget Uses

func (m *Install_ForSelector) GetTarget() string

func (*Install_ForSelector) ProtoMessage Uses

func (*Install_ForSelector) ProtoMessage()

func (*Install_ForSelector) Reset Uses

func (m *Install_ForSelector) Reset()

func (*Install_ForSelector) String Uses

func (m *Install_ForSelector) String() string

func (*Install_ForSelector) XXX_DiscardUnknown Uses

func (m *Install_ForSelector) XXX_DiscardUnknown()

func (*Install_ForSelector) XXX_Marshal Uses

func (m *Install_ForSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Install_ForSelector) XXX_Merge Uses

func (m *Install_ForSelector) XXX_Merge(src proto.Message)

func (*Install_ForSelector) XXX_Size Uses

func (m *Install_ForSelector) XXX_Size() int

func (*Install_ForSelector) XXX_Unmarshal Uses

func (m *Install_ForSelector) XXX_Unmarshal(b []byte) error

type Install_PrefixStyle Uses

type Install_PrefixStyle int32

PrefixStyle represents a style of prefix. if it is ASIS, prefix parameter is read as-is. if it is REGEXP, prefix parameter is read as a regular expression. the install is automatically extended to all matching directories. e.g. if there is directory named clang-r123 and clang-r234, and clang-r[0-9]+ is set in prefix, install for both clang-r123 and clang-r234 are made. in this case, you can use grouping i.e. parentheses, and you can use the variables in binary_hash_from field in ForSelector. if it is REGEXP_MAY_OMIT_BINARY_HASH_MISSING, then apply REGEXP rule but skip if a file specified with binary_hash_from is missing.

const (
    Install_ASIS                                Install_PrefixStyle = 0
    Install_REGEXP                              Install_PrefixStyle = 1
    Install_REGEXP_MAY_SKIP_BINARY_HASH_MISSING Install_PrefixStyle = 2
)

func (Install_PrefixStyle) EnumDescriptor Uses

func (Install_PrefixStyle) EnumDescriptor() ([]byte, []int)

func (Install_PrefixStyle) String Uses

func (x Install_PrefixStyle) String() string

type PackageOpts Uses

type PackageOpts struct {
    // emulation_command specifies which emulation layer is necessary for this package.
    // If empty, it means no emulation layer is necessary.
    EmulationCommand string `protobuf:"bytes,7,opt,name=emulation_command,json=emulationCommand,proto3" json:"emulation_command,omitempty"`
    // output_file_filters is a set of regexp to filter output files.
    OutputFileFilters    []string `protobuf:"bytes,5,rep,name=output_file_filters,json=outputFileFilters,proto3" json:"output_file_filters,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

PackageOpts is a package option. NEXT_ID_TO_USE: 8

func (*PackageOpts) Descriptor Uses

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

func (*PackageOpts) GetEmulationCommand Uses

func (m *PackageOpts) GetEmulationCommand() string

func (*PackageOpts) GetOutputFileFilters Uses

func (m *PackageOpts) GetOutputFileFilters() []string

func (*PackageOpts) ProtoMessage Uses

func (*PackageOpts) ProtoMessage()

func (*PackageOpts) Reset Uses

func (m *PackageOpts) Reset()

func (*PackageOpts) String Uses

func (m *PackageOpts) String() string

func (*PackageOpts) XXX_DiscardUnknown Uses

func (m *PackageOpts) XXX_DiscardUnknown()

func (*PackageOpts) XXX_Marshal Uses

func (m *PackageOpts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageOpts) XXX_Merge Uses

func (m *PackageOpts) XXX_Merge(src proto.Message)

func (*PackageOpts) XXX_Size Uses

func (m *PackageOpts) XXX_Size() int

func (*PackageOpts) XXX_Unmarshal Uses

func (m *PackageOpts) XXX_Unmarshal(b []byte) error

type Platform Uses

type Platform struct {
    Properties           []*Platform_Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Platform is a set of requirements, such as haredware, operting system for RBE backend. matched with build.bazel.remote.execution.v2.Platform.

func (*Platform) Descriptor Uses

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

func (*Platform) GetProperties Uses

func (m *Platform) GetProperties() []*Platform_Property

func (*Platform) ProtoMessage Uses

func (*Platform) ProtoMessage()

func (*Platform) Reset Uses

func (m *Platform) Reset()

func (*Platform) String Uses

func (m *Platform) String() string

func (*Platform) XXX_DiscardUnknown Uses

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal Uses

func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform) XXX_Merge Uses

func (m *Platform) XXX_Merge(src proto.Message)

func (*Platform) XXX_Size Uses

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal Uses

func (m *Platform) XXX_Unmarshal(b []byte) error

type PlatformRuntimeConfig Uses

type PlatformRuntimeConfig struct {
    Dimensions []string `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
    // Set true if nsjail is available in the platform image.
    HasNsjail            bool     `protobuf:"varint,2,opt,name=has_nsjail,json=hasNsjail,proto3" json:"has_nsjail,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

PlatformRuntimeConfig is a config to use the runtime. NEXT ID TO USE: 3

func (*PlatformRuntimeConfig) Descriptor Uses

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

func (*PlatformRuntimeConfig) GetDimensions Uses

func (m *PlatformRuntimeConfig) GetDimensions() []string

func (*PlatformRuntimeConfig) GetHasNsjail Uses

func (m *PlatformRuntimeConfig) GetHasNsjail() bool

func (*PlatformRuntimeConfig) ProtoMessage Uses

func (*PlatformRuntimeConfig) ProtoMessage()

func (*PlatformRuntimeConfig) Reset Uses

func (m *PlatformRuntimeConfig) Reset()

func (*PlatformRuntimeConfig) String Uses

func (m *PlatformRuntimeConfig) String() string

func (*PlatformRuntimeConfig) XXX_DiscardUnknown Uses

func (m *PlatformRuntimeConfig) XXX_DiscardUnknown()

func (*PlatformRuntimeConfig) XXX_Marshal Uses

func (m *PlatformRuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlatformRuntimeConfig) XXX_Merge Uses

func (m *PlatformRuntimeConfig) XXX_Merge(src proto.Message)

func (*PlatformRuntimeConfig) XXX_Size Uses

func (m *PlatformRuntimeConfig) XXX_Size() int

func (*PlatformRuntimeConfig) XXX_Unmarshal Uses

func (m *PlatformRuntimeConfig) XXX_Unmarshal(b []byte) error

type Platform_Property Uses

type Platform_Property struct {
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Platform_Property) Descriptor Uses

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

func (*Platform_Property) GetName Uses

func (m *Platform_Property) GetName() string

func (*Platform_Property) GetValue Uses

func (m *Platform_Property) GetValue() string

func (*Platform_Property) ProtoMessage Uses

func (*Platform_Property) ProtoMessage()

func (*Platform_Property) Reset Uses

func (m *Platform_Property) Reset()

func (*Platform_Property) String Uses

func (m *Platform_Property) String() string

func (*Platform_Property) XXX_DiscardUnknown Uses

func (m *Platform_Property) XXX_DiscardUnknown()

func (*Platform_Property) XXX_Marshal Uses

func (m *Platform_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform_Property) XXX_Merge Uses

func (m *Platform_Property) XXX_Merge(src proto.Message)

func (*Platform_Property) XXX_Size Uses

func (m *Platform_Property) XXX_Size() int

func (*Platform_Property) XXX_Unmarshal Uses

func (m *Platform_Property) XXX_Unmarshal(b []byte) error

type RemoteexecPlatform Uses

type RemoteexecPlatform struct {
    Properties []*RemoteexecPlatform_Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
    // Basename of RBE instance to use. e.g. "default_instance" or "windows".
    RbeInstanceBasename string `protobuf:"bytes,2,opt,name=rbe_instance_basename,json=rbeInstanceBasename,proto3" json:"rbe_instance_basename,omitempty"`
    // Set true if nsjail is available in the platform image.
    HasNsjail            bool     `protobuf:"varint,3,opt,name=has_nsjail,json=hasNsjail,proto3" json:"has_nsjail,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

RemoteexecPlatform is a set of requirements, such as hardware, operating system, for an remoteexec API.

func (*RemoteexecPlatform) Descriptor Uses

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

func (*RemoteexecPlatform) GetHasNsjail Uses

func (m *RemoteexecPlatform) GetHasNsjail() bool

func (*RemoteexecPlatform) GetProperties Uses

func (m *RemoteexecPlatform) GetProperties() []*RemoteexecPlatform_Property

func (*RemoteexecPlatform) GetRbeInstanceBasename Uses

func (m *RemoteexecPlatform) GetRbeInstanceBasename() string

func (*RemoteexecPlatform) ProtoMessage Uses

func (*RemoteexecPlatform) ProtoMessage()

func (*RemoteexecPlatform) Reset Uses

func (m *RemoteexecPlatform) Reset()

func (*RemoteexecPlatform) String Uses

func (m *RemoteexecPlatform) String() string

func (*RemoteexecPlatform) XXX_DiscardUnknown Uses

func (m *RemoteexecPlatform) XXX_DiscardUnknown()

func (*RemoteexecPlatform) XXX_Marshal Uses

func (m *RemoteexecPlatform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteexecPlatform) XXX_Merge Uses

func (m *RemoteexecPlatform) XXX_Merge(src proto.Message)

func (*RemoteexecPlatform) XXX_Size Uses

func (m *RemoteexecPlatform) XXX_Size() int

func (*RemoteexecPlatform) XXX_Unmarshal Uses

func (m *RemoteexecPlatform) XXX_Unmarshal(b []byte) error

type RemoteexecPlatform_Property Uses

type RemoteexecPlatform_Property struct {
    // The property name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The property value.
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*RemoteexecPlatform_Property) Descriptor Uses

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

func (*RemoteexecPlatform_Property) GetName Uses

func (m *RemoteexecPlatform_Property) GetName() string

func (*RemoteexecPlatform_Property) GetValue Uses

func (m *RemoteexecPlatform_Property) GetValue() string

func (*RemoteexecPlatform_Property) ProtoMessage Uses

func (*RemoteexecPlatform_Property) ProtoMessage()

func (*RemoteexecPlatform_Property) Reset Uses

func (m *RemoteexecPlatform_Property) Reset()

func (*RemoteexecPlatform_Property) String Uses

func (m *RemoteexecPlatform_Property) String() string

func (*RemoteexecPlatform_Property) XXX_DiscardUnknown Uses

func (m *RemoteexecPlatform_Property) XXX_DiscardUnknown()

func (*RemoteexecPlatform_Property) XXX_Marshal Uses

func (m *RemoteexecPlatform_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteexecPlatform_Property) XXX_Merge Uses

func (m *RemoteexecPlatform_Property) XXX_Merge(src proto.Message)

func (*RemoteexecPlatform_Property) XXX_Size Uses

func (m *RemoteexecPlatform_Property) XXX_Size() int

func (*RemoteexecPlatform_Property) XXX_Unmarshal Uses

func (m *RemoteexecPlatform_Property) XXX_Unmarshal(b []byte) error

type RuntimeConfig Uses

type RuntimeConfig struct {
    // name of runtime.
    //
    // if this runtime config found in a bucket,
    // the following files will be detected in this name directory in the bucket:
    //   seq
    //   <prebuilt-item>/descriptors/<descriptorHash>
    //   remoteexec-platform/<property-name>
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // service address for the runtime. i.e. RBE address.
    ServiceAddr string `protobuf:"bytes,2,opt,name=service_addr,json=serviceAddr,proto3" json:"service_addr,omitempty"`
    // If not nil, this runtime config will be also configured
    // for arbitrary toolchain support.
    // This is selector to use this runtime. i.e. if client request contains
    // the dimentions, this runtime config will be selected.
    PlatformRuntimeConfig *PlatformRuntimeConfig `protobuf:"bytes,6,opt,name=platform_runtime_config,json=platformRuntimeConfig,proto3" json:"platform_runtime_config,omitempty"`
    // Platform is a set of requirements, such as haredware, operting system
    // for RBE backend.
    // property files stored in remoteexec-platform/ in the bucket will be
    // merged into this.
    Platform *Platform `protobuf:"bytes,8,opt,name=platform,proto3" json:"platform,omitempty"`
    // prebuilts prefix to allow.
    // if allowed_prebuilts specified, only prebuilts that are matched
    // by allowed_prebuilts is allowed. other prebuilts are disallowed.
    // if no allowed_prebuilts specified, any prebuilts are allowed
    // if it is not disallowed by disallowed_prebuilts.
    AllowedPrebuilts []string `protobuf:"bytes,3,rep,name=allowed_prebuilts,json=allowedPrebuilts,proto3" json:"allowed_prebuilts,omitempty"`
    // prebuilts prefix to disallow.
    // if no disallowed_prebuilts specified, only allowed_prebuilts is used.
    // if both are not specified, all prebuilts are allowed.
    DisallowedPrebuilts []string `protobuf:"bytes,4,rep,name=disallowed_prebuilts,json=disallowedPrebuilts,proto3" json:"disallowed_prebuilts,omitempty"`
    // commands that is disallowed in the runtime.
    // selector field is used for exact match, if it is specified.
    // selector field that is not specified in disallowed_commands will
    // match any selector.
    DisallowedCommands   []*Selector `protobuf:"bytes,5,rep,name=disallowed_commands,json=disallowedCommands,proto3" json:"disallowed_commands,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

RuntimeConfig is config for runtime. NEXT ID TO USE: 9

func (*RuntimeConfig) Descriptor Uses

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

func (*RuntimeConfig) GetAllowedPrebuilts Uses

func (m *RuntimeConfig) GetAllowedPrebuilts() []string

func (*RuntimeConfig) GetDisallowedCommands Uses

func (m *RuntimeConfig) GetDisallowedCommands() []*Selector

func (*RuntimeConfig) GetDisallowedPrebuilts Uses

func (m *RuntimeConfig) GetDisallowedPrebuilts() []string

func (*RuntimeConfig) GetName Uses

func (m *RuntimeConfig) GetName() string

func (*RuntimeConfig) GetPlatform Uses

func (m *RuntimeConfig) GetPlatform() *Platform

func (*RuntimeConfig) GetPlatformRuntimeConfig Uses

func (m *RuntimeConfig) GetPlatformRuntimeConfig() *PlatformRuntimeConfig

func (*RuntimeConfig) GetServiceAddr Uses

func (m *RuntimeConfig) GetServiceAddr() string

func (*RuntimeConfig) ProtoMessage Uses

func (*RuntimeConfig) ProtoMessage()

func (*RuntimeConfig) Reset Uses

func (m *RuntimeConfig) Reset()

func (*RuntimeConfig) String Uses

func (m *RuntimeConfig) String() string

func (*RuntimeConfig) XXX_DiscardUnknown Uses

func (m *RuntimeConfig) XXX_DiscardUnknown()

func (*RuntimeConfig) XXX_Marshal Uses

func (m *RuntimeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeConfig) XXX_Merge Uses

func (m *RuntimeConfig) XXX_Merge(src proto.Message)

func (*RuntimeConfig) XXX_Size Uses

func (m *RuntimeConfig) XXX_Size() int

func (*RuntimeConfig) XXX_Unmarshal Uses

func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error

type Selector Uses

type Selector struct {
    // command name.
    // name is command base name without version number and architecture.
    // i.e. it should be equivalent CompilerFlags::GetCompilerName.
    // e.g. "gcc", "g++", "clang", "libFindBadConstructs.so",
    // "libFindBadConstructs.dylib".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // version. e.g. "4.4.3[Ubuntu 4.4.3-4ubuntu5]"
    Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    // compiler's target machine. e.g. gcc -dumpmachine.
    Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
    // binary hash of the command (sha256, hexencoded)
    BinaryHash           string   `protobuf:"bytes,4,opt,name=binary_hash,json=binaryHash,proto3" json:"binary_hash,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Selector is a command selector. it is used to select a compiler or a subprogram/plugin to run on cmd_server by matching it with CommandSpec or SubprogramSpec in a request from goma client. a subprogram/plugin use name and binary_hash for matching. basename of path in SubprogramSpec should match with name in Selector. TODO: consider also using target.

func (*Selector) Descriptor Uses

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

func (*Selector) GetBinaryHash Uses

func (m *Selector) GetBinaryHash() string

func (*Selector) GetName Uses

func (m *Selector) GetName() string

func (*Selector) GetTarget Uses

func (m *Selector) GetTarget() string

func (*Selector) GetVersion Uses

func (m *Selector) GetVersion() string

func (*Selector) ProtoMessage Uses

func (*Selector) ProtoMessage()

func (*Selector) Reset Uses

func (m *Selector) Reset()

func (*Selector) String Uses

func (m *Selector) String() string

func (*Selector) XXX_DiscardUnknown Uses

func (m *Selector) XXX_DiscardUnknown()

func (*Selector) XXX_Marshal Uses

func (m *Selector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Selector) XXX_Merge Uses

func (m *Selector) XXX_Merge(src proto.Message)

func (*Selector) XXX_Size Uses

func (m *Selector) XXX_Size() int

func (*Selector) XXX_Unmarshal Uses

func (m *Selector) XXX_Unmarshal(b []byte) error

type Setup Uses

type Setup struct {
    Installs             []*Install `protobuf:"bytes,1,rep,name=installs,proto3" json:"installs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

func (*Setup) Descriptor Uses

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

func (*Setup) GetInstalls Uses

func (m *Setup) GetInstalls() []*Install

func (*Setup) ProtoMessage Uses

func (*Setup) ProtoMessage()

func (*Setup) Reset Uses

func (m *Setup) Reset()

func (*Setup) String Uses

func (m *Setup) String() string

func (*Setup) XXX_DiscardUnknown Uses

func (m *Setup) XXX_DiscardUnknown()

func (*Setup) XXX_Marshal Uses

func (m *Setup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Setup) XXX_Merge Uses

func (m *Setup) XXX_Merge(src proto.Message)

func (*Setup) XXX_Size Uses

func (m *Setup) XXX_Size() int

func (*Setup) XXX_Unmarshal Uses

func (m *Setup) XXX_Unmarshal(b []byte) error

type Target Uses

type Target struct {
    Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Target is a target address.

func (*Target) Descriptor Uses

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

func (*Target) GetAddr Uses

func (m *Target) GetAddr() string

func (*Target) ProtoMessage Uses

func (*Target) ProtoMessage()

func (*Target) Reset Uses

func (m *Target) Reset()

func (*Target) String Uses

func (m *Target) String() string

func (*Target) XXX_DiscardUnknown Uses

func (m *Target) XXX_DiscardUnknown()

func (*Target) XXX_Marshal Uses

func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Target) XXX_Merge Uses

func (m *Target) XXX_Merge(src proto.Message)

func (*Target) XXX_Size Uses

func (m *Target) XXX_Size() int

func (*Target) XXX_Unmarshal Uses

func (m *Target) XXX_Unmarshal(b []byte) error

Package command imports 5 packages (graph) and is imported by 7 packages. Updated 2019-09-15. Refresh now. Tools for package owners.