2019-01-01 08:23:01 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
2020-08-19 23:54:58 +00:00
|
|
|
"context"
|
|
|
|
|
2019-01-09 16:54:15 +00:00
|
|
|
"github.com/rancher/k3s/pkg/daemons/config"
|
2019-01-01 08:23:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
2019-02-02 05:09:11 +00:00
|
|
|
DisableAgent bool
|
|
|
|
DisableServiceLB bool
|
|
|
|
ControlConfig config.Control
|
2019-03-08 22:47:44 +00:00
|
|
|
Rootless bool
|
2020-04-28 22:00:30 +00:00
|
|
|
SupervisorPort int
|
2020-09-04 16:30:36 +00:00
|
|
|
StartupHooks []func(context.Context, <-chan struct{}, string) error
|
2019-01-01 08:23:01 +00:00
|
|
|
}
|