memory

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MConfig

type MConfig struct {
	Type   string
	Region string
}

MConfig ...

type MList

type MList struct {
	Memories []model.ResourceYaml `yaml:"memory,omitempty"`
}

MList ...

type ResourceManager

type ResourceManager struct {
	Memory []*MConfig
	// contains filtered or unexported fields
}

ResourceManager ...

func NewResourceManager

func NewResourceManager() *ResourceManager

NewResourceManager ...

func (*ResourceManager) AnalyseConfigMap

func (mrm *ResourceManager) AnalyseConfigMap() error

AnalyseConfigMap analyse memory resource config

func (*ResourceManager) ApplyResourceDiff

func (mrm *ResourceManager) ApplyResourceDiff() error

ApplyResourceDiff apply memory resource to current node

Jump to

Keyboard shortcuts

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