istio: istio.io/istio/pkg/test/framework/components/stackdriver Index | Files | Directories

package stackdriver

import "istio.io/istio/pkg/test/framework/components/stackdriver"

Index

Package Files

kube.go stackdriver.go

type Config Uses

type Config struct {
    // Cluster to be used in a multicluster environment
    Cluster resource.Cluster
}

type Instance Uses

type Instance interface {
    Address() string
    // Gets the namespace in which stackdriver is deployed.
    GetStackdriverNamespace() string
    ListTimeSeries() ([]*monitoringpb.TimeSeries, error)
    ListLogEntries(LogType) ([]*loggingpb.LogEntry, error)
    ListTrafficAssertions() ([]*edgespb.TrafficAssertion, error)
    ListTraces() ([]*cloudtracepb.Trace, error)
}

Instance represents a deployed Stackdriver app instance in a Kubernetes cluster.

func New Uses

func New(ctx resource.Context, c Config) (i Instance, err error)

New returns a new instance of stackdriver.

func NewOrFail Uses

func NewOrFail(t test.Failer, ctx resource.Context, c Config) Instance

NewOrFail returns a new Stackdriver instance or fails test.

type LogType Uses

type LogType int
const (
    ServerAccessLog LogType = iota
    ServerAuditLog
)

Directories

PathSynopsis
edges

Package stackdriver imports 21 packages (graph). Updated 2020-12-19. Refresh now. Tools for package owners.