Documentation ¶
Index ¶
- Constants
- func AppVersionGraph(graphType, name, version, namespace string) (*cytoscape.Config, int, error)
- func ApplicationDetails(name, namespace string) (*models.App, int, error)
- func ApplicationsList(namespace string) (*models.AppList, error)
- func ApplyFile(yamlFile, namespace string) bool
- func DeleteFile(yamlFile, namespace string) bool
- func FirstPodName(name, namespace string) (string, error)
- func Grafana() (*models.GrafanaInfo, int, error)
- func Graph(params map[string]string) (*cytoscape.Config, int, error)
- func IstioConfigDetails(namespace, name, configType string) (*models.IstioConfigDetails, int, error)
- func IstioConfigPermissions(namespace string) (*models.IstioConfigPermissions, error)
- func IstioPermissions() (*models.IstioConfigPermissions, int, error)
- func Jaeger() (*models.JaegerInfo, int, error)
- func KialiConfig() (*handlers.PublicConfig, int, error)
- func KialiStatus() (bool, int, error)
- func MeshTls() (*models.MTLSStatus, int, error)
- func NamespaceAppHealth(namespace string, params map[string]string) (*models.NamespaceAppHealth, int, error)
- func NamespaceServiceHealth(namespace string, params map[string]string) (*models.NamespaceServiceHealth, int, error)
- func NamespaceTls(namespace string) (*models.MTLSStatus, int, error)
- func NamespaceWorkloadHealth(namespace string, params map[string]string) (*models.NamespaceWorkloadHealth, int, error)
- func Namespaces() (*models.Namespaces, int, error)
- func NewExecCommand() string
- func ObjectDashboard(namespace, name, objectType string) (*models.MonitoringDashboard, error)
- func ObjectGraph(objectType, graphType, name, namespace string) (*cytoscape.Config, int, error)
- func ParamsAsString(params map[string]string) string
- func PodLogs(name, namespace string, params map[string]string) (*business.PodLog, error)
- func Spans(objectType, name, namespace string) ([]jaeger.JaegerSpan, int, error)
- func TimeSince() int64
- func TimeSinceSeconds() int64
- func Traces(objectType, name, namespace string) (*jaeger.JaegerResponse, int, error)
- type AuthStrategy
- type IstioConfigListJson
- type IstioConfigMapJson
- type KialiClient
- type MetricJson
- type MetricsJson
- type ObjectValidations
- type ServiceDetailsJson
- type ServiceListJson
- type WorkloadJson
- type WorkloadListJson
Constants ¶
View Source
const ASSETS = "tests/integration/assets"
View Source
const BOOKINFO = "bookinfo"
View Source
const TIMEOUT = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
func AppVersionGraph ¶ added in v1.51.1
func ApplicationDetails ¶ added in v1.50.0
func ApplicationsList ¶ added in v1.50.0
func DeleteFile ¶ added in v1.50.0
func FirstPodName ¶ added in v1.50.0
func IstioConfigDetails ¶ added in v1.50.0
func IstioConfigDetails(namespace, name, configType string) (*models.IstioConfigDetails, int, error)
func IstioConfigPermissions ¶ added in v1.50.0
func IstioConfigPermissions(namespace string) (*models.IstioConfigPermissions, error)
func IstioPermissions ¶ added in v1.51.1
func IstioPermissions() (*models.IstioConfigPermissions, int, error)
func KialiConfig ¶ added in v1.51.1
func KialiConfig() (*handlers.PublicConfig, int, error)
func KialiStatus ¶
func NamespaceAppHealth ¶ added in v1.50.0
func NamespaceServiceHealth ¶ added in v1.50.0
func NamespaceTls ¶ added in v1.51.1
func NamespaceTls(namespace string) (*models.MTLSStatus, int, error)
func NamespaceWorkloadHealth ¶ added in v1.50.0
func Namespaces ¶ added in v1.51.1
func Namespaces() (*models.Namespaces, int, error)
func NewExecCommand ¶ added in v1.51.1
func NewExecCommand() string
func ObjectDashboard ¶ added in v1.51.1
func ObjectDashboard(namespace, name, objectType string) (*models.MonitoringDashboard, error)
func ObjectGraph ¶ added in v1.50.0
func ParamsAsString ¶ added in v1.50.0
func Spans ¶ added in v1.50.0
func Spans(objectType, name, namespace string) ([]jaeger.JaegerSpan, int, error)
func TimeSinceSeconds ¶ added in v1.50.0
func TimeSinceSeconds() int64
Types ¶
type AuthStrategy ¶
type AuthStrategy struct {
Strategy string `json:"strategy"`
}
type IstioConfigListJson ¶ added in v1.50.0
type IstioConfigListJson struct { models.IstioConfigList // TODO merge with IstioConfigList and have IstioValidations instead IstioValidations ObjectValidations `json:"validations"` }
func IstioConfigsList ¶ added in v1.50.0
func IstioConfigsList(namespace string) (*IstioConfigListJson, error)
type IstioConfigMapJson ¶ added in v1.57.0
type IstioConfigMapJson map[string]*IstioConfigListJson
func IstioConfigs ¶ added in v1.57.0
func IstioConfigs() (IstioConfigMapJson, error)
type KialiClient ¶
type KialiClient struct {
// contains filtered or unexported fields
}
func NewKialiClient ¶
func NewKialiClient() (c *KialiClient)
func (*KialiClient) GetAuth ¶
func (c *KialiClient) GetAuth() *config.Auth
func (*KialiClient) GetCookies ¶
func (c *KialiClient) GetCookies() (bool, []*http.Cookie)
func (*KialiClient) KialiAuthStrategy ¶
func (c *KialiClient) KialiAuthStrategy() (string, error)
type MetricJson ¶ added in v1.50.0
type MetricsJson ¶ added in v1.50.0
type MetricsJson struct { GrpcReceived []MetricJson `json:"grpc_received,omitempty"` GrpcSent []MetricJson `json:"grpc_sent,omitempty"` RequestCount []MetricJson `json:"request_count,omitempty"` RequestErrorCount []MetricJson `json:"request_error_count,omitempty"` RequestDurationMillis []MetricJson `json:"request_duration_millis,omitempty"` RequestThroughput []MetricJson `json:"request_throughput,omitempty"` ResponseThroughput []MetricJson `json:"response_throughput,omitempty"` RequestSize []MetricJson `json:"request_size,omitempty"` ResponseSize []MetricJson `json:"response_size,omitempty"` TcpReceived []MetricJson `json:"tcp_received,omitempty"` TcpSent []MetricJson `json:"tcp_sent,omitempty"` TcpOpened []MetricJson `json:"tcp_opened,omitempty"` TcpClosed []MetricJson `json:"tcp_closed,omitempty"` }
MetricsJson contains all simple metrics and histograms data for standard timeseries queries
func NamespaceMetrics ¶ added in v1.50.0
func NamespaceMetrics(namespace string, params map[string]string) (*MetricsJson, error)
func ObjectMetrics ¶ added in v1.50.0
func ObjectMetrics(namespace, service, objectType string, params map[string]string) (*MetricsJson, error)
type ObjectValidations ¶ added in v1.50.0
type ObjectValidations map[string]map[string]*models.IstioValidation
ObjectValidations represents a set of IstioValidation grouped by Object type and name.
type ServiceDetailsJson ¶ added in v1.50.0
type ServiceDetailsJson struct { models.ServiceDetails // TODO merge with ServiceDetails and have IstioValidations instead Validations ObjectValidations `json:"validations"` }
func ServiceDetails ¶ added in v1.50.0
func ServiceDetails(name, namespace string) (*ServiceDetailsJson, int, error)
type ServiceListJson ¶ added in v1.50.0
type ServiceListJson struct { models.ServiceList // TODO merge with ServiceList and have IstioValidations instead Validations ObjectValidations `json:"validations"` }
func ServicesList ¶ added in v1.50.0
func ServicesList(namespace string) (*ServiceListJson, error)
type WorkloadJson ¶ added in v1.50.0
type WorkloadJson struct { models.Workload // TODO merge with Workload and have IstioValidations instead Validations ObjectValidations `json:"validations"` }
func WorkloadDetails ¶ added in v1.50.0
func WorkloadDetails(name, namespace string) (*WorkloadJson, int, error)
type WorkloadListJson ¶ added in v1.50.0
type WorkloadListJson struct { models.WorkloadList // TODO merge with WorkloadList and have IstioValidations instead Validations ObjectValidations `json:"validations"` }
func WorkloadsList ¶ added in v1.50.0
func WorkloadsList(namespace string) (*WorkloadListJson, error)
Click to show internal directories.
Click to hide internal directories.