Documentation ¶
Index ¶
- func PodNotFoundError(podName string) error
- type PodHandler
- func (ph PodHandler) HandleGetAppPodLog(appName, podName, containerName string, sinceTime *time.Time) (string, error)
- func (ph PodHandler) HandleGetEnvironmentAuxiliaryResourcePodLog(appName, envName, componentName, auxType, podName string, sinceTime *time.Time) (string, error)
- func (ph PodHandler) HandleGetEnvironmentPodLog(appName, envName, podName, containerName string, sinceTime *time.Time) (string, error)
- func (ph PodHandler) HandleGetEnvironmentScheduledJobLog(appName, envName, scheduledJobName, containerName string, sinceTime *time.Time) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PodNotFoundError ¶ added in v1.19.2
PodNotFoundError Pod not found
Types ¶
type PodHandler ¶
type PodHandler struct {
// contains filtered or unexported fields
}
PodHandler Instance variables
func (PodHandler) HandleGetAppPodLog ¶
func (ph PodHandler) HandleGetAppPodLog(appName, podName, containerName string, sinceTime *time.Time) (string, error)
HandleGetAppPodLog Get logs from pod in app namespace
func (PodHandler) HandleGetEnvironmentAuxiliaryResourcePodLog ¶ added in v1.19.2
func (ph PodHandler) HandleGetEnvironmentAuxiliaryResourcePodLog(appName, envName, componentName, auxType, podName string, sinceTime *time.Time) (string, error)
HandleGetEnvironmentAuxiliaryResourcePodLog Get logs from auxiliary resource pod in environment
func (PodHandler) HandleGetEnvironmentPodLog ¶
func (ph PodHandler) HandleGetEnvironmentPodLog(appName, envName, podName, containerName string, sinceTime *time.Time) (string, error)
HandleGetEnvironmentPodLog Get logs from pod in environment
func (PodHandler) HandleGetEnvironmentScheduledJobLog ¶ added in v1.9.0
func (ph PodHandler) HandleGetEnvironmentScheduledJobLog(appName, envName, scheduledJobName, containerName string, sinceTime *time.Time) (string, error)
HandleGetEnvironmentScheduledJobLog Get logs from scheduled job in environment
Click to show internal directories.
Click to hide internal directories.