Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, addr, token string, timeout time.Duration, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Dial creates a gRPC connection to a Gitaly or Praefect server with the specified timeout and options. It automatically adds the standard unary and stream interceptors and authentication credentials if a token is provided.
Types ¶
type RequiredFlagError ¶
type RequiredFlagError string
RequiredFlagError type is needed to produce the same error message as one from the github.com/urfave/cli/v3 package. Unfortunately the errRequiredFlags type is not exportable, and we can't utilise it.
func (RequiredFlagError) Error ¶
func (rf RequiredFlagError) Error() string
Click to show internal directories.
Click to hide internal directories.