side_effects

package
v0.0.0-...-eeee923 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_test_platform_side_effects_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CTSConfig

type CTSConfig struct {

	// Iff true, gs_offloader offloads CTS results to CTS-specific locations
	// in addition to regular offloading.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

CTSConfig describes CTS results offload params.

func (*CTSConfig) Descriptor deprecated

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

Deprecated: Use CTSConfig.ProtoReflect.Descriptor instead.

func (*CTSConfig) GetEnabled

func (x *CTSConfig) GetEnabled() bool

func (*CTSConfig) ProtoMessage

func (*CTSConfig) ProtoMessage()

func (*CTSConfig) ProtoReflect

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

func (*CTSConfig) Reset

func (x *CTSConfig) Reset()

func (*CTSConfig) String

func (x *CTSConfig) String() string

type ChromePerfConfig

type ChromePerfConfig struct {

	// Iff true, tko/parse uploads perf results to ChromePerf in addition to
	// uploading results to TKO.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

ChromePerfConfig describes the params for uploading Chrome performance results to https://chromeperf.appspot.com. These results are displayed on the perf dashboard: go/crosbolt.

func (*ChromePerfConfig) Descriptor deprecated

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

Deprecated: Use ChromePerfConfig.ProtoReflect.Descriptor instead.

func (*ChromePerfConfig) GetEnabled

func (x *ChromePerfConfig) GetEnabled() bool

func (*ChromePerfConfig) ProtoMessage

func (*ChromePerfConfig) ProtoMessage()

func (*ChromePerfConfig) ProtoReflect

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

func (*ChromePerfConfig) Reset

func (x *ChromePerfConfig) Reset()

func (*ChromePerfConfig) String

func (x *ChromePerfConfig) String() string

type Config

type Config struct {
	Tko           *TKOConfig           `protobuf:"bytes,1,opt,name=tko,proto3" json:"tko,omitempty"`
	GoogleStorage *GoogleStorageConfig `protobuf:"bytes,2,opt,name=google_storage,proto3" json:"google_storage,omitempty"`
	ChromePerf    *ChromePerfConfig    `protobuf:"bytes,3,opt,name=chrome_perf,proto3" json:"chrome_perf,omitempty"`
	Cts           *CTSConfig           `protobuf:"bytes,4,opt,name=cts,proto3" json:"cts,omitempty"`
	// contains filtered or unexported fields
}

Config defines configuration for side effects.

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetChromePerf

func (x *Config) GetChromePerf() *ChromePerfConfig

func (*Config) GetCts

func (x *Config) GetCts() *CTSConfig

func (*Config) GetGoogleStorage

func (x *Config) GetGoogleStorage() *GoogleStorageConfig

func (*Config) GetTko

func (x *Config) GetTko() *TKOConfig

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type GoogleStorageConfig

type GoogleStorageConfig struct {

	// Google Storage bucket where the results will be offloaded.
	// E.g. "chromeos-autotest-results".
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// File containing the gsutil credentials, e.g. a key file of a service
	// acccount.
	CredentialsFile string `protobuf:"bytes,2,opt,name=credentials_file,proto3" json:"credentials_file,omitempty"`
	// contains filtered or unexported fields
}

GoogleStorageConfig describes GS offloading params.

func (*GoogleStorageConfig) Descriptor deprecated

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

Deprecated: Use GoogleStorageConfig.ProtoReflect.Descriptor instead.

func (*GoogleStorageConfig) GetBucket

func (x *GoogleStorageConfig) GetBucket() string

func (*GoogleStorageConfig) GetCredentialsFile

func (x *GoogleStorageConfig) GetCredentialsFile() string

func (*GoogleStorageConfig) ProtoMessage

func (*GoogleStorageConfig) ProtoMessage()

func (*GoogleStorageConfig) ProtoReflect

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

func (*GoogleStorageConfig) Reset

func (x *GoogleStorageConfig) Reset()

func (*GoogleStorageConfig) String

func (x *GoogleStorageConfig) String() string

type TKOConfig

type TKOConfig struct {

	// The connection to the TKO CloudSQL instance is done via cloud_sql_proxy.
	// proxy_socket is the UNIX socket used by the cloud_sql_proxy.
	ProxySocket string `protobuf:"bytes,1,opt,name=proxy_socket,proto3" json:"proxy_socket,omitempty"`
	MysqlUser   string `protobuf:"bytes,2,opt,name=mysql_user,proto3" json:"mysql_user,omitempty"`
	// File containing the MySQL password. Populated from the encrypted password.
	MysqlPasswordFile string `protobuf:"bytes,3,opt,name=mysql_password_file,proto3" json:"mysql_password_file,omitempty"`
	// MySQL password encrypted using the Cloud KMS key and encoded as base64
	// string.
	EncryptedMysqlPassword string `protobuf:"bytes,4,opt,name=encrypted_mysql_password,proto3" json:"encrypted_mysql_password,omitempty"`
	// contains filtered or unexported fields
}

TKOConfig describes TKO connection params.

func (*TKOConfig) Descriptor deprecated

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

Deprecated: Use TKOConfig.ProtoReflect.Descriptor instead.

func (*TKOConfig) GetEncryptedMysqlPassword

func (x *TKOConfig) GetEncryptedMysqlPassword() string

func (*TKOConfig) GetMysqlPasswordFile

func (x *TKOConfig) GetMysqlPasswordFile() string

func (*TKOConfig) GetMysqlUser

func (x *TKOConfig) GetMysqlUser() string

func (*TKOConfig) GetProxySocket

func (x *TKOConfig) GetProxySocket() string

func (*TKOConfig) ProtoMessage

func (*TKOConfig) ProtoMessage()

func (*TKOConfig) ProtoReflect

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

func (*TKOConfig) Reset

func (x *TKOConfig) Reset()

func (*TKOConfig) String

func (x *TKOConfig) String() string

Jump to

Keyboard shortcuts

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