Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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 ¶
func (r *Renderer) Render(ctx context.Context, dm v1.DataModelInterface, options renderers.RenderOptions) (renderers.RendererOutput, error)
Render checks if the DataModelInterface is a ContainerResource and if so, checks for ManualScaling extensions and sets the replicas accordingly.
Click to show internal directories.
Click to hide internal directories.