models

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeAttachment

type KubeAttachment struct {
	Namespace string `json:"namespace"`
	Pod       string `json:"pod"`
	Container string `json:"container"`
}

func DebugAttachmentToKubeAttachment added in v0.4.0

func DebugAttachmentToKubeAttachment(da *v1.DebugAttachment) (*KubeAttachment, error)

TODO - refactor this because it should never error

func GenericToKubeAttachment

func GenericToKubeAttachment(attachment interface{}) (*KubeAttachment, error)

Jump to

Keyboard shortcuts

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