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_tko.pb.go

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"`
    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) 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 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"`
    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) GetDutHostnames Uses

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

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.
    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 TaskEnvironment Uses

type TaskEnvironment struct {
    // Absolute path to the results directory for a given run.
    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:"-"`
}

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) 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 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 3 packages (graph) and is imported by 1 packages. Updated 2019-12-07. Refresh now. Tools for package owners.