quota

package
v0.0.0-...-a5f8819 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quotas

type Quotas struct {
	ServiceQuotas
	ConfigCount int
	ConfigSize  int
	Ingress     int
	Services    int
}

type ServiceQuotas

type ServiceQuotas struct {
	Cpus       float32
	Gpus       uint32
	MemoryMiB  float32
	Replicas   int
	ShmSizeMiB float32
}

func (ServiceQuotas) ValidateQuotas

func (q ServiceQuotas) ValidateQuotas(service *types.ServiceConfig) error

Jump to

Keyboard shortcuts

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