proto: go.chromium.org/chromiumos/infra/proto/go/test_platform/phosphorus Index | Files

package phosphorus

import "go.chromium.org/chromiumos/infra/proto/go/test_platform/phosphorus"

Index

Package Files

common.pb.go prejob.pb.go runtest.pb.go upload_to_gs.pb.go upload_to_tko.pb.go

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 Uses

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 Uses

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

func (*BotEnvironment) GetAutotestDir Uses

func (m *BotEnvironment) GetAutotestDir() string

func (*BotEnvironment) ProtoMessage Uses

func (*BotEnvironment) ProtoMessage()

func (*BotEnvironment) Reset Uses

func (m *BotEnvironment) Reset()

func (*BotEnvironment) String Uses

func (m *BotEnvironment) String() string

func (*BotEnvironment) XXX_DiscardUnknown Uses

func (m *BotEnvironment) XXX_DiscardUnknown()

func (*BotEnvironment) XXX_Marshal Uses

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

func (*BotEnvironment) XXX_Merge Uses

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

func (*BotEnvironment) XXX_Size Uses

func (m *BotEnvironment) XXX_Size() int

func (*BotEnvironment) XXX_Unmarshal Uses

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

type Config Uses

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 Uses

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

func (*Config) GetBot Uses

func (m *Config) GetBot() *BotEnvironment

func (*Config) GetTask Uses

func (m *Config) GetTask() *TaskEnvironment

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 PrejobRequest Uses

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 `protobuf:"bytes,3,rep,name=provisionable_labels,json=provisionableLabels,proto3" json:"provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Do not use.
    // What needs to be installed onto the DUT at the end of prejob, e.g.
    // "cros-version": "reef-release/R77-12345.0.0".
    DesiredProvisionableLabels map[string]string `protobuf:"bytes,4,rep,name=desired_provisionable_labels,json=desiredProvisionableLabels,proto3" json:"desired_provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // What is installed on the DUT before the prejob, e.g.
    // "cros-version": "reef-release/R77-12345.0.0".
    ExistingProvisionableLabels map[string]string `protobuf:"bytes,5,rep,name=existing_provisionable_labels,json=existingProvisionableLabels,proto3" json:"existing_provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Hard deadline for execution.
    //
    // All prejob execution should abort beyond this deadline.
    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 Uses

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

func (*PrejobRequest) GetConfig Uses

func (m *PrejobRequest) GetConfig() *Config

func (*PrejobRequest) GetDeadline Uses

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

func (*PrejobRequest) GetDesiredProvisionableLabels Uses

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

func (*PrejobRequest) GetDutHostname Uses

func (m *PrejobRequest) GetDutHostname() string

func (*PrejobRequest) GetExistingProvisionableLabels Uses

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

func (*PrejobRequest) GetProvisionableLabels Uses

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

Deprecated: Do not use.

func (*PrejobRequest) ProtoMessage Uses

func (*PrejobRequest) ProtoMessage()

func (*PrejobRequest) Reset Uses

func (m *PrejobRequest) Reset()

func (*PrejobRequest) String Uses

func (m *PrejobRequest) String() string

func (*PrejobRequest) XXX_DiscardUnknown Uses

func (m *PrejobRequest) XXX_DiscardUnknown()

func (*PrejobRequest) XXX_Marshal Uses

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

func (*PrejobRequest) XXX_Merge Uses

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

func (*PrejobRequest) XXX_Size Uses

func (m *PrejobRequest) XXX_Size() int

func (*PrejobRequest) XXX_Unmarshal Uses

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

type PrejobResponse Uses

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 Uses

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

func (*PrejobResponse) GetState Uses

func (m *PrejobResponse) GetState() PrejobResponse_State

func (*PrejobResponse) ProtoMessage Uses

func (*PrejobResponse) ProtoMessage()

func (*PrejobResponse) Reset Uses

func (m *PrejobResponse) Reset()

func (*PrejobResponse) String Uses

func (m *PrejobResponse) String() string

func (*PrejobResponse) XXX_DiscardUnknown Uses

func (m *PrejobResponse) XXX_DiscardUnknown()

func (*PrejobResponse) XXX_Marshal Uses

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

func (*PrejobResponse) XXX_Merge Uses

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

func (*PrejobResponse) XXX_Size Uses

func (m *PrejobResponse) XXX_Size() int

func (*PrejobResponse) XXX_Unmarshal Uses

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

type PrejobResponse_State Uses

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 Uses

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

func (PrejobResponse_State) String Uses

func (x PrejobResponse_State) String() string

type RunTestRequest Uses

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 Uses

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

func (*RunTestRequest) GetAutotest Uses

func (m *RunTestRequest) GetAutotest() *RunTestRequest_Autotest

func (*RunTestRequest) GetConfig Uses

func (m *RunTestRequest) GetConfig() *Config

func (*RunTestRequest) GetDeadline Uses

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

func (*RunTestRequest) GetDutHostnames Uses

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

func (*RunTestRequest) GetEnvironment Uses

func (m *RunTestRequest) GetEnvironment() *RunTestRequest_Environment

func (*RunTestRequest) GetTest Uses

func (m *RunTestRequest) GetTest() isRunTestRequest_Test

func (*RunTestRequest) ProtoMessage Uses

func (*RunTestRequest) ProtoMessage()

func (*RunTestRequest) Reset Uses

func (m *RunTestRequest) Reset()

func (*RunTestRequest) String Uses

func (m *RunTestRequest) String() string

func (*RunTestRequest) XXX_DiscardUnknown Uses

func (m *RunTestRequest) XXX_DiscardUnknown()

func (*RunTestRequest) XXX_Marshal Uses

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

func (*RunTestRequest) XXX_Merge Uses

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

func (*RunTestRequest) XXX_OneofWrappers Uses

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*RunTestRequest) XXX_Size Uses

func (m *RunTestRequest) XXX_Size() int

func (*RunTestRequest) XXX_Unmarshal Uses

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

type RunTestRequest_Autotest Uses

type RunTestRequest_Autotest struct {
    // Test name as given in the control file.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Args to pass into the test run (meaning depends on the test).
    TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
    // Name to be used to display this test's output artifacts, e.g. logs,
    // results etc. By default display_name is the same as name.
    DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // True for client-side tests, false for server-side tests.
    IsClientTest bool `protobuf:"varint,4,opt,name=is_client_test,json=isClientTest,proto3" json:"is_client_test,omitempty"`
    // Key:value pairs added to the autoserv command. These are metadata which
    // should not affect code execution.
    Keyvals              map[string]string `protobuf:"bytes,5,rep,name=keyvals,proto3" json:"keyvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    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 Uses

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

func (*RunTestRequest_Autotest) GetDisplayName Uses

func (m *RunTestRequest_Autotest) GetDisplayName() string

func (*RunTestRequest_Autotest) GetIsClientTest Uses

func (m *RunTestRequest_Autotest) GetIsClientTest() bool

func (*RunTestRequest_Autotest) GetKeyvals Uses

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

func (*RunTestRequest_Autotest) GetName Uses

func (m *RunTestRequest_Autotest) GetName() string

func (*RunTestRequest_Autotest) GetTestArgs Uses

func (m *RunTestRequest_Autotest) GetTestArgs() string

func (*RunTestRequest_Autotest) ProtoMessage Uses

func (*RunTestRequest_Autotest) ProtoMessage()

func (*RunTestRequest_Autotest) Reset Uses

func (m *RunTestRequest_Autotest) Reset()

func (*RunTestRequest_Autotest) String Uses

func (m *RunTestRequest_Autotest) String() string

func (*RunTestRequest_Autotest) XXX_DiscardUnknown Uses

func (m *RunTestRequest_Autotest) XXX_DiscardUnknown()

func (*RunTestRequest_Autotest) XXX_Marshal Uses

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

func (*RunTestRequest_Autotest) XXX_Merge Uses

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

func (*RunTestRequest_Autotest) XXX_Size Uses

func (m *RunTestRequest_Autotest) XXX_Size() int

func (*RunTestRequest_Autotest) XXX_Unmarshal Uses

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

type RunTestRequest_Autotest_ Uses

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

type RunTestRequest_Environment Uses

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 Uses

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

func (*RunTestRequest_Environment) GetGsRootDir Uses

func (m *RunTestRequest_Environment) GetGsRootDir() string

func (*RunTestRequest_Environment) ProtoMessage Uses

func (*RunTestRequest_Environment) ProtoMessage()

func (*RunTestRequest_Environment) Reset Uses

func (m *RunTestRequest_Environment) Reset()

func (*RunTestRequest_Environment) String Uses

func (m *RunTestRequest_Environment) String() string

func (*RunTestRequest_Environment) XXX_DiscardUnknown Uses

func (m *RunTestRequest_Environment) XXX_DiscardUnknown()

func (*RunTestRequest_Environment) XXX_Marshal Uses

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

func (*RunTestRequest_Environment) XXX_Merge Uses

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

func (*RunTestRequest_Environment) XXX_Size Uses

func (m *RunTestRequest_Environment) XXX_Size() int

func (*RunTestRequest_Environment) XXX_Unmarshal Uses

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

type RunTestResponse Uses

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 Uses

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

func (*RunTestResponse) GetResultsDir Uses

func (m *RunTestResponse) GetResultsDir() string

func (*RunTestResponse) GetState Uses

func (m *RunTestResponse) GetState() RunTestResponse_State

func (*RunTestResponse) ProtoMessage Uses

func (*RunTestResponse) ProtoMessage()

func (*RunTestResponse) Reset Uses

func (m *RunTestResponse) Reset()

func (*RunTestResponse) String Uses

func (m *RunTestResponse) String() string

func (*RunTestResponse) XXX_DiscardUnknown Uses

func (m *RunTestResponse) XXX_DiscardUnknown()

func (*RunTestResponse) XXX_Marshal Uses

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

func (*RunTestResponse) XXX_Merge Uses

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

func (*RunTestResponse) XXX_Size Uses

func (m *RunTestResponse) XXX_Size() int

func (*RunTestResponse) XXX_Unmarshal Uses

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

type RunTestResponse_State Uses

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 Uses

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

func (RunTestResponse_State) String Uses

func (x RunTestResponse_State) String() string

type TaskEnvironment Uses

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 Uses

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

func (*TaskEnvironment) GetResultsDir Uses

func (m *TaskEnvironment) GetResultsDir() string

func (*TaskEnvironment) GetSynchronousOffloadDir Uses

func (m *TaskEnvironment) GetSynchronousOffloadDir() string

func (*TaskEnvironment) GetTestResultsDir Uses

func (m *TaskEnvironment) GetTestResultsDir() string

func (*TaskEnvironment) ProtoMessage Uses

func (*TaskEnvironment) ProtoMessage()

func (*TaskEnvironment) Reset Uses

func (m *TaskEnvironment) Reset()

func (*TaskEnvironment) String Uses

func (m *TaskEnvironment) String() string

func (*TaskEnvironment) XXX_DiscardUnknown Uses

func (m *TaskEnvironment) XXX_DiscardUnknown()

func (*TaskEnvironment) XXX_Marshal Uses

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

func (*TaskEnvironment) XXX_Merge Uses

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

func (*TaskEnvironment) XXX_Size Uses

func (m *TaskEnvironment) XXX_Size() int

func (*TaskEnvironment) XXX_Unmarshal Uses

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

type UploadToGSRequest Uses

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 Uses

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

func (*UploadToGSRequest) GetConfig Uses

func (m *UploadToGSRequest) GetConfig() *Config

Deprecated: Do not use.

func (*UploadToGSRequest) GetGsDirectory Uses

func (m *UploadToGSRequest) GetGsDirectory() string

func (*UploadToGSRequest) GetLocalDirectory Uses

func (m *UploadToGSRequest) GetLocalDirectory() string

func (*UploadToGSRequest) ProtoMessage Uses

func (*UploadToGSRequest) ProtoMessage()

func (*UploadToGSRequest) Reset Uses

func (m *UploadToGSRequest) Reset()

func (*UploadToGSRequest) String Uses

func (m *UploadToGSRequest) String() string

func (*UploadToGSRequest) XXX_DiscardUnknown Uses

func (m *UploadToGSRequest) XXX_DiscardUnknown()

func (*UploadToGSRequest) XXX_Marshal Uses

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

func (*UploadToGSRequest) XXX_Merge Uses

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

func (*UploadToGSRequest) XXX_Size Uses

func (m *UploadToGSRequest) XXX_Size() int

func (*UploadToGSRequest) XXX_Unmarshal Uses

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

type UploadToGSResponse Uses

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 Uses

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

func (*UploadToGSResponse) GetGsUrl Uses

func (m *UploadToGSResponse) GetGsUrl() string

func (*UploadToGSResponse) ProtoMessage Uses

func (*UploadToGSResponse) ProtoMessage()

func (*UploadToGSResponse) Reset Uses

func (m *UploadToGSResponse) Reset()

func (*UploadToGSResponse) String Uses

func (m *UploadToGSResponse) String() string

func (*UploadToGSResponse) XXX_DiscardUnknown Uses

func (m *UploadToGSResponse) XXX_DiscardUnknown()

func (*UploadToGSResponse) XXX_Marshal Uses

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

func (*UploadToGSResponse) XXX_Merge Uses

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

func (*UploadToGSResponse) XXX_Size Uses

func (m *UploadToGSResponse) XXX_Size() int

func (*UploadToGSResponse) XXX_Unmarshal Uses

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

type UploadToTkoRequest Uses

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 Uses

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

func (*UploadToTkoRequest) GetConfig Uses

func (m *UploadToTkoRequest) GetConfig() *Config

func (*UploadToTkoRequest) ProtoMessage Uses

func (*UploadToTkoRequest) ProtoMessage()

func (*UploadToTkoRequest) Reset Uses

func (m *UploadToTkoRequest) Reset()

func (*UploadToTkoRequest) String Uses

func (m *UploadToTkoRequest) String() string

func (*UploadToTkoRequest) XXX_DiscardUnknown Uses

func (m *UploadToTkoRequest) XXX_DiscardUnknown()

func (*UploadToTkoRequest) XXX_Marshal Uses

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

func (*UploadToTkoRequest) XXX_Merge Uses

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

func (*UploadToTkoRequest) XXX_Size Uses

func (m *UploadToTkoRequest) XXX_Size() int

func (*UploadToTkoRequest) XXX_Unmarshal Uses

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

Package phosphorus imports 4 packages (graph) and is imported by 1 packages. Updated 2020-03-28. Refresh now. Tools for package owners.