targetserver

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSafeToRetry

func IsSafeToRetry(err error) bool

IsSafeToRetry will retrun true if error type is EINTR, EAGAIN or EWOULDBLOCK

func Reader

func Reader(r io.Reader) (string, error)

Reader reads the data from wire untill error or endOfData occurs Reader will break only when client is sending \r\n or EOF occured

func ServeRequest

func ServeRequest(conn net.Conn, kubeClient *cstorv1alpha1.Kubeclient)

ServeRequest process the request from the client

func StartTargetServer

func StartTargetServer(kubeConfig string)

StartTargetServer starts the UnixDomainServer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL