You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package components
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
type Component interface {
|
|
Name() string
|
|
Priority() int
|
|
Initialized() bool
|
|
Init(components *Registry, cli *cli.Context) error
|
|
Stop() error
|
|
Flags(r *Registry) []cli.Flag
|
|
Health(context context.Context) error
|
|
}
|