package blaze.strategy_policy

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message MnemonicPolicy

strategy_policy.proto:56

Used in: StrategyPolicy

message StrategiesForMnemonic

strategy_policy.proto:64

Per-mnemonic allowlist settings.

Used in: MnemonicPolicy

message StrategyPolicy

strategy_policy.proto:42

Provides control over what strategies (local, remote, etc) may be used. An empty policies (e.g. unset) implies no enforcement, anything is allowed. Policies are enforced against both user-provided values (flags) and application-internal defaults. The latter is useful for guarding against unexpectedly hard-coded defaults. Sample usage to allow everything to execute remotely, while only allowing genrules to execute locally: strategy_policy { mnemonic_policy { default_allowlist: ["remote"] strategy_allowlist: [ { mnemonic: "Genrule" strategy: ["local"] } ] } }

Used in: invocation_policy.InvocationPolicy