Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResourcesProvider ¶
type ResourcesProvider struct {
// contains filtered or unexported fields
}
func NewResourcesProvider ¶
func NewResourcesProvider(depotPath string) ResourcesProvider
func (ResourcesProvider) CPUCores ¶
func (provider ResourcesProvider) CPUCores() (int, error)
func (ResourcesProvider) TotalDisk ¶
func (provider ResourcesProvider) TotalDisk() (uint64, error)
func (ResourcesProvider) TotalMemory ¶
func (provider ResourcesProvider) TotalMemory() (uint64, error)
Click to show internal directories.
Click to hide internal directories.