protobuf

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 New

func New(build container.Build) *ProtogufContainer

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) Image added in v0.11.0

func (c *ProtogufContainer) Image() string

func (*ProtogufContainer) Images

func (c *ProtogufContainer) Images() []string

func (*ProtogufContainer) IsAsync added in v0.2.1

func (c *ProtogufContainer) IsAsync() bool

func (*ProtogufContainer) Matches added in v0.30.1

func (c *ProtogufContainer) Matches(build container.Build) bool

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

func (*ProtogufContainer) Name

func (c *ProtogufContainer) Name() string

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