Documentation ¶
Index ¶
- Variables
- func RegisterImageService(srv *github_com_containerd_ttrpc.Server, svc ImageService)
- type ImageService
- type PullImageRequest
- func (*PullImageRequest) Descriptor() ([]byte, []int)
- func (m *PullImageRequest) Marshal() (dAtA []byte, err error)
- func (m *PullImageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PullImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PullImageRequest) ProtoMessage()
- func (m *PullImageRequest) Reset()
- func (m *PullImageRequest) Size() (n int)
- func (this *PullImageRequest) String() string
- func (m *PullImageRequest) Unmarshal(dAtA []byte) error
- func (m *PullImageRequest) XXX_DiscardUnknown()
- func (m *PullImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PullImageRequest) XXX_Merge(src proto.Message)
- func (m *PullImageRequest) XXX_Size() int
- func (m *PullImageRequest) XXX_Unmarshal(b []byte) error
- type PullImageResponse
- func (*PullImageResponse) Descriptor() ([]byte, []int)
- func (m *PullImageResponse) Marshal() (dAtA []byte, err error)
- func (m *PullImageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PullImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PullImageResponse) ProtoMessage()
- func (m *PullImageResponse) Reset()
- func (m *PullImageResponse) Size() (n int)
- func (this *PullImageResponse) String() string
- func (m *PullImageResponse) Unmarshal(dAtA []byte) error
- func (m *PullImageResponse) XXX_DiscardUnknown()
- func (m *PullImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PullImageResponse) XXX_Merge(src proto.Message)
- func (m *PullImageResponse) XXX_Size() int
- func (m *PullImageResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterImageService ¶
func RegisterImageService(srv *github_com_containerd_ttrpc.Server, svc ImageService)
Types ¶
type ImageService ¶
type ImageService interface {
PullImage(ctx context.Context, req *PullImageRequest) (*PullImageResponse, error)
}
func NewImageClient ¶
func NewImageClient(client *github_com_containerd_ttrpc.Client) ImageService
type PullImageRequest ¶
type PullImageRequest struct { // Image name (e.g. docker.io/library/busybox:latest). Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Unique image identifier, used to avoid duplication when unpacking the image layers. ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PullImageRequest) Descriptor ¶
func (*PullImageRequest) Descriptor() ([]byte, []int)
func (*PullImageRequest) Marshal ¶
func (m *PullImageRequest) Marshal() (dAtA []byte, err error)
func (*PullImageRequest) MarshalToSizedBuffer ¶
func (m *PullImageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PullImageRequest) ProtoMessage ¶
func (*PullImageRequest) ProtoMessage()
func (*PullImageRequest) Reset ¶
func (m *PullImageRequest) Reset()
func (*PullImageRequest) Size ¶
func (m *PullImageRequest) Size() (n int)
func (*PullImageRequest) String ¶
func (this *PullImageRequest) String() string
func (*PullImageRequest) Unmarshal ¶
func (m *PullImageRequest) Unmarshal(dAtA []byte) error
func (*PullImageRequest) XXX_DiscardUnknown ¶
func (m *PullImageRequest) XXX_DiscardUnknown()
func (*PullImageRequest) XXX_Marshal ¶
func (m *PullImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PullImageRequest) XXX_Merge ¶
func (m *PullImageRequest) XXX_Merge(src proto.Message)
func (*PullImageRequest) XXX_Size ¶
func (m *PullImageRequest) XXX_Size() int
func (*PullImageRequest) XXX_Unmarshal ¶
func (m *PullImageRequest) XXX_Unmarshal(b []byte) error
type PullImageResponse ¶
type PullImageResponse struct { // Reference to the image in use. For most runtimes, this should be an // image ID or digest. ImageRef string `protobuf:"bytes,1,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PullImageResponse) Descriptor ¶
func (*PullImageResponse) Descriptor() ([]byte, []int)
func (*PullImageResponse) Marshal ¶
func (m *PullImageResponse) Marshal() (dAtA []byte, err error)
func (*PullImageResponse) MarshalTo ¶
func (m *PullImageResponse) MarshalTo(dAtA []byte) (int, error)
func (*PullImageResponse) MarshalToSizedBuffer ¶
func (m *PullImageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PullImageResponse) ProtoMessage ¶
func (*PullImageResponse) ProtoMessage()
func (*PullImageResponse) Reset ¶
func (m *PullImageResponse) Reset()
func (*PullImageResponse) Size ¶
func (m *PullImageResponse) Size() (n int)
func (*PullImageResponse) String ¶
func (this *PullImageResponse) String() string
func (*PullImageResponse) Unmarshal ¶
func (m *PullImageResponse) Unmarshal(dAtA []byte) error
func (*PullImageResponse) XXX_DiscardUnknown ¶
func (m *PullImageResponse) XXX_DiscardUnknown()
func (*PullImageResponse) XXX_Marshal ¶
func (m *PullImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PullImageResponse) XXX_Merge ¶
func (m *PullImageResponse) XXX_Merge(src proto.Message)
func (*PullImageResponse) XXX_Size ¶
func (m *PullImageResponse) XXX_Size() int
func (*PullImageResponse) XXX_Unmarshal ¶
func (m *PullImageResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.