bootstrap

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlPlaneController added in v0.6.0

type ControlPlaneController struct {
	client.Client
	Scheme     *runtime.Scheme
	ClientSet  *kubernetes.Clientset
	RESTConfig *rest.Config
}

func (*ControlPlaneController) Reconcile added in v0.6.0

func (c *ControlPlaneController) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

func (*ControlPlaneController) SetupWithManager added in v0.6.0

func (c *ControlPlaneController) SetupWithManager(mgr ctrl.Manager) error

type Controller

type Controller struct {
	client.Client
	Scheme     *runtime.Scheme
	ClientSet  *kubernetes.Clientset
	RESTConfig *rest.Config
}

func (*Controller) Reconcile

func (r *Controller) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

func (*Controller) SetupWithManager

func (r *Controller) SetupWithManager(mgr ctrl.Manager) error

type ControllerScope added in v1.0.2

type ControllerScope struct {
	Config        *bootstrapv1.K0sControllerConfig
	ConfigOwner   *bsutil.ConfigOwner
	Cluster       *clusterv1.Cluster
	WorkerEnabled bool
}

type ProviderIDController added in v1.0.2

type ProviderIDController struct {
	client.Client
	Scheme    *runtime.Scheme
	ClientSet *kubernetes.Clientset
}

func (*ProviderIDController) Reconcile added in v1.0.2

func (p *ProviderIDController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ProviderIDController) SetupWithManager added in v1.0.2

func (p *ProviderIDController) SetupWithManager(mgr ctrl.Manager) error

type Scope

type Scope struct {
	Config      *bootstrapv1.K0sWorkerConfig
	ConfigOwner *bsutil.ConfigOwner
	Cluster     *clusterv1.Cluster
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL