Documentation
¶
Index ¶
- Constants
- type LinodeClusterReconciler
- type LinodeFirewallReconciler
- type LinodeMachineReconciler
- type LinodeObjectStorageBucketReconciler
- func (r *LinodeObjectStorageBucketReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *LinodeObjectStorageBucketReconciler) SetupWithManager(mgr ctrl.Manager, options crcontroller.Options) error
- func (r *LinodeObjectStorageBucketReconciler) TracedClient() client.Client
- type LinodeObjectStorageKeyReconciler
- type LinodePlacementGroupReconciler
- type LinodeVPCReconciler
Constants ¶
const ( ConditionPreflightLinodeVPCReady string = "PreflightLinodeVPCReady" ConditionPreflightLinodeNBFirewallReady string = "PreflightLinodeNBFirewallReady" )
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) 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) 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 ¶
func (r *LinodeObjectStorageBucketReconciler) 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. 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 ¶
func (r *LinodeObjectStorageBucketReconciler) TracedClient() client.Client
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 ¶
func (r *LinodeObjectStorageKeyReconciler) 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. 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 ¶
func (r *LinodeObjectStorageKeyReconciler) TracedClient() client.Client
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) 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) 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
Source Files
¶
- linodecluster_controller.go
- linodecluster_controller_helpers.go
- linodefirewall_controller.go
- linodefirewall_controller_helpers.go
- linodemachine_controller.go
- linodemachine_controller_helpers.go
- linodeobjectstoragebucket_controller.go
- linodeobjectstoragekey_controller.go
- linodeplacementgroup_controller.go
- linodeplacementgroup_controller_helpers.go
- linodevpc_controller.go
- linodevpc_controller_helpers.go