package introspection
import "github.com/containerd/containerd/services/introspection"
Index ¶
- type Local
- func (l *Local) Plugins(ctx context.Context, req *api.PluginsRequest, _ ...grpc.CallOption) (*api.PluginsResponse, error)
- func (l *Local) Server(ctx context.Context, _ *ptypes.Empty, _ ...grpc.CallOption) (*api.ServerResponse, error)
- func (l *Local) UpdateLocal(root string, plugins []api.Plugin)
- type Service
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
Local is a local implementation of the introspection service
func (*Local) Plugins ¶
func (l *Local) Plugins(ctx context.Context, req *api.PluginsRequest, _ ...grpc.CallOption) (*api.PluginsResponse, error)
Plugins returns the locally defined plugins
func (*Local) Server ¶
func (l *Local) Server(ctx context.Context, _ *ptypes.Empty, _ ...grpc.CallOption) (*api.ServerResponse, error)
Server returns the local server information
func (*Local) UpdateLocal ¶
UpdateLocal updates the local introspection service
type Service ¶
type Service interface { Plugins(context.Context, []string) (*api.PluginsResponse, error) Server(context.Context, *ptypes.Empty) (*api.ServerResponse, error) }
Service defines the instrospection service interface
func NewIntrospectionServiceFromClient ¶
func NewIntrospectionServiceFromClient(c api.IntrospectionClient) Service
NewIntrospectionServiceFromClient creates a new introspection service from an API client
Source Files ¶
introspection.go local.go service.go
- Version
- v1.5.12
- Published
- Jun 3, 2022
- Platform
- windows/amd64
- Imports
- 18 packages
- Last checked
- 1 second ago –
Tools for package owners.