protobuf

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(build container.Build) string

func Images added in v0.31.0

func Images(build container.Build) []string

func Matches added in v0.31.0

func Matches(build container.Build) bool

Matches implements the Build interface - Protobuf only runs for golang builds

func New

func New() build.BuildStepv2

func Script

func Script(bs *BuildScript) string

Types

type BuildScript

type BuildScript struct {
	Command        string
	TargetPackages []string
	SourceFiles    []string
	WithHttp       bool
	WithTag        bool
}

func NewBuildScript

func NewBuildScript(Command string, SourcePackages, SourceFiles []string, WithHttp, WithTag bool) *BuildScript

type ProtogufContainer

type ProtogufContainer struct {
	*container.Container
	Command        string
	SourcePackages []string
	SourceFiles    []string
	WithHttp       bool
	WithTag        bool
}

func (*ProtogufContainer) Build

func (c *ProtogufContainer) Build() error

func (*ProtogufContainer) CopyBuildScript

func (c *ProtogufContainer) CopyBuildScript() error

func (*ProtogufContainer) Generate

func (c *ProtogufContainer) Generate() error

func (*ProtogufContainer) Pull

func (c *ProtogufContainer) Pull() error

func (*ProtogufContainer) Run

func (c *ProtogufContainer) Run() error

Jump to

Keyboard shortcuts

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