grpcclientcommon

package
v0.15.10 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package grpcclientcommon defines the flags shared by both grpcvtctlclient and grpcvtctldclient.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFlags

func RegisterFlags(fs *pflag.FlagSet)

func SecureDialOption

func SecureDialOption() (grpc.DialOption, error)

SecureDialOption returns a grpc.DialOption configured to use TLS (or insecure if no flags were set) based on the vtctld_grpc_* flags declared by this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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