introspection

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

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

func (l *Local) UpdateLocal(root string)

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

Jump to

Keyboard shortcuts

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