Documentation
¶
Index ¶
- Variables
- type Command
- type ConfigurationResult
- func (*ConfigurationResult) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationResult) GetDurations() []int64
- func (x *ConfigurationResult) GetName() string
- func (x *ConfigurationResult) GetStats() []*Stats
- func (*ConfigurationResult) ProtoMessage()
- func (x *ConfigurationResult) ProtoReflect() protoreflect.Message
- func (x *ConfigurationResult) Reset()
- func (x *ConfigurationResult) String() string
- type Environment
- type Experiment
- func (*Experiment) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment) GetBaseConfiguration() *RunConfiguration
- func (x *Experiment) GetName() string
- func (x *Experiment) GetNumTrials() int32
- func (x *Experiment) GetRunConfigurations() []*RunConfiguration
- func (x *Experiment) GetTags() map[string]string
- func (*Experiment) ProtoMessage()
- func (x *Experiment) ProtoReflect() protoreflect.Message
- func (x *Experiment) Reset()
- func (x *Experiment) String() string
- type Input
- type Results
- func (*Results) Descriptor() ([]byte, []int)deprecated
- func (x *Results) GetConfigResults() []*ConfigurationResult
- func (x *Results) GetConfigUrl() string
- func (x *Results) GetName() string
- func (*Results) ProtoMessage()
- func (x *Results) ProtoReflect() protoreflect.Message
- func (x *Results) Reset()
- func (x *Results) String() string
- type RunConfiguration
- func (*RunConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *RunConfiguration) GetBuildCommand() *Command
- func (x *RunConfiguration) GetEnvironment() []*Environment
- func (x *RunConfiguration) GetInputs() []*Input
- func (x *RunConfiguration) GetMachineSettings() isRunConfiguration_MachineSettings
- func (x *RunConfiguration) GetName() string
- func (x *RunConfiguration) GetNumMachines() uint32
- func (x *RunConfiguration) GetOutputs() []string
- func (x *RunConfiguration) GetPostBuildCommands() []*Command
- func (x *RunConfiguration) GetPreBuildCommands() []*Command
- func (x *RunConfiguration) GetReclientBinPath() string
- func (x *RunConfiguration) GetReclientDestination() string
- func (x *RunConfiguration) GetSetupCommands() []*Command
- func (x *RunConfiguration) GetTeardownCommands() []*Command
- func (x *RunConfiguration) GetVmSettings() *VMSettings
- func (x *RunConfiguration) GetWsSettings() *WSSettings
- func (*RunConfiguration) ProtoMessage()
- func (x *RunConfiguration) ProtoReflect() protoreflect.Message
- func (x *RunConfiguration) Reset()
- func (x *RunConfiguration) String() string
- type RunConfiguration_VmSettings
- type RunConfiguration_WsSettings
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetEnvironment() []*Environment
- func (x *Stats) GetNumRecords() int64
- func (x *Stats) GetStats() []*stat.Stat
- func (x *Stats) GetToolVersion() string
- func (x *Stats) GetVerification() *log.Verification
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type VMSettings
- func (*VMSettings) Descriptor() ([]byte, []int)deprecated
- func (x *VMSettings) GetCreationFlags() []string
- func (x *VMSettings) GetDiskImage() string
- func (x *VMSettings) GetDiskImageProject() string
- func (x *VMSettings) GetDiskType() string
- func (x *VMSettings) GetImage() string
- func (x *VMSettings) GetImageOs() VMSettings_OS
- func (x *VMSettings) GetImageProject() string
- func (x *VMSettings) GetMachineType() string
- func (x *VMSettings) GetSshKeyPath() string
- func (x *VMSettings) GetSshUser() string
- func (x *VMSettings) GetSystemDiskSize() string
- func (x *VMSettings) GetZone() string
- func (*VMSettings) ProtoMessage()
- func (x *VMSettings) ProtoReflect() protoreflect.Message
- func (x *VMSettings) Reset()
- func (x *VMSettings) String() string
- type VMSettings_OS
- func (VMSettings_OS) Descriptor() protoreflect.EnumDescriptor
- func (x VMSettings_OS) Enum() *VMSettings_OS
- func (VMSettings_OS) EnumDescriptor() ([]byte, []int)deprecated
- func (x VMSettings_OS) Number() protoreflect.EnumNumber
- func (x VMSettings_OS) String() string
- func (VMSettings_OS) Type() protoreflect.EnumType
- type WSSettings
- func (*WSSettings) Descriptor() ([]byte, []int)deprecated
- func (x *WSSettings) GetAddress() string
- func (x *WSSettings) GetSshKeyPath() string
- func (x *WSSettings) GetSshUser() string
- func (x *WSSettings) GetUseSudo() bool
- func (*WSSettings) ProtoMessage()
- func (x *WSSettings) ProtoReflect() protoreflect.Message
- func (x *WSSettings) Reset()
- func (x *WSSettings) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VMSettings_OS_name = map[int32]string{ 0: "LINUX", 1: "WINDOWS", } VMSettings_OS_value = map[string]int32{ "LINUX": 0, "WINDOWS": 1, } )
Enum value maps for VMSettings_OS.
View Source
var File_experiments_api_experiment_experiment_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type ConfigurationResult ¶
type ConfigurationResult struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Durations []int64 `protobuf:"varint,2,rep,packed,name=durations,proto3" json:"durations,omitempty"` Stats []*Stats `protobuf:"bytes,3,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationResult) Descriptor
deprecated
func (*ConfigurationResult) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationResult.ProtoReflect.Descriptor instead.
func (*ConfigurationResult) GetDurations ¶
func (x *ConfigurationResult) GetDurations() []int64
func (*ConfigurationResult) GetName ¶
func (x *ConfigurationResult) GetName() string
func (*ConfigurationResult) GetStats ¶
func (x *ConfigurationResult) GetStats() []*Stats
func (*ConfigurationResult) ProtoMessage ¶
func (*ConfigurationResult) ProtoMessage()
func (*ConfigurationResult) ProtoReflect ¶
func (x *ConfigurationResult) ProtoReflect() protoreflect.Message
func (*ConfigurationResult) Reset ¶
func (x *ConfigurationResult) Reset()
func (*ConfigurationResult) String ¶
func (x *ConfigurationResult) String() string
type Environment ¶
type Environment struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetKey ¶
func (x *Environment) GetKey() string
func (*Environment) GetValue ¶
func (x *Environment) GetValue() string
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Experiment ¶
type Experiment struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` BaseConfiguration *RunConfiguration `protobuf:"bytes,2,opt,name=base_configuration,json=baseConfiguration,proto3" json:"base_configuration,omitempty"` RunConfigurations []*RunConfiguration `protobuf:"bytes,3,rep,name=run_configurations,json=runConfigurations,proto3" json:"run_configurations,omitempty"` NumTrials int32 `protobuf:"varint,4,opt,name=num_trials,json=numTrials,proto3" json:"num_trials,omitempty"` Tags map[string]string `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Experiment) Descriptor
deprecated
func (*Experiment) Descriptor() ([]byte, []int)
Deprecated: Use Experiment.ProtoReflect.Descriptor instead.
func (*Experiment) GetBaseConfiguration ¶
func (x *Experiment) GetBaseConfiguration() *RunConfiguration
func (*Experiment) GetName ¶
func (x *Experiment) GetName() string
func (*Experiment) GetNumTrials ¶
func (x *Experiment) GetNumTrials() int32
func (*Experiment) GetRunConfigurations ¶
func (x *Experiment) GetRunConfigurations() []*RunConfiguration
func (*Experiment) GetTags ¶
func (x *Experiment) GetTags() map[string]string
func (*Experiment) ProtoMessage ¶
func (*Experiment) ProtoMessage()
func (*Experiment) ProtoReflect ¶
func (x *Experiment) ProtoReflect() protoreflect.Message
func (*Experiment) Reset ¶
func (x *Experiment) Reset()
func (*Experiment) String ¶
func (x *Experiment) String() string
type Input ¶
type Input struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` VmDirect bool `protobuf:"varint,3,opt,name=vm_direct,json=vmDirect,proto3" json:"vm_direct,omitempty"` // contains filtered or unexported fields }
func (*Input) Descriptor
deprecated
func (*Input) GetDestination ¶
func (*Input) GetVmDirect ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
type Results ¶
type Results struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ConfigUrl string `protobuf:"bytes,2,opt,name=config_url,json=configUrl,proto3" json:"config_url,omitempty"` ConfigResults []*ConfigurationResult `protobuf:"bytes,3,rep,name=config_results,json=configResults,proto3" json:"config_results,omitempty"` // contains filtered or unexported fields }
func (*Results) Descriptor
deprecated
func (*Results) GetConfigResults ¶
func (x *Results) GetConfigResults() []*ConfigurationResult
func (*Results) GetConfigUrl ¶
func (*Results) ProtoMessage ¶
func (*Results) ProtoMessage()
func (*Results) ProtoReflect ¶
func (x *Results) ProtoReflect() protoreflect.Message
type RunConfiguration ¶
type RunConfiguration struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to MachineSettings: // // *RunConfiguration_VmSettings // *RunConfiguration_WsSettings MachineSettings isRunConfiguration_MachineSettings `protobuf_oneof:"machine_settings"` ReclientBinPath string `protobuf:"bytes,3,opt,name=reclient_bin_path,json=reclientBinPath,proto3" json:"reclient_bin_path,omitempty"` ReclientDestination string `protobuf:"bytes,4,opt,name=reclient_destination,json=reclientDestination,proto3" json:"reclient_destination,omitempty"` Inputs []*Input `protobuf:"bytes,11,rep,name=inputs,proto3" json:"inputs,omitempty"` SetupCommands []*Command `protobuf:"bytes,6,rep,name=setup_commands,json=setupCommands,proto3" json:"setup_commands,omitempty"` PreBuildCommands []*Command `protobuf:"bytes,7,rep,name=pre_build_commands,json=preBuildCommands,proto3" json:"pre_build_commands,omitempty"` BuildCommand *Command `protobuf:"bytes,8,opt,name=build_command,json=buildCommand,proto3" json:"build_command,omitempty"` PostBuildCommands []*Command `protobuf:"bytes,12,rep,name=post_build_commands,json=postBuildCommands,proto3" json:"post_build_commands,omitempty"` Outputs []string `protobuf:"bytes,9,rep,name=outputs,proto3" json:"outputs,omitempty"` TeardownCommands []*Command `protobuf:"bytes,10,rep,name=teardown_commands,json=teardownCommands,proto3" json:"teardown_commands,omitempty"` NumMachines uint32 `protobuf:"varint,13,opt,name=num_machines,json=numMachines,proto3" json:"num_machines,omitempty"` Environment []*Environment `protobuf:"bytes,15,rep,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func (*RunConfiguration) Descriptor
deprecated
func (*RunConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use RunConfiguration.ProtoReflect.Descriptor instead.
func (*RunConfiguration) GetBuildCommand ¶
func (x *RunConfiguration) GetBuildCommand() *Command
func (*RunConfiguration) GetEnvironment ¶
func (x *RunConfiguration) GetEnvironment() []*Environment
func (*RunConfiguration) GetInputs ¶
func (x *RunConfiguration) GetInputs() []*Input
func (*RunConfiguration) GetMachineSettings ¶
func (x *RunConfiguration) GetMachineSettings() isRunConfiguration_MachineSettings
func (*RunConfiguration) GetName ¶
func (x *RunConfiguration) GetName() string
func (*RunConfiguration) GetNumMachines ¶
func (x *RunConfiguration) GetNumMachines() uint32
func (*RunConfiguration) GetOutputs ¶
func (x *RunConfiguration) GetOutputs() []string
func (*RunConfiguration) GetPostBuildCommands ¶
func (x *RunConfiguration) GetPostBuildCommands() []*Command
func (*RunConfiguration) GetPreBuildCommands ¶
func (x *RunConfiguration) GetPreBuildCommands() []*Command
func (*RunConfiguration) GetReclientBinPath ¶
func (x *RunConfiguration) GetReclientBinPath() string
func (*RunConfiguration) GetReclientDestination ¶
func (x *RunConfiguration) GetReclientDestination() string
func (*RunConfiguration) GetSetupCommands ¶
func (x *RunConfiguration) GetSetupCommands() []*Command
func (*RunConfiguration) GetTeardownCommands ¶
func (x *RunConfiguration) GetTeardownCommands() []*Command
func (*RunConfiguration) GetVmSettings ¶
func (x *RunConfiguration) GetVmSettings() *VMSettings
func (*RunConfiguration) GetWsSettings ¶
func (x *RunConfiguration) GetWsSettings() *WSSettings
func (*RunConfiguration) ProtoMessage ¶
func (*RunConfiguration) ProtoMessage()
func (*RunConfiguration) ProtoReflect ¶
func (x *RunConfiguration) ProtoReflect() protoreflect.Message
func (*RunConfiguration) Reset ¶
func (x *RunConfiguration) Reset()
func (*RunConfiguration) String ¶
func (x *RunConfiguration) String() string
type RunConfiguration_VmSettings ¶
type RunConfiguration_VmSettings struct {
VmSettings *VMSettings `protobuf:"bytes,2,opt,name=vm_settings,json=vmSettings,proto3,oneof"`
}
type RunConfiguration_WsSettings ¶
type RunConfiguration_WsSettings struct {
WsSettings *WSSettings `protobuf:"bytes,14,opt,name=ws_settings,json=wsSettings,proto3,oneof"`
}
type Stats ¶
type Stats struct { NumRecords int64 `protobuf:"varint,1,opt,name=num_records,json=numRecords,proto3" json:"num_records,omitempty"` Stats []*stat.Stat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` Environment []*Environment `protobuf:"bytes,3,rep,name=environment,proto3" json:"environment,omitempty"` Verification *log.Verification `protobuf:"bytes,4,opt,name=verification,proto3" json:"verification,omitempty"` ToolVersion string `protobuf:"bytes,5,opt,name=tool_version,json=toolVersion,proto3" json:"tool_version,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetEnvironment ¶
func (x *Stats) GetEnvironment() []*Environment
func (*Stats) GetNumRecords ¶
func (*Stats) GetToolVersion ¶
func (*Stats) GetVerification ¶
func (x *Stats) GetVerification() *log.Verification
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
type VMSettings ¶
type VMSettings struct { Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"` MachineType string `protobuf:"bytes,2,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` ImageProject string `protobuf:"bytes,4,opt,name=image_project,json=imageProject,proto3" json:"image_project,omitempty"` ImageOs VMSettings_OS `protobuf:"varint,8,opt,name=image_os,json=imageOs,proto3,enum=experiment.VMSettings_OS" json:"image_os,omitempty"` CreationFlags []string `protobuf:"bytes,5,rep,name=creation_flags,json=creationFlags,proto3" json:"creation_flags,omitempty"` SystemDiskSize string `protobuf:"bytes,12,opt,name=system_disk_size,json=systemDiskSize,proto3" json:"system_disk_size,omitempty"` DiskImage string `protobuf:"bytes,6,opt,name=disk_image,json=diskImage,proto3" json:"disk_image,omitempty"` DiskImageProject string `protobuf:"bytes,7,opt,name=disk_image_project,json=diskImageProject,proto3" json:"disk_image_project,omitempty"` DiskType string `protobuf:"bytes,11,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"` SshKeyPath string `protobuf:"bytes,9,opt,name=ssh_key_path,json=sshKeyPath,proto3" json:"ssh_key_path,omitempty"` SshUser string `protobuf:"bytes,10,opt,name=ssh_user,json=sshUser,proto3" json:"ssh_user,omitempty"` // contains filtered or unexported fields }
func (*VMSettings) Descriptor
deprecated
func (*VMSettings) Descriptor() ([]byte, []int)
Deprecated: Use VMSettings.ProtoReflect.Descriptor instead.
func (*VMSettings) GetCreationFlags ¶
func (x *VMSettings) GetCreationFlags() []string
func (*VMSettings) GetDiskImage ¶
func (x *VMSettings) GetDiskImage() string
func (*VMSettings) GetDiskImageProject ¶
func (x *VMSettings) GetDiskImageProject() string
func (*VMSettings) GetDiskType ¶
func (x *VMSettings) GetDiskType() string
func (*VMSettings) GetImage ¶
func (x *VMSettings) GetImage() string
func (*VMSettings) GetImageOs ¶
func (x *VMSettings) GetImageOs() VMSettings_OS
func (*VMSettings) GetImageProject ¶
func (x *VMSettings) GetImageProject() string
func (*VMSettings) GetMachineType ¶
func (x *VMSettings) GetMachineType() string
func (*VMSettings) GetSshKeyPath ¶
func (x *VMSettings) GetSshKeyPath() string
func (*VMSettings) GetSshUser ¶
func (x *VMSettings) GetSshUser() string
func (*VMSettings) GetSystemDiskSize ¶
func (x *VMSettings) GetSystemDiskSize() string
func (*VMSettings) GetZone ¶
func (x *VMSettings) GetZone() string
func (*VMSettings) ProtoMessage ¶
func (*VMSettings) ProtoMessage()
func (*VMSettings) ProtoReflect ¶
func (x *VMSettings) ProtoReflect() protoreflect.Message
func (*VMSettings) Reset ¶
func (x *VMSettings) Reset()
func (*VMSettings) String ¶
func (x *VMSettings) String() string
type VMSettings_OS ¶
type VMSettings_OS int32
const ( VMSettings_LINUX VMSettings_OS = 0 VMSettings_WINDOWS VMSettings_OS = 1 )
func (VMSettings_OS) Descriptor ¶
func (VMSettings_OS) Descriptor() protoreflect.EnumDescriptor
func (VMSettings_OS) Enum ¶
func (x VMSettings_OS) Enum() *VMSettings_OS
func (VMSettings_OS) EnumDescriptor
deprecated
func (VMSettings_OS) EnumDescriptor() ([]byte, []int)
Deprecated: Use VMSettings_OS.Descriptor instead.
func (VMSettings_OS) Number ¶
func (x VMSettings_OS) Number() protoreflect.EnumNumber
func (VMSettings_OS) String ¶
func (x VMSettings_OS) String() string
func (VMSettings_OS) Type ¶
func (VMSettings_OS) Type() protoreflect.EnumType
type WSSettings ¶
type WSSettings struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` SshUser string `protobuf:"bytes,2,opt,name=ssh_user,json=sshUser,proto3" json:"ssh_user,omitempty"` SshKeyPath string `protobuf:"bytes,3,opt,name=ssh_key_path,json=sshKeyPath,proto3" json:"ssh_key_path,omitempty"` UseSudo bool `protobuf:"varint,4,opt,name=use_sudo,json=useSudo,proto3" json:"use_sudo,omitempty"` // contains filtered or unexported fields }
func (*WSSettings) Descriptor
deprecated
func (*WSSettings) Descriptor() ([]byte, []int)
Deprecated: Use WSSettings.ProtoReflect.Descriptor instead.
func (*WSSettings) GetAddress ¶
func (x *WSSettings) GetAddress() string
func (*WSSettings) GetSshKeyPath ¶
func (x *WSSettings) GetSshKeyPath() string
func (*WSSettings) GetSshUser ¶
func (x *WSSettings) GetSshUser() string
func (*WSSettings) GetUseSudo ¶
func (x *WSSettings) GetUseSudo() bool
func (*WSSettings) ProtoMessage ¶
func (*WSSettings) ProtoMessage()
func (*WSSettings) ProtoReflect ¶
func (x *WSSettings) ProtoReflect() protoreflect.Message
func (*WSSettings) Reset ¶
func (x *WSSettings) Reset()
func (*WSSettings) String ¶
func (x *WSSettings) String() string
Click to show internal directories.
Click to hide internal directories.