aiinferenceresources

package
v0.0.0-...-80b027e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package aiinferenceresources implements the "ai-inference-resources" subcommand. It is invoked by a post-install/post-upgrade Helm Job and is responsible for creating or updating the InferenceModelConfig CR from values passed as CLI flags (which Helm renders from values.yaml).

This mirrors exactly how the "gateway-resources" subcommand bootstraps GatewayClassConfig: Helm values → CLI flags → Go struct → k8sClient.Create/Update.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

Command is the "ai-inference-resources" subcommand. It runs once at post-install/post-upgrade and upserts the InferenceModelConfig CR from the Helm values baked into its CLI flags.

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) int

func (*Command) Synopsis

func (c *Command) Synopsis() string

Jump to

Keyboard shortcuts

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