intentsexporter

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputLocationKey       = "output"
	OutputLocationShorthand = "o"
	OutputTypeKey           = "output-type"
	OutputTypeDefault       = OutputTypeSingleFile
	OutputTypeSingleFile    = "single-file"
	OutputTypeDirectory     = "dir"
	OutputFormatKey         = "format"
	OutputFormatDefault     = OutputFormatYAML
	OutputFormatYAML        = "yaml"
	OutputFormatJSON        = "json"
)

Variables

This section is empty.

Functions

func InitExporterOutputFlags

func InitExporterOutputFlags(cmd *cobra.Command)

func ValidateExporterOutputFlags

func ValidateExporterOutputFlags() error

Types

type Exporter

type Exporter struct {
}

func NewExporter

func NewExporter() (*Exporter, error)

func (*Exporter) ExportIntents

func (e *Exporter) ExportIntents(intents []v1alpha2.ClientIntents) error

Jump to

Keyboard shortcuts

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