e2econprof

package
v0.0.0-...-42b049c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanScenario

func CleanScenario(t *testing.T, s *e2e.Scenario) func()

func DefaultImage

func DefaultImage() string

DefaultImage returns the local docker image to use to run Thanos.

func DefaultScrapeConfig

func DefaultScrapeConfig() string

func NewAPI

func NewAPI(networkName string, name string, storeAddress string) (*e2e.HTTPService, error)

func NewAll

func NewAll(sharedDir, networkName, name, dirSuffix, config string) (*e2e.HTTPService, error)

Types

type Service

type Service struct {
	*e2e.HTTPService
	// contains filtered or unexported fields
}

func NewService

func NewService(
	name string,
	image string,
	command *e2e.Command,
	readiness *e2e.HTTPReadinessProbe,
	http, grpc int,
	otherPorts ...int,
) *Service

func NewStorage

func NewStorage(sharedDir string, networkName string, name string, dirSuffix string) (*Service, error)

func (*Service) GRPCEndpoint

func (s *Service) GRPCEndpoint() string

func (*Service) GRPCNetworkEndpoint

func (s *Service) GRPCNetworkEndpoint() string

func (*Service) GRPCNetworkEndpointFor

func (s *Service) GRPCNetworkEndpointFor(networkName string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL