google_api_cloud_run v0.15.0 GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements View Source
ResourceRequirements describes the compute resource requirements.
Attributes
limits
(type:map()
, default:nil
) - 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.golimitsInMap
(type:%{optional(String.t) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t}
, default:nil
) - Limits describes the maximum amount of compute resources allowed. This is a temporary field created to migrate away from the maplimits field. This is done to become compliant with k8s style API. This field is deprecated in favor of limits field. requests
(type:map()
, default:nil
) - 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.gorequestsInMap
(type:%{optional(String.t) => GoogleApi.CloudRun.V1alpha1.Model.Quantity.t}
, default:nil
) - 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 maprequests field. This is done to become compliant with k8s style API. This field is deprecated in favor of requests field.
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 Sourcet() :: %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
Unwrap a decoded JSON object into its complex fields.