docker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require(runtime *goja.Runtime, module *goja.Object)

Types

type DockerBuildConfig

type DockerBuildConfig struct {
	ContextPath string `json:"context_path"`
	Tag         string `json:"tag"`
	DockerFile  string `json:"docker_file,omitempty"`
}

type DockerRegistryConfig

type DockerRegistryConfig struct {
	Username string
	Password string
	Host     string
}

type Module

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

func New

func New() *Module

func (*Module) Build

func (d *Module) Build(config DockerBuildConfig) error

func (*Module) NetworkCreate

func (d *Module) NetworkCreate(name string, config NetworkCreateConfig) error

func (*Module) Push

func (d *Module) Push(config DockerRegistryConfig, tag string) error

type NetworkCreateConfig

type NetworkCreateConfig struct {
}

Jump to

Keyboard shortcuts

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