tls

package
v0.4.2-alpha.0...-9a8b422 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTLS

func CheckTLS(config *types.Configuration) error

CheckTLS for missing certificate and key

func CheckTLSConfigPath

func CheckTLSConfigPath() (certsPath string, err error)

CheckTLSConfigPath for docker-compose cli compatibility

As docker-compose don't allow to specify each file path, they need to be in the same folder and be named ca.pem, cert.pem and key.pem. They must bear no password protection.

func HTTPSClient

func HTTPSClient() (*http.Client, error)

HTTPSClient return a http client with TLS

Types

This section is empty.

Jump to

Keyboard shortcuts

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