Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶ added in v1.4.0
type Local struct {
// contains filtered or unexported fields
}
Local is a local implementation of the introspection service
func (*Local) Plugins ¶ added in v1.4.0
func (l *Local) Plugins(ctx context.Context, req *api.PluginsRequest, _ ...grpc.CallOption) (*api.PluginsResponse, error)
Plugins returns the locally defined plugins
func (*Local) Server ¶ added in v1.4.0
func (l *Local) Server(ctx context.Context, _ *ptypes.Empty, _ ...grpc.CallOption) (*api.ServerResponse, error)
Server returns the local server information
func (*Local) UpdateLocal ¶ added in v1.4.0
UpdateLocal updates the local introspection service
type Service ¶ added in v1.4.0
type Service interface { Plugins(context.Context, []string) (*api.PluginsResponse, error) Server(context.Context, *ptypes.Empty) (*api.ServerResponse, error) }
Service defines the introspection service interface
func NewIntrospectionServiceFromClient ¶ added in v1.4.0
func NewIntrospectionServiceFromClient(c api.IntrospectionClient) Service
NewIntrospectionServiceFromClient creates a new introspection service from an API client
Click to show internal directories.
Click to hide internal directories.