ContainerResizePolicy class

ContainerResizePolicy represents resource resize policy for the container.

Constructors

ContainerResizePolicy({required String resourceName, required String restartPolicy})
Default constructor.
const
ContainerResizePolicy.fromJson(Map<String, dynamic> json)
Creates a ContainerResizePolicy from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
resourceName String
Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
final
restartPolicy String
Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
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
toJson() Map<String, Object>
Converts a ContainerResizePolicy instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited