mirror of
https://github.com/rancher/types.git
synced 2025-06-23 04:07:03 +00:00
12 lines
293 B
Go
12 lines
293 B
Go
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)
|
|
}
|