autoscaler

package
v0.0.0-...-7ed2c18 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, cl client.Client, s *runtime.Scheme, namespace string) (bool, error)

Delete deletes the autoscaling buffer app if it's deployed. Does nothing if it's not. Returns true if the app was deleted.

func Deploy

func Deploy(ctx context.Context, cl client.Client, s *runtime.Scheme, namespace string, config BufferConfiguration) error

Types

type BufferConfiguration

type BufferConfiguration interface {
	BufferMemory() string
	BufferCPU() string
	BufferReplicas() int
}

Jump to

Keyboard shortcuts

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