originregistry

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVarService

type EnvVarService struct {
	zerolog.Logger
	// contains filtered or unexported fields
}

func (EnvVarService) IsOriginRegistered

func (evs EnvVarService) IsOriginRegistered(_ context.Context, origin string) (bool, error)

IsOriginRegistered implements Service.

type Service

type Service interface {
	IsOriginRegistered(context.Context, string) (bool, error)
}

Service define an origin registry management service.

func ProvideEnvVarService

func ProvideEnvVarService(logger zerolog.Logger) Service

ProvideEnvVarService is a wire provider for origin registry Service.

Jump to

Keyboard shortcuts

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