Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
IsNotFound returns true if the given error has an IsNotFound function that also returns true
func NewGRPCClient ¶
func NewGRPCClient(opts ClientOpts) (conn *grpc.ClientConn, err error)
NewGRPCClient that connects to the configurator server
Types ¶
type Client ¶
type Client struct { Opts ClientOpts Client request.PlainSQLClient // contains filtered or unexported fields }
Client is a GRPC client for requests
func NewClient ¶
func NewClient(opts ClientOpts) *Client
NewClient builds and returns a new Client that wraps a GRPC connections\
type ClientOpts ¶
type ClientOpts struct { ServerHost string `` /* 128-byte string literal not displayed */ SkipVerify bool `env:"companysettings.skipVerify" short:"k" long:"skip-verify" description:"Skip hostname verification"` }
ClientOpts to add to your flags or env config
Click to show internal directories.
Click to hide internal directories.