generator

package
v0.129.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

func New

func New(serviceName, resourceName string, opts ...Opts) *Generator

func (*Generator) Generate

func (g *Generator) Generate(_ context.Context, output io.Writer) error

type Opts

type Opts func(generator *Generator)

func WithOverrideFiles

func WithOverrideFiles(force bool) Opts

func WithSkipComments

func WithSkipComments(skip bool) Opts

func WithTemplateName

func WithTemplateName(name string) Opts

func WithTemplateType

func WithTemplateType(t string) Opts

Jump to

Keyboard shortcuts

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