exporter

package
v0.0.0-...-6bdd999 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, elem string) bool

func IsListable

func IsListable(r *metav1.APIResource) bool

Types

type Exporter

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

func NewExporter

func NewExporter() *Exporter

func (*Exporter) AddFlags

func (e *Exporter) AddFlags(cmd *cobra.Command)

func (*Exporter) LoadResourceTypes

func (e *Exporter) LoadResourceTypes() []string

func (*Exporter) Run

func (e *Exporter) Run(resourceTypes ...string)

func (*Exporter) VisitObject

func (e *Exporter) VisitObject(info *resource.Info, err error) error

Jump to

Keyboard shortcuts

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