podmanclient

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

README

podmanclient

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) BuildImage added in v1.0.1

func (client *Client) BuildImage(image Image) (err error)

func (*Client) CreateContainer

func (client *Client) CreateContainer(container Container) (err error)

func (*Client) Init

func (client *Client) Init(sock Sock)

func (*Client) PullImage

func (client *Client) PullImage(image Image) (err error)

func (*Client) RunContainer

func (client *Client) RunContainer(container Container) (err error)

func (*Client) StartContainer

func (client *Client) StartContainer(container Container) (err error)

type Container

type Container struct {
	Name         string
	Image        string
	Labels       map[string]string
	Volumes      []ContainerVolume
	PortMappings []ContainerPortMapping
}

type ContainerPortMapping

type ContainerPortMapping struct {
	Source      uint16
	Destination uint16
	Protocol    string
}

type ContainerVolume

type ContainerVolume struct {
	Source      string
	Destination string
}

type Image added in v1.0.1

type Image struct {
	Name          string
	BuildContext  string
	ContainerFile string
}

type Sock

type Sock struct {
	Value string
}

Jump to

Keyboard shortcuts

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