api_v1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package api_v1 is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

LoadImageRequest
LoadImageResponse

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterCRIPluginServiceServer

func RegisterCRIPluginServiceServer(s *grpc.Server, srv CRIPluginServiceServer)

Types

type CRIPluginServiceClient

type CRIPluginServiceClient interface {
	// LoadImage loads a image into containerd.
	LoadImage(ctx context.Context, in *LoadImageRequest, opts ...grpc.CallOption) (*LoadImageResponse, error)
}

func NewCRIPluginServiceClient

func NewCRIPluginServiceClient(cc *grpc.ClientConn) CRIPluginServiceClient

type CRIPluginServiceServer

type CRIPluginServiceServer interface {
	// LoadImage loads a image into containerd.
	LoadImage(context.Context, *LoadImageRequest) (*LoadImageResponse, error)
}

type LoadImageRequest

type LoadImageRequest struct {
	// FilePath is the absolute path of docker image tarball.
	FilePath string `protobuf:"bytes,1,opt,name=FilePath,proto3" json:"FilePath,omitempty"`
}

func (*LoadImageRequest) Descriptor

func (*LoadImageRequest) Descriptor() ([]byte, []int)

func (*LoadImageRequest) GetFilePath

func (m *LoadImageRequest) GetFilePath() string

func (*LoadImageRequest) Marshal

func (m *LoadImageRequest) Marshal() (dAtA []byte, err error)

func (*LoadImageRequest) MarshalTo

func (m *LoadImageRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoadImageRequest) ProtoMessage

func (*LoadImageRequest) ProtoMessage()

func (*LoadImageRequest) Reset

func (m *LoadImageRequest) Reset()

func (*LoadImageRequest) Size

func (m *LoadImageRequest) Size() (n int)

func (*LoadImageRequest) String

func (this *LoadImageRequest) String() string

func (*LoadImageRequest) Unmarshal

func (m *LoadImageRequest) Unmarshal(dAtA []byte) error

type LoadImageResponse

type LoadImageResponse struct {
	// Images have been loaded.
	Images []string `protobuf:"bytes,1,rep,name=Images" json:"Images,omitempty"`
}

func (*LoadImageResponse) Descriptor

func (*LoadImageResponse) Descriptor() ([]byte, []int)

func (*LoadImageResponse) GetImages

func (m *LoadImageResponse) GetImages() []string

func (*LoadImageResponse) Marshal

func (m *LoadImageResponse) Marshal() (dAtA []byte, err error)

func (*LoadImageResponse) MarshalTo

func (m *LoadImageResponse) MarshalTo(dAtA []byte) (int, error)

func (*LoadImageResponse) ProtoMessage

func (*LoadImageResponse) ProtoMessage()

func (*LoadImageResponse) Reset

func (m *LoadImageResponse) Reset()

func (*LoadImageResponse) Size

func (m *LoadImageResponse) Size() (n int)

func (*LoadImageResponse) String

func (this *LoadImageResponse) String() string

func (*LoadImageResponse) Unmarshal

func (m *LoadImageResponse) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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