Documentation ¶
Index ¶
- type Manager
- func (pw *Manager) GetPodByJob(job *batch.Job) (*core.Pod, error)
- func (pw *Manager) GetPodByName(namespace, name string) (*core.Pod, error)
- func (pw *Manager) GetPodLogs(pod *core.Pod, container string) (io.ReadCloser, error)
- func (pw *Manager) GetPodLogsByJob(job *batch.Job, container string) (io.ReadCloser, error)
- func (pw *Manager) GetPodSpecByWorkload(workload kube.Workload) (spec core.PodSpec, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewPodManager ¶
func NewPodManager(clientset kubernetes.Interface) *Manager
func (*Manager) GetPodByJob ¶
GetPodByJob gets the Pod controller by the specified Job.
func (*Manager) GetPodByName ¶
func (*Manager) GetPodLogs ¶
func (*Manager) GetPodLogsByJob ¶
Click to show internal directories.
Click to hide internal directories.