Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

usecase

v0.0.0-20221221104012-6e392965653d
github.com/AthenZ/garm/usecase

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

3 matches

Top ↑

Package usecase provides the Garm daemon implementation.

Types

GarmDaemon

type GarmDaemon interface {
	Start(ctx context.Context) chan []error
}

GarmDaemon represents Garm daemon behavior.

New

func New(cfg config.Config) (GarmDaemon, error)

New returns a Garm daemon, or error occurred. The daemon contains a token service authentication and authorization server. This function will also initialize the mapping rules for the authentication and authorization check.

Dependency graph