Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(s vtctlservicepb.VtctldServer) vtctldclient.VtctldClient
New returns a local vtctldclient.VtctldClient that makes method calls on the provided VtctldServer implementation. No network traffic takes place between the client and server, and all CallOptions are ignored on RPCs.
func SetServer ¶
func SetServer(s vtctlservicepb.VtctldServer)
SetServer sets the server implementation used when creating local clients via the vtctldclient.Factory.
This function must be called before calling vtctldclient.New.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.