Documentation ¶
Index ¶
- func CleanScenario(t *testing.T, s *e2e.Scenario) func()
- func DefaultAlertmanagerImage() string
- func DefaultImage() string
- func DefaultPrometheusImage() string
- func NewAlertmanager(sharedDir string, name string) (*e2e.HTTPService, error)
- func NewCompactor(sharedDir string, name string, bucketConfig client.BucketConfig, ...) (*e2e.HTTPService, error)
- func NewMemcached(name string) *e2e.ConcreteService
- func NewPrometheus(sharedDir string, name string, config, promImage string) (*e2e.HTTPService, string, error)
- func NewQueryFrontend(name string, downstreamURL string, ...) (*e2e.HTTPService, error)
- func NewSingleHostReverseProxy(target *url.URL, externalPrefix string) *httputil.ReverseProxy
- func RemoteWriteEndpoint(addr string) string
- type Service
- func NewPrometheusWithSidecar(sharedDir string, netName string, name string, config, promImage string) (*e2e.HTTPService, *Service, error)
- func NewQuerier(sharedDir, name string, ...) (*Service, error)
- func NewReceiver(sharedDir string, networkName string, name string, replicationFactor int, ...) (*Service, error)
- func NewRuler(sharedDir string, name string, ruleSubDir string, ...) (*Service, error)
- func NewService(name string, image string, command *e2e.Command, ...) *Service
- func NewStoreGW(sharedDir string, name string, bucketConfig client.BucketConfig, ...) (*Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAlertmanagerImage ¶
func DefaultAlertmanagerImage() string
func DefaultImage ¶
func DefaultImage() string
DefaultImage returns the local docker image to use to run Thanos.
func DefaultPrometheusImage ¶
func DefaultPrometheusImage() string
TODO(bwplotka): Run against multiple?
func NewAlertmanager ¶
func NewAlertmanager(sharedDir string, name string) (*e2e.HTTPService, error)
func NewCompactor ¶
func NewCompactor(sharedDir string, name string, bucketConfig client.BucketConfig, relabelConfig []relabel.Config, extArgs ...string) (*e2e.HTTPService, error)
func NewMemcached ¶ added in v0.16.0
func NewMemcached(name string) *e2e.ConcreteService
func NewPrometheus ¶
func NewQueryFrontend ¶ added in v0.15.0
func NewQueryFrontend(name string, downstreamURL string, cacheConfig queryfrontend.CacheProviderConfig) (*e2e.HTTPService, error)
func NewSingleHostReverseProxy ¶ added in v0.15.0
func NewSingleHostReverseProxy(target *url.URL, externalPrefix string) *httputil.ReverseProxy
NewSingleHostReverseProxy is almost same as httputil.NewSingleHostReverseProxy but it performs a url path rewrite.
func RemoteWriteEndpoint ¶
Types ¶
type Service ¶
type Service struct { *e2e.HTTPService // contains filtered or unexported fields }
func NewQuerier ¶
func NewReceiver ¶
func NewService ¶
func NewStoreGW ¶
func (*Service) GRPCEndpoint ¶
func (*Service) GRPCNetworkEndpoint ¶
func (*Service) GRPCNetworkEndpointFor ¶
Click to show internal directories.
Click to hide internal directories.