sizing

package
v0.0.0-...-333d07d Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SiteSizingLabel             = "skupper.io/site-sizing"
	DefaultSiteSizingAnnotation = "skupper.io/default-site-sizing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerResources

type ContainerResources struct {
	Requests map[string]string
	Limits   map[string]string
}

func (ContainerResources) NotEmpty

func (r ContainerResources) NotEmpty() bool

type Registry

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

func NewRegistry

func NewRegistry() *Registry

func (*Registry) GetSizing

func (r *Registry) GetSizing(site *skupperv2alpha1.Site) (Sizing, error)

func (*Registry) Update

func (r *Registry) Update(key string, cm *corev1.ConfigMap) error

type Sizing

type Sizing struct {
	Router  ContainerResources
	Adaptor ContainerResources
}

Jump to

Keyboard shortcuts

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