Cleanup: fix some typos in code comment
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
parent
bd46ea5191
commit
89eae6429f
@ -50,7 +50,7 @@ var _ events.Publisher = &Exchange{}
|
|||||||
var _ events.Forwarder = &Exchange{}
|
var _ events.Forwarder = &Exchange{}
|
||||||
var _ events.Subscriber = &Exchange{}
|
var _ events.Subscriber = &Exchange{}
|
||||||
|
|
||||||
// Forward accepts an envelope to be direcly distributed on the exchange.
|
// Forward accepts an envelope to be directly distributed on the exchange.
|
||||||
//
|
//
|
||||||
// This is useful when an event is forwarded on behalf of another namespace or
|
// This is useful when an event is forwarded on behalf of another namespace or
|
||||||
// when the event is propagated on behalf of another publisher.
|
// when the event is propagated on behalf of another publisher.
|
||||||
|
@ -86,7 +86,7 @@ func WithImportCompression() ImportOpt {
|
|||||||
|
|
||||||
// Import imports an image from a Tar stream using reader.
|
// Import imports an image from a Tar stream using reader.
|
||||||
// Caller needs to specify importer. Future version may use oci.v1 as the default.
|
// Caller needs to specify importer. Future version may use oci.v1 as the default.
|
||||||
// Note that unreferrenced blobs may be imported to the content store as well.
|
// Note that unreferenced blobs may be imported to the content store as well.
|
||||||
func (c *Client) Import(ctx context.Context, reader io.Reader, opts ...ImportOpt) ([]images.Image, error) {
|
func (c *Client) Import(ctx context.Context, reader io.Reader, opts ...ImportOpt) ([]images.Image, error) {
|
||||||
var iopts importOpts
|
var iopts importOpts
|
||||||
for _, o := range opts {
|
for _, o := range opts {
|
||||||
|
@ -44,7 +44,7 @@ type Process interface {
|
|||||||
Wait(context.Context) (<-chan ExitStatus, error)
|
Wait(context.Context) (<-chan ExitStatus, error)
|
||||||
// CloseIO allows various pipes to be closed on the process
|
// CloseIO allows various pipes to be closed on the process
|
||||||
CloseIO(context.Context, ...IOCloserOpts) error
|
CloseIO(context.Context, ...IOCloserOpts) error
|
||||||
// Resize changes the width and heigh of the process's terminal
|
// Resize changes the width and height of the process's terminal
|
||||||
Resize(ctx context.Context, w, h uint32) error
|
Resize(ctx context.Context, w, h uint32) error
|
||||||
// IO returns the io set for the process
|
// IO returns the io set for the process
|
||||||
IO() cio.IO
|
IO() cio.IO
|
||||||
|
Loading…
Reference in New Issue
Block a user