Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyClient ¶
func DestroyServer ¶
Types ¶
type Transport ¶
type Transport interface { // NamespacedNamePair returns a source and a destination pair to identify this transport NamespacedNamePair() meta.NamespacedNamePair //.CA returns CA used by the transport CA() *bytes.Buffer // Crt returns certificate used by the transport for encryption Crt() *bytes.Buffer Key() *bytes.Buffer // Port returns a port on which the transport listens for connections Port() int32 // ExposedPort returns an exposed port for transfers to use ExposedPort() int32 // ClientContainers returns a list of containers transfers can add to their client Pods ClientContainers() []v1.Container // ClientVolumes returns a list of volumes transfers can add to their client Pods ClientVolumes() []v1.Volume // ServerContainers returns a list of containers transfers can add to their server Pods ServerContainers() []v1.Container // ServerVolumes returns a list of volumes transfers can add to their server Pods ServerVolumes() []v1.Volume Direct() bool CreateServer(client.Client, string, endpoint.Endpoint) error CreateClient(client.Client, string, endpoint.Endpoint) error Options() *Options // Type Type() TransportType }
Transport knows how to create an end to end tunnel for a transfer to work on
func CreateClient ¶
type TransportType ¶
type TransportType string
Click to show internal directories.
Click to hide internal directories.