controller

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionPreflightLinodeVPCReady        string = "PreflightLinodeVPCReady"
	ConditionPreflightLinodeNBFirewallReady string = "PreflightLinodeNBFirewallReady"
)
View Source
const (

	// conditions for preflight instance creation
	ConditionPreflightBootstrapDataSecretReady  = "PreflightBootstrapDataSecretReady"
	ConditionPreflightLinodeFirewallReady       = "PreflightLinodeFirewallReady"
	ConditionPreflightMetadataSupportConfigured = "PreflightMetadataSupportConfigured"
	ConditionPreflightCreated                   = "PreflightCreated"
	ConditionPreflightRootDiskResizing          = "PreflightRootDiskResizing"
	ConditionPreflightRootDiskResized           = "PreflightRootDiskResized"
	ConditionPreflightAdditionalDisksCreated    = "PreflightAdditionalDisksCreated"
	ConditionPreflightConfigured                = "PreflightConfigured"
	ConditionPreflightBootTriggered             = "PreflightBootTriggered"
	ConditionPreflightReady                     = "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

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

type LinodeFirewallReconciler

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

LinodeFirewallReconciler reconciles a LinodeFirewall object

func (*LinodeFirewallReconciler) Reconcile

func (*LinodeFirewallReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*LinodeFirewallReconciler) TracedClient

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

type LinodeMachineReconciler

type LinodeMachineReconciler struct {
	client.Client
	Recorder           record.EventRecorder
	LinodeClientConfig scope.ClientConfig
	WatchFilterValue   string
	ReconcileTimeout   time.Duration
	// Feature flags
	GzipCompressionEnabled bool
}

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

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

type LinodeObjectStorageKeyReconciler

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

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

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

SetupWithManager sets up the controller with the Manager.

func (*LinodeObjectStorageKeyReconciler) TracedClient

type LinodePlacementGroupReconciler

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

func (*LinodePlacementGroupReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*LinodePlacementGroupReconciler) TracedClient

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

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

Jump to

Keyboard shortcuts

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