InstanceSpec class
InstanceSpec describes how the Instance will look.
Constructors
-
InstanceSpec({List<
Container> ? containers, Map<String, String> ? nodeSelector, String? restartPolicy, SandboxConfiguration? sandboxes, String? serviceAccountName, List<Volume> ? volumes}) - InstanceSpec.fromJson(Map json_)
Properties
-
containers
↔ List<
Container> ? -
List of containers belonging to the Instance.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodeSelector
↔ Map<
String, String> ? -
The Node Selector configuration.
getter/setter pair
- restartPolicy ↔ String?
-
Restart policy for the Instance.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sandboxes ↔ SandboxConfiguration?
-
Sandbox configuration that can be launched through the
sandboxCLI.getter/setter pair - serviceAccountName ↔ String?
-
Email address of the IAM service account associated with the Instance.
getter/setter pair
-
volumes
↔ List<
Volume> ? -
List of volumes that can be mounted by containers belonging to the
Instance.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited