1
0
mirror of https://github.com/rancher/types.git synced 2025-07-01 16:01:49 +00:00
types/config/dialer/dialer.go

12 lines
293 B
Go
Raw Normal View History

2018-02-20 19:42:46 +00:00
package dialer
import "net"
type Dialer func(network, address string) (net.Conn, error)
type Factory interface {
ClusterDialer(clusterName string) (Dialer, error)
DockerDialer(clusterName, machineName string) (Dialer, error)
NodeDialer(clusterName, machineName string) (Dialer, error)
}