kubernetes

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 16 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.

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 *apiv1.Pod) (string, error)

func GetLogsFromPod

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

func GetPodDetails

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

func LaunchFlameJob

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

func WaitForPodStart

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

Types

type DataHandler

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

Directories

Path Synopsis
: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License.
: Copyright Verizon Media : Licensed under the terms of the Apache 2.0 License.

Jump to

Keyboard shortcuts

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