Documentation ¶
Index ¶
- Variables
- func RegisterContainersServer(s *grpc.Server, srv ContainersServer)
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) Marshal() (dAtA []byte, err error)
- func (m *Container) MarshalTo(dAtA []byte) (int, error)
- func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) Size() (n int)
- func (this *Container) String() string
- func (m *Container) Unmarshal(dAtA []byte) error
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type Container_Runtime
- func (*Container_Runtime) Descriptor() ([]byte, []int)
- func (m *Container_Runtime) Marshal() (dAtA []byte, err error)
- func (m *Container_Runtime) MarshalTo(dAtA []byte) (int, error)
- func (m *Container_Runtime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Container_Runtime) ProtoMessage()
- func (m *Container_Runtime) Reset()
- func (m *Container_Runtime) Size() (n int)
- func (this *Container_Runtime) String() string
- func (m *Container_Runtime) Unmarshal(dAtA []byte) error
- func (m *Container_Runtime) XXX_DiscardUnknown()
- func (m *Container_Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container_Runtime) XXX_Merge(src proto.Message)
- func (m *Container_Runtime) XXX_Size() int
- func (m *Container_Runtime) XXX_Unmarshal(b []byte) error
- type ContainersClient
- type ContainersServer
- type Containers_ListStreamClient
- type Containers_ListStreamServer
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)
- func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateContainerRequest) ProtoMessage()
- func (m *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) Size() (n int)
- func (this *CreateContainerRequest) String() string
- func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error
- func (m *CreateContainerRequest) XXX_DiscardUnknown()
- func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateContainerRequest) XXX_Merge(src proto.Message)
- func (m *CreateContainerRequest) XXX_Size() int
- func (m *CreateContainerRequest) XXX_Unmarshal(b []byte) error
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)
- func (m *CreateContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateContainerResponse) ProtoMessage()
- func (m *CreateContainerResponse) Reset()
- func (m *CreateContainerResponse) Size() (n int)
- func (this *CreateContainerResponse) String() string
- func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error
- func (m *CreateContainerResponse) XXX_DiscardUnknown()
- func (m *CreateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateContainerResponse) XXX_Merge(src proto.Message)
- func (m *CreateContainerResponse) XXX_Size() int
- func (m *CreateContainerResponse) XXX_Unmarshal(b []byte) error
- type DeleteContainerRequest
- func (*DeleteContainerRequest) Descriptor() ([]byte, []int)
- func (m *DeleteContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteContainerRequest) ProtoMessage()
- func (m *DeleteContainerRequest) Reset()
- func (m *DeleteContainerRequest) Size() (n int)
- func (this *DeleteContainerRequest) String() string
- func (m *DeleteContainerRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteContainerRequest) XXX_DiscardUnknown()
- func (m *DeleteContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteContainerRequest) XXX_Merge(src proto.Message)
- func (m *DeleteContainerRequest) XXX_Size() int
- func (m *DeleteContainerRequest) XXX_Unmarshal(b []byte) error
- type GetContainerRequest
- func (*GetContainerRequest) Descriptor() ([]byte, []int)
- func (m *GetContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *GetContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetContainerRequest) ProtoMessage()
- func (m *GetContainerRequest) Reset()
- func (m *GetContainerRequest) Size() (n int)
- func (this *GetContainerRequest) String() string
- func (m *GetContainerRequest) Unmarshal(dAtA []byte) error
- func (m *GetContainerRequest) XXX_DiscardUnknown()
- func (m *GetContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerRequest) XXX_Merge(src proto.Message)
- func (m *GetContainerRequest) XXX_Size() int
- func (m *GetContainerRequest) XXX_Unmarshal(b []byte) error
- type GetContainerResponse
- func (*GetContainerResponse) Descriptor() ([]byte, []int)
- func (m *GetContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *GetContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetContainerResponse) ProtoMessage()
- func (m *GetContainerResponse) Reset()
- func (m *GetContainerResponse) Size() (n int)
- func (this *GetContainerResponse) String() string
- func (m *GetContainerResponse) Unmarshal(dAtA []byte) error
- func (m *GetContainerResponse) XXX_DiscardUnknown()
- func (m *GetContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerResponse) XXX_Merge(src proto.Message)
- func (m *GetContainerResponse) XXX_Size() int
- func (m *GetContainerResponse) XXX_Unmarshal(b []byte) error
- type ListContainerMessage
- func (*ListContainerMessage) Descriptor() ([]byte, []int)
- func (m *ListContainerMessage) Marshal() (dAtA []byte, err error)
- func (m *ListContainerMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *ListContainerMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListContainerMessage) ProtoMessage()
- func (m *ListContainerMessage) Reset()
- func (m *ListContainerMessage) Size() (n int)
- func (this *ListContainerMessage) String() string
- func (m *ListContainerMessage) Unmarshal(dAtA []byte) error
- func (m *ListContainerMessage) XXX_DiscardUnknown()
- func (m *ListContainerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListContainerMessage) XXX_Merge(src proto.Message)
- func (m *ListContainerMessage) XXX_Size() int
- func (m *ListContainerMessage) XXX_Unmarshal(b []byte) error
- type ListContainersRequest
- func (*ListContainersRequest) Descriptor() ([]byte, []int)
- func (m *ListContainersRequest) Marshal() (dAtA []byte, err error)
- func (m *ListContainersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListContainersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListContainersRequest) ProtoMessage()
- func (m *ListContainersRequest) Reset()
- func (m *ListContainersRequest) Size() (n int)
- func (this *ListContainersRequest) String() string
- func (m *ListContainersRequest) Unmarshal(dAtA []byte) error
- func (m *ListContainersRequest) XXX_DiscardUnknown()
- func (m *ListContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListContainersRequest) XXX_Merge(src proto.Message)
- func (m *ListContainersRequest) XXX_Size() int
- func (m *ListContainersRequest) XXX_Unmarshal(b []byte) error
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)
- func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
- func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListContainersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListContainersResponse) ProtoMessage()
- func (m *ListContainersResponse) Reset()
- func (m *ListContainersResponse) Size() (n int)
- func (this *ListContainersResponse) String() string
- func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
- func (m *ListContainersResponse) XXX_DiscardUnknown()
- func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListContainersResponse) XXX_Merge(src proto.Message)
- func (m *ListContainersResponse) XXX_Size() int
- func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedContainersServer
- func (*UnimplementedContainersServer) Create(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error)
- func (*UnimplementedContainersServer) Delete(ctx context.Context, req *DeleteContainerRequest) (*types.Empty, error)
- func (*UnimplementedContainersServer) Get(ctx context.Context, req *GetContainerRequest) (*GetContainerResponse, error)
- func (*UnimplementedContainersServer) List(ctx context.Context, req *ListContainersRequest) (*ListContainersResponse, error)
- func (*UnimplementedContainersServer) ListStream(req *ListContainersRequest, srv Containers_ListStreamServer) error
- func (*UnimplementedContainersServer) Update(ctx context.Context, req *UpdateContainerRequest) (*UpdateContainerResponse, error)
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateContainerRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateContainerRequest) ProtoMessage()
- func (m *UpdateContainerRequest) Reset()
- func (m *UpdateContainerRequest) Size() (n int)
- func (this *UpdateContainerRequest) String() string
- func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateContainerRequest) XXX_DiscardUnknown()
- func (m *UpdateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateContainerRequest) XXX_Merge(src proto.Message)
- func (m *UpdateContainerRequest) XXX_Size() int
- func (m *UpdateContainerRequest) XXX_Unmarshal(b []byte) error
- type UpdateContainerResponse
- func (*UpdateContainerResponse) Descriptor() ([]byte, []int)
- func (m *UpdateContainerResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateContainerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateContainerResponse) ProtoMessage()
- func (m *UpdateContainerResponse) Reset()
- func (m *UpdateContainerResponse) Size() (n int)
- func (this *UpdateContainerResponse) String() string
- func (m *UpdateContainerResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateContainerResponse) XXX_DiscardUnknown()
- func (m *UpdateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateContainerResponse) XXX_Merge(src proto.Message)
- func (m *UpdateContainerResponse) XXX_Size() int
- func (m *UpdateContainerResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterContainersServer ¶
func RegisterContainersServer(s *grpc.Server, srv ContainersServer)
Types ¶
type Container ¶
type Container struct { // ID is the user-specified identifier. // // This field may not be updated. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Labels provides an area to include arbitrary data on containers. // // The combined size of a key/value pair cannot exceed 4096 bytes. // // Note that to add a new value to this field, read the existing set and // include the entire result in the update call. Labels map[string]string `` /* 153-byte string literal not displayed */ // Image contains the reference of the image used to build the // specification and snapshots for running this container. // // If this field is updated, the spec and rootfs needed to updated, as well. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Runtime specifies which runtime to use for executing this container. Runtime *Container_Runtime `protobuf:"bytes,4,opt,name=runtime,proto3" json:"runtime,omitempty"` // Spec to be used when creating the container. This is runtime specific. Spec *types.Any `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` // Snapshotter specifies the snapshotter name used for rootfs Snapshotter string `protobuf:"bytes,6,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"` // SnapshotKey specifies the snapshot key to use for the container's root // filesystem. When starting a task from this container, a caller should // look up the mounts from the snapshot service and include those on the // task create request. // // Snapshots referenced in this field will not be garbage collected. // // This field is set to empty when the rootfs is not a snapshot. // // This field may be updated. SnapshotKey string `protobuf:"bytes,7,opt,name=snapshot_key,json=snapshotKey,proto3" json:"snapshot_key,omitempty"` // CreatedAt is the time the container was first created. CreatedAt time.Time `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` // UpdatedAt is the last time the container was mutated. UpdatedAt time.Time `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"` // Extensions allow clients to provide zero or more blobs that are directly // associated with the container. One may provide protobuf, json, or other // encoding formats. The primary use of this is to further decorate the // container object with fields that may be specific to a client integration. // // The key portion of this map should identify a "name" for the extension // that should be unique against other extensions. When updating extension // data, one should only update the specified extension using field paths // to select a specific map key. Extensions map[string]types.Any `` /* 152-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Container) Descriptor ¶
func (*Container) MarshalToSizedBuffer ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
type Container_Runtime ¶
type Container_Runtime struct { // Name is the name of the runtime. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Options specify additional runtime initialization options. Options *types.Any `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Container_Runtime) Descriptor ¶
func (*Container_Runtime) Descriptor() ([]byte, []int)
func (*Container_Runtime) Marshal ¶
func (m *Container_Runtime) Marshal() (dAtA []byte, err error)
func (*Container_Runtime) MarshalTo ¶
func (m *Container_Runtime) MarshalTo(dAtA []byte) (int, error)
func (*Container_Runtime) MarshalToSizedBuffer ¶
func (m *Container_Runtime) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Container_Runtime) ProtoMessage ¶
func (*Container_Runtime) ProtoMessage()
func (*Container_Runtime) Reset ¶
func (m *Container_Runtime) Reset()
func (*Container_Runtime) Size ¶
func (m *Container_Runtime) Size() (n int)
func (*Container_Runtime) String ¶
func (this *Container_Runtime) String() string
func (*Container_Runtime) Unmarshal ¶
func (m *Container_Runtime) Unmarshal(dAtA []byte) error
func (*Container_Runtime) XXX_DiscardUnknown ¶
func (m *Container_Runtime) XXX_DiscardUnknown()
func (*Container_Runtime) XXX_Marshal ¶
func (m *Container_Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Container_Runtime) XXX_Merge ¶
func (m *Container_Runtime) XXX_Merge(src proto.Message)
func (*Container_Runtime) XXX_Size ¶
func (m *Container_Runtime) XXX_Size() int
func (*Container_Runtime) XXX_Unmarshal ¶
func (m *Container_Runtime) XXX_Unmarshal(b []byte) error
type ContainersClient ¶
type ContainersClient interface { Get(ctx context.Context, in *GetContainerRequest, opts ...grpc.CallOption) (*GetContainerResponse, error) List(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (*ListContainersResponse, error) ListStream(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (Containers_ListStreamClient, error) Create(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) Update(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*UpdateContainerResponse, error) Delete(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*types.Empty, error) }
ContainersClient is the client API for Containers service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewContainersClient ¶
func NewContainersClient(cc *grpc.ClientConn) ContainersClient
type ContainersServer ¶
type ContainersServer interface { Get(context.Context, *GetContainerRequest) (*GetContainerResponse, error) List(context.Context, *ListContainersRequest) (*ListContainersResponse, error) ListStream(*ListContainersRequest, Containers_ListStreamServer) error Create(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) Update(context.Context, *UpdateContainerRequest) (*UpdateContainerResponse, error) Delete(context.Context, *DeleteContainerRequest) (*types.Empty, error) }
ContainersServer is the server API for Containers service.
type Containers_ListStreamClient ¶
type Containers_ListStreamClient interface { Recv() (*ListContainerMessage, error) grpc.ClientStream }
type Containers_ListStreamServer ¶
type Containers_ListStreamServer interface { Send(*ListContainerMessage) error grpc.ServerStream }
type CreateContainerRequest ¶
type CreateContainerRequest struct { Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateContainerRequest) Descriptor ¶
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
func (*CreateContainerRequest) Marshal ¶
func (m *CreateContainerRequest) Marshal() (dAtA []byte, err error)
func (*CreateContainerRequest) MarshalTo ¶
func (m *CreateContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateContainerRequest) MarshalToSizedBuffer ¶
func (m *CreateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) Reset ¶
func (m *CreateContainerRequest) Reset()
func (*CreateContainerRequest) Size ¶
func (m *CreateContainerRequest) Size() (n int)
func (*CreateContainerRequest) String ¶
func (this *CreateContainerRequest) String() string
func (*CreateContainerRequest) Unmarshal ¶
func (m *CreateContainerRequest) Unmarshal(dAtA []byte) error
func (*CreateContainerRequest) XXX_DiscardUnknown ¶
func (m *CreateContainerRequest) XXX_DiscardUnknown()
func (*CreateContainerRequest) XXX_Marshal ¶
func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateContainerRequest) XXX_Merge ¶
func (m *CreateContainerRequest) XXX_Merge(src proto.Message)
func (*CreateContainerRequest) XXX_Size ¶
func (m *CreateContainerRequest) XXX_Size() int
func (*CreateContainerRequest) XXX_Unmarshal ¶
func (m *CreateContainerRequest) XXX_Unmarshal(b []byte) error
type CreateContainerResponse ¶
type CreateContainerResponse struct { Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateContainerResponse) Descriptor ¶
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
func (*CreateContainerResponse) Marshal ¶
func (m *CreateContainerResponse) Marshal() (dAtA []byte, err error)
func (*CreateContainerResponse) MarshalTo ¶
func (m *CreateContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateContainerResponse) MarshalToSizedBuffer ¶
func (m *CreateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) Reset ¶
func (m *CreateContainerResponse) Reset()
func (*CreateContainerResponse) Size ¶
func (m *CreateContainerResponse) Size() (n int)
func (*CreateContainerResponse) String ¶
func (this *CreateContainerResponse) String() string
func (*CreateContainerResponse) Unmarshal ¶
func (m *CreateContainerResponse) Unmarshal(dAtA []byte) error
func (*CreateContainerResponse) XXX_DiscardUnknown ¶
func (m *CreateContainerResponse) XXX_DiscardUnknown()
func (*CreateContainerResponse) XXX_Marshal ¶
func (m *CreateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateContainerResponse) XXX_Merge ¶
func (m *CreateContainerResponse) XXX_Merge(src proto.Message)
func (*CreateContainerResponse) XXX_Size ¶
func (m *CreateContainerResponse) XXX_Size() int
func (*CreateContainerResponse) XXX_Unmarshal ¶
func (m *CreateContainerResponse) XXX_Unmarshal(b []byte) error
type DeleteContainerRequest ¶
type DeleteContainerRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteContainerRequest) Descriptor ¶
func (*DeleteContainerRequest) Descriptor() ([]byte, []int)
func (*DeleteContainerRequest) Marshal ¶
func (m *DeleteContainerRequest) Marshal() (dAtA []byte, err error)
func (*DeleteContainerRequest) MarshalTo ¶
func (m *DeleteContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteContainerRequest) MarshalToSizedBuffer ¶
func (m *DeleteContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteContainerRequest) ProtoMessage ¶
func (*DeleteContainerRequest) ProtoMessage()
func (*DeleteContainerRequest) Reset ¶
func (m *DeleteContainerRequest) Reset()
func (*DeleteContainerRequest) Size ¶
func (m *DeleteContainerRequest) Size() (n int)
func (*DeleteContainerRequest) String ¶
func (this *DeleteContainerRequest) String() string
func (*DeleteContainerRequest) Unmarshal ¶
func (m *DeleteContainerRequest) Unmarshal(dAtA []byte) error
func (*DeleteContainerRequest) XXX_DiscardUnknown ¶
func (m *DeleteContainerRequest) XXX_DiscardUnknown()
func (*DeleteContainerRequest) XXX_Marshal ¶
func (m *DeleteContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteContainerRequest) XXX_Merge ¶
func (m *DeleteContainerRequest) XXX_Merge(src proto.Message)
func (*DeleteContainerRequest) XXX_Size ¶
func (m *DeleteContainerRequest) XXX_Size() int
func (*DeleteContainerRequest) XXX_Unmarshal ¶
func (m *DeleteContainerRequest) XXX_Unmarshal(b []byte) error
type GetContainerRequest ¶
type GetContainerRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerRequest) Descriptor ¶
func (*GetContainerRequest) Descriptor() ([]byte, []int)
func (*GetContainerRequest) Marshal ¶
func (m *GetContainerRequest) Marshal() (dAtA []byte, err error)
func (*GetContainerRequest) MarshalTo ¶
func (m *GetContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetContainerRequest) MarshalToSizedBuffer ¶
func (m *GetContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetContainerRequest) ProtoMessage ¶
func (*GetContainerRequest) ProtoMessage()
func (*GetContainerRequest) Reset ¶
func (m *GetContainerRequest) Reset()
func (*GetContainerRequest) Size ¶
func (m *GetContainerRequest) Size() (n int)
func (*GetContainerRequest) String ¶
func (this *GetContainerRequest) String() string
func (*GetContainerRequest) Unmarshal ¶
func (m *GetContainerRequest) Unmarshal(dAtA []byte) error
func (*GetContainerRequest) XXX_DiscardUnknown ¶
func (m *GetContainerRequest) XXX_DiscardUnknown()
func (*GetContainerRequest) XXX_Marshal ¶
func (m *GetContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerRequest) XXX_Merge ¶
func (m *GetContainerRequest) XXX_Merge(src proto.Message)
func (*GetContainerRequest) XXX_Size ¶
func (m *GetContainerRequest) XXX_Size() int
func (*GetContainerRequest) XXX_Unmarshal ¶
func (m *GetContainerRequest) XXX_Unmarshal(b []byte) error
type GetContainerResponse ¶
type GetContainerResponse struct { Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerResponse) Descriptor ¶
func (*GetContainerResponse) Descriptor() ([]byte, []int)
func (*GetContainerResponse) Marshal ¶
func (m *GetContainerResponse) Marshal() (dAtA []byte, err error)
func (*GetContainerResponse) MarshalTo ¶
func (m *GetContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetContainerResponse) MarshalToSizedBuffer ¶
func (m *GetContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetContainerResponse) ProtoMessage ¶
func (*GetContainerResponse) ProtoMessage()
func (*GetContainerResponse) Reset ¶
func (m *GetContainerResponse) Reset()
func (*GetContainerResponse) Size ¶
func (m *GetContainerResponse) Size() (n int)
func (*GetContainerResponse) String ¶
func (this *GetContainerResponse) String() string
func (*GetContainerResponse) Unmarshal ¶
func (m *GetContainerResponse) Unmarshal(dAtA []byte) error
func (*GetContainerResponse) XXX_DiscardUnknown ¶
func (m *GetContainerResponse) XXX_DiscardUnknown()
func (*GetContainerResponse) XXX_Marshal ¶
func (m *GetContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerResponse) XXX_Merge ¶
func (m *GetContainerResponse) XXX_Merge(src proto.Message)
func (*GetContainerResponse) XXX_Size ¶
func (m *GetContainerResponse) XXX_Size() int
func (*GetContainerResponse) XXX_Unmarshal ¶
func (m *GetContainerResponse) XXX_Unmarshal(b []byte) error
type ListContainerMessage ¶
type ListContainerMessage struct { Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListContainerMessage) Descriptor ¶
func (*ListContainerMessage) Descriptor() ([]byte, []int)
func (*ListContainerMessage) Marshal ¶
func (m *ListContainerMessage) Marshal() (dAtA []byte, err error)
func (*ListContainerMessage) MarshalTo ¶
func (m *ListContainerMessage) MarshalTo(dAtA []byte) (int, error)
func (*ListContainerMessage) MarshalToSizedBuffer ¶
func (m *ListContainerMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListContainerMessage) ProtoMessage ¶
func (*ListContainerMessage) ProtoMessage()
func (*ListContainerMessage) Reset ¶
func (m *ListContainerMessage) Reset()
func (*ListContainerMessage) Size ¶
func (m *ListContainerMessage) Size() (n int)
func (*ListContainerMessage) String ¶
func (this *ListContainerMessage) String() string
func (*ListContainerMessage) Unmarshal ¶
func (m *ListContainerMessage) Unmarshal(dAtA []byte) error
func (*ListContainerMessage) XXX_DiscardUnknown ¶
func (m *ListContainerMessage) XXX_DiscardUnknown()
func (*ListContainerMessage) XXX_Marshal ¶
func (m *ListContainerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListContainerMessage) XXX_Merge ¶
func (m *ListContainerMessage) XXX_Merge(src proto.Message)
func (*ListContainerMessage) XXX_Size ¶
func (m *ListContainerMessage) XXX_Size() int
func (*ListContainerMessage) XXX_Unmarshal ¶
func (m *ListContainerMessage) XXX_Unmarshal(b []byte) error
type ListContainersRequest ¶
type ListContainersRequest struct { // Filters contains one or more filters using the syntax defined in the // containerd filter package. // // The returned result will be those that match any of the provided // filters. Expanded, containers that match the following will be // returned: // // filters[0] or filters[1] or ... or filters[n-1] or filters[n] // // If filters is zero-length or nil, all items will be returned. Filters []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListContainersRequest) Descriptor ¶
func (*ListContainersRequest) Descriptor() ([]byte, []int)
func (*ListContainersRequest) Marshal ¶
func (m *ListContainersRequest) Marshal() (dAtA []byte, err error)
func (*ListContainersRequest) MarshalTo ¶
func (m *ListContainersRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListContainersRequest) MarshalToSizedBuffer ¶
func (m *ListContainersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) Reset ¶
func (m *ListContainersRequest) Reset()
func (*ListContainersRequest) Size ¶
func (m *ListContainersRequest) Size() (n int)
func (*ListContainersRequest) String ¶
func (this *ListContainersRequest) String() string
func (*ListContainersRequest) Unmarshal ¶
func (m *ListContainersRequest) Unmarshal(dAtA []byte) error
func (*ListContainersRequest) XXX_DiscardUnknown ¶
func (m *ListContainersRequest) XXX_DiscardUnknown()
func (*ListContainersRequest) XXX_Marshal ¶
func (m *ListContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListContainersRequest) XXX_Merge ¶
func (m *ListContainersRequest) XXX_Merge(src proto.Message)
func (*ListContainersRequest) XXX_Size ¶
func (m *ListContainersRequest) XXX_Size() int
func (*ListContainersRequest) XXX_Unmarshal ¶
func (m *ListContainersRequest) XXX_Unmarshal(b []byte) error
type ListContainersResponse ¶
type ListContainersResponse struct { Containers []Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListContainersResponse) Descriptor ¶
func (*ListContainersResponse) Descriptor() ([]byte, []int)
func (*ListContainersResponse) Marshal ¶
func (m *ListContainersResponse) Marshal() (dAtA []byte, err error)
func (*ListContainersResponse) MarshalTo ¶
func (m *ListContainersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListContainersResponse) MarshalToSizedBuffer ¶
func (m *ListContainersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) Reset ¶
func (m *ListContainersResponse) Reset()
func (*ListContainersResponse) Size ¶
func (m *ListContainersResponse) Size() (n int)
func (*ListContainersResponse) String ¶
func (this *ListContainersResponse) String() string
func (*ListContainersResponse) Unmarshal ¶
func (m *ListContainersResponse) Unmarshal(dAtA []byte) error
func (*ListContainersResponse) XXX_DiscardUnknown ¶
func (m *ListContainersResponse) XXX_DiscardUnknown()
func (*ListContainersResponse) XXX_Marshal ¶
func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListContainersResponse) XXX_Merge ¶
func (m *ListContainersResponse) XXX_Merge(src proto.Message)
func (*ListContainersResponse) XXX_Size ¶
func (m *ListContainersResponse) XXX_Size() int
func (*ListContainersResponse) XXX_Unmarshal ¶
func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error
type UnimplementedContainersServer ¶
type UnimplementedContainersServer struct { }
UnimplementedContainersServer can be embedded to have forward compatible implementations.
func (*UnimplementedContainersServer) Create ¶
func (*UnimplementedContainersServer) Create(ctx context.Context, req *CreateContainerRequest) (*CreateContainerResponse, error)
func (*UnimplementedContainersServer) Delete ¶
func (*UnimplementedContainersServer) Delete(ctx context.Context, req *DeleteContainerRequest) (*types.Empty, error)
func (*UnimplementedContainersServer) Get ¶
func (*UnimplementedContainersServer) Get(ctx context.Context, req *GetContainerRequest) (*GetContainerResponse, error)
func (*UnimplementedContainersServer) List ¶
func (*UnimplementedContainersServer) List(ctx context.Context, req *ListContainersRequest) (*ListContainersResponse, error)
func (*UnimplementedContainersServer) ListStream ¶
func (*UnimplementedContainersServer) ListStream(req *ListContainersRequest, srv Containers_ListStreamServer) error
func (*UnimplementedContainersServer) Update ¶
func (*UnimplementedContainersServer) Update(ctx context.Context, req *UpdateContainerRequest) (*UpdateContainerResponse, error)
type UpdateContainerRequest ¶
type UpdateContainerRequest struct { // Container provides the target values, as declared by the mask, for the update. // // The ID field must be set. Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"` // UpdateMask specifies which fields to perform the update on. If empty, // the operation applies to all fields. UpdateMask *types.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateContainerRequest updates the metadata on one or more container.
The operation should follow semantics described in https://developers.google.com/protocol-buffers/docs/reference/csharp/class/google/protobuf/well-known-types/field-mask, unless otherwise qualified.
func (*UpdateContainerRequest) Descriptor ¶
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
func (*UpdateContainerRequest) Marshal ¶
func (m *UpdateContainerRequest) Marshal() (dAtA []byte, err error)
func (*UpdateContainerRequest) MarshalTo ¶
func (m *UpdateContainerRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateContainerRequest) MarshalToSizedBuffer ¶
func (m *UpdateContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) Reset ¶
func (m *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) Size ¶
func (m *UpdateContainerRequest) Size() (n int)
func (*UpdateContainerRequest) String ¶
func (this *UpdateContainerRequest) String() string
func (*UpdateContainerRequest) Unmarshal ¶
func (m *UpdateContainerRequest) Unmarshal(dAtA []byte) error
func (*UpdateContainerRequest) XXX_DiscardUnknown ¶
func (m *UpdateContainerRequest) XXX_DiscardUnknown()
func (*UpdateContainerRequest) XXX_Marshal ¶
func (m *UpdateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateContainerRequest) XXX_Merge ¶
func (m *UpdateContainerRequest) XXX_Merge(src proto.Message)
func (*UpdateContainerRequest) XXX_Size ¶
func (m *UpdateContainerRequest) XXX_Size() int
func (*UpdateContainerRequest) XXX_Unmarshal ¶
func (m *UpdateContainerRequest) XXX_Unmarshal(b []byte) error
type UpdateContainerResponse ¶
type UpdateContainerResponse struct { Container Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateContainerResponse) Descriptor ¶
func (*UpdateContainerResponse) Descriptor() ([]byte, []int)
func (*UpdateContainerResponse) Marshal ¶
func (m *UpdateContainerResponse) Marshal() (dAtA []byte, err error)
func (*UpdateContainerResponse) MarshalTo ¶
func (m *UpdateContainerResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateContainerResponse) MarshalToSizedBuffer ¶
func (m *UpdateContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateContainerResponse) ProtoMessage ¶
func (*UpdateContainerResponse) ProtoMessage()
func (*UpdateContainerResponse) Reset ¶
func (m *UpdateContainerResponse) Reset()
func (*UpdateContainerResponse) Size ¶
func (m *UpdateContainerResponse) Size() (n int)
func (*UpdateContainerResponse) String ¶
func (this *UpdateContainerResponse) String() string
func (*UpdateContainerResponse) Unmarshal ¶
func (m *UpdateContainerResponse) Unmarshal(dAtA []byte) error
func (*UpdateContainerResponse) XXX_DiscardUnknown ¶
func (m *UpdateContainerResponse) XXX_DiscardUnknown()
func (*UpdateContainerResponse) XXX_Marshal ¶
func (m *UpdateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateContainerResponse) XXX_Merge ¶
func (m *UpdateContainerResponse) XXX_Merge(src proto.Message)
func (*UpdateContainerResponse) XXX_Size ¶
func (m *UpdateContainerResponse) XXX_Size() int
func (*UpdateContainerResponse) XXX_Unmarshal ¶
func (m *UpdateContainerResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.