utils

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 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 Containers

type Containers []*Resource

Containers .

func (Containers) String

func (cs Containers) String() string

type NodeInfo

type NodeInfo struct {
	HostIP string
	Resource
	MemAllocatable int64
	MemCapacity    int64
	CPUAllocatable int64
	CPUCapacity    int64
	HasEnv         Containers
	NotHasEnv      Containers
}

NodeInfo .

type Resource

type Resource struct {
	Name       string
	MemRequest int64
	MemLimit   int64
	CPURequest int64
	CPULimit   int64
}

Resource .

Jump to

Keyboard shortcuts

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