Documentation ¶
Overview ¶
Package containers provides definition of the Containers gRPC service
Index ¶
- Constants
- Variables
- func RegisterContainersServer(s grpc.ServiceRegistrar, srv ContainersServer)
- type AttachContainerRequest
- func (*AttachContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachContainerRequest) GetDataToWrite() []byte
- func (x *AttachContainerRequest) GetFinishWrite() bool
- func (x *AttachContainerRequest) GetId() string
- func (x *AttachContainerRequest) GetReadLimit() int64
- func (x *AttachContainerRequest) GetReadOffset() int64
- func (x *AttachContainerRequest) GetStdIn() bool
- func (x *AttachContainerRequest) GetWriteOffset() int64
- func (*AttachContainerRequest) ProtoMessage()
- func (x *AttachContainerRequest) ProtoReflect() protoreflect.Message
- func (x *AttachContainerRequest) Reset()
- func (x *AttachContainerRequest) String() string
- type AttachContainerResponse
- func (*AttachContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachContainerResponse) GetId() string
- func (x *AttachContainerResponse) GetReadData() []byte
- func (x *AttachContainerResponse) GetStdIn() bool
- func (x *AttachContainerResponse) GetWriteCommittedSize() int64
- func (*AttachContainerResponse) ProtoMessage()
- func (x *AttachContainerResponse) ProtoReflect() protoreflect.Message
- func (x *AttachContainerResponse) Reset()
- func (x *AttachContainerResponse) String() string
- type ContainersClient
- type ContainersServer
- type Containers_AttachClient
- type Containers_AttachServer
- type Containers_ListStreamClient
- type Containers_ListStreamServer
- type Containers_LogsClient
- type Containers_LogsServer
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetContainer() *containers.Container
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (x *CreateContainerRequest) String() string
- type CreateContainerResponse
- func (*CreateContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerResponse) GetContainer() *containers.Container
- func (*CreateContainerResponse) ProtoMessage()
- func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateContainerResponse) Reset()
- func (x *CreateContainerResponse) String() string
- type GetContainerRequest
- func (*GetContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContainerRequest) GetId() string
- func (*GetContainerRequest) ProtoMessage()
- func (x *GetContainerRequest) ProtoReflect() protoreflect.Message
- func (x *GetContainerRequest) Reset()
- func (x *GetContainerRequest) String() string
- type GetContainerResponse
- func (*GetContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetContainerResponse) GetContainer() *containers.Container
- func (*GetContainerResponse) ProtoMessage()
- func (x *GetContainerResponse) ProtoReflect() protoreflect.Message
- func (x *GetContainerResponse) Reset()
- func (x *GetContainerResponse) String() string
- type GetLogsRequest
- func (*GetLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsRequest) GetId() string
- func (x *GetLogsRequest) GetTail() int32
- func (*GetLogsRequest) ProtoMessage()
- func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogsRequest) Reset()
- func (x *GetLogsRequest) String() string
- type GetLogsResponse
- type ListContainerMessage
- func (*ListContainerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerMessage) GetContainer() *containers.Container
- func (*ListContainerMessage) ProtoMessage()
- func (x *ListContainerMessage) ProtoReflect() protoreflect.Message
- func (x *ListContainerMessage) Reset()
- func (x *ListContainerMessage) String() string
- type ListContainersRequest
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersResponse) GetContainers() []*containers.Container
- func (*ListContainersResponse) ProtoMessage()
- func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainersResponse) Reset()
- func (x *ListContainersResponse) String() string
- type PauseContainerRequest
- func (*PauseContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PauseContainerRequest) GetId() string
- func (*PauseContainerRequest) ProtoMessage()
- func (x *PauseContainerRequest) ProtoReflect() protoreflect.Message
- func (x *PauseContainerRequest) Reset()
- func (x *PauseContainerRequest) String() string
- type RemoveContainerRequest
- func (*RemoveContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerRequest) GetForce() bool
- func (x *RemoveContainerRequest) GetId() string
- func (x *RemoveContainerRequest) GetStopOptions() *containers.StopOptions
- func (*RemoveContainerRequest) ProtoMessage()
- func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerRequest) Reset()
- func (x *RemoveContainerRequest) String() string
- type RenameContainerRequest
- func (*RenameContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameContainerRequest) GetId() string
- func (x *RenameContainerRequest) GetName() string
- func (*RenameContainerRequest) ProtoMessage()
- func (x *RenameContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RenameContainerRequest) Reset()
- func (x *RenameContainerRequest) String() string
- type RestartContainerRequest
- func (*RestartContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartContainerRequest) GetId() string
- func (*RestartContainerRequest) ProtoMessage()
- func (x *RestartContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RestartContainerRequest) Reset()
- func (x *RestartContainerRequest) String() string
- type StartContainerRequest
- func (*StartContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartContainerRequest) GetId() string
- func (*StartContainerRequest) ProtoMessage()
- func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StartContainerRequest) Reset()
- func (x *StartContainerRequest) String() string
- type StopContainerRequest
- func (*StopContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerRequest) GetId() string
- func (x *StopContainerRequest) GetStopOptions() *containers.StopOptions
- func (*StopContainerRequest) ProtoMessage()
- func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StopContainerRequest) Reset()
- func (x *StopContainerRequest) String() string
- type UnimplementedContainersServer
- func (UnimplementedContainersServer) Attach(Containers_AttachServer) error
- func (UnimplementedContainersServer) Create(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
- func (UnimplementedContainersServer) Get(context.Context, *GetContainerRequest) (*GetContainerResponse, error)
- func (UnimplementedContainersServer) List(context.Context, *ListContainersRequest) (*ListContainersResponse, error)
- func (UnimplementedContainersServer) ListStream(*ListContainersRequest, Containers_ListStreamServer) error
- func (UnimplementedContainersServer) Logs(*GetLogsRequest, Containers_LogsServer) error
- func (UnimplementedContainersServer) Pause(context.Context, *PauseContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Remove(context.Context, *RemoveContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Rename(context.Context, *RenameContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Restart(context.Context, *RestartContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Start(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Stop(context.Context, *StopContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Unpause(context.Context, *UnpauseContainerRequest) (*emptypb.Empty, error)
- func (UnimplementedContainersServer) Update(context.Context, *UpdateContainerRequest) (*emptypb.Empty, error)
- type UnpauseContainerRequest
- func (*UnpauseContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnpauseContainerRequest) GetId() string
- func (*UnpauseContainerRequest) ProtoMessage()
- func (x *UnpauseContainerRequest) ProtoReflect() protoreflect.Message
- func (x *UnpauseContainerRequest) Reset()
- func (x *UnpauseContainerRequest) String() string
- type UnsafeContainersServer
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerRequest) GetId() string
- func (x *UpdateContainerRequest) GetUpdateOptions() *containers.UpdateOptions
- func (*UpdateContainerRequest) ProtoMessage()
- func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerRequest) Reset()
- func (x *UpdateContainerRequest) String() string
Constants ¶
const ( Containers_Create_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Create" Containers_Get_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Get" Containers_List_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/List" Containers_ListStream_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/ListStream" Containers_Start_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Start" Containers_Attach_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Attach" Containers_Stop_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Stop" Containers_Update_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Update" Containers_Restart_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Restart" Containers_Pause_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Pause" Containers_Unpause_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Unpause" Containers_Rename_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Rename" Containers_Remove_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Remove" Containers_Logs_FullMethodName = "/github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers/Logs" )
Variables ¶
var Containers_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.eclipse_kanto.container_management.containerm.api.services.containers.Containers", HandlerType: (*ContainersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Containers_Create_Handler, }, { MethodName: "Get", Handler: _Containers_Get_Handler, }, { MethodName: "List", Handler: _Containers_List_Handler, }, { MethodName: "Start", Handler: _Containers_Start_Handler, }, { MethodName: "Stop", Handler: _Containers_Stop_Handler, }, { MethodName: "Update", Handler: _Containers_Update_Handler, }, { MethodName: "Restart", Handler: _Containers_Restart_Handler, }, { MethodName: "Pause", Handler: _Containers_Pause_Handler, }, { MethodName: "Unpause", Handler: _Containers_Unpause_Handler, }, { MethodName: "Rename", Handler: _Containers_Rename_Handler, }, { MethodName: "Remove", Handler: _Containers_Remove_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListStream", Handler: _Containers_ListStream_Handler, ServerStreams: true, }, { StreamName: "Attach", Handler: _Containers_Attach_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Logs", Handler: _Containers_Logs_Handler, ServerStreams: true, }, }, Metadata: "api/services/containers/containers.proto", }
Containers_ServiceDesc is the grpc.ServiceDesc for Containers service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_services_containers_containers_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContainersServer ¶
func RegisterContainersServer(s grpc.ServiceRegistrar, srv ContainersServer)
Types ¶
type AttachContainerRequest ¶
type AttachContainerRequest struct { // The id of the container to attach to Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Whether the connection should be interactive - i.e. user input is allowed StdIn bool `protobuf:"varint,2,opt,name=std_in,json=stdIn,proto3" json:"std_in,omitempty"` // The offset from the beginning of the resource at which the data should be // written. It is required on all `WriteRequest`s. // // In the first `WriteRequest` of a `Write()` action, it indicates // the initial offset for the `Write()` call. The value **must** be equal to // the `committed_size` that a call to `QueryWriteStatus()` would return. // // On subsequent calls, this value **must** be set and **must** be equal to // the sum of the first `write_offset` and the sizes of all `data` bundles // sent previously on this stream. // // An incorrect value will cause an error. WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"` // If `true`, this indicates that the write is complete. Sending any // `WriteRequest`s subsequent to one in which `finish_write` is `true` will // cause an error. FinishWrite bool `protobuf:"varint,4,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"` // A portion of the data for the resource. The client **may** leave `data` // empty for any given `WriteRequest`. This enables the client to inform the // service that the request is still live while it is running an operation to // generate more data. DataToWrite []byte `protobuf:"bytes,10,opt,name=data_to_write,json=dataToWrite,proto3" json:"data_to_write,omitempty"` // The offset for the first byte to return in the read, relative to the start // of the resource. // // A `read_offset` that is negative or greater than the size of the resource // will cause an `OUT_OF_RANGE` error. ReadOffset int64 `protobuf:"varint,5,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` // The maximum number of `data` bytes the server is allowed to return in the // sum of all `ReadResponse` messages. A `read_limit` of zero indicates that // there is no limit, and a negative `read_limit` will cause an error. // // If the stream returns fewer bytes than allowed by the `read_limit` and no // error occurred, the stream includes all data from the `read_offset` to the // end of the resource. ReadLimit int64 `protobuf:"varint,6,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` // contains filtered or unexported fields }
func (*AttachContainerRequest) Descriptor
deprecated
func (*AttachContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachContainerRequest.ProtoReflect.Descriptor instead.
func (*AttachContainerRequest) GetDataToWrite ¶
func (x *AttachContainerRequest) GetDataToWrite() []byte
func (*AttachContainerRequest) GetFinishWrite ¶
func (x *AttachContainerRequest) GetFinishWrite() bool
func (*AttachContainerRequest) GetId ¶
func (x *AttachContainerRequest) GetId() string
func (*AttachContainerRequest) GetReadLimit ¶
func (x *AttachContainerRequest) GetReadLimit() int64
func (*AttachContainerRequest) GetReadOffset ¶
func (x *AttachContainerRequest) GetReadOffset() int64
func (*AttachContainerRequest) GetStdIn ¶
func (x *AttachContainerRequest) GetStdIn() bool
func (*AttachContainerRequest) GetWriteOffset ¶
func (x *AttachContainerRequest) GetWriteOffset() int64
func (*AttachContainerRequest) ProtoMessage ¶
func (*AttachContainerRequest) ProtoMessage()
func (*AttachContainerRequest) ProtoReflect ¶
func (x *AttachContainerRequest) ProtoReflect() protoreflect.Message
func (*AttachContainerRequest) Reset ¶
func (x *AttachContainerRequest) Reset()
func (*AttachContainerRequest) String ¶
func (x *AttachContainerRequest) String() string
type AttachContainerResponse ¶
type AttachContainerResponse struct { // The id of the container to attach to Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Whether the connection should be interactive - i.e. user input is allowed StdIn bool `protobuf:"varint,2,opt,name=std_in,json=stdIn,proto3" json:"std_in,omitempty"` // The number of bytes that have been processed for the given resource. WriteCommittedSize int64 `protobuf:"varint,3,opt,name=write_committed_size,json=writeCommittedSize,proto3" json:"write_committed_size,omitempty"` // A portion of the data for the resource. The service **may** leave `data` // empty for any given `ReadResponse`. This enables the service to inform the // client that the request is still live while it is running an operation to // generate more data. ReadData []byte `protobuf:"bytes,10,opt,name=read_data,json=readData,proto3" json:"read_data,omitempty"` // contains filtered or unexported fields }
func (*AttachContainerResponse) Descriptor
deprecated
func (*AttachContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachContainerResponse.ProtoReflect.Descriptor instead.
func (*AttachContainerResponse) GetId ¶
func (x *AttachContainerResponse) GetId() string
func (*AttachContainerResponse) GetReadData ¶
func (x *AttachContainerResponse) GetReadData() []byte
func (*AttachContainerResponse) GetStdIn ¶
func (x *AttachContainerResponse) GetStdIn() bool
func (*AttachContainerResponse) GetWriteCommittedSize ¶
func (x *AttachContainerResponse) GetWriteCommittedSize() int64
func (*AttachContainerResponse) ProtoMessage ¶
func (*AttachContainerResponse) ProtoMessage()
func (*AttachContainerResponse) ProtoReflect ¶
func (x *AttachContainerResponse) ProtoReflect() protoreflect.Message
func (*AttachContainerResponse) Reset ¶
func (x *AttachContainerResponse) Reset()
func (*AttachContainerResponse) String ¶
func (x *AttachContainerResponse) String() string
type ContainersClient ¶
type ContainersClient interface { Create(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) 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) Start(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Attach(ctx context.Context, opts ...grpc.CallOption) (Containers_AttachClient, error) Stop(ctx context.Context, in *StopContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Update(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Restart(ctx context.Context, in *RestartContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Pause(ctx context.Context, in *PauseContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Unpause(ctx context.Context, in *UnpauseContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Rename(ctx context.Context, in *RenameContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Remove(ctx context.Context, in *RemoveContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Logs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) }
ContainersClient is the client API for Containers service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewContainersClient ¶
func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient
type ContainersServer ¶
type ContainersServer interface { Create(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) Get(context.Context, *GetContainerRequest) (*GetContainerResponse, error) List(context.Context, *ListContainersRequest) (*ListContainersResponse, error) ListStream(*ListContainersRequest, Containers_ListStreamServer) error Start(context.Context, *StartContainerRequest) (*emptypb.Empty, error) Attach(Containers_AttachServer) error Stop(context.Context, *StopContainerRequest) (*emptypb.Empty, error) Update(context.Context, *UpdateContainerRequest) (*emptypb.Empty, error) Restart(context.Context, *RestartContainerRequest) (*emptypb.Empty, error) Pause(context.Context, *PauseContainerRequest) (*emptypb.Empty, error) Unpause(context.Context, *UnpauseContainerRequest) (*emptypb.Empty, error) Rename(context.Context, *RenameContainerRequest) (*emptypb.Empty, error) Remove(context.Context, *RemoveContainerRequest) (*emptypb.Empty, error) Logs(*GetLogsRequest, Containers_LogsServer) error }
ContainersServer is the server API for Containers service. All implementations should embed UnimplementedContainersServer for forward compatibility
type Containers_AttachClient ¶
type Containers_AttachClient interface { Send(*AttachContainerRequest) error Recv() (*AttachContainerResponse, error) grpc.ClientStream }
type Containers_AttachServer ¶
type Containers_AttachServer interface { Send(*AttachContainerResponse) error Recv() (*AttachContainerRequest, error) grpc.ServerStream }
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 Containers_LogsClient ¶
type Containers_LogsClient interface { Recv() (*GetLogsResponse, error) grpc.ClientStream }
type Containers_LogsServer ¶
type Containers_LogsServer interface { Send(*GetLogsResponse) error grpc.ServerStream }
type CreateContainerRequest ¶
type CreateContainerRequest struct { Container *containers.Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetContainer ¶
func (x *CreateContainerRequest) GetContainer() *containers.Container
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
type CreateContainerResponse ¶
type CreateContainerResponse struct { Container *containers.Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerResponse) Descriptor
deprecated
func (*CreateContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerResponse.ProtoReflect.Descriptor instead.
func (*CreateContainerResponse) GetContainer ¶
func (x *CreateContainerResponse) GetContainer() *containers.Container
func (*CreateContainerResponse) ProtoMessage ¶
func (*CreateContainerResponse) ProtoMessage()
func (*CreateContainerResponse) ProtoReflect ¶
func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message
func (*CreateContainerResponse) Reset ¶
func (x *CreateContainerResponse) Reset()
func (*CreateContainerResponse) String ¶
func (x *CreateContainerResponse) String() string
type GetContainerRequest ¶
type GetContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetContainerRequest) Descriptor
deprecated
func (*GetContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContainerRequest.ProtoReflect.Descriptor instead.
func (*GetContainerRequest) GetId ¶
func (x *GetContainerRequest) GetId() string
func (*GetContainerRequest) ProtoMessage ¶
func (*GetContainerRequest) ProtoMessage()
func (*GetContainerRequest) ProtoReflect ¶
func (x *GetContainerRequest) ProtoReflect() protoreflect.Message
func (*GetContainerRequest) Reset ¶
func (x *GetContainerRequest) Reset()
func (*GetContainerRequest) String ¶
func (x *GetContainerRequest) String() string
type GetContainerResponse ¶
type GetContainerResponse struct { Container *containers.Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*GetContainerResponse) Descriptor
deprecated
func (*GetContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetContainerResponse.ProtoReflect.Descriptor instead.
func (*GetContainerResponse) GetContainer ¶
func (x *GetContainerResponse) GetContainer() *containers.Container
func (*GetContainerResponse) ProtoMessage ¶
func (*GetContainerResponse) ProtoMessage()
func (*GetContainerResponse) ProtoReflect ¶
func (x *GetContainerResponse) ProtoReflect() protoreflect.Message
func (*GetContainerResponse) Reset ¶
func (x *GetContainerResponse) Reset()
func (*GetContainerResponse) String ¶
func (x *GetContainerResponse) String() string
type GetLogsRequest ¶
type GetLogsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tail int32 `protobuf:"varint,2,opt,name=tail,proto3" json:"tail,omitempty"` // contains filtered or unexported fields }
func (*GetLogsRequest) Descriptor
deprecated
func (*GetLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsRequest.ProtoReflect.Descriptor instead.
func (*GetLogsRequest) GetId ¶
func (x *GetLogsRequest) GetId() string
func (*GetLogsRequest) GetTail ¶
func (x *GetLogsRequest) GetTail() int32
func (*GetLogsRequest) ProtoMessage ¶
func (*GetLogsRequest) ProtoMessage()
func (*GetLogsRequest) ProtoReflect ¶
func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
func (*GetLogsRequest) Reset ¶
func (x *GetLogsRequest) Reset()
func (*GetLogsRequest) String ¶
func (x *GetLogsRequest) String() string
type GetLogsResponse ¶
type GetLogsResponse struct { Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*GetLogsResponse) Descriptor
deprecated
func (*GetLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsResponse.ProtoReflect.Descriptor instead.
func (*GetLogsResponse) GetLog ¶
func (x *GetLogsResponse) GetLog() string
func (*GetLogsResponse) ProtoMessage ¶
func (*GetLogsResponse) ProtoMessage()
func (*GetLogsResponse) ProtoReflect ¶
func (x *GetLogsResponse) ProtoReflect() protoreflect.Message
func (*GetLogsResponse) Reset ¶
func (x *GetLogsResponse) Reset()
func (*GetLogsResponse) String ¶
func (x *GetLogsResponse) String() string
type ListContainerMessage ¶
type ListContainerMessage struct { Container *containers.Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*ListContainerMessage) Descriptor
deprecated
func (*ListContainerMessage) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerMessage.ProtoReflect.Descriptor instead.
func (*ListContainerMessage) GetContainer ¶
func (x *ListContainerMessage) GetContainer() *containers.Container
func (*ListContainerMessage) ProtoMessage ¶
func (*ListContainerMessage) ProtoMessage()
func (*ListContainerMessage) ProtoReflect ¶
func (x *ListContainerMessage) ProtoReflect() protoreflect.Message
func (*ListContainerMessage) Reset ¶
func (x *ListContainerMessage) Reset()
func (*ListContainerMessage) String ¶
func (x *ListContainerMessage) String() string
type ListContainersRequest ¶
type ListContainersRequest struct {
// contains filtered or unexported fields
}
func (*ListContainersRequest) Descriptor
deprecated
func (*ListContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersRequest.ProtoReflect.Descriptor instead.
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) ProtoReflect ¶
func (x *ListContainersRequest) ProtoReflect() protoreflect.Message
func (*ListContainersRequest) Reset ¶
func (x *ListContainersRequest) Reset()
func (*ListContainersRequest) String ¶
func (x *ListContainersRequest) String() string
type ListContainersResponse ¶
type ListContainersResponse struct { Containers []*containers.Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
func (*ListContainersResponse) Descriptor
deprecated
func (*ListContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersResponse.ProtoReflect.Descriptor instead.
func (*ListContainersResponse) GetContainers ¶
func (x *ListContainersResponse) GetContainers() []*containers.Container
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) ProtoReflect ¶
func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
func (*ListContainersResponse) Reset ¶
func (x *ListContainersResponse) Reset()
func (*ListContainersResponse) String ¶
func (x *ListContainersResponse) String() string
type PauseContainerRequest ¶
type PauseContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PauseContainerRequest) Descriptor
deprecated
func (*PauseContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseContainerRequest.ProtoReflect.Descriptor instead.
func (*PauseContainerRequest) GetId ¶
func (x *PauseContainerRequest) GetId() string
func (*PauseContainerRequest) ProtoMessage ¶
func (*PauseContainerRequest) ProtoMessage()
func (*PauseContainerRequest) ProtoReflect ¶
func (x *PauseContainerRequest) ProtoReflect() protoreflect.Message
func (*PauseContainerRequest) Reset ¶
func (x *PauseContainerRequest) Reset()
func (*PauseContainerRequest) String ¶
func (x *PauseContainerRequest) String() string
type RemoveContainerRequest ¶
type RemoveContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Whether the container should be removed disregarding its current state. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` StopOptions *containers.StopOptions `protobuf:"bytes,3,opt,name=stopOptions,proto3" json:"stopOptions,omitempty"` // contains filtered or unexported fields }
func (*RemoveContainerRequest) Descriptor
deprecated
func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.
func (*RemoveContainerRequest) GetForce ¶
func (x *RemoveContainerRequest) GetForce() bool
func (*RemoveContainerRequest) GetId ¶
func (x *RemoveContainerRequest) GetId() string
func (*RemoveContainerRequest) GetStopOptions ¶
func (x *RemoveContainerRequest) GetStopOptions() *containers.StopOptions
func (*RemoveContainerRequest) ProtoMessage ¶
func (*RemoveContainerRequest) ProtoMessage()
func (*RemoveContainerRequest) ProtoReflect ¶
func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
func (*RemoveContainerRequest) Reset ¶
func (x *RemoveContainerRequest) Reset()
func (*RemoveContainerRequest) String ¶
func (x *RemoveContainerRequest) String() string
type RenameContainerRequest ¶
type RenameContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RenameContainerRequest) Descriptor
deprecated
func (*RenameContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameContainerRequest.ProtoReflect.Descriptor instead.
func (*RenameContainerRequest) GetId ¶
func (x *RenameContainerRequest) GetId() string
func (*RenameContainerRequest) GetName ¶
func (x *RenameContainerRequest) GetName() string
func (*RenameContainerRequest) ProtoMessage ¶
func (*RenameContainerRequest) ProtoMessage()
func (*RenameContainerRequest) ProtoReflect ¶
func (x *RenameContainerRequest) ProtoReflect() protoreflect.Message
func (*RenameContainerRequest) Reset ¶
func (x *RenameContainerRequest) Reset()
func (*RenameContainerRequest) String ¶
func (x *RenameContainerRequest) String() string
type RestartContainerRequest ¶
type RestartContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RestartContainerRequest) Descriptor
deprecated
func (*RestartContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartContainerRequest.ProtoReflect.Descriptor instead.
func (*RestartContainerRequest) GetId ¶
func (x *RestartContainerRequest) GetId() string
func (*RestartContainerRequest) ProtoMessage ¶
func (*RestartContainerRequest) ProtoMessage()
func (*RestartContainerRequest) ProtoReflect ¶
func (x *RestartContainerRequest) ProtoReflect() protoreflect.Message
func (*RestartContainerRequest) Reset ¶
func (x *RestartContainerRequest) Reset()
func (*RestartContainerRequest) String ¶
func (x *RestartContainerRequest) String() string
type StartContainerRequest ¶
type StartContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StartContainerRequest) Descriptor
deprecated
func (*StartContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartContainerRequest.ProtoReflect.Descriptor instead.
func (*StartContainerRequest) GetId ¶
func (x *StartContainerRequest) GetId() string
func (*StartContainerRequest) ProtoMessage ¶
func (*StartContainerRequest) ProtoMessage()
func (*StartContainerRequest) ProtoReflect ¶
func (x *StartContainerRequest) ProtoReflect() protoreflect.Message
func (*StartContainerRequest) Reset ¶
func (x *StartContainerRequest) Reset()
func (*StartContainerRequest) String ¶
func (x *StartContainerRequest) String() string
type StopContainerRequest ¶
type StopContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` StopOptions *containers.StopOptions `protobuf:"bytes,2,opt,name=stopOptions,proto3" json:"stopOptions,omitempty"` // contains filtered or unexported fields }
func (*StopContainerRequest) Descriptor
deprecated
func (*StopContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
func (*StopContainerRequest) GetId ¶
func (x *StopContainerRequest) GetId() string
func (*StopContainerRequest) GetStopOptions ¶
func (x *StopContainerRequest) GetStopOptions() *containers.StopOptions
func (*StopContainerRequest) ProtoMessage ¶
func (*StopContainerRequest) ProtoMessage()
func (*StopContainerRequest) ProtoReflect ¶
func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
func (*StopContainerRequest) Reset ¶
func (x *StopContainerRequest) Reset()
func (*StopContainerRequest) String ¶
func (x *StopContainerRequest) String() string
type UnimplementedContainersServer ¶
type UnimplementedContainersServer struct { }
UnimplementedContainersServer should be embedded to have forward compatible implementations.
func (UnimplementedContainersServer) Attach ¶
func (UnimplementedContainersServer) Attach(Containers_AttachServer) error
func (UnimplementedContainersServer) Create ¶
func (UnimplementedContainersServer) Create(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error)
func (UnimplementedContainersServer) Get ¶
func (UnimplementedContainersServer) Get(context.Context, *GetContainerRequest) (*GetContainerResponse, error)
func (UnimplementedContainersServer) List ¶
func (UnimplementedContainersServer) List(context.Context, *ListContainersRequest) (*ListContainersResponse, error)
func (UnimplementedContainersServer) ListStream ¶
func (UnimplementedContainersServer) ListStream(*ListContainersRequest, Containers_ListStreamServer) error
func (UnimplementedContainersServer) Logs ¶
func (UnimplementedContainersServer) Logs(*GetLogsRequest, Containers_LogsServer) error
func (UnimplementedContainersServer) Pause ¶
func (UnimplementedContainersServer) Pause(context.Context, *PauseContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Remove ¶
func (UnimplementedContainersServer) Remove(context.Context, *RemoveContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Rename ¶
func (UnimplementedContainersServer) Rename(context.Context, *RenameContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Restart ¶
func (UnimplementedContainersServer) Restart(context.Context, *RestartContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Start ¶
func (UnimplementedContainersServer) Start(context.Context, *StartContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Stop ¶
func (UnimplementedContainersServer) Stop(context.Context, *StopContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Unpause ¶
func (UnimplementedContainersServer) Unpause(context.Context, *UnpauseContainerRequest) (*emptypb.Empty, error)
func (UnimplementedContainersServer) Update ¶
func (UnimplementedContainersServer) Update(context.Context, *UpdateContainerRequest) (*emptypb.Empty, error)
type UnpauseContainerRequest ¶
type UnpauseContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UnpauseContainerRequest) Descriptor
deprecated
func (*UnpauseContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnpauseContainerRequest.ProtoReflect.Descriptor instead.
func (*UnpauseContainerRequest) GetId ¶
func (x *UnpauseContainerRequest) GetId() string
func (*UnpauseContainerRequest) ProtoMessage ¶
func (*UnpauseContainerRequest) ProtoMessage()
func (*UnpauseContainerRequest) ProtoReflect ¶
func (x *UnpauseContainerRequest) ProtoReflect() protoreflect.Message
func (*UnpauseContainerRequest) Reset ¶
func (x *UnpauseContainerRequest) Reset()
func (*UnpauseContainerRequest) String ¶
func (x *UnpauseContainerRequest) String() string
type UnsafeContainersServer ¶
type UnsafeContainersServer interface {
// contains filtered or unexported methods
}
UnsafeContainersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainersServer will result in compilation errors.
type UpdateContainerRequest ¶
type UpdateContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UpdateOptions *containers.UpdateOptions `protobuf:"bytes,2,opt,name=updateOptions,proto3" json:"updateOptions,omitempty"` // contains filtered or unexported fields }
func (*UpdateContainerRequest) Descriptor
deprecated
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.
func (*UpdateContainerRequest) GetId ¶
func (x *UpdateContainerRequest) GetId() string
func (*UpdateContainerRequest) GetUpdateOptions ¶
func (x *UpdateContainerRequest) GetUpdateOptions() *containers.UpdateOptions
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) ProtoReflect ¶
func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
func (*UpdateContainerRequest) Reset ¶
func (x *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) String ¶
func (x *UpdateContainerRequest) String() string