Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AccessToken string `json:"accessToken"`
AvailabilityZone string `json:"availabilityZone"`
CachesDir string `json:"cachesDir"`
Certificate string `json:"certificate"`
CheckForNewDeploymentEverySecs uint `json:"checkForNewDeploymentEverySecs"`
CleanUpTaskDirs bool `json:"cleanUpTaskDirs"`
ClientID string `json:"clientId"`
DeploymentID string `json:"deploymentId"`
DisableReboots bool `json:"disableReboots"`
DownloadsDir string `json:"downloadsDir"`
IdleTimeoutSecs uint `json:"idleTimeoutSecs"`
InstanceID string `json:"instanceId"`
InstanceType string `json:"instanceType"`
LiveLogCertificate string `json:"livelogCertificate"`
LiveLogExecutable string `json:"livelogExecutable"`
LiveLogGETPort uint16 `json:"livelogGETPort"`
LiveLogKey string `json:"livelogKey"`
LiveLogPUTPort uint16 `json:"livelogPUTPort"`
LiveLogSecret string `json:"livelogSecret"`
NumberOfTasksToRun uint `json:"numberOfTasksToRun"`
PrivateIP net.IP `json:"privateIP"`
ProvisionerID string `json:"provisionerId"`
ProvisionerBaseURL string `json:"provisionerBaseURL"`
PublicIP net.IP `json:"publicIP"`
RefreshUrlsPrematurelySecs uint `json:"refreshURLsPrematurelySecs"`
Region string `json:"region"`
RequiredDiskSpaceMegabytes uint `json:"requiredDiskSpaceMegabytes"`
RunAfterUserCreation string `json:"runAfterUserCreation"`
RunTasksAsCurrentUser bool `json:"runTasksAsCurrentUser"`
SentryProject string `json:"sentryProject"`
ShutdownMachineOnIdle bool `json:"shutdownMachineOnIdle"`
ShutdownMachineOnInternalError bool `json:"shutdownMachineOnInternalError"`
SigningKeyLocation string `json:"signingKeyLocation"`
Subdomain string `json:"subdomain"`
TaskclusterProxyExecutable string `json:"taskclusterProxyExecutable"`
TaskclusterProxyPort uint16 `json:"taskclusterProxyPort"`
TasksDir string `json:"tasksDir"`
WorkerGroup string `json:"workerGroup"`
WorkerID string `json:"workerId"`
WorkerType string `json:"workerType"`
WorkerTypeMetadata map[string]interface{} `json:"workerTypeMetadata"`
}
Generic Worker config
func (*Config) MergeInJSON ¶
Click to show internal directories.
Click to hide internal directories.