deployment

package
v1.90.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "deployment",
	Short: "Manage AI deployments",
}

Cmd is the root command for deployment subcommands.

Functions

This section is empty.

Types

type DeploymentCreateCmd

type DeploymentCreateCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Name     string `cli-arg:"?" cli-usage:"NAME"`
	GPUType  string `cli-flag:"gpu-type" cli-usage:"GPU type family (e.g., gpua5000, gpu3080ti)"`
	GPUCount int64  `cli-flag:"gpu-count" cli-usage:"Number of GPUs (1-8)"`
	Replicas int64  `cli-flag:"replicas" cli-usage:"Number of replicas (>=1)"`

	ModelID                   string      `cli-flag:"model-id" cli-usage:"Model ID (UUID)"`
	ModelName                 string      `cli-flag:"model-name" cli-usage:"Model name (as created)"`
	InferenceEngineParameters string      `` /* 153-byte string literal not displayed */
	InferenceEngineHelp       bool        `cli-flag:"inference-engine-parameter-help" cli-usage:"Show inference engine parameters help"`
	Zone                      v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentCreateCmd) CmdAliases

func (c *DeploymentCreateCmd) CmdAliases() []string

func (*DeploymentCreateCmd) CmdLong

func (c *DeploymentCreateCmd) CmdLong() string

func (*DeploymentCreateCmd) CmdPreRun

func (c *DeploymentCreateCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentCreateCmd) CmdRun

func (c *DeploymentCreateCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentCreateCmd) CmdShort

func (c *DeploymentCreateCmd) CmdShort() string

type DeploymentDeleteCmd

type DeploymentDeleteCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Deployments []string    `cli-arg:"#" cli-usage:"NAME|ID..."`
	Force       bool        `cli-short:"f" cli-usage:"don't prompt for confirmation"`
	Zone        v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentDeleteCmd) CmdAliases

func (c *DeploymentDeleteCmd) CmdAliases() []string

func (*DeploymentDeleteCmd) CmdLong

func (c *DeploymentDeleteCmd) CmdLong() string

func (*DeploymentDeleteCmd) CmdPreRun

func (c *DeploymentDeleteCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentDeleteCmd) CmdRun

func (c *DeploymentDeleteCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentDeleteCmd) CmdShort

func (c *DeploymentDeleteCmd) CmdShort() string

type DeploymentListCmd

type DeploymentListCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Zone v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentListCmd) CmdAliases

func (c *DeploymentListCmd) CmdAliases() []string

func (*DeploymentListCmd) CmdLong

func (c *DeploymentListCmd) CmdLong() string

func (*DeploymentListCmd) CmdPreRun

func (c *DeploymentListCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentListCmd) CmdRun

func (c *DeploymentListCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentListCmd) CmdShort

func (c *DeploymentListCmd) CmdShort() string

type DeploymentListItemOutput

type DeploymentListItemOutput struct {
	ID        v3.UUID                               `json:"id"`
	Name      string                                `json:"name"`
	Status    v3.ListDeploymentsResponseEntryStatus `json:"status"`
	GPUType   string                                `json:"gpu_type"`
	GPUCount  int64                                 `json:"gpu_count"`
	Replicas  int64                                 `json:"replicas"`
	ModelName string                                `json:"model_name"`
}

type DeploymentListOutput

type DeploymentListOutput []DeploymentListItemOutput

func (*DeploymentListOutput) ToJSON

func (o *DeploymentListOutput) ToJSON()

func (*DeploymentListOutput) ToTable

func (o *DeploymentListOutput) ToTable()

func (*DeploymentListOutput) ToText

func (o *DeploymentListOutput) ToText()

type DeploymentLogsCmd

type DeploymentLogsCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Deployment string      `cli-arg:"#" cli-usage:"ID or NAME"`
	Zone       v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentLogsCmd) CmdAliases

func (c *DeploymentLogsCmd) CmdAliases() []string

func (*DeploymentLogsCmd) CmdLong

func (c *DeploymentLogsCmd) CmdLong() string

func (*DeploymentLogsCmd) CmdPreRun

func (c *DeploymentLogsCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentLogsCmd) CmdRun

func (c *DeploymentLogsCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentLogsCmd) CmdShort

func (c *DeploymentLogsCmd) CmdShort() string

type DeploymentRevealAPIKeyCmd

type DeploymentRevealAPIKeyCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Deployment string      `cli-arg:"#" cli-usage:"ID or NAME"`
	Zone       v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentRevealAPIKeyCmd) CmdAliases

func (c *DeploymentRevealAPIKeyCmd) CmdAliases() []string

func (*DeploymentRevealAPIKeyCmd) CmdLong

func (c *DeploymentRevealAPIKeyCmd) CmdLong() string

func (*DeploymentRevealAPIKeyCmd) CmdPreRun

func (c *DeploymentRevealAPIKeyCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentRevealAPIKeyCmd) CmdRun

func (c *DeploymentRevealAPIKeyCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentRevealAPIKeyCmd) CmdShort

func (c *DeploymentRevealAPIKeyCmd) CmdShort() string

type DeploymentRevealAPIKeyOutput

type DeploymentRevealAPIKeyOutput struct {
	APIKey string `json:"api_key"`
}

func (*DeploymentRevealAPIKeyOutput) ToJSON

func (o *DeploymentRevealAPIKeyOutput) ToJSON()

func (*DeploymentRevealAPIKeyOutput) ToTable

func (o *DeploymentRevealAPIKeyOutput) ToTable()

func (*DeploymentRevealAPIKeyOutput) ToText

func (o *DeploymentRevealAPIKeyOutput) ToText()

type DeploymentScaleCmd

type DeploymentScaleCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Deployment string      `cli-arg:"#" cli-usage:"ID or NAME"`
	Size       int64       `cli-arg:"#" cli-usage:"SIZE (replicas)"`
	Zone       v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentScaleCmd) CmdAliases

func (c *DeploymentScaleCmd) CmdAliases() []string

func (*DeploymentScaleCmd) CmdLong

func (c *DeploymentScaleCmd) CmdLong() string

func (*DeploymentScaleCmd) CmdPreRun

func (c *DeploymentScaleCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentScaleCmd) CmdRun

func (c *DeploymentScaleCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentScaleCmd) CmdShort

func (c *DeploymentScaleCmd) CmdShort() string

type DeploymentShowCmd

type DeploymentShowCmd struct {
	exocmd.CliCommandSettings `cli-cmd:"-"`

	Deployment string      `cli-arg:"#" cli-usage:"ID or NAME"`
	Zone       v3.ZoneName `cli-short:"z" cli-usage:"zone"`
	// contains filtered or unexported fields
}

func (*DeploymentShowCmd) CmdAliases

func (c *DeploymentShowCmd) CmdAliases() []string

func (*DeploymentShowCmd) CmdLong

func (c *DeploymentShowCmd) CmdLong() string

func (*DeploymentShowCmd) CmdPreRun

func (c *DeploymentShowCmd) CmdPreRun(cmd *cobra.Command, args []string) error

func (*DeploymentShowCmd) CmdRun

func (c *DeploymentShowCmd) CmdRun(_ *cobra.Command, _ []string) error

func (*DeploymentShowCmd) CmdShort

func (c *DeploymentShowCmd) CmdShort() string

type DeploymentShowOutput

type DeploymentShowOutput struct {
	ID            v3.UUID                        `json:"id"`
	Name          string                         `json:"name"`
	Status        v3.GetDeploymentResponseStatus `json:"status"`
	StatusDetails string                         `json:"status_details"`
	GPUType       string                         `json:"gpu_type"`
	GPUCount      int64                          `json:"gpu_count"`
	Replicas      int64                          `json:"replicas"`
	ServiceLevel  string                         `json:"service_level"`
	DeploymentURL string                         `json:"deployment_url"`
	ModelID       v3.UUID                        `json:"model_id"`
	ModelName     string                         `json:"model_name"`
	CreatedAt     string                         `json:"created_at"`
	UpdatedAt     string                         `json:"updated_at"`
}

func (*DeploymentShowOutput) ToJSON

func (o *DeploymentShowOutput) ToJSON()

func (*DeploymentShowOutput) ToTable

func (o *DeploymentShowOutput) ToTable()

func (*DeploymentShowOutput) ToText

func (o *DeploymentShowOutput) ToText()

Jump to

Keyboard shortcuts

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