#[non_exhaustive]pub enum NameKind {
Show 37 variants
Directory,
TargetName,
Label,
Digest,
SourcePath,
OutputName,
EnvName,
Argument,
Command,
Description,
SettingName,
SettingValue,
EntryName,
FieldName,
Program,
EnvValue,
Platform,
Workers,
Timeout,
Isolation,
Approver,
TreePath,
EnvMark,
PluginName,
PluginVersion,
PluginChain,
CommitId,
TagName,
GitUrl,
RemoteUrl,
InstanceName,
HostPath,
HeaderName,
ChangedPath,
RemoteJobs,
RetryCount,
PlatformProperty,
}Expand description
Which domain name an Error::InvalidName is about.
A type rather than a string so classification is read as a field. Non-exhaustive for the same
reason Error is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Directory
A workspace-relative directory path.
TargetName
The name half of a label.
Label
A whole label.
Digest
A content digest.
SourcePath
A workspace-relative source file path.
OutputName
A path inside a target’s output directory.
EnvName
An environment variable name.
Argument
One element of a command’s argument vector.
Command
A whole command: a non-empty argument vector.
Description
A rule’s one-line description.
SettingName
A build setting’s name.
SettingValue
A build setting’s value.
EntryName
The file name every directory’s build file has.
FieldName
A field name in a declaration’s option table.
Program
The name of a program a command runs.
EnvValue
An environment variable’s value.
Platform
A host platform: an operating system and an architecture.
Workers
How many actions a build runs at once.
Timeout
How long one action may run.
Isolation
The execution strategy a workspace runs its actions under.
Approver
How a workspace settles whether a build may run.
TreePath
The path of a file inside a directory an action left as an output.
EnvMark
How a declared environment variable takes part in an action key.
PluginName
The name of a plugin.
PluginVersion
The version text a plugin’s manifest states.
PluginChain
The chain of plugins that declared a target.
CommitId
A full git commit id.
TagName
A git tag name.
GitUrl
The URL of a git repository.
RemoteUrl
The URL of a remote cache.
InstanceName
The instance name a remote cache is addressed under.
HostPath
A path to a file the host reads, such as a certificate or a token.
HeaderName
The name of the request header a remote cache’s token is sent in.
ChangedPath
A workspace-relative path a file event named.
RemoteJobs
How many remote calls a run keeps in flight at once.
RetryCount
How many times a failed remote call is tried again.
PlatformProperty
The name of a platform property asked of the remote executor.