Versions in this module Expand all Collapse all v0 v0.3.1 Aug 8, 2018 v0.3.0 Jul 19, 2018 Changes in this version + const ActionAdd + const ActionDelete + const ActionUpdate + const TypeDebugAttachment + const TypeDebugRequest + type Action int + type CallbackInterface interface + SyncCRDChanges func(objtype ObjectType, action Action, obj interface{}) + type Controller struct + func NewController(crdClientset apiexts.Interface, squashclientset clientset.Interface, ...) *Controller + func (c *Controller) Run(stopCh <-chan struct{}) error + type CrdClient struct + func NewCrdClient(cfg *restclient.Config, callback CallbackInterface) (*CrdClient, error) + func (c *CrdClient) CreateAttachment(r *models.DebugAttachment, failIfExist bool) (*models.DebugAttachment, error) + func (c *CrdClient) CreateCRDs() error + func (c *CrdClient) CreateRequest(r *models.DebugRequest, failIfExist bool) (*models.DebugRequest, error) + func (c *CrdClient) DeleteAttachment(name string) error + func (c *CrdClient) DeleteRequest(name string) error + func (c *CrdClient) GetAttachment(name string) (*models.DebugAttachment, error) + func (c *CrdClient) GetRequest(name string) (*models.DebugRequest, error) + func (c *CrdClient) ListAttachments() ([]*models.DebugAttachment, error) + func (c *CrdClient) ListRequests() ([]*models.DebugRequest, error) + func (c *CrdClient) UpdateAttachment(r *models.DebugAttachment) (*models.DebugAttachment, error) + func (c *CrdClient) UpdateRequest(r *models.DebugRequest) (*models.DebugRequest, error) + type ObjectType int + type WorkItem struct + func NewAttachmentItem(action Action, obj interface{}) *WorkItem + func NewRequestItem(action Action, obj interface{}) *WorkItem