generator

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ActionType

type ActionType string
const (
	KeepAction   ActionType = "keep"
	CreateAction ActionType = "create"
	DeleteAction ActionType = "delete"
	UpdateAction ActionType = "update"
	ProtocAction ActionType = "protoc"
)

type CodeGeneratorRequest

type CodeGeneratorRequest struct {
	ProtoPath           string
	OutDir              string
	Files               []*plugin.ProtoCodeGeneratorResponse_File
	GRPCFederationFiles []*resolver.File
}

func ToCodeGeneratorRequest

func ToCodeGeneratorRequest(r io.Reader) (*CodeGeneratorRequest, error)

type CodeGeneratorRequestConfig

type CodeGeneratorRequestConfig struct {
	Type                ActionType
	ProtoPath           string
	OutDir              string
	Files               []*plugin.ProtoCodeGeneratorResponse_File
	GRPCFederationFiles []*resolver.File
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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