container

package
v0.0.0-...-111b8c6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExposePort

type ExposePort struct {
	MachinePort   uint64 // 机器的端口
	ContainerPort uint64 // 容器的端口
}

type Runtime

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

func NewRuntime

func NewRuntime(repo string, hash string, ports []ExposePort, writer io.Writer) (*Runtime, error)

func (*Runtime) Run

func (r *Runtime) Run(ctx context.Context, username string, password string, accessToken string, ch chan error) error

Jump to

Keyboard shortcuts

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