Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdConfigure ¶ added in v0.36.0
func NewCmdStatus ¶ added in v0.34.0
Types ¶
type Config ¶ added in v0.36.0
type Config struct {
Guardrails Guardrails `json:"guardrails"`
Slo Slo `json:"slo"`
}
type ErrorPercent ¶ added in v0.36.0
type ErrorPercent struct {
Target float64 `json:"target"`
}
type Guardrails ¶ added in v0.36.0
type JsonStoreItem ¶ added in v0.36.0
type JsonStoreItem struct {
CreatedAt time.Time `json:"createdAt"`
// Data Data `json:"data"` NOTE: leave out data so that its type can be specified by embedding this type into another
ID string `json:"id"`
LayerID string `json:"layerId"`
LayerType string `json:"layerType"`
ObjectMimeType string `json:"objectMimeType"`
ObjectType string `json:"objectType"`
ObjectVersion int `json:"objectVersion"`
Patch any `json:"patch"`
TargetObjectID any `json:"targetObjectId"`
UpdatedAt time.Time `json:"updatedAt"`
}
TODO move to Orion package?
type K8SDeployment ¶ added in v0.36.0
type MedianResponseTime ¶ added in v0.36.0
type MedianResponseTime struct {
Target float64 `json:"target"`
}
type OptimizerConfiguration ¶ added in v0.36.0
type Slo ¶ added in v0.36.0
type Slo struct {
ErrorPercent ErrorPercent `json:"errorPercent"`
MedianResponseTime MedianResponseTime `json:"medianResponseTime"`
}
type Suspension ¶ added in v0.36.0
type Target ¶ added in v0.36.0
type Target struct {
K8SDeployment K8SDeployment `json:"k8sDeployment"`
}
Click to show internal directories.
Click to hide internal directories.