controller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionPreflightLinodeVPCReady        clusterv1.ConditionType = "PreflightLinodeVPCReady"
	ConditionPreflightLinodeNBFirewallReady clusterv1.ConditionType = "PreflightLinodeNBFirewallReady"
)
View Source
const (

	// conditions for preflight instance creation
	ConditionPreflightBootstrapDataSecretReady  clusterv1.ConditionType = "PreflightBootstrapDataSecretReady"
	ConditionPreflightLinodeFirewallReady       clusterv1.ConditionType = "PreflightLinodeFirewallReady"
	ConditionPreflightMetadataSupportConfigured clusterv1.ConditionType = "PreflightMetadataSupportConfigured"
	ConditionPreflightCreated                   clusterv1.ConditionType = "PreflightCreated"
	ConditionPreflightRootDiskResizing          clusterv1.ConditionType = "PreflightRootDiskResizing"
	ConditionPreflightRootDiskResized           clusterv1.ConditionType = "PreflightRootDiskResized"
	ConditionPreflightAdditionalDisksCreated    clusterv1.ConditionType = "PreflightAdditionalDisksCreated"
	ConditionPreflightConfigured                clusterv1.ConditionType = "PreflightConfigured"
	ConditionPreflightBootTriggered             clusterv1.ConditionType = "PreflightBootTriggered"
	ConditionPreflightReady                     clusterv1.ConditionType = "PreflightReady"

	// WaitingForBootstrapDataReason used when machine is waiting for bootstrap data to be ready before proceeding.
	WaitingForBootstrapDataReason = "WaitingForBootstrapData"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LinodeClusterReconciler

type LinodeClusterReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	DnsClientConfig    scope.ClientConfig
	WatchFilterValue   string
	ReconcileTimeout   time.Duration
}

LinodeClusterReconciler reconciles a LinodeCluster object

func (*LinodeClusterReconciler) Reconcile

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

func (*LinodeClusterReconciler) SetupWithManager

func (r *LinodeClusterReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeClusterReconciler) TracedClient added in v0.6.0

func (r *LinodeClusterReconciler) TracedClient() client.Client

type LinodeFirewallReconciler added in v0.6.1

type LinodeFirewallReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	ReconcileTimeout   time.Duration
}

LinodeFirewallReconciler reconciles a LinodeFirewall object

func (*LinodeFirewallReconciler) Reconcile added in v0.6.1

func (*LinodeFirewallReconciler) SetupWithManager added in v0.6.1

func (r *LinodeFirewallReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeFirewallReconciler) TracedClient added in v0.6.1

func (r *LinodeFirewallReconciler) TracedClient() client.Client

type LinodeMachineReconciler

type LinodeMachineReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	ReconcileTimeout   time.Duration
}

LinodeMachineReconciler reconciles a LinodeMachine object

func (*LinodeMachineReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile

func (*LinodeMachineReconciler) SetupWithManager

func (r *LinodeMachineReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeMachineReconciler) TracedClient added in v0.6.0

func (r *LinodeMachineReconciler) TracedClient() client.Client

type LinodeObjectStorageBucketReconciler

type LinodeObjectStorageBucketReconciler struct {
	client.Client
	Logger             logr.Logger
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	ReconcileTimeout   time.Duration
}

LinodeObjectStorageBucketReconciler reconciles a LinodeObjectStorageBucket object

func (*LinodeObjectStorageBucketReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the LinodeObjectStorageBucket object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.0/pkg/reconcile

func (*LinodeObjectStorageBucketReconciler) SetupWithManager

func (r *LinodeObjectStorageBucketReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeObjectStorageBucketReconciler) TracedClient added in v0.6.0

type LinodeObjectStorageKeyReconciler added in v0.6.0

type LinodeObjectStorageKeyReconciler struct {
	client.Client
	Logger             logr.Logger
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	Scheme             *runtime.Scheme
	ReconcileTimeout   time.Duration
}

LinodeObjectStorageKeyReconciler reconciles a LinodeObjectStorageKey object

func (*LinodeObjectStorageKeyReconciler) Reconcile added in v0.6.0

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the LinodeObjectStorageKey object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.18.2/pkg/reconcile

func (*LinodeObjectStorageKeyReconciler) SetupWithManager added in v0.6.0

func (r *LinodeObjectStorageKeyReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeObjectStorageKeyReconciler) TracedClient added in v0.6.0

type LinodePlacementGroupReconciler added in v0.6.0

type LinodePlacementGroupReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	Scheme             *runtime.Scheme
	ReconcileTimeout   time.Duration
}

LinodePlacementGroupReconciler reconciles a LinodePlacementGroup object

func (*LinodePlacementGroupReconciler) Reconcile added in v0.6.0

func (*LinodePlacementGroupReconciler) SetupWithManager added in v0.6.0

func (r *LinodePlacementGroupReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodePlacementGroupReconciler) TracedClient added in v0.6.0

func (r *LinodePlacementGroupReconciler) TracedClient() client.Client

type LinodeVPCReconciler

type LinodeVPCReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	Scheme             *runtime.Scheme
	ReconcileTimeout   time.Duration
}

LinodeVPCReconciler reconciles a LinodeVPC object

func (*LinodeVPCReconciler) Reconcile

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

func (*LinodeVPCReconciler) SetupWithManager

func (r *LinodeVPCReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error

SetupWithManager sets up the controller with the Manager.

func (*LinodeVPCReconciler) TracedClient added in v0.6.0

func (r *LinodeVPCReconciler) TracedClient() client.Client

Jump to

Keyboard shortcuts

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