manualscale

package
v0.25.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	Inner renderers.Renderer
}

Renderer is the renderers.Renderer implementation for the manualscale extension.

func (*Renderer) GetDependencyIDs

func (r *Renderer) GetDependencyIDs(ctx context.Context, resource v1.DataModelInterface) ([]resources.ID, []resources.ID, error)

GetDependencyIDs gets the IDs of the dependencies of the given resource.

func (*Renderer) Render

Render checks if the DataModelInterface is a ContainerResource and if so, checks for ManualScaling extensions and sets the replicas accordingly.

Jump to

Keyboard shortcuts

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