Sybren A. Stüvel
ab3972c696
Variables defined for the "all" platform will be available on all platforms. Platform-specific values overrule the "all" platform values.
24 lines
690 B
Go
24 lines
690 B
Go
package config
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
const (
|
|
// The "audience" of task variables.
|
|
VariableAudienceAll VariableAudience = "all"
|
|
VariableAudienceWorkers VariableAudience = "workers"
|
|
VariableAudienceUsers VariableAudience = "users"
|
|
)
|
|
|
|
type VariableAudience string
|
|
|
|
const (
|
|
// the "platform" of task variables. It's a free-form string field, but it has
|
|
// one semantic value ("all") and some predefined values here.
|
|
VariablePlatformAll VariablePlatform = "all"
|
|
VariablePlatformLinux VariablePlatform = "linux"
|
|
VariablePlatformWindows VariablePlatform = "windows"
|
|
VariablePlatformDarwin VariablePlatform = "darwin"
|
|
)
|
|
|
|
type VariablePlatform string
|