package ttrpcutil
import "github.com/containerd/containerd/pkg/ttrpcutil"
Index ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client to interact with TTRPC part of containerd server (plugins, events)
func NewClient ¶
func NewClient(address string, opts ...ttrpc.ClientOpts) (*Client, error)
NewClient returns a new containerd TTRPC client that is connected to the containerd instance provided by address
func (*Client) Client ¶
Client returns the underlying TTRPC client object
func (*Client) Close ¶
Close closes the clients TTRPC connection to containerd
func (*Client) EventsService ¶
func (c *Client) EventsService() (v1.EventsService, error)
EventsService creates an EventsService client
func (*Client) Reconnect ¶
Reconnect re-establishes the TTRPC connection to the containerd daemon
Source Files ¶
- Version
- v1.7.0-rc.2
- Published
- Mar 7, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 50 minutes ago –
Tools for package owners.