Documentation ¶ Overview ¶ Package usecase provides the Garm daemon implementation. Index ¶ type GarmDaemon func New(cfg config.Config) (GarmDaemon, error) func NewX509(cfg config.Config) (GarmDaemon, error) 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. func NewX509 ¶ added in v3.2.0 func NewX509(cfg config.Config) (GarmDaemon, error) Source Files ¶ View all Source files doc.go garmd.go Click to show internal directories. Click to hide internal directories.