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.3.0
Published
Apr 3, 2019
Platform
darwin/amd64
Imports
12 packages
Last checked
2 hours ago

Tools for package owners.