Documentation ¶
Index ¶
- func Authenticate(username string, password string) (string, error)
- func ConnectWithToken(host string, port int, authToken string, certPool *x509.CertPool) (*grpc.ClientConn, context.Context, error)
- func GetAuthTokenFromOptionOrConfigOrStdin(optionTry bool, optionUsername string, optionPassword string, ...) (string, error)
- func GrpcTlsConnect(host string, port int, ctx context.Context, certPool *x509.CertPool) (*grpc.ClientConn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
returns a JWT auth token, if successful
func ConnectWithToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.