kubernetes

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License. See LICENSE file in the project root for terms.

: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License. See LICENSE file in the project root for terms.

: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License. See LICENSE file in the project root for terms.

: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License. See LICENSE file in the project root for terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(clientGetter genericclioptions.RESTClientGetter) (string, error)

func DeleteProfilingJob

func DeleteProfilingJob(job *batchv1.Job, targetDetails *data.TargetDetails, ctx context.Context) error

func GetContainerId

func GetContainerId(containerName string, pod *v1.Pod) (string, error)

func GetLogsFromPod

func GetLogsFromPod(pod *v1.Pod, handler DataHandler, ctx context.Context) (chan bool, error)

func GetPodDetails

func GetPodDetails(podName, namespace string, ctx context.Context) (*v1.Pod, error)

func LaunchFlameJob

func LaunchFlameJob(targetPod *v1.Pod, targetDetails *data.TargetDetails, ctx context.Context) (string, *batchv1.Job, error)

func WaitForPodStart

func WaitForPodStart(target *data.TargetDetails, ctx context.Context) (*v1.Pod, error)

Types

type DataHandler

type DataHandler interface {
	Handle(events chan string, done chan bool, ctx context.Context)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL