package client

import "github.com/rootless-containers/rootlesskit/pkg/api/client"

Index

Types

type Client

type Client interface {
	HTTPClient() *http.Client
	PortManager() port.Manager
}

func New

func New(socketPath string) (Client, error)

New creates a client. socketPath is a path to the UNIX socket, without unix:// prefix.

func NewWithHTTPClient

func NewWithHTTPClient(hc *http.Client) Client

Source Files

client.go

Version
v0.7.2
Published
Jan 26, 2020
Platform
js/wasm
Imports
12 packages
Last checked
1 hour ago

Tools for package owners.