google_api_cloud_run v0.0.1 GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements View Source

ResourceRequirements describes the compute resource requirements.

Attributes

  • limits (%{optional(String.t) => String.t}): 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: null.
  • limitsInMap (%{optional(String.t) => Quantity}): Limits describes the maximum amount of compute resources allowed. This is a temporary field created to migrate away from the map<string, Quantity> limits field. This is done to become compliant with k8s style API. This field is deprecated in favor of limits field. Defaults to: null.
  • requests (%{optional(String.t) => String.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. 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: null.
  • requestsInMap (%{optional(String.t) => Quantity}): 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<string, Quantity> requests field. This is done to become compliant with k8s style API. This field is deprecated in favor of requests field. Defaults to: null.

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() :: %GoogleApi.CloudRun.V1alpha1.Model.ResourceRequirements{
  limits: map(),
  limitsInMap: map(),
  requests: map(),
  requestsInMap: map()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.