controllers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultNodeSelector added in v1.3.0

func GetDefaultNodeSelector() map[string]string

func GetImagePullSecrets added in v1.3.0

func GetImagePullSecrets() []string

Types

type DrainAnnotationPredicate added in v1.3.0

type DrainAnnotationPredicate struct {
	predicate.Funcs
}

func (DrainAnnotationPredicate) Create added in v1.3.0

func (DrainAnnotationPredicate) Update added in v1.3.0

type DrainReconcile added in v1.3.0

type DrainReconcile struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func NewDrainReconcileController added in v1.3.0

func NewDrainReconcileController(client client.Client, Scheme *runtime.Scheme, recorder record.EventRecorder, platformHelper platforms.Interface) (*DrainReconcile, error)

func (*DrainReconcile) Reconcile added in v1.3.0

func (dr *DrainReconcile) 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.8.3/pkg/reconcile

func (*DrainReconcile) SetupWithManager added in v1.3.0

func (dr *DrainReconcile) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DrainStateAnnotationPredicate added in v1.3.0

type DrainStateAnnotationPredicate struct {
	predicate.Funcs
}

func (DrainStateAnnotationPredicate) Create added in v1.3.0

func (DrainStateAnnotationPredicate) Update added in v1.3.0

type OVSNetworkReconciler added in v1.3.0

type OVSNetworkReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

OVSNetworkReconciler reconciles a OVSNetwork object

func (*OVSNetworkReconciler) GetObject added in v1.3.0

func (r *OVSNetworkReconciler) GetObject() networkCRInstance

return empty instance of the OVSNetwork CR

func (*OVSNetworkReconciler) GetObjectList added in v1.3.0

func (r *OVSNetworkReconciler) GetObjectList() client.ObjectList

return empty list of the OVSNetwork CRs

func (*OVSNetworkReconciler) Name added in v1.3.0

func (r *OVSNetworkReconciler) Name() string

return name of the controller

func (*OVSNetworkReconciler) Reconcile added in v1.3.0

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

Reconcile loop for OVSNetwork CRs

func (*OVSNetworkReconciler) SetupWithManager added in v1.3.0

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

SetupWithManager sets up the controller with the Manager.

type SriovIBNetworkReconciler

type SriovIBNetworkReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

SriovIBNetworkReconciler reconciles a SriovIBNetwork object

func (*SriovIBNetworkReconciler) GetObject added in v1.3.0

func (r *SriovIBNetworkReconciler) GetObject() networkCRInstance

return empty instance of the SriovIBNetwork CR

func (*SriovIBNetworkReconciler) GetObjectList added in v1.3.0

func (r *SriovIBNetworkReconciler) GetObjectList() client.ObjectList

return empty list of the SriovIBNetwork CRs

func (*SriovIBNetworkReconciler) Name added in v1.3.0

func (r *SriovIBNetworkReconciler) Name() string

return name of the controller

func (*SriovIBNetworkReconciler) Reconcile

Reconcile loop for SriovIBNetwork CRs

func (*SriovIBNetworkReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SriovNetworkNodePolicyReconciler

type SriovNetworkNodePolicyReconciler struct {
	client.Client
	Scheme      *runtime.Scheme
	FeatureGate featuregate.FeatureGate
}

SriovNetworkNodePolicyReconciler reconciles a SriovNetworkNodePolicy object

func (*SriovNetworkNodePolicyReconciler) 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 SriovNetworkNodePolicy 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.8.3/pkg/reconcile

func (*SriovNetworkNodePolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SriovNetworkPoolConfigReconciler added in v1.1.0

type SriovNetworkPoolConfigReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	PlatformHelper platforms.Interface
}

SriovNetworkPoolConfigReconciler reconciles a SriovNetworkPoolConfig object

func (*SriovNetworkPoolConfigReconciler) Reconcile added in v1.1.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 SriovNetworkPoolConfig 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.6.4/pkg/reconcile

func (*SriovNetworkPoolConfigReconciler) SetupWithManager added in v1.1.0

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

SetupWithManager sets up the controller with the Manager.

type SriovNetworkReconciler

type SriovNetworkReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

SriovNetworkReconciler reconciles a SriovNetwork object

func (*SriovNetworkReconciler) GetObject added in v1.3.0

func (r *SriovNetworkReconciler) GetObject() networkCRInstance

return empty instance of the SriovIBNetwork CR

func (*SriovNetworkReconciler) GetObjectList added in v1.3.0

func (r *SriovNetworkReconciler) GetObjectList() client.ObjectList

return empty list of the SriovIBNetwork CRs

func (*SriovNetworkReconciler) Name added in v1.3.0

func (r *SriovNetworkReconciler) Name() string

return name of the controller

func (*SriovNetworkReconciler) Reconcile

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

Reconcile loop for SriovNetwork CRs

func (*SriovNetworkReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SriovOperatorConfigReconciler

type SriovOperatorConfigReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	PlatformHelper platforms.Interface
	FeatureGate    featuregate.FeatureGate
}

SriovOperatorConfigReconciler reconciles a SriovOperatorConfig object

func (*SriovOperatorConfigReconciler) 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 SriovOperatorConfig 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.8.3/pkg/reconcile

func (*SriovOperatorConfigReconciler) SetupWithManager

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