github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/libcontainerd/remote.go (about) 1 package libcontainerd 2 3 // Remote on Linux defines the accesspoint to the containerd grpc API. 4 // Remote on Windows is largely an unimplemented interface as there is 5 // no remote containerd. 6 type Remote interface { 7 // Client returns a new Client instance connected with given Backend. 8 Client(Backend) (Client, error) 9 // Cleanup stops containerd if it was started by libcontainerd. 10 // Note this is not used on Windows as there is no remote containerd. 11 Cleanup() 12 } 13 14 // RemoteOption allows to configure parameters of remotes. 15 // This is unused on Windows. 16 type RemoteOption interface { 17 Apply(Remote) error 18 }