package tcp
import "k8s.io/kubernetes/pkg/probe/tcp"
Index ¶
Functions ¶
func DoTCPProbe ¶
DoTCPProbe checks that a TCP socket to the address can be opened. If the socket can be opened, it returns Success If the socket fails to open, it returns Failure. This is exported because some other packages may want to do direct TCP probes.
Types ¶
type TCPProber ¶
type TCPProber interface { Probe(host string, port int, timeout time.Duration) (probe.Result, string, error) }
func New ¶
func New() TCPProber
Source Files ¶
tcp.go
- Version
- v1.1.9-beta.0
- Published
- Feb 23, 2016
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.