Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataProcessingUnitConfigReconciler ¶
DataProcessingUnitConfigReconciler reconciles a DataProcessingUnitConfig object
func (*DataProcessingUnitConfigReconciler) Reconcile ¶
func (r *DataProcessingUnitConfigReconciler) 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 DataProcessingUnitConfig 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.21.0/pkg/reconcile
func (*DataProcessingUnitConfigReconciler) SetupWithManager ¶
func (r *DataProcessingUnitConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DataProcessingUnitReconciler ¶
type DataProcessingUnitReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
DataProcessingUnitReconciler reconciles a DataProcessingUnit object
func NewDataProcessingUnitReconciler ¶
func NewDataProcessingUnitReconciler(client client.Client, scheme *runtime.Scheme, imageManager images.ImageManager) *DataProcessingUnitReconciler
func (*DataProcessingUnitReconciler) Reconcile ¶
func (r *DataProcessingUnitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups="",resources=pods,verbs=* +kubebuilder:rbac:groups="",resources=serviceaccounts,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=secrets,verbs=* +kubebuilder:rbac:groups="",resources=services,verbs=* +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=* +kubebuilder:rbac:groups="",resources=persistentvolumes,verbs=* +kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=replicasets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=roles,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=rolebindings,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterrolebindings,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=security.openshift.io,resources=securitycontextconstraints,resourceNames=anyuid;hostnetwork;privileged,verbs=use
func (*DataProcessingUnitReconciler) SetupWithManager ¶
func (r *DataProcessingUnitReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*DataProcessingUnitReconciler) WithImagePullPolicy ¶
func (r *DataProcessingUnitReconciler) WithImagePullPolicy(policy string) *DataProcessingUnitReconciler
type DpuOperatorConfigReconciler ¶
DpuOperatorConfigReconciler reconciles a DpuOperatorConfig object
func NewDpuOperatorConfigReconciler ¶
func NewDpuOperatorConfigReconciler(client client.Client, imageManager images.ImageManager) *DpuOperatorConfigReconciler
func (*DpuOperatorConfigReconciler) Reconcile ¶
func (r *DpuOperatorConfigReconciler) 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 DpuOperatorConfig 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.15.0/pkg/reconcile
func (*DpuOperatorConfigReconciler) SetupWithManager ¶
func (r *DpuOperatorConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*DpuOperatorConfigReconciler) WithImagePullPolicy ¶
func (r *DpuOperatorConfigReconciler) WithImagePullPolicy(policy string) *DpuOperatorConfigReconciler
type ServiceFunctionChainReconciler ¶
ServiceFunctionChainReconciler reconciles a ServiceFunctionChain object
func (*ServiceFunctionChainReconciler) Reconcile ¶
func (r *ServiceFunctionChainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=config.openshift.io,resources=servicefunctionchains,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=config.openshift.io,resources=servicefunctionchains/status,verbs=get;update;patch +kubebuilder:rbac:groups=config.openshift.io,resources=servicefunctionchains/finalizers,verbs=update
func (*ServiceFunctionChainReconciler) SetupWithManager ¶
func (r *ServiceFunctionChainReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.