remote

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeServiceClient

type RuntimeServiceClient struct {
	runtimeapi.RuntimeServiceClient
}

func NewRuntimeServiceClient

func NewRuntimeServiceClient(ctx context.Context, endpoint string) (*RuntimeServiceClient, error)

func (*RuntimeServiceClient) GetContainerByName

func (r *RuntimeServiceClient) GetContainerByName(ctx context.Context, name string) (*runtimeapi.Container, error)

func (*RuntimeServiceClient) GetContainerStatus

func (r *RuntimeServiceClient) GetContainerStatus(ctx context.Context, id string) (*runtimeapi.ContainerStatus, error)

func (*RuntimeServiceClient) ReadLogs

func (r *RuntimeServiceClient) ReadLogs(ctx context.Context, path string, w io.Writer) error

func (*RuntimeServiceClient) TailLogs

func (r *RuntimeServiceClient) TailLogs(ctx context.Context, path string, w io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL