Documentation ¶
Index ¶
- type CanaryRelease
- type DestinationsSubsetsMap
- type ErrorResponse
- type ExperimentMetric
- type LabelsToPortMap
- type Metadata
- type MetricValue
- type Named
- type Notification
- type Permission
- type PolicyReference
- type Route
- type SubsetToPorts
- type ValidationError
- type VampConfig
- type VampService
- type Versioned
- type Weight
- type WithSpecification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanaryRelease ¶
type CanaryRelease struct { VampService string `json:"vampService"` Destination string `json:"destination,omitempty"` Port *int `json:"port,omitempty"` UpdatePeriod *int `json:"updatePeriod,omitempty"` UpdateStep *int `json:"updateStep,omitempty"` Subset string `json:"subset,omitempty"` SubsetLabels map[string]string `json:"subsetLabels,omitempty"` Policies []PolicyReference `json:"policies,omitempty"` }
type DestinationsSubsetsMap ¶ added in v0.0.44
type DestinationsSubsetsMap struct { DestinationsMap map[string]LabelsToPortMap `json:"destinationsMap"` Labels []string `json:"labels"` }
type ErrorResponse ¶ added in v0.0.23
type ErrorResponse struct { Message string `json:"message"` ValidationOutcome []ValidationError `json:"validationOutcome"` }
type ExperimentMetric ¶ added in v0.0.38
type LabelsToPortMap ¶ added in v0.0.44
type LabelsToPortMap struct {
Map map[string]SubsetToPorts `json:"map"`
}
type MetricValue ¶ added in v0.0.47
type MetricValue struct { Timestamp int64 `yaml:"timestamp" json:"timestamp"` NumberOfElements int64 `yaml:"numberOfElements" json:"numberOfElements"` StandardDeviation float64 `yaml:"standardDeviation" json:"standardDeviation"` Average float64 `yaml:"average" json:"average"` Sum float64 `yaml:"sum" json:"sum"` Median float64 `yaml:"median" json:"median"` Min float64 `yaml:"min" json:"min"` Max float64 `yaml:"max" json:"max"` Rate float64 `yaml:"rate" json:"rate"` P999 float64 `yaml:"p999" json:"p999"` P99 float64 `yaml:"p99" json:"p99"` P95 float64 `yaml:"p95" json:"p95"` P75 float64 `yaml:"p75" json:"p75"` }
type Notification ¶ added in v0.0.30
type Notification struct {
Text string `json:"text,omitempty"`
}
type Permission ¶
type PolicyReference ¶ added in v0.0.25
type SubsetToPorts ¶ added in v0.0.44
type ValidationError ¶ added in v0.0.23
type VampConfig ¶
type VampConfig struct { RootPassword string `yaml:"rootPassword,omitempty" json:"rootPassword,omitempty"` DatabaseUrl string `yaml:"databaseUrl,omitempty" json:"databaseUrl,omitempty"` DatabaseName string `yaml:"databaseName,omitempty" json:"databaseName,omitempty"` ImageName string `yaml:"imageName,omitempty" json:"imageName,omitempty"` RepoUsername string `yaml:"repoUsername,omitempty" json:"repoUsername,omitempty"` RepoPassword string `yaml:"repoPassword,omitempty" json:"repoPassword,omitempty"` ImageTag string `yaml:"imageTag,omitempty" json:"imageTag,omitempty"` Mode string `yaml:"mode,omitempty" json:"mode,omitempty"` AccessTokenExpiration string `yaml:"accessTokenExpiration,omitempty" json:"accessTokenExpiration,omitempty"` IstioInstallerImage string `yaml:"istioInstallerImage,omitempty" json:"istioInstallerImage,omitempty"` IstioAdapterImage string `yaml:"istioAdapterImage,omitempty" json:"istioAdapterImage,omitempty"` }
type VampService ¶
type WithSpecification ¶ added in v0.0.28
type WithSpecification struct {
Specification map[string]interface{} `json:"specification"`
}
Click to show internal directories.
Click to hide internal directories.