Documentation ¶
Index ¶
- func IsSwaggerEmbedded() bool
- func StartGRPCAPI(api *API)
- func StartHTTPAPI(options *Options)
- type API
- func (a *API) GetGlobalConfig(context.Context, *emptypb.Empty) (*structpb.Struct, error)
- func (a *API) GetPluginConfig(context.Context, *emptypb.Empty) (*structpb.Struct, error)
- func (a *API) GetPlugins(context.Context, *emptypb.Empty) (*v1.PluginConfigs, error)
- func (a *API) GetPools(context.Context, *emptypb.Empty) (*structpb.Struct, error)
- func (a *API) GetProxies(context.Context, *emptypb.Empty) (*structpb.Struct, error)
- func (a *API) GetServers(context.Context, *emptypb.Empty) (*structpb.Struct, error)
- func (a *API) Version(context.Context, *emptypb.Empty) (*v1.VersionResponse, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSwaggerEmbedded ¶
func IsSwaggerEmbedded() bool
Types ¶
type API ¶
type API struct { v1.GatewayDAdminAPIServiceServer Options *Options Config *config.Config PluginRegistry *plugin.Registry Pools map[string]*pool.Pool Proxies map[string]*network.Proxy Servers map[string]*network.Server }
func (*API) GetGlobalConfig ¶
GetGlobalConfig returns the global configuration of the GatewayD.
func (*API) GetPluginConfig ¶
GetPluginConfig returns the plugin configuration of the GatewayD.
func (*API) GetPlugins ¶
GetPlugins returns the active plugin configuration of the GatewayD.
func (*API) GetProxies ¶
GetProxies returns the proxy configuration of the GatewayD.
func (*API) GetServers ¶
GetServers returns the server configuration of the GatewayD.
Click to show internal directories.
Click to hide internal directories.