admin

package
v0.0.0-...-44d3255 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package admin is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package admin is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBigtableInstanceAdminHandler

func RegisterBigtableInstanceAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBigtableInstanceAdminHandler registers the http handlers for service BigtableInstanceAdmin to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBigtableInstanceAdminHandlerClient

func RegisterBigtableInstanceAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extAdmin.BigtableInstanceAdminClient) error

RegisterBigtableInstanceAdminHandlerClient registers the http handlers for service BigtableInstanceAdmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extAdmin.BigtableInstanceAdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extAdmin.BigtableInstanceAdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extAdmin.BigtableInstanceAdminClient" to call the correct interceptors.

func RegisterBigtableInstanceAdminHandlerFromEndpoint

func RegisterBigtableInstanceAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBigtableInstanceAdminHandlerFromEndpoint is same as RegisterBigtableInstanceAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBigtableInstanceAdminHandlerServer

func RegisterBigtableInstanceAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extAdmin.BigtableInstanceAdminServer) error

RegisterBigtableInstanceAdminHandlerServer registers the http handlers for service BigtableInstanceAdmin to "mux". UnaryRPC :call BigtableInstanceAdminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBigtableInstanceAdminHandlerFromEndpoint instead.

func RegisterBigtableTableAdminHandler

func RegisterBigtableTableAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBigtableTableAdminHandler registers the http handlers for service BigtableTableAdmin to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBigtableTableAdminHandlerClient

func RegisterBigtableTableAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client extAdmin.BigtableTableAdminClient) error

RegisterBigtableTableAdminHandlerClient registers the http handlers for service BigtableTableAdmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "extAdmin.BigtableTableAdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "extAdmin.BigtableTableAdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "extAdmin.BigtableTableAdminClient" to call the correct interceptors.

func RegisterBigtableTableAdminHandlerFromEndpoint

func RegisterBigtableTableAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBigtableTableAdminHandlerFromEndpoint is same as RegisterBigtableTableAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBigtableTableAdminHandlerServer

func RegisterBigtableTableAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server extAdmin.BigtableTableAdminServer) error

RegisterBigtableTableAdminHandlerServer registers the http handlers for service BigtableTableAdmin to "mux". UnaryRPC :call BigtableTableAdminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBigtableTableAdminHandlerFromEndpoint instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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