package sockets

import "github.com/docker/docker/pkg/sockets"

Index

Functions

func NewTcpSocket

func NewTcpSocket(addr string, config *TlsConfig, activate <-chan struct{}) (net.Listener, error)

func NewUnixSocket

func NewUnixSocket(path, group string, activate <-chan struct{}) (net.Listener, error)

Types

type TlsConfig

type TlsConfig struct {
	CA          string
	Certificate string
	Key         string
	Verify      bool
}

func NewTlsConfig

func NewTlsConfig(tlsCert, tlsKey, tlsCA string, verify bool) *TlsConfig

Source Files

tcp_socket.go unix_socket.go

Version
v1.7.0-rc4
Published
Jun 16, 2015
Platform
linux/amd64
Imports
11 packages
Last checked
8 minutes ago

Tools for package owners.