api_v1

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 RegisterCRIContainerdServiceServer

func RegisterCRIContainerdServiceServer(s *grpc.Server, srv CRIContainerdServiceServer)

Types

type CRIContainerdServiceClient

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

func NewCRIContainerdServiceClient

func NewCRIContainerdServiceClient(cc *grpc.ClientConn) CRIContainerdServiceClient

type CRIContainerdServiceServer

type CRIContainerdServiceServer 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

Source Files

  • api.pb.go

Jump to

Keyboard shortcuts

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