resource

package
v0.0.0-...-9cf51b1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitYAMLDocument

func SplitYAMLDocument(multiResourceDoc string) ([]string, error)

Types

type KubectlItem

type KubectlItem struct {
	Kind     string `json:"kind"`
	Metadata struct {
		Selflink string `json:"selflink"`
		UID      string `json:"uid"`
	} `json:"metadata"`
}

type KubectlResponse

type KubectlResponse struct {
	Items []KubectlItem `json:"items"`
	Kind  string        `json:"kind"`
}

Jump to

Keyboard shortcuts

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