Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { pb.ProvisionDockClient pb.AttachDockClient pb.FileShareDockClient Connect(edp string) error }
Client interface provides an abstract description about how to interact with gRPC client. Besides some nested methods defined in pb.DockClient, Client also exposes two methods: Connect() and Close(), for which callers can easily open and close gRPC connection.
type DockClient ¶ added in v0.12.0
type DockClient struct { pb.ProvisionDockClient pb.AttachDockClient *grpc.ClientConn }
DockClient structure is one implementation of Client interface and will be called in real environment. There would be more other kind of connection in the long run.
func (*DockClient) Connect ¶ added in v0.12.0
func (c *DockClient) Connect(edp string) error
Click to show internal directories.
Click to hide internal directories.