Documentation ¶
Overview ¶
Package config provides controllers which manage config resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireController ¶ added in v1.5.0
type AcquireController struct { PlatformConfiguration PlatformConfigurator PlatformEvent PlatformEventer ConfigSetter Setter EventPublisher talosruntime.Publisher ValidationMode validation.RuntimeMode ConfigPath string // contains filtered or unexported fields }
AcquireController loads the machine configuration from multiple sources.
func (*AcquireController) Inputs ¶ added in v1.5.0
func (ctrl *AcquireController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*AcquireController) Name ¶ added in v1.5.0
func (ctrl *AcquireController) Name() string
Name implements controller.Controller interface.
func (*AcquireController) Outputs ¶ added in v1.5.0
func (ctrl *AcquireController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*AcquireController) Run ¶ added in v1.5.0
func (ctrl *AcquireController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type MachineTypeController ¶
type MachineTypeController struct{}
MachineTypeController manages config.MachineType based on configuration.
func (*MachineTypeController) Inputs ¶
func (ctrl *MachineTypeController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*MachineTypeController) Name ¶
func (ctrl *MachineTypeController) Name() string
Name implements controller.Controller interface.
func (*MachineTypeController) Outputs ¶
func (ctrl *MachineTypeController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*MachineTypeController) Run ¶
func (ctrl *MachineTypeController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type PlatformConfigurator ¶ added in v1.5.0
type PlatformConfigurator interface { Name() string Configuration(context.Context) ([]byte, error) }
PlatformConfigurator is a reduced interface of runtime.Platform.
type PlatformEventer ¶ added in v1.5.0
PlatformEventer sends events based on the config process via platform-specific interface.