protos

package
v0.0.0-...-9febfc8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

README

Protos for Cros Test Runner

This package should hold all the protos needed for cros test runner.

Install protoc (if not already installed)

  1. Check if protoc is installed in the env: protoc --version
  2. If not installed, install protoc following these commands.
  3. Run: wget wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip
  4. Copy the binary to bin: sudo cp bin/protoc /usr/bin/protoc
  5. Run again: protoc --version. Output should be: libprotoc 3.3.0

CipdInfo proto

Compile this proto via this command inside protos folder: protoc cipdInfo.proto --proto_path=./ --go_out=./

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cipdInfo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CipdVersionInfo

type CipdVersionInfo struct {
	Version *CipdVersionInfo_Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*CipdVersionInfo) Descriptor deprecated

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

Deprecated: Use CipdVersionInfo.ProtoReflect.Descriptor instead.

func (*CipdVersionInfo) GetVersion

func (x *CipdVersionInfo) GetVersion() *CipdVersionInfo_Version

func (*CipdVersionInfo) ProtoMessage

func (*CipdVersionInfo) ProtoMessage()

func (*CipdVersionInfo) ProtoReflect

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

func (*CipdVersionInfo) Reset

func (x *CipdVersionInfo) Reset()

func (*CipdVersionInfo) String

func (x *CipdVersionInfo) String() string

type CipdVersionInfo_Version

type CipdVersionInfo_Version struct {

	// cipd_label describes which cipd label to use for the binary.
	CipdLabel string `protobuf:"bytes,1,opt,name=cipd_label,json=cipdLabel,proto3" json:"cipd_label,omitempty"`
	// contains filtered or unexported fields
}

Version describes which binary version to use.

func (*CipdVersionInfo_Version) Descriptor deprecated

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

Deprecated: Use CipdVersionInfo_Version.ProtoReflect.Descriptor instead.

func (*CipdVersionInfo_Version) GetCipdLabel

func (x *CipdVersionInfo_Version) GetCipdLabel() string

func (*CipdVersionInfo_Version) ProtoMessage

func (*CipdVersionInfo_Version) ProtoMessage()

func (*CipdVersionInfo_Version) ProtoReflect

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

func (*CipdVersionInfo_Version) Reset

func (x *CipdVersionInfo_Version) Reset()

func (*CipdVersionInfo_Version) String

func (x *CipdVersionInfo_Version) String() string

Jump to

Keyboard shortcuts

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