Documentation ¶
Index ¶
- type GrpcCli
- func (gCli GrpcCli) ClientAdd(ctx context.Context, addr string) error
- func (gCli GrpcCli) ClientSync(ctx context.Context, addrs []string) error
- func (gCli GrpcCli) Close() error
- func (gCli GrpcCli) Exec(ctx context.Context, container types.Container) (types.TTY, error)
- func (gCli GrpcCli) GetInfo(ctx context.Context, cid string) types.Container
- func (gCli GrpcCli) List(ctx context.Context) []types.Container
- func (gCli GrpcCli) Logs(ctx context.Context, opts types.LogOptions) (io.ReadCloser, error)
- func (gCli GrpcCli) Restart(ctx context.Context, containerID string) error
- func (gCli GrpcCli) Start(ctx context.Context, containerID string) error
- func (gCli GrpcCli) Stop(ctx context.Context, containerID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcCli ¶
type GrpcCli struct {
// contains filtered or unexported fields
}
GrpcCli connect to the remote server
func (GrpcCli) ClientSync ¶ added in v0.2.6
func (GrpcCli) Logs ¶ added in v0.1.7
func (gCli GrpcCli) Logs(ctx context.Context, opts types.LogOptions) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.