Documentation ¶
Index ¶
- Variables
- func EnableTraceAPIRequests()
- func GetApiserverConn() *grpc.ClientConn
- func GetApiserverConnWithAuth(token *client_auth.AuthToken) *grpc.ClientConn
- func GetAuthManagerClient() auth_pb.AuthManagerClient
- func GetAuthSessionManagerClient() auth_pb.AuthSessionManagerClient
- func GetGlobalApiConn() *grpc.ClientConn
- func MakeApiServerConnWithAuth(addr string, token *client_auth.AuthToken, noTls bool) (*grpc.ClientConn, error)
- func MakeUnauthApiServerConn(addr string, noTls bool) (*grpc.ClientConn, error)
- func SetDefaultApiServerAddr(addr string, noTls bool) error
- func SetDefaultGlobalApiAddr(addr string) error
- func SetSource(source string) error
- func SetWaitForReady(waitForReady bool) error
- func TraceUnaryClientInterceptor() grpc.UnaryClientInterceptor
- func UpdateApiserverToken(token string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ApiServerAddr string GlobalApiAddr string )
Functions ¶
func EnableTraceAPIRequests ¶
func EnableTraceAPIRequests()
func GetApiserverConn ¶
func GetApiserverConn() *grpc.ClientConn
func GetApiserverConnWithAuth ¶
func GetApiserverConnWithAuth(token *client_auth.AuthToken) *grpc.ClientConn
func GetAuthManagerClient ¶
func GetAuthManagerClient() auth_pb.AuthManagerClient
func GetAuthSessionManagerClient ¶
func GetAuthSessionManagerClient() auth_pb.AuthSessionManagerClient
func GetGlobalApiConn ¶
func GetGlobalApiConn() *grpc.ClientConn
func MakeApiServerConnWithAuth ¶
func MakeApiServerConnWithAuth(addr string, token *client_auth.AuthToken, noTls bool) (*grpc.ClientConn, error)
func MakeUnauthApiServerConn ¶
func MakeUnauthApiServerConn(addr string, noTls bool) (*grpc.ClientConn, error)
func SetDefaultApiServerAddr ¶
func SetDefaultGlobalApiAddr ¶
func SetWaitForReady ¶
func TraceUnaryClientInterceptor ¶
func TraceUnaryClientInterceptor() grpc.UnaryClientInterceptor
func UpdateApiserverToken ¶
HACK(naphat) this is not threadsafe
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.