Help us shape the future of Go! Take the 2026 Go Developer Survey

telemetry

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderProject    = "baseharbor-telemetry"
	ProviderService    = "otel-collector"
	ProviderNetwork    = "baseharbor-telemetry"
	ProviderImage      = "otel/opentelemetry-collector-contrib:0.161.0"
	ExternalHeadersEnv = "BASEHARBOR_OTLP_HEADERS"
)

Variables

This section is empty.

Functions

func DestroySharedProvider

func DestroySharedProvider(ctx context.Context, runtime Runtime) error

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(runtime Runtime, app application.Manifest, files application.RuntimeFiles) *Driver

func (*Driver) Bind

func (d *Driver) Bind(_ context.Context, resource capability.Resource, _ capability.Binding) error

func (*Driver) Descriptor

func (d *Driver) Descriptor() capability.Provider

func (*Driver) Preflight

func (d *Driver) Preflight(_ context.Context, resource capability.Resource, binding capability.Binding) error

func (*Driver) Provision

func (d *Driver) Provision(ctx context.Context, resource capability.Resource, _ capability.Binding) error

func (*Driver) Verify

func (d *Driver) Verify(ctx context.Context, resource capability.Resource, _ capability.Binding) error

type ProviderFiles

type ProviderFiles struct {
	Dir     string
	Compose string
	Env     string
	Config  string
}

func EnsureProviderFiles

func EnsureProviderFiles() (ProviderFiles, error)

func ExistingProviderFiles

func ExistingProviderFiles() (ProviderFiles, error)

type Runtime

type Runtime interface {
	ConfigProject(context.Context, string, string, string) error
	UpProject(context.Context, string, string, string) error
	DestroyProject(context.Context, string, string, string) error
}

Jump to

Keyboard shortcuts

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