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.Selection) *logs.LogDetails
Build 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.