resourceprofile

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreateResourceProfile

func NewCmdCreateResourceProfile(config *cfg.Config) *cobra.Command

func NewCmdGetResourceProfiles

func NewCmdGetResourceProfiles(config *cfg.Config) *cobra.Command

Types

type ResourceProfileSpec

type ResourceProfileSpec struct {
	Resources struct {
		Storage struct {
			SyncFull        bool   `json:"syncFull"`
			BacklogMemLimit string `json:"backlogMemLimit"`
			VolumeSize      string `json:"volumeSize"`
			MaxChunksUp     uint   `json:"maxChunksUp"`
			MaxChunksPause  bool   `json:"maxChunksPause"`
		} `json:"storage"`
		CPU struct {
			BufferWorkers uint   `json:"bufferWorkers"`
			Limit         string `json:"limit"`
			Request       string `json:"request"`
		} `json:"cpu"`
		Memory struct {
			Limit   string `json:"limit"`
			Request string `json:"request"`
		} `json:"memory"`
	} `json:"resources"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL