controllers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Copyright 2021 NVIDIA

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostDeviceNetworkReconciler added in v0.4.0

type HostDeviceNetworkReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

HostDeviceNetworkReconciler reconciles a HostDeviceNetwork object

func (*HostDeviceNetworkReconciler) Reconcile added in v0.4.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.

func (*HostDeviceNetworkReconciler) SetupWithManager added in v0.4.0

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

SetupWithManager sets up the controller with the Manager.

type IPoIBNetworkReconciler added in v1.3.0

type IPoIBNetworkReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

IPoIBNetworkReconciler reconciles a IPoIBNetwork object

func (*IPoIBNetworkReconciler) Reconcile added in v1.3.0

func (r *IPoIBNetworkReconciler) 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.

func (*IPoIBNetworkReconciler) SetupWithManager added in v1.3.0

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

SetupWithManager sets up the controller with the Manager.

type MacvlanNetworkReconciler

type MacvlanNetworkReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

MacvlanNetworkReconciler reconciles a MacvlanNetwork object

func (*MacvlanNetworkReconciler) 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.

func (*MacvlanNetworkReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type MlnxLabelChangedPredicate added in v1.4.0

type MlnxLabelChangedPredicate struct {
	predicate.Funcs
}

func (MlnxLabelChangedPredicate) Update added in v1.4.0

type NicClusterPolicyReconciler

type NicClusterPolicyReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

NicClusterPolicyReconciler reconciles a NicClusterPolicy object

func (*NicClusterPolicyReconciler) 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.

func (*NicClusterPolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UpgradeReconciler added in v1.3.0

type UpgradeReconciler struct {
	client.Client
	Log                      logr.Logger
	Scheme                   *runtime.Scheme
	StateManager             *upgrade.ClusterUpgradeStateManager
	NodeUpgradeStateProvider upgrade.NodeUpgradeStateProvider
}

UpgradeReconciler reconciles OFED Daemon Sets for upgrade

func (*UpgradeReconciler) BuildState added in v1.3.0

BuildState creates a snapshot of the current OFED upgrade state in the cluster (upgrade.ClusterUpgradeState) It creates mappings between nodes and their upgrade state Nodes are grouped together with the driver POD running on them and the daemon set, controlling this pod This state is then used as an input for the upgrade.ClusterUpgradeStateManager

func (*UpgradeReconciler) Reconcile added in v1.3.0

func (r *UpgradeReconciler) 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.

func (*UpgradeReconciler) SetupWithManager added in v1.3.0

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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