mirror of https://github.com/k3s-io/k3s
36 lines
684 B
Go
36 lines
684 B
Go
package controller
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
|
|
"k8s.io/client-go/tools/cache"
|
|
)
|
|
|
|
type errorController struct {
|
|
informer cache.SharedIndexInformer
|
|
}
|
|
|
|
func newErrorController() *errorController {
|
|
return &errorController{
|
|
informer: cache.NewSharedIndexInformer(nil, nil, 0, cache.Indexers{}),
|
|
}
|
|
}
|
|
|
|
func (n *errorController) Enqueue(namespace, name string) {
|
|
}
|
|
|
|
func (n *errorController) EnqueueAfter(namespace, name string, delay time.Duration) {
|
|
}
|
|
|
|
func (n *errorController) EnqueueKey(key string) {
|
|
}
|
|
|
|
func (n *errorController) Informer() cache.SharedIndexInformer {
|
|
return n.informer
|
|
}
|
|
|
|
func (n *errorController) Start(ctx context.Context, workers int) error {
|
|
return nil
|
|
}
|