Documentation ¶
Overview ¶
Package docker provides some helpers to manage docker-compose clusters from the test suites
Index ¶
- type Compose
- type ComposeEndpoint
- func (e *ComposeEndpoint) GetTraceByID(ctx context.Context, id string) ([]byte, error)
- func (e *ComposeEndpoint) Logger() io.WriteCloser
- func (e *ComposeEndpoint) RunPromQL(ctx context.Context, promQL string) ([]byte, error)
- func (e *ComposeEndpoint) SearchLoki(query string) ([]byte, error)
- func (e *ComposeEndpoint) SearchTags(ctx context.Context, tags map[string]string) ([]byte, error)
- func (e *ComposeEndpoint) SearchTempo(ctx context.Context, query string) ([]byte, error)
- func (e *ComposeEndpoint) Start(ctx context.Context) error
- func (e *ComposeEndpoint) Stop(ctx context.Context) error
- func (e *ComposeEndpoint) TracerProvider(ctx context.Context, r *resource.Resource) (*trace.TracerProvider, error)
- type PortsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compose ¶
type Compose struct { Command string DefaultArgs []string Path string Logger io.WriteCloser Env []string }
func ComposeSuite ¶
type ComposeEndpoint ¶
type ComposeEndpoint struct { ComposeFilePath string LogOutputPath string Env []string Ports PortsConfig }
func NewEndpoint ¶
func NewEndpoint(composeFilePath, logOutputPath string, env []string, ports PortsConfig) *ComposeEndpoint
func (*ComposeEndpoint) GetTraceByID ¶
func (*ComposeEndpoint) Logger ¶
func (e *ComposeEndpoint) Logger() io.WriteCloser
func (*ComposeEndpoint) SearchLoki ¶
func (e *ComposeEndpoint) SearchLoki(query string) ([]byte, error)
func (*ComposeEndpoint) SearchTags ¶
func (*ComposeEndpoint) SearchTempo ¶
func (*ComposeEndpoint) TracerProvider ¶
func (e *ComposeEndpoint) TracerProvider(ctx context.Context, r *resource.Resource) (*trace.TracerProvider, error)
Click to show internal directories.
Click to hide internal directories.