usecase

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package usecase provides the Garm daemon implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GarmDaemon

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

GarmDaemon represents Garm daemon behavior.

func 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.

Jump to

Keyboard shortcuts

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