Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event listens to the k8s API for events, and forwards them to the Buoyant Cloud API.
func (*Event) Start ¶
func (h *Event) Start(sharedInformers informers.SharedInformerFactory)
Start initiates listening to a k8s event handler.
type Workload ¶
type Workload struct {
// contains filtered or unexported fields
}
Workload listens to the k8s API for DaemonSet, Deployment, and StatefulSet changes, and forwards them to the Buoyant Cloud API.
func NewWorkload ¶
NewWorkload instantiates a new k8s workload handler.
func (*Workload) Start ¶
func (h *Workload) Start(sharedInformers informers.SharedInformerFactory)
Start begins a polling loop, periodically resyncing all k8s objects with the Buoyant Cloud API. This syncing operation runs independently from the k8s handlers, but messages are syncronized via the WorkloadStream.
Click to show internal directories.
Click to hide internal directories.