runner

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: GPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithUml2Ts  = pluginOption("uml2ts")
	WithUml2Go  = pluginOption("uml2go")
	WithUml2Pcl = pluginOption("uml2pcl")
)

Functions

func NewCli

func NewCli(path string) (uml.Runner, error)

Types

type Docker

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

func NewDocker

func NewDocker(opts ...DockerOption) Docker

func (*Docker) From

func (d *Docker) From(ctx context.Context, reader io.Reader) (*tdl.Spec, error)

From implements uml.Converter.

func (*Docker) Gen

func (d *Docker) Gen(ctx context.Context, spec *tdl.Spec, writer io.Writer) error

Gen implements uml.Generator.

type DockerOption

type DockerOption func(*Docker) error

func FromGen

func FromGen(options uml.GeneratorOptions) DockerOption

func WithName

func WithName(name string) DockerOption

func WithTarget

func WithTarget(target string) DockerOption

Jump to

Keyboard shortcuts

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