Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(provisionerName string, provisioner api.Provisioner, clientset kubernetes.Interface, crdClientSet versioned.Interface, obcInformer informers.ObjectBucketClaimInformer, obInformer informers.ObjectBucketInformer) *obcController
Types ¶
type Provisioner ¶
type Provisioner struct { Name string Provisioner api.Provisioner // contains filtered or unexported fields }
Provisioner wraps a custom controller which watches OBCs and manages OB, CMs, and Secrets.
func NewProvisioner ¶
func NewProvisioner( cfg *rest.Config, provisionerName string, provisioner api.Provisioner, namespace string, ) (*Provisioner, error)
NewProvisioner should be called by importers of this library to instantiate a new provisioning obcController. This obcController will respond to Add / Update / Delete events by calling the passed-in provisioner's Provisioner and Delete methods. The Provisioner will be restrict to operating only to the namespace given
func (*Provisioner) Run ¶
func (p *Provisioner) Run(stopCh <-chan struct{}) (err error)
Run starts the claim and bucket controllers.
Click to show internal directories.
Click to hide internal directories.