Documentation
¶
Index ¶
Constants ¶
View Source
const (
// CSIRepo link to internet docker hub, where stores all csi depends images.
CSIRepo = "tkestack"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is responsible for performing actions dependent upon a CSIOperator phase.
func NewController ¶
func NewController(client clientset.Interface, informer platformv1informer.CSIOperatorInformer, resyncPeriod time.Duration) *Controller
NewController creates a new CSIOperator Controller object.
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{}) error
Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers.
Click to show internal directories.
Click to hide internal directories.