quotapath

package
v0.0.0-...-83aa6d9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QPList

type QPList struct {
	QuotaPaths []model.ResourceYaml `yaml:"quotapath,omitempty"`
}

QPList ...

type QpConfig

type QpConfig struct {
	Type    string
	Options string
	Fstype  string
	Region  string
	Devices []string
}

QpConfig ...

type ResourceManager

type ResourceManager struct {
	DeviceQuotaPath map[string]*QpConfig
	RegionQuotaPath map[string]*QpConfig
	// contains filtered or unexported fields
}

ResourceManager ...

func NewResourceManager

func NewResourceManager() *ResourceManager

NewResourceManager ...

func (*ResourceManager) AnalyseConfigMap

func (qrm *ResourceManager) AnalyseConfigMap() error

AnalyseConfigMap analyse quotapath resource config

func (*ResourceManager) ApplyResourceDiff

func (qrm *ResourceManager) ApplyResourceDiff() error

ApplyResourceDiff apply quotapath resource to current node

Jump to

Keyboard shortcuts

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