usecase
v0.0.0-20221221104012-6e392965653d
github.com/AthenZ/garm/usecase
Documentation
pkg.go.dev ↗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.