Documentation
¶
Index ¶
- Constants
- func CompanionImage(ctx context.Context) (*resources.DockerImage, error)
- func CreateBufConfiguration(ctx context.Context, bufDir string, service string, ...) error
- func GenerateGRPC(ctx context.Context, language languages.Language, destination string, ...) error
- func GenerateOpenAPI(ctx context.Context, language languages.Language, destination string, _ string, ...) error
- type Buf
- type GoConfiguration
- type Info
- type PythonConfiguration
- type TypeScriptConfiguration
Constants ¶
View Source
const InfoConfigurationName = "info.codefly.yaml"
Variables ¶
This section is empty.
Functions ¶
func CompanionImage ¶
func CompanionImage(ctx context.Context) (*resources.DockerImage, error)
func CreateBufConfiguration ¶
func GenerateGRPC ¶
func GenerateGRPC(ctx context.Context, language languages.Language, destination string, service string, endpoints ...*basev0.Endpoint) error
GenerateGRPC runs buf in a companion (Docker/Nix/local via golden wrapper) to generate gRPC client code for the given language and endpoints.
Types ¶
type Buf ¶ added in v0.1.83
type Buf struct {
Dir string
// contains filtered or unexported fields
}
type GoConfiguration ¶
type PythonConfiguration ¶ added in v0.1.139
type PythonConfiguration struct {
Destination string
}
type TypeScriptConfiguration ¶ added in v0.1.155
type TypeScriptConfiguration struct {
Destination string
}
Click to show internal directories.
Click to hide internal directories.