build

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScriptName = dockerFileName
)

Variables

This section is empty.

Functions

func Verbose

func Verbose() bool

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(path string) (*Driver, error)

func (*Driver) Build

func (d *Driver) Build(imageName string) (string, error)

func (*Driver) FillManifest

func (d *Driver) FillManifest(dest string) error

func (*Driver) Prepare

func (d *Driver) Prepare() (bool, error)

func (*Driver) Push

func (d *Driver) Push(image string) error

func (*Driver) ScriptChanged

func (d *Driver) ScriptChanged() (bool, error)

func (*Driver) Test

func (d *Driver) Test(bblfshdVers, image string, bench bool) error

func (*Driver) VersionTag

func (d *Driver) VersionTag() (string, error)

type ServerInstance

type ServerInstance struct {
	// contains filtered or unexported fields
}

func RunWithDriver

func RunWithDriver(bblfshdVers, lang, id string) (*ServerInstance, error)

RunWithDriver starts a bblfshd server and installs a specified driver to it.

func (*ServerInstance) ClientV1

func (*ServerInstance) ClientV2

func (d *ServerInstance) ClientV2(ctx context.Context) (driver.Driver, error)

func (*ServerInstance) Close

func (d *ServerInstance) Close() error

func (*ServerInstance) DumpLogs

func (s *ServerInstance) DumpLogs(w io.Writer) error

Jump to

Keyboard shortcuts

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