func (rn ResourceName) String() string { … } // CPU returns the CPU limit if specified. func (rl *ResourceList) CPU() *resource.Quantity { … } // Memory returns the Memory limit if specified. func (rl *ResourceList) Memory() *resource.Quantity { … } // Storage returns the Storage limit if specified. func (rl *ResourceList) Storage() *resource.Quantity { … } // Pods returns the list of pods func (rl *ResourceList) Pods() *resource.Quantity { … } // StorageEphemeral returns the list of ephemeral storage volumes, if any func (rl *ResourceList) StorageEphemeral() *resource.Quantity { … } // Name returns the resource with name if specified, otherwise it returns a nil quantity with default format. func (rl *ResourceList) Name(name ResourceName, defaultFormat resource.Format) *resource.Quantity { … }