registryd

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: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName   = "registryd"
	DefaultUUID   = "7fef9861-a94f-4808-ad84-f90c2b00d848"
	DefaultDBPath = "/var/registry.db"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

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

func WithDBPath

func WithDBPath(dbPath string) Option

func WithIPCAddr

func WithIPCAddr(ipcAddr string) Option

func WithInit

func WithInit(id uuid.UUID) Option

func WithLogger

func WithLogger(log logr.Logger) Option

func WithName

func WithName(name string) 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