Documentation
¶
Index ¶
- func BuildAllInvolvedPodSelector() fields.Selector
- func BuildInvolvedPodSelector(podName string) fields.Selector
- func FindPod(clientset *kubernetes.Clientset, namespace string, podId string) (*core_v1.Pod, error)
- func GetNodes(clientset *kubernetes.Clientset) (*core_v1.NodeList, error)
- func GetPods(clientset *kubernetes.Clientset, namespace string) (*core_v1.PodList, error)
- func WatchEvents(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, ...) (cache.Store, cache.Controller)
- func WatchJobs(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, ...) (cache.Store, cache.Controller)
- func WatchNodes(clientset *kubernetes.Clientset, sel fields.Selector, ...) (cache.Store, cache.Controller)
- func WatchPVCs(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, ...) (cache.Store, cache.Controller)
- func WatchPods(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, ...) (cache.Store, cache.Controller)
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchEvents ¶
func WatchEvents(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, funcs cache.ResourceEventHandlerFuncs) (cache.Store, cache.Controller)
func WatchJobs ¶
func WatchJobs(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, funcs cache.ResourceEventHandlerFuncs) (cache.Store, cache.Controller)
namespace can be "core_v1.NamespaceDefault"
func WatchNodes ¶
func WatchNodes(clientset *kubernetes.Clientset, sel fields.Selector, funcs cache.ResourceEventHandlerFuncs) (cache.Store, cache.Controller)
func WatchPVCs ¶
func WatchPVCs(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, funcs cache.ResourceEventHandlerFuncs) (cache.Store, cache.Controller)
func WatchPods ¶
func WatchPods(clientset *kubernetes.Clientset, namespace string, sel fields.Selector, funcs cache.ResourceEventHandlerFuncs) (cache.Store, cache.Controller)
Types ¶
Click to show internal directories.
Click to hide internal directories.