1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 04:40:56 +00:00
Files
types/config/dialer/dialer.go

13 lines
322 B
Go
Raw Normal View History

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