protobuf

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image() string

func Script

func Script(bs *BuildScript) string

Types

type BuildScript

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

func NewBuildScript

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

type ProtogufContainer

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

func New

func New() *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) Images

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

func (*ProtogufContainer) IsAsync added in v0.2.1

func (c *ProtogufContainer) IsAsync() bool

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