cli

package
v18.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 7 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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