// Returns string version of ResourceName. 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 { … }