Back to godoc.org
go.chromium.org/chromiumos/infra/proto/go / test_platform / phosphorus

package phosphorus

v0.0.0 (3183760)
Latest Go to latest
Published: 4 days ago | License: BSD-3-Clause | Module: go.chromium.org/chromiumos/infra/proto/go

Index

Package Files

Variables

var PrejobResponse_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "SUCCEEDED",
	2: "FAILED",
	3: "TIMED_OUT",
	4: "ABORTED",
}
var PrejobResponse_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"SUCCEEDED":         1,
	"FAILED":            2,
	"TIMED_OUT":         3,
	"ABORTED":           4,
}
var RunTestResponse_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "SUCCEEDED",
	2: "FAILED",
	3: "TIMED_OUT",
	4: "ABORTED",
}
var RunTestResponse_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"SUCCEEDED":         1,
	"FAILED":            2,
	"TIMED_OUT":         3,
	"ABORTED":           4,
}

type BotEnvironment

type BotEnvironment struct {
	// Absolute path to the autotest directory for the bot, e.g.
	// "/usr/local/autotest".
	AutotestDir          string   `protobuf:"bytes,1,opt,name=autotest_dir,json=autotestDir,proto3" json:"autotest_dir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BotEnvironment defines bot-specific parameters used by phosphorus.

func (*BotEnvironment) Descriptor

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

func (*BotEnvironment) GetAutotestDir

func (m *BotEnvironment) GetAutotestDir() string

func (*BotEnvironment) ProtoMessage

func (*BotEnvironment) ProtoMessage()

func (*BotEnvironment) Reset

func (m *BotEnvironment) Reset()

func (*BotEnvironment) String

func (m *BotEnvironment) String() string

func (*BotEnvironment) XXX_DiscardUnknown

func (m *BotEnvironment) XXX_DiscardUnknown()

func (*BotEnvironment) XXX_Marshal

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

func (*BotEnvironment) XXX_Merge

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

func (*BotEnvironment) XXX_Size

func (m *BotEnvironment) XXX_Size() int

func (*BotEnvironment) XXX_Unmarshal

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

type Config

type Config struct {
	Bot                  *BotEnvironment  `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
	Task                 *TaskEnvironment `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Config defines configuration parameters common to phosphorus subcommands.

func (*Config) Descriptor

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

func (*Config) GetBot

func (m *Config) GetBot() *BotEnvironment

func (*Config) GetTask

func (m *Config) GetTask() *TaskEnvironment

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

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

func (*Config) XXX_Merge

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

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

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

type PrejobRequest

type PrejobRequest struct {
	Config              *Config           `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	DutHostname         string            `protobuf:"bytes,2,opt,name=dut_hostname,json=dutHostname,proto3" json:"dut_hostname,omitempty"`
	ProvisionableLabels map[string]string "" /* 206 byte string literal not displayed */

	DesiredProvisionableLabels map[string]string "" /* 229 byte string literal not displayed */

	ExistingProvisionableLabels map[string]string "" /* 232 byte string literal not displayed */

	Deadline             *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deadline,proto3" json:"deadline,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

PrejobRequest defines the input of `phosphorus prejob`.

func (*PrejobRequest) Descriptor

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

func (*PrejobRequest) GetConfig

func (m *PrejobRequest) GetConfig() *Config

func (*PrejobRequest) GetDeadline

func (m *PrejobRequest) GetDeadline() *timestamp.Timestamp

func (*PrejobRequest) GetDesiredProvisionableLabels

func (m *PrejobRequest) GetDesiredProvisionableLabels() map[string]string

func (*PrejobRequest) GetDutHostname

func (m *PrejobRequest) GetDutHostname() string

func (*PrejobRequest) GetExistingProvisionableLabels

func (m *PrejobRequest) GetExistingProvisionableLabels() map[string]string

func (*PrejobRequest) GetProvisionableLabels

func (m *PrejobRequest) GetProvisionableLabels() map[string]string

Deprecated: Do not use.

func (*PrejobRequest) ProtoMessage

func (*PrejobRequest) ProtoMessage()

func (*PrejobRequest) Reset

func (m *PrejobRequest) Reset()

func (*PrejobRequest) String

func (m *PrejobRequest) String() string

func (*PrejobRequest) XXX_DiscardUnknown

func (m *PrejobRequest) XXX_DiscardUnknown()

func (*PrejobRequest) XXX_Marshal

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

func (*PrejobRequest) XXX_Merge

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

func (*PrejobRequest) XXX_Size

func (m *PrejobRequest) XXX_Size() int

func (*PrejobRequest) XXX_Unmarshal

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

type PrejobResponse

type PrejobResponse struct {
	// `phosphorus prejob` exits with exit code 0 unless there is an
	// infrastructure failure. When the exit code is 0, `state` indicates the
	// best known state of the prejob execution (see comments on State enum).
	State                PrejobResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=test_platform.phosphorus.PrejobResponse_State" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

PrejobResponse defines the output of `phosphorus prejob`.

func (*PrejobResponse) Descriptor

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

func (*PrejobResponse) GetState

func (m *PrejobResponse) GetState() PrejobResponse_State

func (*PrejobResponse) ProtoMessage

func (*PrejobResponse) ProtoMessage()

func (*PrejobResponse) Reset

func (m *PrejobResponse) Reset()

func (*PrejobResponse) String

func (m *PrejobResponse) String() string

func (*PrejobResponse) XXX_DiscardUnknown

func (m *PrejobResponse) XXX_DiscardUnknown()

func (*PrejobResponse) XXX_Marshal

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

func (*PrejobResponse) XXX_Merge

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

func (*PrejobResponse) XXX_Size

func (m *PrejobResponse) XXX_Size() int

func (*PrejobResponse) XXX_Unmarshal

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

type PrejobResponse_State

type PrejobResponse_State int32

Values should be consistent with https://aip.dev/216

const (
	// Should not be used.
	PrejobResponse_STATE_UNSPECIFIED PrejobResponse_State = 0
	// The prejob succeeded.
	//
	// Some prejob failures may not be detectable during execution. These
	// failures will be detected when parsing results off the prejob logs in a
	// later step of test_runner.
	PrejobResponse_SUCCEEDED PrejobResponse_State = 1
	// The prejob failed.
	PrejobResponse_FAILED PrejobResponse_State = 2
	// The prejob hit the requested timeout.
	PrejobResponse_TIMED_OUT PrejobResponse_State = 3
	// The prejob was aborted externally.
	PrejobResponse_ABORTED PrejobResponse_State = 4
)

func (PrejobResponse_State) EnumDescriptor

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

func (PrejobResponse_State) String

func (x PrejobResponse_State) String() string

type RunTestRequest

type RunTestRequest struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// A test may use more than one DUT at once.
	DutHostnames []string `protobuf:"bytes,2,rep,name=dut_hostnames,json=dutHostnames,proto3" json:"dut_hostnames,omitempty"`
	// Types that are valid to be assigned to Test:
	//	*RunTestRequest_Autotest_
	Test        isRunTestRequest_Test       `protobuf_oneof:"test"`
	Environment *RunTestRequest_Environment `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	// Hard deadline for execution.
	//
	// All test execution should abort beyond this deadline.
	Deadline             *timestamp.Timestamp `protobuf:"bytes,5,opt,name=deadline,proto3" json:"deadline,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

RunTestRequest defines the input of `phosphorus runtest`.

func (*RunTestRequest) Descriptor

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

func (*RunTestRequest) GetAutotest

func (m *RunTestRequest) GetAutotest() *RunTestRequest_Autotest

func (*RunTestRequest) GetConfig

func (m *RunTestRequest) GetConfig() *Config

func (*RunTestRequest) GetDeadline

func (m *RunTestRequest) GetDeadline() *timestamp.Timestamp

func (*RunTestRequest) GetDutHostnames

func (m *RunTestRequest) GetDutHostnames() []string

func (*RunTestRequest) GetEnvironment

func (m *RunTestRequest) GetEnvironment() *RunTestRequest_Environment

func (*RunTestRequest) GetTest

func (m *RunTestRequest) GetTest() isRunTestRequest_Test

func (*RunTestRequest) ProtoMessage

func (*RunTestRequest) ProtoMessage()

func (*RunTestRequest) Reset

func (m *RunTestRequest) Reset()

func (*RunTestRequest) String

func (m *RunTestRequest) String() string

func (*RunTestRequest) XXX_DiscardUnknown

func (m *RunTestRequest) XXX_DiscardUnknown()

func (*RunTestRequest) XXX_Marshal

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

func (*RunTestRequest) XXX_Merge

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

func (*RunTestRequest) XXX_OneofWrappers

func (*RunTestRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RunTestRequest) XXX_Size

func (m *RunTestRequest) XXX_Size() int

func (*RunTestRequest) XXX_Unmarshal

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

type RunTestRequest_Autotest

type RunTestRequest_Autotest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`

	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	IsClientTest bool `protobuf:"varint,4,opt,name=is_client_test,json=isClientTest,proto3" json:"is_client_test,omitempty"`

	Keyvals              map[string]string "" /* 155 byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Autotest describes the DUT-agnostic parameters of an autotest test run.

func (*RunTestRequest_Autotest) Descriptor

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

func (*RunTestRequest_Autotest) GetDisplayName

func (m *RunTestRequest_Autotest) GetDisplayName() string

func (*RunTestRequest_Autotest) GetIsClientTest

func (m *RunTestRequest_Autotest) GetIsClientTest() bool

func (*RunTestRequest_Autotest) GetKeyvals

func (m *RunTestRequest_Autotest) GetKeyvals() map[string]string

func (*RunTestRequest_Autotest) GetName

func (m *RunTestRequest_Autotest) GetName() string

func (*RunTestRequest_Autotest) GetTestArgs

func (m *RunTestRequest_Autotest) GetTestArgs() string

func (*RunTestRequest_Autotest) ProtoMessage

func (*RunTestRequest_Autotest) ProtoMessage()

func (*RunTestRequest_Autotest) Reset

func (m *RunTestRequest_Autotest) Reset()

func (*RunTestRequest_Autotest) String

func (m *RunTestRequest_Autotest) String() string

func (*RunTestRequest_Autotest) XXX_DiscardUnknown

func (m *RunTestRequest_Autotest) XXX_DiscardUnknown()

func (*RunTestRequest_Autotest) XXX_Marshal

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

func (*RunTestRequest_Autotest) XXX_Merge

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

func (*RunTestRequest_Autotest) XXX_Size

func (m *RunTestRequest_Autotest) XXX_Size() int

func (*RunTestRequest_Autotest) XXX_Unmarshal

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

type RunTestRequest_Autotest_

type RunTestRequest_Autotest_ struct {
	Autotest *RunTestRequest_Autotest `protobuf:"bytes,3,opt,name=autotest,proto3,oneof"`
}

type RunTestRequest_Environment

type RunTestRequest_Environment struct {
	// Directory in Google Storage (bucket or subdirectory) in which
	// synchronous log-data will be offloaded. Reused across tasks.
	// ex. "gs://chromeos-autotest-results/sync-offloads-testing"
	GsRootDir            string   `protobuf:"bytes,2,opt,name=gs_root_dir,json=gsRootDir,proto3" json:"gs_root_dir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

remote test drive-agnostic environment variables and similar parameters

func (*RunTestRequest_Environment) Descriptor

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

func (*RunTestRequest_Environment) GetGsRootDir

func (m *RunTestRequest_Environment) GetGsRootDir() string

func (*RunTestRequest_Environment) ProtoMessage

func (*RunTestRequest_Environment) ProtoMessage()

func (*RunTestRequest_Environment) Reset

func (m *RunTestRequest_Environment) Reset()

func (*RunTestRequest_Environment) String

func (m *RunTestRequest_Environment) String() string

func (*RunTestRequest_Environment) XXX_DiscardUnknown

func (m *RunTestRequest_Environment) XXX_DiscardUnknown()

func (*RunTestRequest_Environment) XXX_Marshal

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

func (*RunTestRequest_Environment) XXX_Merge

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

func (*RunTestRequest_Environment) XXX_Size

func (m *RunTestRequest_Environment) XXX_Size() int

func (*RunTestRequest_Environment) XXX_Unmarshal

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

type RunTestResponse

type RunTestResponse struct {
	// `phosphorus runtest` exits with exit code 0 unless there is an
	// infrastructure failure. When the exit code is 0, `state` indicates the
	// best known state of the test execution (see comments on State enum).
	State RunTestResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=test_platform.phosphorus.RunTestResponse_State" json:"state,omitempty"`
	// Absolute path to the test results directory created by `runtest`.
	// Must be inside config.task.results_dir (the overall results directory).
	ResultsDir           string   `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RunTestResponse defines the output of `phosphorus runtest`.

func (*RunTestResponse) Descriptor

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

func (*RunTestResponse) GetResultsDir

func (m *RunTestResponse) GetResultsDir() string

func (*RunTestResponse) GetState

func (m *RunTestResponse) GetState() RunTestResponse_State

func (*RunTestResponse) ProtoMessage

func (*RunTestResponse) ProtoMessage()

func (*RunTestResponse) Reset

func (m *RunTestResponse) Reset()

func (*RunTestResponse) String

func (m *RunTestResponse) String() string

func (*RunTestResponse) XXX_DiscardUnknown

func (m *RunTestResponse) XXX_DiscardUnknown()

func (*RunTestResponse) XXX_Marshal

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

func (*RunTestResponse) XXX_Merge

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

func (*RunTestResponse) XXX_Size

func (m *RunTestResponse) XXX_Size() int

func (*RunTestResponse) XXX_Unmarshal

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

type RunTestResponse_State

type RunTestResponse_State int32

Values should be consistent with https://aip.dev/216

const (
	// Should not be used.
	RunTestResponse_STATE_UNSPECIFIED RunTestResponse_State = 0
	// The test succeeded.
	//
	// Some test failures may not be detectable during execution. These
	// failures will be detected when parsing results off the test logs in a
	// later step of test_runner.
	RunTestResponse_SUCCEEDED RunTestResponse_State = 1
	// The test failed.
	RunTestResponse_FAILED RunTestResponse_State = 2
	// The test hit the requested timeout.
	RunTestResponse_TIMED_OUT RunTestResponse_State = 3
	// The test was aborted externally.
	RunTestResponse_ABORTED RunTestResponse_State = 4
)

func (RunTestResponse_State) EnumDescriptor

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

func (RunTestResponse_State) String

func (x RunTestResponse_State) String() string

type TaskEnvironment

type TaskEnvironment struct {
	// Path to the client offload directory relative to the results directory
	//  Intended for log-data which is needed synchronously with high reliability
	SynchronousOffloadDir string `protobuf:"bytes,1,opt,name=synchronous_offload_dir,json=synchronousOffloadDir,proto3" json:"synchronous_offload_dir,omitempty"`
	// Absolute path to the results directory for a given run. Include results of
	//  both tests and non-test tasks like provision
	ResultsDir string `protobuf:"bytes,2,opt,name=results_dir,json=resultsDir,proto3" json:"results_dir,omitempty"`
	// Absolute path to the results directory for a given run's tests.
	//  MUST be equal to ${results_dir}/autoserv_test if present. This restriction
	//  may be lifted in the future.
	TestResultsDir       string   `protobuf:"bytes,3,opt,name=test_results_dir,json=testResultsDir,proto3" json:"test_results_dir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TaskEnvironment defines task-specific parameters used by phosphorus.

func (*TaskEnvironment) Descriptor

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

func (*TaskEnvironment) GetResultsDir

func (m *TaskEnvironment) GetResultsDir() string

func (*TaskEnvironment) GetSynchronousOffloadDir

func (m *TaskEnvironment) GetSynchronousOffloadDir() string

func (*TaskEnvironment) GetTestResultsDir

func (m *TaskEnvironment) GetTestResultsDir() string

func (*TaskEnvironment) ProtoMessage

func (*TaskEnvironment) ProtoMessage()

func (*TaskEnvironment) Reset

func (m *TaskEnvironment) Reset()

func (*TaskEnvironment) String

func (m *TaskEnvironment) String() string

func (*TaskEnvironment) XXX_DiscardUnknown

func (m *TaskEnvironment) XXX_DiscardUnknown()

func (*TaskEnvironment) XXX_Marshal

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

func (*TaskEnvironment) XXX_Merge

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

func (*TaskEnvironment) XXX_Size

func (m *TaskEnvironment) XXX_Size() int

func (*TaskEnvironment) XXX_Unmarshal

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

type UploadToGSRequest

type UploadToGSRequest struct {
	// Deprecated in favor of local_directory, which is the only thing it's used
	// for. Assembling that directory is moving to the 'callers'.
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Deprecated: Do not use.
	// GS path to upload to, e.g. gs://foo/bar/baz/
	GsDirectory string `protobuf:"bytes,2,opt,name=gs_directory,json=gsDirectory,proto3" json:"gs_directory,omitempty"`
	// Absolute path to local directory to upload to GS, e.g. /usr/local/foo/bar
	LocalDirectory       string   `protobuf:"bytes,4,opt,name=local_directory,json=localDirectory,proto3" json:"local_directory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UploadToGSRequest defines the input of `phosphorus upload-to-gs`, for uploading to Google Storage.

func (*UploadToGSRequest) Descriptor

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

func (*UploadToGSRequest) GetConfig

func (m *UploadToGSRequest) GetConfig() *Config

Deprecated: Do not use.

func (*UploadToGSRequest) GetGsDirectory

func (m *UploadToGSRequest) GetGsDirectory() string

func (*UploadToGSRequest) GetLocalDirectory

func (m *UploadToGSRequest) GetLocalDirectory() string

func (*UploadToGSRequest) ProtoMessage

func (*UploadToGSRequest) ProtoMessage()

func (*UploadToGSRequest) Reset

func (m *UploadToGSRequest) Reset()

func (*UploadToGSRequest) String

func (m *UploadToGSRequest) String() string

func (*UploadToGSRequest) XXX_DiscardUnknown

func (m *UploadToGSRequest) XXX_DiscardUnknown()

func (*UploadToGSRequest) XXX_Marshal

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

func (*UploadToGSRequest) XXX_Merge

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

func (*UploadToGSRequest) XXX_Size

func (m *UploadToGSRequest) XXX_Size() int

func (*UploadToGSRequest) XXX_Unmarshal

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

type UploadToGSResponse

type UploadToGSResponse struct {
	// URL of Google Storage location containing offloaded files
	GsUrl                string   `protobuf:"bytes,1,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UploadToGSResponse) Descriptor

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

func (*UploadToGSResponse) GetGsUrl

func (m *UploadToGSResponse) GetGsUrl() string

func (*UploadToGSResponse) ProtoMessage

func (*UploadToGSResponse) ProtoMessage()

func (*UploadToGSResponse) Reset

func (m *UploadToGSResponse) Reset()

func (*UploadToGSResponse) String

func (m *UploadToGSResponse) String() string

func (*UploadToGSResponse) XXX_DiscardUnknown

func (m *UploadToGSResponse) XXX_DiscardUnknown()

func (*UploadToGSResponse) XXX_Marshal

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

func (*UploadToGSResponse) XXX_Merge

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

func (*UploadToGSResponse) XXX_Size

func (m *UploadToGSResponse) XXX_Size() int

func (*UploadToGSResponse) XXX_Unmarshal

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

type UploadToTkoRequest

type UploadToTkoRequest struct {
	Config               *Config  `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UploadToTkoRequest defines the input of `phosphorus upload-to-tko`.

func (*UploadToTkoRequest) Descriptor

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

func (*UploadToTkoRequest) GetConfig

func (m *UploadToTkoRequest) GetConfig() *Config

func (*UploadToTkoRequest) ProtoMessage

func (*UploadToTkoRequest) ProtoMessage()

func (*UploadToTkoRequest) Reset

func (m *UploadToTkoRequest) Reset()

func (*UploadToTkoRequest) String

func (m *UploadToTkoRequest) String() string

func (*UploadToTkoRequest) XXX_DiscardUnknown

func (m *UploadToTkoRequest) XXX_DiscardUnknown()

func (*UploadToTkoRequest) XXX_Marshal

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

func (*UploadToTkoRequest) XXX_Merge

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

func (*UploadToTkoRequest) XXX_Size

func (m *UploadToTkoRequest) XXX_Size() int

func (*UploadToTkoRequest) XXX_Unmarshal

func (m *UploadToTkoRequest) XXX_Unmarshal(b []byte) error
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier