Documentation ¶
Index ¶
Constants ¶
View Source
const ( CreateAction EventActionType = "create" UpdateAction EventActionType = "update" DeleteAction EventActionType = "delete" MaxNumRequeues int = 4 MaxRawDataExamplesToSend = 5 )
Variables ¶
This section is empty.
Functions ¶
func GetGVRFromResource ¶
func GetGVRFromResource(discoveryMapper *restmapper.DeferredDiscoveryRESTMapper, resource string) (schema.GroupVersionResource, error)
func NewKubeConfig ¶ added in v0.1.13
func NewKubeConfig() clientcmd.ClientConfig
Types ¶
type Client ¶
type Client struct { DiscoveryClient *discovery.DiscoveryClient DynamicClient dynamic.Interface DiscoveryMapper *restmapper.DeferredDiscoveryRESTMapper ApiExtensionClient *apiextensions.ApiextensionsV1Client }
type Controller ¶
type Controller struct { Resource port.AggregatedResource // contains filtered or unexported fields }
func NewController ¶
func NewController(resource port.AggregatedResource, informer informers.GenericInformer, integrationConfig *port.IntegrationAppConfig, applicationConfig *config.ApplicationConfiguration) *Controller
func (*Controller) RunEventsSync ¶ added in v0.4.0
func (c *Controller) RunEventsSync(workers int, stopCh <-chan struct{})
func (*Controller) RunInitialSync ¶ added in v0.4.0
func (c *Controller) RunInitialSync() *SyncResult
func (*Controller) Shutdown ¶
func (c *Controller) Shutdown()
func (*Controller) WaitForCacheSync ¶ added in v0.1.11
func (c *Controller) WaitForCacheSync(stopCh <-chan struct{}) error
type EventActionType ¶ added in v0.1.6
type EventActionType string
type EventItem ¶
type EventItem struct { Key string ActionType EventActionType }
type SyncResult ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.