mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 12:39:30 +00:00
* changing package to k3s-io Signed-off-by: Luther Monson <luther.monson@gmail.com> Co-authored-by: Derek Nola <derek.nola@suse.com>
22 lines
457 B
Go
22 lines
457 B
Go
package server
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/k3s-io/k3s/pkg/cli/cmds"
|
|
"github.com/k3s-io/k3s/pkg/daemons/config"
|
|
)
|
|
|
|
type Config struct {
|
|
DisableAgent bool
|
|
DisableServiceLB bool
|
|
ControlConfig config.Control
|
|
Rootless bool
|
|
SupervisorPort int
|
|
StartupHooks []cmds.StartupHook
|
|
LeaderControllers CustomControllers
|
|
Controllers CustomControllers
|
|
}
|
|
|
|
type CustomControllers []func(ctx context.Context, sc *Context) error
|