package introspection

import "github.com/containerd/containerd/services/introspection"

Index

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

func (l *Local) UpdateLocal(root string)

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 introspection 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 pidns_others.go service.go

Version
v1.7.11
Published
Dec 8, 2023
Platform
windows/amd64
Imports
21 packages
Last checked
2 minutes ago

Tools for package owners.