containers

package
v1.6.16 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 372

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthContainers        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContainers          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContainers = fmt.Errorf("proto: unexpected end of group")
)

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) Descriptor() ([]byte, []int)

func (*Container) Marshal

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

func (*Container) MarshalTo

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

func (*Container) MarshalToSizedBuffer added in v1.4.0

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) Size

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

func (*Container) String

func (this *Container) String() string

func (*Container) Unmarshal

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

func (*Container) XXX_DiscardUnknown added in v1.3.0

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal added in v1.3.0

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge added in v1.3.0

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size added in v1.3.0

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal added in v1.3.0

func (m *Container) XXX_Unmarshal(b []byte) error

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 added in v1.4.0

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 added in v1.3.0

func (m *Container_Runtime) XXX_DiscardUnknown()

func (*Container_Runtime) XXX_Marshal added in v1.3.0

func (m *Container_Runtime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container_Runtime) XXX_Merge added in v1.3.0

func (m *Container_Runtime) XXX_Merge(src proto.Message)

func (*Container_Runtime) XXX_Size added in v1.3.0

func (m *Container_Runtime) XXX_Size() int

func (*Container_Runtime) XXX_Unmarshal added in v1.3.0

func (m *Container_Runtime) XXX_Unmarshal(b []byte) error

type ContainersClient

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 Containers_ListStreamClient added in v1.2.0

type Containers_ListStreamClient interface {
	Recv() (*ListContainerMessage, error)
	grpc.ClientStream
}

type Containers_ListStreamServer added in v1.2.0

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 added in v1.4.0

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 added in v1.3.0

func (m *CreateContainerRequest) XXX_DiscardUnknown()

func (*CreateContainerRequest) XXX_Marshal added in v1.3.0

func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContainerRequest) XXX_Merge added in v1.3.0

func (m *CreateContainerRequest) XXX_Merge(src proto.Message)

func (*CreateContainerRequest) XXX_Size added in v1.3.0

func (m *CreateContainerRequest) XXX_Size() int

func (*CreateContainerRequest) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *CreateContainerResponse) XXX_DiscardUnknown()

func (*CreateContainerResponse) XXX_Marshal added in v1.3.0

func (m *CreateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContainerResponse) XXX_Merge added in v1.3.0

func (m *CreateContainerResponse) XXX_Merge(src proto.Message)

func (*CreateContainerResponse) XXX_Size added in v1.3.0

func (m *CreateContainerResponse) XXX_Size() int

func (*CreateContainerResponse) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *DeleteContainerRequest) XXX_DiscardUnknown()

func (*DeleteContainerRequest) XXX_Marshal added in v1.3.0

func (m *DeleteContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteContainerRequest) XXX_Merge added in v1.3.0

func (m *DeleteContainerRequest) XXX_Merge(src proto.Message)

func (*DeleteContainerRequest) XXX_Size added in v1.3.0

func (m *DeleteContainerRequest) XXX_Size() int

func (*DeleteContainerRequest) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *GetContainerRequest) XXX_DiscardUnknown()

func (*GetContainerRequest) XXX_Marshal added in v1.3.0

func (m *GetContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetContainerRequest) XXX_Merge added in v1.3.0

func (m *GetContainerRequest) XXX_Merge(src proto.Message)

func (*GetContainerRequest) XXX_Size added in v1.3.0

func (m *GetContainerRequest) XXX_Size() int

func (*GetContainerRequest) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *GetContainerResponse) XXX_DiscardUnknown()

func (*GetContainerResponse) XXX_Marshal added in v1.3.0

func (m *GetContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetContainerResponse) XXX_Merge added in v1.3.0

func (m *GetContainerResponse) XXX_Merge(src proto.Message)

func (*GetContainerResponse) XXX_Size added in v1.3.0

func (m *GetContainerResponse) XXX_Size() int

func (*GetContainerResponse) XXX_Unmarshal added in v1.3.0

func (m *GetContainerResponse) XXX_Unmarshal(b []byte) error

type ListContainerMessage added in v1.2.0

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 added in v1.2.0

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

func (*ListContainerMessage) Marshal added in v1.2.0

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

func (*ListContainerMessage) MarshalTo added in v1.2.0

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

func (*ListContainerMessage) MarshalToSizedBuffer added in v1.4.0

func (m *ListContainerMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListContainerMessage) ProtoMessage added in v1.2.0

func (*ListContainerMessage) ProtoMessage()

func (*ListContainerMessage) Reset added in v1.2.0

func (m *ListContainerMessage) Reset()

func (*ListContainerMessage) Size added in v1.2.0

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

func (*ListContainerMessage) String added in v1.2.0

func (this *ListContainerMessage) String() string

func (*ListContainerMessage) Unmarshal added in v1.2.0

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

func (*ListContainerMessage) XXX_DiscardUnknown added in v1.3.0

func (m *ListContainerMessage) XXX_DiscardUnknown()

func (*ListContainerMessage) XXX_Marshal added in v1.3.0

func (m *ListContainerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainerMessage) XXX_Merge added in v1.3.0

func (m *ListContainerMessage) XXX_Merge(src proto.Message)

func (*ListContainerMessage) XXX_Size added in v1.3.0

func (m *ListContainerMessage) XXX_Size() int

func (*ListContainerMessage) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *ListContainersRequest) XXX_DiscardUnknown()

func (*ListContainersRequest) XXX_Marshal added in v1.3.0

func (m *ListContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainersRequest) XXX_Merge added in v1.3.0

func (m *ListContainersRequest) XXX_Merge(src proto.Message)

func (*ListContainersRequest) XXX_Size added in v1.3.0

func (m *ListContainersRequest) XXX_Size() int

func (*ListContainersRequest) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *ListContainersResponse) XXX_DiscardUnknown()

func (*ListContainersResponse) XXX_Marshal added in v1.3.0

func (m *ListContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListContainersResponse) XXX_Merge added in v1.3.0

func (m *ListContainersResponse) XXX_Merge(src proto.Message)

func (*ListContainersResponse) XXX_Size added in v1.3.0

func (m *ListContainersResponse) XXX_Size() int

func (*ListContainersResponse) XXX_Unmarshal added in v1.3.0

func (m *ListContainersResponse) XXX_Unmarshal(b []byte) error

type UnimplementedContainersServer added in v1.4.0

type UnimplementedContainersServer struct {
}

UnimplementedContainersServer can be embedded to have forward compatible implementations.

func (*UnimplementedContainersServer) Create added in v1.4.0

func (*UnimplementedContainersServer) Delete added in v1.4.0

func (*UnimplementedContainersServer) Get added in v1.4.0

func (*UnimplementedContainersServer) List added in v1.4.0

func (*UnimplementedContainersServer) ListStream added in v1.4.0

func (*UnimplementedContainersServer) Update added in v1.4.0

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 added in v1.4.0

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 added in v1.3.0

func (m *UpdateContainerRequest) XXX_DiscardUnknown()

func (*UpdateContainerRequest) XXX_Marshal added in v1.3.0

func (m *UpdateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateContainerRequest) XXX_Merge added in v1.3.0

func (m *UpdateContainerRequest) XXX_Merge(src proto.Message)

func (*UpdateContainerRequest) XXX_Size added in v1.3.0

func (m *UpdateContainerRequest) XXX_Size() int

func (*UpdateContainerRequest) XXX_Unmarshal added in v1.3.0

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 added in v1.4.0

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 added in v1.3.0

func (m *UpdateContainerResponse) XXX_DiscardUnknown()

func (*UpdateContainerResponse) XXX_Marshal added in v1.3.0

func (m *UpdateContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateContainerResponse) XXX_Merge added in v1.3.0

func (m *UpdateContainerResponse) XXX_Merge(src proto.Message)

func (*UpdateContainerResponse) XXX_Size added in v1.3.0

func (m *UpdateContainerResponse) XXX_Size() int

func (*UpdateContainerResponse) XXX_Unmarshal added in v1.3.0

func (m *UpdateContainerResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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