kube

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageContainer = "squash-lite-container"
)

Variables

View Source
var ImageRepo string
View Source
var ImageVersion string

Functions

func Debug

func Debug() error

func GetSkaffoldConfig

func GetSkaffoldConfig(filename string) (*config.SkaffoldConfig, error)

func SkaffoldConfigToPod

func SkaffoldConfigToPod(filename string) (string, string, error)

func StartDebugContainer

func StartDebugContainer(config SquashConfig) error

Types

type Config

type Config struct {
	Attachment k8models.KubeAttachment
	Debugger   string
}

func GetConfig

func GetConfig() Config

type DebugPrepare

type DebugPrepare struct {
	// contains filtered or unexported fields
}

func (*DebugPrepare) GetMissing

func (dp *DebugPrepare) GetMissing(ns, podname, container string) (*Debugee, error)

type Debugee

type Debugee struct {
	Namespace string
	Pod       *v1.Pod
	Container *v1.Container
}

type DebuggerInfo

type DebuggerInfo struct {
	CmdlineGen func(int) []string
}

type SquashConfig

type SquashConfig struct {
	ChooseDebugger bool
	NoClean        bool
	ChoosePod      bool
	TimeoutSeconds int
}

Jump to

Keyboard shortcuts

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