codegen

package
v0.0.216 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_codegen_op_proto protoreflect.FileDescriptor

Functions

func GenProtosAtPaths

func GenProtosAtPaths(ctx context.Context, env cfg.Context, fmwk schema.Framework, fsys fs.FS, paths []string, out fnfs.ReadWriteFS) error

func RegisterGraphHandlers

func RegisterGraphHandlers()

Types

type OpMultiProtoGen

type OpMultiProtoGen struct {
	Protos []*OpMultiProtoGen_ProtosByFramework `protobuf:"bytes,1,rep,name=protos,proto3" json:"protos,omitempty"`
	// contains filtered or unexported fields
}

func (*OpMultiProtoGen) Descriptor deprecated

func (*OpMultiProtoGen) Descriptor() ([]byte, []int)

Deprecated: Use OpMultiProtoGen.ProtoReflect.Descriptor instead.

func (*OpMultiProtoGen) GetProtos

func (*OpMultiProtoGen) ProtoMessage

func (*OpMultiProtoGen) ProtoMessage()

func (*OpMultiProtoGen) ProtoReflect

func (x *OpMultiProtoGen) ProtoReflect() protoreflect.Message

func (*OpMultiProtoGen) Reset

func (x *OpMultiProtoGen) Reset()

func (*OpMultiProtoGen) String

func (x *OpMultiProtoGen) String() string

type OpMultiProtoGen_ProtosByFramework

type OpMultiProtoGen_ProtosByFramework struct {
	Protos    []*protos.FileDescriptorSetAndDeps `protobuf:"bytes,1,rep,name=protos,proto3" json:"protos,omitempty"`
	Framework schema.Framework                   `protobuf:"varint,2,opt,name=framework,proto3,enum=foundation.schema.Framework" json:"framework,omitempty"`
	// contains filtered or unexported fields
}

func (*OpMultiProtoGen_ProtosByFramework) Descriptor deprecated

func (*OpMultiProtoGen_ProtosByFramework) Descriptor() ([]byte, []int)

Deprecated: Use OpMultiProtoGen_ProtosByFramework.ProtoReflect.Descriptor instead.

func (*OpMultiProtoGen_ProtosByFramework) GetFramework

func (*OpMultiProtoGen_ProtosByFramework) GetProtos

func (*OpMultiProtoGen_ProtosByFramework) ProtoMessage

func (*OpMultiProtoGen_ProtosByFramework) ProtoMessage()

func (*OpMultiProtoGen_ProtosByFramework) ProtoReflect

func (*OpMultiProtoGen_ProtosByFramework) Reset

func (*OpMultiProtoGen_ProtosByFramework) String

type OpProtoGen

type OpProtoGen struct {
	PackageName string                           `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	Protos      *protos.FileDescriptorSetAndDeps `protobuf:"bytes,3,opt,name=protos,proto3" json:"protos,omitempty"`
	Framework   schema.Framework                 `protobuf:"varint,5,opt,name=framework,proto3,enum=foundation.schema.Framework" json:"framework,omitempty"`
	// contains filtered or unexported fields
}

func (*OpProtoGen) Descriptor deprecated

func (*OpProtoGen) Descriptor() ([]byte, []int)

Deprecated: Use OpProtoGen.ProtoReflect.Descriptor instead.

func (*OpProtoGen) GetFramework

func (x *OpProtoGen) GetFramework() schema.Framework

func (*OpProtoGen) GetPackageName

func (x *OpProtoGen) GetPackageName() string

func (*OpProtoGen) GetProtos

func (x *OpProtoGen) GetProtos() *protos.FileDescriptorSetAndDeps

func (*OpProtoGen) ProtoMessage

func (*OpProtoGen) ProtoMessage()

func (*OpProtoGen) ProtoReflect

func (x *OpProtoGen) ProtoReflect() protoreflect.Message

func (*OpProtoGen) Reset

func (x *OpProtoGen) Reset()

func (*OpProtoGen) String

func (x *OpProtoGen) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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