internal_gengo

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenerateVersionMarkers = true

GenerateVersionMarkers specifies whether to generate version markers.

SupportedFeatures reports the set of supported protobuf language features.

Functions

This section is empty.

Types

type Blaze

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

func NewGenerator

func NewGenerator(log logr.Logger, version string) *Blaze

NewGenerator creates a new generator

func (*Blaze) GenerateFile

func (s *Blaze) GenerateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

GenerateFile generates the contents of a .pb.go file.

func (*Blaze) GenerateSampleFile added in v0.5.0

func (s *Blaze) GenerateSampleFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

Jump to

Keyboard shortcuts

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