healthcheck

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoundTripper

func RoundTripper(dialHost string, cert *x509.Certificate) http.RoundTripper

RoundTripper returns a specially configured round tripper. When the client is used to connect to a remote TLS server (e.g. openshift.<random>.osadev.cloud), it will in fact dial dialHost (e.g. <random>.<location>.cloudapp.azure.com). It will then negotiate TLS against the former address (i.e. openshift.<random>.osadev.cloud), verifying that the server certificate presented matches cert.

Types

This section is empty.

Jump to

Keyboard shortcuts

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