flow

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Service string

	ApiSpecPath     string
	ApiSpec         *openapi3.T
	TargetNamespace string
	TargetService   string

	Opts *options.Options

	Prompt prompt.Prompter
}

type Interface

type Interface interface {
	Start() (Response, error)
}

func New

func New(args *Args) (Interface, error)

New returns a new flow based on the args.Service returns an error if the service isn't supported by a flow

type Response

type Response struct {
	EquivalentCmd string
	Manifests     string
}

Jump to

Keyboard shortcuts

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