proto

package
v0.1.148 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const InfoConfigurationName = "info.codefly.yaml"

Variables

This section is empty.

Functions

func CompanionImage

func CompanionImage(ctx context.Context, useLatest bool) (*resources.DockerImage, error)

func CreateBufConfiguration

func CreateBufConfiguration(ctx context.Context, bufDir string, service string, language languages.Language) error

func GenerateGRPC

func GenerateGRPC(ctx context.Context, language languages.Language, destination string, service string, endpoints ...*basev0.Endpoint) error

func GenerateOpenAPI

func GenerateOpenAPI(ctx context.Context, language languages.Language, destination string, _ string, endpoints ...*basev0.Endpoint) error

Types

type Buf added in v0.1.83

type Buf struct {
	Dir string
	// contains filtered or unexported fields
}

func NewBuf added in v0.1.83

func NewBuf(ctx context.Context, dir string) (*Buf, error)

func (*Buf) Generate added in v0.1.83

func (g *Buf) Generate(ctx context.Context, latest bool) error

Generate relies on local buf files

func (*Buf) WithCache added in v0.1.83

func (g *Buf) WithCache(location string)

type GoConfiguration

type GoConfiguration struct {
	Destination     string
	GoPackagePrefix string
}

type Info

type Info struct {
	Version string `yaml:"version"`
}

type PythonConfiguration added in v0.1.139

type PythonConfiguration struct {
	Destination string
}

Jump to

Keyboard shortcuts

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