computeresources

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetResourcePoolAndVMs = getResourcePoolAndVMs
)

Functions

This section is empty.

Types

type ComputeResourcesValidationService

type ComputeResourcesValidationService struct {
	// contains filtered or unexported fields
}

func (*ComputeResourcesValidationService) ReconcileComputeResourceValidationRule

func (c *ComputeResourcesValidationService) ReconcileComputeResourceValidationRule(rule v1alpha1.ComputeResourceRule, finder *find.Finder, driver *vsphere.VSphereCloudDriver) (*types.ValidationRuleResult, error)

type ResourceUsage

type ResourceUsage struct {
	Used     int64
	Free     int64
	Capacity int64
	Usage    float64
	Summary  ResourceUsageSummary
}

type ResourceUsageSummary

type ResourceUsageSummary struct {
	Used     string
	Free     string
	Capacity string
	Usage    string
}

type Usage

type Usage struct {
	Memory  ResourceUsage
	CPU     ResourceUsage
	Storage ResourceUsage
}

Jump to

Keyboard shortcuts

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