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)
- 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 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.13
- Published
- Jan 31, 2024
- Platform
- windows/amd64
- Imports
- 21 packages
- Last checked
- 4 minutes ago –
Tools for package owners.