container

package
v0.0.0-...-2b8ae26 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Image    string
	CMD      []string
	Name     string
	HostIP   string
	HostPort string

	Env     []string
	Network string
	// contains filtered or unexported fields
}

func (*Container) Start

func (c *Container) Start() error

func (*Container) Stop

func (c *Container) Stop() error

type Network

type Network struct {
	Name string
	// contains filtered or unexported fields
}

func (*Network) Create

func (n *Network) Create() error

func (*Network) Remove

func (n *Network) Remove() error

Jump to

Keyboard shortcuts

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