Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APISummary ¶
type APISummary struct {
Message string `json:"message"`
ModelSignature map[string]FeatureSignature `json:"model_signature"`
}
type DeleteResponse ¶
type DeleteResponse struct {
Message string `json:"message"`
}
type DeployResponse ¶
type DeployResponse struct {
Results []DeployResult `json:"results"`
BaseURL string `json:"base_url"`
}
type ErrorResponse ¶
type FeatureSignature ¶
type FeatureSignature struct {
Shape []interface{} `json:"shape"`
Type string `json:"type"`
}
type GetAPIResponse ¶
type GetAPIsResponse ¶
type InfoResponse ¶
type InfoResponse struct {
MaskedAWSAccessKeyID string `json:"masked_aws_access_key_id"`
ClusterConfig clusterconfig.InternalConfig `json:"cluster_config"`
NodeInfos []NodeInfo `json:"node_infos"`
NumPendingReplicas int `json:"num_pending_replicas"`
}
type NodeInfo ¶ added in v0.17.0
type NodeInfo struct {
Name string `json:"name"`
InstanceType string `json:"instance_type"`
IsSpot bool `json:"is_spot"`
Price float64 `json:"price"`
NumReplicas int `json:"num_replicas"`
ComputeCapacity userconfig.Compute `json:"compute_capacity"` // the total resources available to the user on a node
ComputeAvailable userconfig.Compute `json:"compute_available"` // unused resources on a node
}
type RefreshResponse ¶
type RefreshResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.