Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostToWebhooks ¶
PostToWebhooks marshals podEnv into JSON and posts it to the webhook URLs provided.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller object Based on Controller from github.com/skippbox/kubewatch
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced is required for the cache.Controller interface.
func (*Controller) LastSyncResourceVersion ¶
func (c *Controller) LastSyncResourceVersion() string
LastSyncResourceVersion is required for the cache.Controller interface.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the k8svent controller
type K8sVentPodAnnotation ¶ added in v0.12.0
type K8sVentPodAnnotation struct { Webhooks []string `json:"webhooks"` Environment string `json:"environment"` }
K8sVentPodAnnotation defines the valid structure of the "atomist.com/k8svent" pod annotation.
Click to show internal directories.
Click to hide internal directories.