Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶
type KubeClient interface { // bind a pod to a specific host Bind(pod *v1.Pod, hostId string) error // Delete a pod from a host Delete(pod *v1.Pod) error // minimal expose this, only informers factory needs it GetClientSet() *kubernetes.Clientset }
func NewKubeClient ¶
func NewKubeClient(kc string) KubeClient
type SchedulerKubeClient ¶
type SchedulerKubeClient struct {
// contains filtered or unexported fields
}
func (SchedulerKubeClient) Bind ¶
func (nc SchedulerKubeClient) Bind(pod *v1.Pod, hostId string) error
func (SchedulerKubeClient) GetClientSet ¶
func (nc SchedulerKubeClient) GetClientSet() *kubernetes.Clientset
Click to show internal directories.
Click to hide internal directories.