telemetryd

package
v0.0.0-...-e890a9a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "telemetryd"
	DefaultUUID = "e163a422-d06e-4c78-9f91-cdc060db530b"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithInit

func WithInit(id uuid.UUID) Option

func WithLogger

func WithLogger(log logr.Logger) Option

func WithMetrics

func WithMetrics(metrics bool) Option

func WithName

func WithName(name string) Option

func WithTracing

func WithTracing(tracing bool) Option

type Service

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

func New

func New(opts ...Option) *Service

func (*Service) Name

func (s *Service) Name() string

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

func (*Service) UUID

func (s *Service) UUID() uuid.UUID

Jump to

Keyboard shortcuts

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