GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy class
FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.
Constructors
-
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy({Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? containerImageSources, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerAddCapabilities, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerChrootPath, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerNetwork, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerPrivileged, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerRunAsRoot, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerRuntime, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? dockerSiblingContainers, Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation> ? linuxIsolation}) -
Creates a new GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.
containerImageSourcesWhich container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values:"gcr.io/project-foo", "gcr.io/project-bar/repo-baz",} will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.dockerAddCapabilitiesWhether dockerAddCapabilities can be used or what capabilities are allowed.dockerChrootPathWhether dockerChrootPath can be used.dockerNetworkWhether dockerNetwork can be used or what network modes are allowed. E.g. one may allowoffvalue only viaallowed_values.dockerPrivilegedWhether dockerPrivileged can be used.dockerRunAsRootWhether dockerRunAsRoot can be used.dockerRuntimeWhether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.dockerSiblingContainersWhether dockerSiblingContainers can be used.linuxIsolationlinux_isolation allows overriding the docker runtime used for containers started on Linux.const -
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
containerImageSources
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values:
"gcr.io/project-foo", "gcr.io/project-bar/repo-baz",} will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.final -
dockerAddCapabilities
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerAddCapabilities can be used or what capabilities are allowed.
final
-
dockerChrootPath
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerChrootPath can be used.
final
-
dockerNetwork
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow
offvalue only viaallowed_values.final -
dockerPrivileged
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerPrivileged can be used.
final
-
dockerRunAsRoot
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerRunAsRoot can be used.
final
-
dockerRuntime
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
final
-
dockerSiblingContainers
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature> ? -
Whether dockerSiblingContainers can be used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
linuxIsolation
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation> ? -
linux_isolation allows overriding the docker runtime used for containers started on Linux.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited