Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructLogs ¶
func ConstructLogs(podID string, rawLogs string, container string, logSelector *logs.LogViewSelector) *logs.Logs
ConstructLogs constructs logs structure for given parameters.
Types ¶
type PodContainerList ¶
type PodContainerList struct {
Containers []string `json:"containers"`
}
PodContainerList is a list of containers of a pod.
func GetPodContainers ¶
func GetPodContainers(client *client.Clientset, namespace, podID string) (*PodContainerList, error)
GetPodContainers returns containers that a pod has.
Click to show internal directories.
Click to hide internal directories.