Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientTransportCredentials ¶
func ClientTransportCredentials(insecureSkipVerify bool, cacertFile, clientCertFile, clientKeyFile string) (credentials.TransportCredentials, error)
ClientTransportCredentials builds transport credentials for a GRPC client using the given properties. If cacertFile is blank, only standard trusted certs are used to verify the server certs. If clientCertFile is blank, the client will not use a client certificate. If clientCertFile is not blank then clientKeyFile must not be blank.
Types ¶
type Cmd ¶
type Cmd struct { App *cli.App GrpcGet *grpcget.GrpcGet GrpcDialOptions []grpc.DialOption Metatada metadata.MD Override CmdOverride }
func (*Cmd) InitialCheck ¶
Click to show internal directories.
Click to hide internal directories.