google_api_cloud_run v0.1.0 GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements View Source
ResourceRequirements describes the compute resource requirements.
Attributes
- limits (map()): Limits describes the maximum amount of compute resources allowed.
The values of the map is string form of the 'quantity' k8s type:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go Defaults to
nil
. - limitsInMap (%{optional(String.t) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t}): Limits describes the maximum amount of compute resources allowed.
This is a temporary field created to migrate away from the
map
limits field. This is done to become compliant with k8s style API. This field is deprecated in favor of limits field. Defaults to nil
. - requests (map()): Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined value.
The values of the map is string form of the 'quantity' k8s type:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go Defaults to
nil
. - requestsInMap (%{optional(String.t) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t}): Requests describes the minimum amount of compute resources required.
If Requests is omitted for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined value.
This is a temporary field created to migrate away from the
map
requests field. This is done to become compliant with k8s style API. This field is deprecated in favor of requests field. Defaults to nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements{
limits: map(),
limitsInMap: %{
optional(String.t()) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t()
},
requests: map(),
requestsInMap: %{
optional(String.t()) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t()
}
}
t() :: %GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements{ limits: map(), limitsInMap: %{ optional(String.t()) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t() }, requests: map(), requestsInMap: %{ optional(String.t()) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t() } }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.