ioprojectatomicpodman

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Generated with github.com/varlink/go/cmd/varlink-go-interface-generator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachToContainer_methods added in v0.5.2

type AttachToContainer_methods struct{}

func AttachToContainer

func AttachToContainer() AttachToContainer_methods

func (AttachToContainer_methods) Call added in v0.5.2

func (m AttachToContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (AttachToContainer_methods) Send added in v0.5.2

type BuildImage_methods added in v0.5.2

type BuildImage_methods struct{}

func BuildImage

func BuildImage() BuildImage_methods

func (BuildImage_methods) Call added in v0.5.2

func (m BuildImage_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (BuildImage_methods) Send added in v0.5.2

func (m BuildImage_methods) Send(c *varlink.Connection, flags uint64) (func() (NotImplemented, uint64, error), error)

type ContainerChanges added in v0.5.2

type ContainerChanges struct {
	Changed []string `json:"changed"`
	Added   []string `json:"added"`
	Deleted []string `json:"deleted"`
}

type ContainerMount added in v0.5.1

type ContainerMount struct {
	Destination string   `json:"destination"`
	Type        string   `json:"type"`
	Source      string   `json:"source"`
	Options     []string `json:"options"`
}

type ContainerNameSpace added in v0.5.1

type ContainerNameSpace struct {
	User   string `json:"user"`
	Uts    string `json:"uts"`
	Pidns  string `json:"pidns"`
	Pid    string `json:"pid"`
	Cgroup string `json:"cgroup"`
	Net    string `json:"net"`
	Mnt    string `json:"mnt"`
	Ipc    string `json:"ipc"`
}

type ContainerPortMappings added in v0.5.1

type ContainerPortMappings struct {
	Host_port      string `json:"host_port"`
	Host_ip        string `json:"host_ip"`
	Protocol       string `json:"protocol"`
	Container_port string `json:"container_port"`
}

type ContainerStats added in v0.5.1

type ContainerStats struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	Cpu          float64 `json:"cpu"`
	Cpu_nano     int64   `json:"cpu_nano"`
	System_nano  int64   `json:"system_nano"`
	Mem_usage    int64   `json:"mem_usage"`
	Mem_limit    int64   `json:"mem_limit"`
	Mem_perc     float64 `json:"mem_perc"`
	Net_input    int64   `json:"net_input"`
	Net_output   int64   `json:"net_output"`
	Block_output int64   `json:"block_output"`
	Block_input  int64   `json:"block_input"`
	Pids         int64   `json:"pids"`
}

type CreateContainer_methods added in v0.5.2

type CreateContainer_methods struct{}

func CreateContainer

func CreateContainer() CreateContainer_methods

func (CreateContainer_methods) Call added in v0.5.2

func (m CreateContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (CreateContainer_methods) Send added in v0.5.2

type CreateFromContainer_methods added in v0.5.2

type CreateFromContainer_methods struct{}

func CreateFromContainer

func CreateFromContainer() CreateFromContainer_methods

func (CreateFromContainer_methods) Call added in v0.5.2

func (m CreateFromContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (CreateFromContainer_methods) Send added in v0.5.2

type CreateImage_methods added in v0.5.2

type CreateImage_methods struct{}

func CreateImage

func CreateImage() CreateImage_methods

func (CreateImage_methods) Call added in v0.5.2

func (m CreateImage_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (CreateImage_methods) Send added in v0.5.2

func (m CreateImage_methods) Send(c *varlink.Connection, flags uint64) (func() (NotImplemented, uint64, error), error)

type DeleteStoppedContainers_methods added in v0.5.2

type DeleteStoppedContainers_methods struct{}

func DeleteStoppedContainers

func DeleteStoppedContainers() DeleteStoppedContainers_methods

func (DeleteStoppedContainers_methods) Call added in v0.5.2

func (m DeleteStoppedContainers_methods) Call(c *varlink.Connection) (containers_out_ []string, err_ error)

func (DeleteStoppedContainers_methods) Send added in v0.5.2

type DeleteUnusedImages_methods added in v0.5.2

type DeleteUnusedImages_methods struct{}

func DeleteUnusedImages

func DeleteUnusedImages() DeleteUnusedImages_methods

func (DeleteUnusedImages_methods) Call added in v0.5.2

func (m DeleteUnusedImages_methods) Call(c *varlink.Connection) (images_out_ []string, err_ error)

func (DeleteUnusedImages_methods) Send added in v0.5.2

func (m DeleteUnusedImages_methods) Send(c *varlink.Connection, flags uint64) (func() ([]string, uint64, error), error)

type ExportContainer_methods added in v0.5.2

type ExportContainer_methods struct{}

func ExportContainer

func ExportContainer() ExportContainer_methods

func (ExportContainer_methods) Call added in v0.5.2

func (m ExportContainer_methods) Call(c *varlink.Connection, name_in_ string, path_in_ string) (tarfile_out_ string, err_ error)

func (ExportContainer_methods) Send added in v0.5.2

func (m ExportContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, path_in_ string) (func() (string, uint64, error), error)

type ExportImage_methods added in v0.5.2

type ExportImage_methods struct{}

func ExportImage

func ExportImage() ExportImage_methods

func (ExportImage_methods) Call added in v0.5.2

func (m ExportImage_methods) Call(c *varlink.Connection, name_in_ string, destination_in_ string, compress_in_ bool) (image_out_ string, err_ error)

func (ExportImage_methods) Send added in v0.5.2

func (m ExportImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, destination_in_ string, compress_in_ bool) (func() (string, uint64, error), error)

type GetContainerLogs_methods added in v0.5.2

type GetContainerLogs_methods struct{}

func GetContainerLogs

func GetContainerLogs() GetContainerLogs_methods

func (GetContainerLogs_methods) Call added in v0.5.2

func (m GetContainerLogs_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ []string, err_ error)

func (GetContainerLogs_methods) Send added in v0.5.2

func (m GetContainerLogs_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() ([]string, uint64, error), error)

type GetContainerStats_methods added in v0.5.2

type GetContainerStats_methods struct{}

func GetContainerStats

func GetContainerStats() GetContainerStats_methods

func (GetContainerStats_methods) Call added in v0.5.2

func (m GetContainerStats_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ ContainerStats, err_ error)

func (GetContainerStats_methods) Send added in v0.5.2

func (m GetContainerStats_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (ContainerStats, uint64, error), error)

type GetContainer_methods added in v0.5.2

type GetContainer_methods struct{}

func GetContainer added in v0.5.1

func GetContainer() GetContainer_methods

func (GetContainer_methods) Call added in v0.5.2

func (m GetContainer_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ ListContainerData, err_ error)

func (GetContainer_methods) Send added in v0.5.2

func (m GetContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (ListContainerData, uint64, error), error)

type GetInfo_methods added in v0.5.2

type GetInfo_methods struct{}

func GetInfo added in v0.5.2

func GetInfo() GetInfo_methods

func (GetInfo_methods) Call added in v0.5.2

func (m GetInfo_methods) Call(c *varlink.Connection) (info_out_ PodmanInfo, err_ error)

func (GetInfo_methods) Send added in v0.5.2

func (m GetInfo_methods) Send(c *varlink.Connection, flags uint64) (func() (PodmanInfo, uint64, error), error)

type GetVersion_methods added in v0.5.2

type GetVersion_methods struct{}

Client method calls

func GetVersion

func GetVersion() GetVersion_methods

func (GetVersion_methods) Call added in v0.5.2

func (m GetVersion_methods) Call(c *varlink.Connection) (version_out_ Version, err_ error)

func (GetVersion_methods) Send added in v0.5.2

func (m GetVersion_methods) Send(c *varlink.Connection, flags uint64) (func() (Version, uint64, error), error)

type HistoryImage_methods added in v0.5.2

type HistoryImage_methods struct{}

func HistoryImage

func HistoryImage() HistoryImage_methods

func (HistoryImage_methods) Call added in v0.5.2

func (m HistoryImage_methods) Call(c *varlink.Connection, name_in_ string) (history_out_ []ImageHistory, err_ error)

func (HistoryImage_methods) Send added in v0.5.2

func (m HistoryImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() ([]ImageHistory, uint64, error), error)

type ImageHistory

type ImageHistory struct {
	Id        string   `json:"id"`
	Created   string   `json:"created"`
	CreatedBy string   `json:"createdBy"`
	Tags      []string `json:"tags"`
	Size      int64    `json:"size"`
	Comment   string   `json:"comment"`
}

type ImageInList

type ImageInList struct {
	Id          string            `json:"id"`
	ParentId    string            `json:"parentId"`
	RepoTags    []string          `json:"repoTags"`
	RepoDigests []string          `json:"repoDigests"`
	Created     string            `json:"created"`
	Size        int64             `json:"size"`
	VirtualSize int64             `json:"virtualSize"`
	Containers  int64             `json:"containers"`
	Labels      map[string]string `json:"labels"`
}

type ImageSearch

type ImageSearch struct {
	Description  string `json:"description"`
	Is_official  bool   `json:"is_official"`
	Is_automated bool   `json:"is_automated"`
	Name         string `json:"name"`
	Star_count   int64  `json:"star_count"`
}

type ImportImage_methods added in v0.5.2

type ImportImage_methods struct{}

func ImportImage

func ImportImage() ImportImage_methods

func (ImportImage_methods) Call added in v0.5.2

func (m ImportImage_methods) Call(c *varlink.Connection, source_in_ string, reference_in_ string, message_in_ string, changes_in_ []string) (image_out_ string, err_ error)

func (ImportImage_methods) Send added in v0.5.2

func (m ImportImage_methods) Send(c *varlink.Connection, flags uint64, source_in_ string, reference_in_ string, message_in_ string, changes_in_ []string) (func() (string, uint64, error), error)

type InfoGraphStatus added in v0.5.2

type InfoGraphStatus struct {
	Backing_filesystem  string `json:"backing_filesystem"`
	Native_overlay_diff string `json:"native_overlay_diff"`
	Supports_d_type     string `json:"supports_d_type"`
}

type InfoHost added in v0.5.2

type InfoHost struct {
	Mem_free   int64  `json:"mem_free"`
	Mem_total  int64  `json:"mem_total"`
	Swap_free  int64  `json:"swap_free"`
	Swap_total int64  `json:"swap_total"`
	Arch       string `json:"arch"`
	Cpus       int64  `json:"cpus"`
	Hostname   string `json:"hostname"`
	Kernel     string `json:"kernel"`
	Os         string `json:"os"`
	Uptime     string `json:"uptime"`
}

type InfoPodmanBinary added in v0.5.2

type InfoPodmanBinary struct {
	Compiler       string `json:"compiler"`
	Go_version     string `json:"go_version"`
	Podman_version string `json:"podman_version"`
	Git_commit     string `json:"git_commit"`
}

type InfoStore added in v0.5.2

type InfoStore struct {
	Containers           int64           `json:"containers"`
	Images               int64           `json:"images"`
	Graph_driver_name    string          `json:"graph_driver_name"`
	Graph_driver_options string          `json:"graph_driver_options"`
	Graph_root           string          `json:"graph_root"`
	Graph_status         InfoGraphStatus `json:"graph_status"`
	Run_root             string          `json:"run_root"`
}

type InspectContainer_methods added in v0.5.2

type InspectContainer_methods struct{}

func InspectContainer

func InspectContainer() InspectContainer_methods

func (InspectContainer_methods) Call added in v0.5.2

func (m InspectContainer_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ string, err_ error)

func (InspectContainer_methods) Send added in v0.5.2

func (m InspectContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (string, uint64, error), error)

type InspectImage_methods added in v0.5.2

type InspectImage_methods struct{}

func InspectImage

func InspectImage() InspectImage_methods

func (InspectImage_methods) Call added in v0.5.2

func (m InspectImage_methods) Call(c *varlink.Connection, name_in_ string) (image_out_ string, err_ error)

func (InspectImage_methods) Send added in v0.5.2

func (m InspectImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (string, uint64, error), error)

type KillContainer_methods added in v0.5.2

type KillContainer_methods struct{}

func KillContainer

func KillContainer() KillContainer_methods

func (KillContainer_methods) Call added in v0.5.2

func (m KillContainer_methods) Call(c *varlink.Connection, name_in_ string, signal_in_ int64) (container_out_ string, err_ error)

func (KillContainer_methods) Send added in v0.5.2

func (m KillContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, signal_in_ int64) (func() (string, uint64, error), error)

type ListContainerChanges_methods added in v0.5.2

type ListContainerChanges_methods struct{}

func ListContainerChanges

func ListContainerChanges() ListContainerChanges_methods

func (ListContainerChanges_methods) Call added in v0.5.2

func (m ListContainerChanges_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ ContainerChanges, err_ error)

func (ListContainerChanges_methods) Send added in v0.5.2

type ListContainerData added in v0.5.1

type ListContainerData struct {
	Id               string                  `json:"id"`
	Image            string                  `json:"image"`
	Imageid          string                  `json:"imageid"`
	Command          []string                `json:"command"`
	Createdat        string                  `json:"createdat"`
	Runningfor       string                  `json:"runningfor"`
	Status           string                  `json:"status"`
	Ports            []ContainerPortMappings `json:"ports"`
	Rootfssize       int64                   `json:"rootfssize"`
	Rwsize           int64                   `json:"rwsize"`
	Names            string                  `json:"names"`
	Labels           map[string]string       `json:"labels"`
	Mounts           []ContainerMount        `json:"mounts"`
	Containerrunning bool                    `json:"containerrunning"`
	Namespaces       ContainerNameSpace      `json:"namespaces"`
}

type ListContainerProcesses_methods added in v0.5.2

type ListContainerProcesses_methods struct{}

func ListContainerProcesses

func ListContainerProcesses() ListContainerProcesses_methods

func (ListContainerProcesses_methods) Call added in v0.5.2

func (m ListContainerProcesses_methods) Call(c *varlink.Connection, name_in_ string, opts_in_ []string) (container_out_ []string, err_ error)

func (ListContainerProcesses_methods) Send added in v0.5.2

func (m ListContainerProcesses_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, opts_in_ []string) (func() ([]string, uint64, error), error)

type ListContainers_methods added in v0.5.2

type ListContainers_methods struct{}

func ListContainers

func ListContainers() ListContainers_methods

func (ListContainers_methods) Call added in v0.5.2

func (m ListContainers_methods) Call(c *varlink.Connection) (containers_out_ []ListContainerData, err_ error)

func (ListContainers_methods) Send added in v0.5.2

type ListImages_methods added in v0.5.2

type ListImages_methods struct{}

func ListImages

func ListImages() ListImages_methods

func (ListImages_methods) Call added in v0.5.2

func (m ListImages_methods) Call(c *varlink.Connection) (images_out_ []ImageInList, err_ error)

func (ListImages_methods) Send added in v0.5.2

func (m ListImages_methods) Send(c *varlink.Connection, flags uint64) (func() ([]ImageInList, uint64, error), error)

type NotImplemented

type NotImplemented struct {
	Comment string `json:"comment"`
}

type PauseContainer_methods added in v0.5.2

type PauseContainer_methods struct{}

func PauseContainer

func PauseContainer() PauseContainer_methods

func (PauseContainer_methods) Call added in v0.5.2

func (m PauseContainer_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ string, err_ error)

func (PauseContainer_methods) Send added in v0.5.2

func (m PauseContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (string, uint64, error), error)

type Ping_methods added in v0.5.2

type Ping_methods struct{}

func Ping

func Ping() Ping_methods

func (Ping_methods) Call added in v0.5.2

func (m Ping_methods) Call(c *varlink.Connection) (ping_out_ StringResponse, err_ error)

func (Ping_methods) Send added in v0.5.2

func (m Ping_methods) Send(c *varlink.Connection, flags uint64) (func() (StringResponse, uint64, error), error)

type PodmanInfo added in v0.5.2

type PodmanInfo struct {
	Host                InfoHost         `json:"host"`
	Registries          []string         `json:"registries"`
	Insecure_registries []string         `json:"insecure_registries"`
	Store               InfoStore        `json:"store"`
	Podman              InfoPodmanBinary `json:"podman"`
}

type PullImage_methods added in v0.5.2

type PullImage_methods struct{}

func PullImage

func PullImage() PullImage_methods

func (PullImage_methods) Call added in v0.5.2

func (m PullImage_methods) Call(c *varlink.Connection, name_in_ string) (id_out_ string, err_ error)

func (PullImage_methods) Send added in v0.5.2

func (m PullImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (string, uint64, error), error)

type PushImage_methods added in v0.5.2

type PushImage_methods struct{}

func PushImage

func PushImage() PushImage_methods

func (PushImage_methods) Call added in v0.5.2

func (m PushImage_methods) Call(c *varlink.Connection, name_in_ string, tag_in_ string, tlsverify_in_ bool) (image_out_ string, err_ error)

func (PushImage_methods) Send added in v0.5.2

func (m PushImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, tag_in_ string, tlsverify_in_ bool) (func() (string, uint64, error), error)

type RemoveContainer_methods added in v0.5.2

type RemoveContainer_methods struct{}

func RemoveContainer

func RemoveContainer() RemoveContainer_methods

func (RemoveContainer_methods) Call added in v0.5.2

func (m RemoveContainer_methods) Call(c *varlink.Connection, name_in_ string, force_in_ bool) (container_out_ string, err_ error)

func (RemoveContainer_methods) Send added in v0.5.2

func (m RemoveContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, force_in_ bool) (func() (string, uint64, error), error)

type RemoveImage_methods added in v0.5.2

type RemoveImage_methods struct{}

func RemoveImage

func RemoveImage() RemoveImage_methods

func (RemoveImage_methods) Call added in v0.5.2

func (m RemoveImage_methods) Call(c *varlink.Connection, name_in_ string, force_in_ bool) (image_out_ string, err_ error)

func (RemoveImage_methods) Send added in v0.5.2

func (m RemoveImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, force_in_ bool) (func() (string, uint64, error), error)

type RenameContainer_methods added in v0.5.2

type RenameContainer_methods struct{}

func RenameContainer

func RenameContainer() RenameContainer_methods

func (RenameContainer_methods) Call added in v0.5.2

func (m RenameContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (RenameContainer_methods) Send added in v0.5.2

type ResizeContainerTty_methods added in v0.5.2

type ResizeContainerTty_methods struct{}

func ResizeContainerTty

func ResizeContainerTty() ResizeContainerTty_methods

func (ResizeContainerTty_methods) Call added in v0.5.2

func (m ResizeContainerTty_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (ResizeContainerTty_methods) Send added in v0.5.2

type RestartContainer_methods added in v0.5.2

type RestartContainer_methods struct{}

func RestartContainer

func RestartContainer() RestartContainer_methods

func (RestartContainer_methods) Call added in v0.5.2

func (m RestartContainer_methods) Call(c *varlink.Connection, name_in_ string, timeout_in_ int64) (container_out_ string, err_ error)

func (RestartContainer_methods) Send added in v0.5.2

func (m RestartContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, timeout_in_ int64) (func() (string, uint64, error), error)

type SearchImage_methods added in v0.5.2

type SearchImage_methods struct{}

func SearchImage

func SearchImage() SearchImage_methods

func (SearchImage_methods) Call added in v0.5.2

func (m SearchImage_methods) Call(c *varlink.Connection, name_in_ string, limit_in_ int64) (images_out_ []ImageSearch, err_ error)

func (SearchImage_methods) Send added in v0.5.2

func (m SearchImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, limit_in_ int64) (func() ([]ImageSearch, uint64, error), error)

type StartContainer_methods added in v0.5.2

type StartContainer_methods struct{}

func StartContainer

func StartContainer() StartContainer_methods

func (StartContainer_methods) Call added in v0.5.2

func (m StartContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (StartContainer_methods) Send added in v0.5.2

type StopContainer_methods added in v0.5.2

type StopContainer_methods struct{}

func StopContainer

func StopContainer() StopContainer_methods

func (StopContainer_methods) Call added in v0.5.2

func (m StopContainer_methods) Call(c *varlink.Connection, name_in_ string, timeout_in_ int64) (container_out_ string, err_ error)

func (StopContainer_methods) Send added in v0.5.2

func (m StopContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, timeout_in_ int64) (func() (string, uint64, error), error)

type StringResponse

type StringResponse struct {
	Message string `json:"message"`
}

type TagImage_methods added in v0.5.2

type TagImage_methods struct{}

func TagImage

func TagImage() TagImage_methods

func (TagImage_methods) Call added in v0.5.2

func (m TagImage_methods) Call(c *varlink.Connection, name_in_ string, tagged_in_ string) (image_out_ string, err_ error)

func (TagImage_methods) Send added in v0.5.2

func (m TagImage_methods) Send(c *varlink.Connection, flags uint64, name_in_ string, tagged_in_ string) (func() (string, uint64, error), error)

type UnpauseContainer_methods added in v0.5.2

type UnpauseContainer_methods struct{}

func UnpauseContainer

func UnpauseContainer() UnpauseContainer_methods

func (UnpauseContainer_methods) Call added in v0.5.2

func (m UnpauseContainer_methods) Call(c *varlink.Connection, name_in_ string) (container_out_ string, err_ error)

func (UnpauseContainer_methods) Send added in v0.5.2

func (m UnpauseContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (string, uint64, error), error)

type UpdateContainer_methods added in v0.5.2

type UpdateContainer_methods struct{}

func UpdateContainer

func UpdateContainer() UpdateContainer_methods

func (UpdateContainer_methods) Call added in v0.5.2

func (m UpdateContainer_methods) Call(c *varlink.Connection) (notimplemented_out_ NotImplemented, err_ error)

func (UpdateContainer_methods) Send added in v0.5.2

type VarlinkCall

type VarlinkCall struct{ varlink.Call }

Service object with all methods

func (*VarlinkCall) ReplyAttachToContainer

func (c *VarlinkCall) ReplyAttachToContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyBuildImage

func (c *VarlinkCall) ReplyBuildImage(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyContainerNotFound added in v0.5.1

func (c *VarlinkCall) ReplyContainerNotFound(name_ string) error

Reply methods for all varlink errors

func (*VarlinkCall) ReplyCreateContainer

func (c *VarlinkCall) ReplyCreateContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyCreateFromContainer

func (c *VarlinkCall) ReplyCreateFromContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyCreateImage

func (c *VarlinkCall) ReplyCreateImage(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyDeleteStoppedContainers

func (c *VarlinkCall) ReplyDeleteStoppedContainers(containers_ []string) error

func (*VarlinkCall) ReplyDeleteUnusedImages

func (c *VarlinkCall) ReplyDeleteUnusedImages(images_ []string) error

func (*VarlinkCall) ReplyErrorOccurred

func (c *VarlinkCall) ReplyErrorOccurred(reason_ string) error

func (*VarlinkCall) ReplyExportContainer

func (c *VarlinkCall) ReplyExportContainer(tarfile_ string) error

func (*VarlinkCall) ReplyExportImage

func (c *VarlinkCall) ReplyExportImage(image_ string) error

func (*VarlinkCall) ReplyGetContainer added in v0.5.1

func (c *VarlinkCall) ReplyGetContainer(container_ ListContainerData) error

func (*VarlinkCall) ReplyGetContainerLogs

func (c *VarlinkCall) ReplyGetContainerLogs(container_ []string) error

func (*VarlinkCall) ReplyGetContainerStats

func (c *VarlinkCall) ReplyGetContainerStats(container_ ContainerStats) error

func (*VarlinkCall) ReplyGetInfo added in v0.5.2

func (c *VarlinkCall) ReplyGetInfo(info_ PodmanInfo) error

func (*VarlinkCall) ReplyGetVersion

func (c *VarlinkCall) ReplyGetVersion(version_ Version) error

func (*VarlinkCall) ReplyHistoryImage

func (c *VarlinkCall) ReplyHistoryImage(history_ []ImageHistory) error

func (*VarlinkCall) ReplyImageNotFound

func (c *VarlinkCall) ReplyImageNotFound(name_ string) error

func (*VarlinkCall) ReplyImportImage

func (c *VarlinkCall) ReplyImportImage(image_ string) error

func (*VarlinkCall) ReplyInspectContainer

func (c *VarlinkCall) ReplyInspectContainer(container_ string) error

func (*VarlinkCall) ReplyInspectImage

func (c *VarlinkCall) ReplyInspectImage(image_ string) error

func (*VarlinkCall) ReplyKillContainer

func (c *VarlinkCall) ReplyKillContainer(container_ string) error

func (*VarlinkCall) ReplyListContainerChanges

func (c *VarlinkCall) ReplyListContainerChanges(container_ ContainerChanges) error

func (*VarlinkCall) ReplyListContainerProcesses

func (c *VarlinkCall) ReplyListContainerProcesses(container_ []string) error

func (*VarlinkCall) ReplyListContainers

func (c *VarlinkCall) ReplyListContainers(containers_ []ListContainerData) error

func (*VarlinkCall) ReplyListImages

func (c *VarlinkCall) ReplyListImages(images_ []ImageInList) error

func (*VarlinkCall) ReplyPauseContainer

func (c *VarlinkCall) ReplyPauseContainer(container_ string) error

func (*VarlinkCall) ReplyPing

func (c *VarlinkCall) ReplyPing(ping_ StringResponse) error

func (*VarlinkCall) ReplyPullImage

func (c *VarlinkCall) ReplyPullImage(id_ string) error

func (*VarlinkCall) ReplyPushImage

func (c *VarlinkCall) ReplyPushImage(image_ string) error

func (*VarlinkCall) ReplyRemoveContainer

func (c *VarlinkCall) ReplyRemoveContainer(container_ string) error

Reply methods for all varlink methods

func (*VarlinkCall) ReplyRemoveImage

func (c *VarlinkCall) ReplyRemoveImage(image_ string) error

func (*VarlinkCall) ReplyRenameContainer

func (c *VarlinkCall) ReplyRenameContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyResizeContainerTty

func (c *VarlinkCall) ReplyResizeContainerTty(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyRestartContainer

func (c *VarlinkCall) ReplyRestartContainer(container_ string) error

func (*VarlinkCall) ReplyRuntimeError

func (c *VarlinkCall) ReplyRuntimeError(reason_ string) error

func (*VarlinkCall) ReplySearchImage

func (c *VarlinkCall) ReplySearchImage(images_ []ImageSearch) error

func (*VarlinkCall) ReplyStartContainer

func (c *VarlinkCall) ReplyStartContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyStopContainer

func (c *VarlinkCall) ReplyStopContainer(container_ string) error

func (*VarlinkCall) ReplyTagImage

func (c *VarlinkCall) ReplyTagImage(image_ string) error

func (*VarlinkCall) ReplyUnpauseContainer

func (c *VarlinkCall) ReplyUnpauseContainer(container_ string) error

func (*VarlinkCall) ReplyUpdateContainer

func (c *VarlinkCall) ReplyUpdateContainer(notimplemented_ NotImplemented) error

func (*VarlinkCall) ReplyWaitContainer

func (c *VarlinkCall) ReplyWaitContainer(exitcode_ int64) error

type VarlinkInterface

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

Service interface

func VarlinkNew

func VarlinkNew(m ioprojectatomicpodmanInterface) *VarlinkInterface

func (*VarlinkInterface) AttachToContainer

func (s *VarlinkInterface) AttachToContainer(c VarlinkCall) error

func (*VarlinkInterface) BuildImage

func (s *VarlinkInterface) BuildImage(c VarlinkCall) error

func (*VarlinkInterface) CreateContainer

func (s *VarlinkInterface) CreateContainer(c VarlinkCall) error

func (*VarlinkInterface) CreateFromContainer

func (s *VarlinkInterface) CreateFromContainer(c VarlinkCall) error

func (*VarlinkInterface) CreateImage

func (s *VarlinkInterface) CreateImage(c VarlinkCall) error

func (*VarlinkInterface) DeleteStoppedContainers

func (s *VarlinkInterface) DeleteStoppedContainers(c VarlinkCall) error

func (*VarlinkInterface) DeleteUnusedImages

func (s *VarlinkInterface) DeleteUnusedImages(c VarlinkCall) error

func (*VarlinkInterface) ExportContainer

func (s *VarlinkInterface) ExportContainer(c VarlinkCall, name_ string, path_ string) error

func (*VarlinkInterface) ExportImage

func (s *VarlinkInterface) ExportImage(c VarlinkCall, name_ string, destination_ string, compress_ bool) error

func (*VarlinkInterface) GetContainer added in v0.5.1

func (s *VarlinkInterface) GetContainer(c VarlinkCall, name_ string) error

func (*VarlinkInterface) GetContainerLogs

func (s *VarlinkInterface) GetContainerLogs(c VarlinkCall, name_ string) error

func (*VarlinkInterface) GetContainerStats

func (s *VarlinkInterface) GetContainerStats(c VarlinkCall, name_ string) error

func (*VarlinkInterface) GetInfo added in v0.5.2

func (s *VarlinkInterface) GetInfo(c VarlinkCall) error

func (*VarlinkInterface) GetVersion

func (s *VarlinkInterface) GetVersion(c VarlinkCall) error

func (*VarlinkInterface) HistoryImage

func (s *VarlinkInterface) HistoryImage(c VarlinkCall, name_ string) error

func (*VarlinkInterface) ImportImage

func (s *VarlinkInterface) ImportImage(c VarlinkCall, source_ string, reference_ string, message_ string, changes_ []string) error

func (*VarlinkInterface) InspectContainer

func (s *VarlinkInterface) InspectContainer(c VarlinkCall, name_ string) error

func (*VarlinkInterface) InspectImage

func (s *VarlinkInterface) InspectImage(c VarlinkCall, name_ string) error

func (*VarlinkInterface) KillContainer

func (s *VarlinkInterface) KillContainer(c VarlinkCall, name_ string, signal_ int64) error

func (*VarlinkInterface) ListContainerChanges

func (s *VarlinkInterface) ListContainerChanges(c VarlinkCall, name_ string) error

Dummy implementations for all varlink methods

func (*VarlinkInterface) ListContainerProcesses

func (s *VarlinkInterface) ListContainerProcesses(c VarlinkCall, name_ string, opts_ []string) error

func (*VarlinkInterface) ListContainers

func (s *VarlinkInterface) ListContainers(c VarlinkCall) error

func (*VarlinkInterface) ListImages

func (s *VarlinkInterface) ListImages(c VarlinkCall) error

func (*VarlinkInterface) PauseContainer

func (s *VarlinkInterface) PauseContainer(c VarlinkCall, name_ string) error

func (*VarlinkInterface) Ping

func (s *VarlinkInterface) Ping(c VarlinkCall) error

func (*VarlinkInterface) PullImage

func (s *VarlinkInterface) PullImage(c VarlinkCall, name_ string) error

func (*VarlinkInterface) PushImage

func (s *VarlinkInterface) PushImage(c VarlinkCall, name_ string, tag_ string, tlsverify_ bool) error

func (*VarlinkInterface) RemoveContainer

func (s *VarlinkInterface) RemoveContainer(c VarlinkCall, name_ string, force_ bool) error

func (*VarlinkInterface) RemoveImage

func (s *VarlinkInterface) RemoveImage(c VarlinkCall, name_ string, force_ bool) error

func (*VarlinkInterface) RenameContainer

func (s *VarlinkInterface) RenameContainer(c VarlinkCall) error

func (*VarlinkInterface) ResizeContainerTty

func (s *VarlinkInterface) ResizeContainerTty(c VarlinkCall) error

func (*VarlinkInterface) RestartContainer

func (s *VarlinkInterface) RestartContainer(c VarlinkCall, name_ string, timeout_ int64) error

func (*VarlinkInterface) SearchImage

func (s *VarlinkInterface) SearchImage(c VarlinkCall, name_ string, limit_ int64) error

func (*VarlinkInterface) StartContainer

func (s *VarlinkInterface) StartContainer(c VarlinkCall) error

func (*VarlinkInterface) StopContainer

func (s *VarlinkInterface) StopContainer(c VarlinkCall, name_ string, timeout_ int64) error

func (*VarlinkInterface) TagImage

func (s *VarlinkInterface) TagImage(c VarlinkCall, name_ string, tagged_ string) error

func (*VarlinkInterface) UnpauseContainer

func (s *VarlinkInterface) UnpauseContainer(c VarlinkCall, name_ string) error

func (*VarlinkInterface) UpdateContainer

func (s *VarlinkInterface) UpdateContainer(c VarlinkCall) error

func (*VarlinkInterface) VarlinkDispatch

func (s *VarlinkInterface) VarlinkDispatch(call varlink.Call, methodname string) error

Method call dispatcher

func (*VarlinkInterface) VarlinkGetDescription

func (s *VarlinkInterface) VarlinkGetDescription() string

Varlink interface description

func (*VarlinkInterface) VarlinkGetName

func (s *VarlinkInterface) VarlinkGetName() string

Varlink interface name

func (*VarlinkInterface) WaitContainer

func (s *VarlinkInterface) WaitContainer(c VarlinkCall, name_ string) error

type Version

type Version struct {
	Version    string `json:"version"`
	Go_version string `json:"go_version"`
	Git_commit string `json:"git_commit"`
	Built      int64  `json:"built"`
	Os_arch    string `json:"os_arch"`
}

Type declarations

type WaitContainer_methods added in v0.5.2

type WaitContainer_methods struct{}

func WaitContainer

func WaitContainer() WaitContainer_methods

func (WaitContainer_methods) Call added in v0.5.2

func (m WaitContainer_methods) Call(c *varlink.Connection, name_in_ string) (exitcode_out_ int64, err_ error)

func (WaitContainer_methods) Send added in v0.5.2

func (m WaitContainer_methods) Send(c *varlink.Connection, flags uint64, name_in_ string) (func() (int64, uint64, error), error)

Jump to

Keyboard shortcuts

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