Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.48 KB

V1ResourceRequirements.md

File metadata and controls

82 lines (45 loc) · 2.48 KB

V1ResourceRequirements

Properties

Name Type Description Notes
Requests Pointer to map[string]string A string to string key/value pair [optional]
Limits Pointer to map[string]string A string to string key/value pair [optional]

Methods

NewV1ResourceRequirements

func NewV1ResourceRequirements() *V1ResourceRequirements

NewV1ResourceRequirements instantiates a new V1ResourceRequirements object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewV1ResourceRequirementsWithDefaults

func NewV1ResourceRequirementsWithDefaults() *V1ResourceRequirements

NewV1ResourceRequirementsWithDefaults instantiates a new V1ResourceRequirements object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetRequests

func (o *V1ResourceRequirements) GetRequests() map[string]string

GetRequests returns the Requests field if non-nil, zero value otherwise.

GetRequestsOk

func (o *V1ResourceRequirements) GetRequestsOk() (*map[string]string, bool)

GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequests

func (o *V1ResourceRequirements) SetRequests(v map[string]string)

SetRequests sets Requests field to given value.

HasRequests

func (o *V1ResourceRequirements) HasRequests() bool

HasRequests returns a boolean if a field has been set.

GetLimits

func (o *V1ResourceRequirements) GetLimits() map[string]string

GetLimits returns the Limits field if non-nil, zero value otherwise.

GetLimitsOk

func (o *V1ResourceRequirements) GetLimitsOk() (*map[string]string, bool)

GetLimitsOk returns a tuple with the Limits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLimits

func (o *V1ResourceRequirements) SetLimits(v map[string]string)

SetLimits sets Limits field to given value.

HasLimits

func (o *V1ResourceRequirements) HasLimits() bool

HasLimits returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]