Documentation ¶
Overview ¶
Package kubeaccess provides controllers which manage Talos API access from Kubernetes workloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDController ¶
type CRDController struct{}
CRDController manages Kubernetes endpoints resource for Talos API endpoints.
func (*CRDController) Inputs ¶
func (ctrl *CRDController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*CRDController) Name ¶
func (ctrl *CRDController) Name() string
Name implements controller.Controller interface.
func (*CRDController) Outputs ¶
func (ctrl *CRDController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*CRDController) Run ¶
func (ctrl *CRDController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type ConfigController ¶
type ConfigController = transform.Controller[*config.MachineConfig, *kubeaccess.Config]
ConfigController watches v1alpha1.Config, updates Talos API access config.
func NewConfigController ¶ added in v1.5.0
func NewConfigController() *ConfigController
NewConfigController instanciates the config controller.
type EndpointController ¶
type EndpointController struct{}
EndpointController manages Kubernetes endpoints resource for Talos API endpoints.
func (*EndpointController) Inputs ¶
func (ctrl *EndpointController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*EndpointController) Name ¶
func (ctrl *EndpointController) Name() string
Name implements controller.Controller interface.
func (*EndpointController) Outputs ¶
func (ctrl *EndpointController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*EndpointController) Run ¶
func (ctrl *EndpointController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.