Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeOption ¶
type NodeOption struct{}
type PluginConfig ¶
type PodWatcher ¶
type PodWatcher struct {
// contains filtered or unexported fields
}
PodWatcher is a controller that synchronizes Pods.
func NewPodWatcher ¶
func NewPodWatcher(kubeClient *k8s.Client, indexers *kubernetes.Indexers, syncPeriod time.Duration, host string) *PodWatcher
NewPodWatcher initializes the watcher factory to provide a local state of runners from the cluster (filtered to the given host)
func (*PodWatcher) GetMetaData ¶
func (p *PodWatcher) GetMetaData(arg string) common.MapStr
func (*PodWatcher) GetPod ¶
func (p *PodWatcher) GetPod(uid string) *kubernetes.Pod
func (*PodWatcher) Run ¶
func (p *PodWatcher) Run() bool
func (*PodWatcher) Stop ¶
func (p *PodWatcher) Stop()
Click to show internal directories.
Click to hide internal directories.