Documentation ¶
Index ¶
- func DefListEventsByPod(clientset kubernetes.Interface, pod *corev1.Pod) *corev1.EventList
- func ExtractLabels(labels map[string]string) (string, string, string, string)
- func InClusterConfig() (*rest.Config, error)
- func NewClientset(kubecfg string) (kubernetes.Interface, error)
- func NewClientsetOrDie(kubecfg string) kubernetes.Interface
- func NewRainbondFilteredSharedInformerFactory(clientset kubernetes.Interface) informers.SharedInformerFactory
- func NewRestClient(restConfig *rest.Config) (*rest.RESTClient, error)
- func NewRestConfig(kubecfg string) (restConfig *rest.Config, err error)
- type ListEventsByPod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefListEventsByPod ¶
DefListEventsByPod default implementatoin of ListEventsByPod
func ExtractLabels ¶
ExtractLabels extracts the service information from the labels
func InClusterConfig ¶
InClusterConfig in cluster config
func NewClientsetOrDie ¶
func NewClientsetOrDie(kubecfg string) kubernetes.Interface
NewClientsetOrDie new clientset or die used for who just wants a kubernetes clientset
func NewRainbondFilteredSharedInformerFactory ¶
func NewRainbondFilteredSharedInformerFactory(clientset kubernetes.Interface) informers.SharedInformerFactory
NewRainbondFilteredSharedInformerFactory -
func NewRestClient ¶
func NewRestClient(restConfig *rest.Config) (*rest.RESTClient, error)
NewRestClient new rest client
Types ¶
type ListEventsByPod ¶
ListEventsByPod -
Click to show internal directories.
Click to hide internal directories.