Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploymentMarshalerFunc ¶ added in v2.46.0
func DeploymentMarshalerFunc(i any, opt *human.MarshalOpt) (string, error)
func GetCommands ¶
func GetGeneratedCommands ¶
Types ¶
type FetchDeployments ¶ added in v2.63.0
type FetchDeployments struct{}
func (*FetchDeployments) Fetch ¶ added in v2.63.0
func (f *FetchDeployments) Fetch( ctx context.Context, region scw.Region, projectID string, ) ([]fetch.ResourceResult, error)
Fetch fetches all inference deployments in a given region.
func (*FetchDeployments) LocalityType ¶ added in v2.63.0
func (f *FetchDeployments) LocalityType() fetch.LocalityType
func (*FetchDeployments) Namespace ¶ added in v2.63.0
func (f *FetchDeployments) Namespace() string
func (*FetchDeployments) Resource ¶ added in v2.63.0
func (f *FetchDeployments) Resource() string
type ListServerlessModelsResponse ¶ added in v2.59.0
type ModelCustom ¶ added in v2.59.0
type ModelCustom struct {
ID string `json:"id"`
CreatedAt time.Time `json:"created_at"`
OwnedBy string `json:"owned_by"`
ConsumptionMode string `json:"consumption_mode"`
InputTokenPrice float64 `json:"input_token_price"`
OutputTokenPrice float64 `json:"output_token_price"`
Tasks []string `json:"tasks"`
Reasoning bool `json:"reasoning"`
}
Click to show internal directories.
Click to hide internal directories.