localvtctldclient

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Jump to

Keyboard shortcuts

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