Documentation ¶
Index ¶
- func GetDefaultNodeSelector() map[string]string
- func GetImagePullSecrets() []string
- type DrainAnnotationPredicate
- type DrainReconcile
- type DrainStateAnnotationPredicate
- type OVSNetworkReconciler
- func (r *OVSNetworkReconciler) GetObject() networkCRInstance
- func (r *OVSNetworkReconciler) GetObjectList() client.ObjectList
- func (r *OVSNetworkReconciler) Name() string
- func (r *OVSNetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *OVSNetworkReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SriovIBNetworkReconciler
- func (r *SriovIBNetworkReconciler) GetObject() networkCRInstance
- func (r *SriovIBNetworkReconciler) GetObjectList() client.ObjectList
- func (r *SriovIBNetworkReconciler) Name() string
- func (r *SriovIBNetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SriovIBNetworkReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SriovNetworkNodePolicyReconciler
- type SriovNetworkPoolConfigReconciler
- type SriovNetworkReconciler
- func (r *SriovNetworkReconciler) GetObject() networkCRInstance
- func (r *SriovNetworkReconciler) GetObjectList() client.ObjectList
- func (r *SriovNetworkReconciler) Name() string
- func (r *SriovNetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *SriovNetworkReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SriovOperatorConfigReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultNodeSelector ¶ added in v1.3.0
func GetImagePullSecrets ¶ added in v1.3.0
func GetImagePullSecrets() []string
Types ¶
type DrainAnnotationPredicate ¶ added in v1.3.0
func (DrainAnnotationPredicate) Create ¶ added in v1.3.0
func (DrainAnnotationPredicate) Create(e event.CreateEvent) bool
func (DrainAnnotationPredicate) Update ¶ added in v1.3.0
func (DrainAnnotationPredicate) Update(e event.UpdateEvent) bool
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
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
func (DrainStateAnnotationPredicate) Create ¶ added in v1.3.0
func (DrainStateAnnotationPredicate) Create(e event.CreateEvent) bool
func (DrainStateAnnotationPredicate) Update ¶ added in v1.3.0
func (DrainStateAnnotationPredicate) Update(e event.UpdateEvent) bool
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 ¶
func (r *SriovIBNetworkReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 ¶
func (r *SriovNetworkNodePolicyReconciler) 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 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
func (r *SriovNetworkPoolConfigReconciler) 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 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 ¶
func (r *SriovOperatorConfigReconciler) 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 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.