Documentation ¶
Index ¶
- Constants
- type Action
- type CallbackInterface
- type Controller
- type CrdClient
- 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
- type WorkItem
Constants ¶
View Source
const ( TypeDebugAttachment = iota TypeDebugRequest ActionAdd = iota ActionUpdate ActionDelete )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackInterface ¶
type CallbackInterface interface {
SyncCRDChanges(objtype ObjectType, action Action, obj interface{})
}
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( crdClientset apiexts.Interface, squashclientset clientset.Interface, sqinformer informers.SharedInformerFactory, callback CallbackInterface) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{}) error
type CrdClient ¶
type CrdClient struct {
// contains filtered or unexported fields
}
func NewCrdClient ¶
func NewCrdClient(cfg *restclient.Config, callback CallbackInterface) (*CrdClient, error)
func (*CrdClient) CreateAttachment ¶
func (c *CrdClient) CreateAttachment(r *models.DebugAttachment, failIfExist bool) (*models.DebugAttachment, error)
func (*CrdClient) CreateCRDs ¶
func (*CrdClient) CreateRequest ¶
func (c *CrdClient) CreateRequest(r *models.DebugRequest, failIfExist bool) (*models.DebugRequest, error)
func (*CrdClient) DeleteAttachment ¶
func (*CrdClient) DeleteRequest ¶
func (*CrdClient) GetAttachment ¶
func (c *CrdClient) GetAttachment(name string) (*models.DebugAttachment, error)
func (*CrdClient) GetRequest ¶
func (c *CrdClient) GetRequest(name string) (*models.DebugRequest, error)
func (*CrdClient) ListAttachments ¶
func (c *CrdClient) ListAttachments() ([]*models.DebugAttachment, error)
func (*CrdClient) ListRequests ¶
func (c *CrdClient) ListRequests() ([]*models.DebugRequest, error)
func (*CrdClient) UpdateAttachment ¶
func (c *CrdClient) UpdateAttachment(r *models.DebugAttachment) (*models.DebugAttachment, error)
func (*CrdClient) UpdateRequest ¶
func (c *CrdClient) UpdateRequest(r *models.DebugRequest) (*models.DebugRequest, error)
type ObjectType ¶
type ObjectType int
type WorkItem ¶
type WorkItem struct {
// contains filtered or unexported fields
}
func NewAttachmentItem ¶
func NewRequestItem ¶
Directories ¶
Path | Synopsis |
---|---|
apis
|
|
squash/v1
+groupName=squash.solo.io
|
+groupName=squash.solo.io |
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/squash/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/squash/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.