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 ¶
- Variables
- func RegisterCRIPluginServiceServer(s *grpc.Server, srv CRIPluginServiceServer)
- type CRIPluginServiceClient
- type CRIPluginServiceServer
- type LoadImageRequest
- func (*LoadImageRequest) Descriptor() ([]byte, []int)
- func (m *LoadImageRequest) GetFilePath() string
- func (m *LoadImageRequest) Marshal() (dAtA []byte, err error)
- func (m *LoadImageRequest) MarshalTo(dAtA []byte) (int, error)
- func (*LoadImageRequest) ProtoMessage()
- func (m *LoadImageRequest) Reset()
- func (m *LoadImageRequest) Size() (n int)
- func (this *LoadImageRequest) String() string
- func (m *LoadImageRequest) Unmarshal(dAtA []byte) error
- type LoadImageResponse
- func (*LoadImageResponse) Descriptor() ([]byte, []int)
- func (m *LoadImageResponse) GetImages() []string
- func (m *LoadImageResponse) Marshal() (dAtA []byte, err error)
- func (m *LoadImageResponse) MarshalTo(dAtA []byte) (int, error)
- func (*LoadImageResponse) ProtoMessage()
- func (m *LoadImageResponse) Reset()
- func (m *LoadImageResponse) Size() (n int)
- func (this *LoadImageResponse) String() string
- func (m *LoadImageResponse) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
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
Source Files
¶
- api.pb.go
Click to show internal directories.
Click to hide internal directories.