RuntimeClassStrategyOptions class
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
Constructors
-
RuntimeClassStrategyOptions({required Input<
List< allowedRuntimeClassNames, Input<String> >String> ? defaultRuntimeClassName}) -
Creates a new RuntimeClassStrategyOptions.
allowedRuntimeClassNamesallowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.defaultRuntimeClassNamedefaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.const -
RuntimeClassStrategyOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedRuntimeClassNames
→ Input<
List< String> > -
allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
final
-
defaultRuntimeClassName
→ Input<
String> ? -
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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