Documentation ¶
Index ¶
Constants ¶
View Source
const ( CreateAction EventActionType = "create" UpdateAction EventActionType = "update" DeleteAction EventActionType = "delete" MaxNumRequeues int = 4 )
Variables ¶
This section is empty.
Functions ¶
func GetGVRFromResource ¶
func GetGVRFromResource(discoveryMapper *restmapper.DeferredDiscoveryRESTMapper, resource string) (schema.GroupVersionResource, error)
Types ¶
type Client ¶
type Client struct { DiscoveryClient *discovery.DiscoveryClient DynamicClient dynamic.Interface DiscoveryMapper *restmapper.DeferredDiscoveryRESTMapper }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(resource config.Resource, portClient *cli.PortClient, informer informers.GenericInformer) *Controller
func (*Controller) GetEntitiesSet ¶ added in v0.1.6
func (c *Controller) GetEntitiesSet() (map[string]interface{}, error)
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{}) error
func (*Controller) Shutdown ¶
func (c *Controller) Shutdown()
type EventActionType ¶ added in v0.1.6
type EventActionType string
type EventItem ¶
type EventItem struct { Key string ActionType EventActionType }
Click to show internal directories.
Click to hide internal directories.