Documentation ¶
Index ¶
- Variables
- func RegisterContainersServer(s *grpc.Server, srv ContainersServer)
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetCommand() string
- func (x *Container) GetCpuTime() uint64
- func (x *Container) GetHealthcheck() *Healthcheck
- func (x *Container) GetHostConfig() *HostConfig
- func (x *Container) GetId() string
- func (x *Container) GetImage() string
- func (x *Container) GetLabels() []string
- func (x *Container) GetMemoryUsage() uint64
- func (x *Container) GetPidsCurrent() uint64
- func (x *Container) GetPidsLimit() uint64
- func (x *Container) GetPlatform() string
- func (x *Container) GetPorts() []*Port
- func (x *Container) GetStatus() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainersClient
- type ContainersServer
- type Containers_LogsClient
- type Containers_LogsServer
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetForce() bool
- func (x *DeleteRequest) GetId() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type DeleteResponse
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetArgs() []string
- func (x *ExecRequest) GetCommand() string
- func (x *ExecRequest) GetEnv() []string
- func (x *ExecRequest) GetId() string
- func (x *ExecRequest) GetStreamId() string
- func (x *ExecRequest) GetTty() bool
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecResponse
- type Healthcheck
- func (*Healthcheck) Descriptor() ([]byte, []int)deprecated
- func (x *Healthcheck) GetDisable() bool
- func (x *Healthcheck) GetInterval() int64
- func (x *Healthcheck) GetTest() []string
- func (*Healthcheck) ProtoMessage()
- func (x *Healthcheck) ProtoReflect() protoreflect.Message
- func (x *Healthcheck) Reset()
- func (x *Healthcheck) String() string
- type HostConfig
- func (*HostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HostConfig) GetAutoRemove() bool
- func (x *HostConfig) GetCpuLimit() uint64
- func (x *HostConfig) GetCpuReservation() uint64
- func (x *HostConfig) GetMemoryLimit() uint64
- func (x *HostConfig) GetMemoryReservation() uint64
- func (x *HostConfig) GetRestartPolicy() string
- func (*HostConfig) ProtoMessage()
- func (x *HostConfig) ProtoReflect() protoreflect.Message
- func (x *HostConfig) Reset()
- func (x *HostConfig) String() string
- type InspectRequest
- type InspectResponse
- type KillRequest
- type KillResponse
- type ListRequest
- type ListResponse
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogsRequest) GetContainerId() string
- func (x *LogsRequest) GetFollow() bool
- func (*LogsRequest) ProtoMessage()
- func (x *LogsRequest) ProtoReflect() protoreflect.Message
- func (x *LogsRequest) Reset()
- func (x *LogsRequest) String() string
- type LogsResponse
- type Port
- func (*Port) Descriptor() ([]byte, []int)deprecated
- func (x *Port) GetContainerPort() uint32
- func (x *Port) GetHostIp() string
- func (x *Port) GetHostPort() uint32
- func (x *Port) GetProtocol() string
- func (*Port) ProtoMessage()
- func (x *Port) ProtoReflect() protoreflect.Message
- func (x *Port) Reset()
- func (x *Port) String() string
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetAutoRemove() bool
- func (x *RunRequest) GetCommand() []string
- func (x *RunRequest) GetCpuLimit() uint64
- func (x *RunRequest) GetEnvironment() []string
- func (x *RunRequest) GetHealthcheck() *Healthcheck
- func (x *RunRequest) GetId() string
- func (x *RunRequest) GetImage() string
- func (x *RunRequest) GetLabels() map[string]string
- func (x *RunRequest) GetMemoryLimit() uint64
- func (x *RunRequest) GetPlatform() string
- func (x *RunRequest) GetPorts() []*Port
- func (x *RunRequest) GetRestartPolicyCondition() string
- func (x *RunRequest) GetVolumes() []string
- func (*RunRequest) ProtoMessage()
- func (x *RunRequest) ProtoReflect() protoreflect.Message
- func (x *RunRequest) Reset()
- func (x *RunRequest) String() string
- type RunResponse
- type StartRequest
- type StartResponse
- type StopRequest
- type StopResponse
- type UnimplementedContainersServer
- func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error)
- func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
- func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error)
- func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error
- func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error)
- func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error)
- func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_cli_server_protos_containers_v1_containers_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContainersServer ¶
func RegisterContainersServer(s *grpc.Server, srv ContainersServer)
Types ¶
type Container ¶
type Container struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` CpuTime uint64 `protobuf:"varint,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"` MemoryUsage uint64 `protobuf:"varint,6,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` PidsCurrent uint64 `protobuf:"varint,8,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"` PidsLimit uint64 `protobuf:"varint,9,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"` Labels []string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"` Ports []*Port `protobuf:"bytes,11,rep,name=ports,proto3" json:"ports,omitempty"` Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"` HostConfig *HostConfig `protobuf:"bytes,15,opt,name=host_config,json=hostConfig,proto3" json:"host_config,omitempty"` Healthcheck *Healthcheck `protobuf:"bytes,16,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetCommand ¶
func (*Container) GetCpuTime ¶
func (*Container) GetHealthcheck ¶
func (x *Container) GetHealthcheck() *Healthcheck
func (*Container) GetHostConfig ¶
func (x *Container) GetHostConfig() *HostConfig
func (*Container) GetMemoryUsage ¶
func (*Container) GetPidsCurrent ¶
func (*Container) GetPidsLimit ¶
func (*Container) GetPlatform ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContainersClient ¶
type ContainersClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) Inspect(ctx context.Context, in *InspectRequest, opts ...grpc.CallOption) (*InspectResponse, 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.ClientConnInterface) ContainersClient
type ContainersServer ¶
type ContainersServer interface { List(context.Context, *ListRequest) (*ListResponse, error) Start(context.Context, *StartRequest) (*StartResponse, error) Stop(context.Context, *StopRequest) (*StopResponse, error) Kill(context.Context, *KillRequest) (*KillResponse, error) Run(context.Context, *RunRequest) (*RunResponse, error) Exec(context.Context, *ExecRequest) (*ExecResponse, error) Logs(*LogsRequest, Containers_LogsServer) error Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) Inspect(context.Context, *InspectRequest) (*InspectResponse, error) }
ContainersServer is the server API for Containers service.
type Containers_LogsClient ¶
type Containers_LogsClient interface { Recv() (*LogsResponse, error) grpc.ClientStream }
type Containers_LogsServer ¶
type Containers_LogsServer interface { Send(*LogsResponse) error grpc.ServerStream }
type DeleteRequest ¶
type DeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetForce ¶
func (x *DeleteRequest) GetForce() bool
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type ExecRequest ¶
type ExecRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` StreamId string `protobuf:"bytes,3,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` Tty bool `protobuf:"varint,6,opt,name=tty,proto3" json:"tty,omitempty"` // contains filtered or unexported fields }
func (*ExecRequest) Descriptor
deprecated
func (*ExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
func (*ExecRequest) GetArgs ¶
func (x *ExecRequest) GetArgs() []string
func (*ExecRequest) GetCommand ¶
func (x *ExecRequest) GetCommand() string
func (*ExecRequest) GetEnv ¶
func (x *ExecRequest) GetEnv() []string
func (*ExecRequest) GetId ¶
func (x *ExecRequest) GetId() string
func (*ExecRequest) GetStreamId ¶
func (x *ExecRequest) GetStreamId() string
func (*ExecRequest) GetTty ¶
func (x *ExecRequest) GetTty() bool
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) ProtoReflect ¶
func (x *ExecRequest) ProtoReflect() protoreflect.Message
func (*ExecRequest) Reset ¶
func (x *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (x *ExecRequest) String() string
type ExecResponse ¶
type ExecResponse struct { Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
func (*ExecResponse) Descriptor
deprecated
func (*ExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
func (*ExecResponse) GetOutput ¶
func (x *ExecResponse) GetOutput() []byte
func (*ExecResponse) ProtoMessage ¶
func (*ExecResponse) ProtoMessage()
func (*ExecResponse) ProtoReflect ¶
func (x *ExecResponse) ProtoReflect() protoreflect.Message
func (*ExecResponse) Reset ¶
func (x *ExecResponse) Reset()
func (*ExecResponse) String ¶
func (x *ExecResponse) String() string
type Healthcheck ¶
type Healthcheck struct { Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"` Test []string `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"` Interval int64 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*Healthcheck) Descriptor
deprecated
func (*Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.
func (*Healthcheck) GetDisable ¶
func (x *Healthcheck) GetDisable() bool
func (*Healthcheck) GetInterval ¶
func (x *Healthcheck) GetInterval() int64
func (*Healthcheck) GetTest ¶
func (x *Healthcheck) GetTest() []string
func (*Healthcheck) ProtoMessage ¶
func (*Healthcheck) ProtoMessage()
func (*Healthcheck) ProtoReflect ¶
func (x *Healthcheck) ProtoReflect() protoreflect.Message
func (*Healthcheck) Reset ¶
func (x *Healthcheck) Reset()
func (*Healthcheck) String ¶
func (x *Healthcheck) String() string
type HostConfig ¶
type HostConfig struct { MemoryReservation uint64 `protobuf:"varint,1,opt,name=memory_reservation,json=memoryReservation,proto3" json:"memory_reservation,omitempty"` MemoryLimit uint64 `protobuf:"varint,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` CpuReservation uint64 `protobuf:"varint,3,opt,name=cpu_reservation,json=cpuReservation,proto3" json:"cpu_reservation,omitempty"` CpuLimit uint64 `protobuf:"varint,4,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"` RestartPolicy string `protobuf:"bytes,5,opt,name=restart_policy,json=restartPolicy,proto3" json:"restart_policy,omitempty"` AutoRemove bool `protobuf:"varint,6,opt,name=auto_remove,json=autoRemove,proto3" json:"auto_remove,omitempty"` // contains filtered or unexported fields }
func (*HostConfig) Descriptor
deprecated
func (*HostConfig) Descriptor() ([]byte, []int)
Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.
func (*HostConfig) GetAutoRemove ¶
func (x *HostConfig) GetAutoRemove() bool
func (*HostConfig) GetCpuLimit ¶
func (x *HostConfig) GetCpuLimit() uint64
func (*HostConfig) GetCpuReservation ¶
func (x *HostConfig) GetCpuReservation() uint64
func (*HostConfig) GetMemoryLimit ¶
func (x *HostConfig) GetMemoryLimit() uint64
func (*HostConfig) GetMemoryReservation ¶
func (x *HostConfig) GetMemoryReservation() uint64
func (*HostConfig) GetRestartPolicy ¶
func (x *HostConfig) GetRestartPolicy() string
func (*HostConfig) ProtoMessage ¶
func (*HostConfig) ProtoMessage()
func (*HostConfig) ProtoReflect ¶
func (x *HostConfig) ProtoReflect() protoreflect.Message
func (*HostConfig) Reset ¶
func (x *HostConfig) Reset()
func (*HostConfig) String ¶
func (x *HostConfig) String() string
type InspectRequest ¶
type InspectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*InspectRequest) Descriptor
deprecated
func (*InspectRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.
func (*InspectRequest) GetId ¶
func (x *InspectRequest) GetId() string
func (*InspectRequest) ProtoMessage ¶
func (*InspectRequest) ProtoMessage()
func (*InspectRequest) ProtoReflect ¶
func (x *InspectRequest) ProtoReflect() protoreflect.Message
func (*InspectRequest) Reset ¶
func (x *InspectRequest) Reset()
func (*InspectRequest) String ¶
func (x *InspectRequest) String() string
type InspectResponse ¶
type InspectResponse struct { Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*InspectResponse) Descriptor
deprecated
func (*InspectResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.
func (*InspectResponse) GetContainer ¶
func (x *InspectResponse) GetContainer() *Container
func (*InspectResponse) ProtoMessage ¶
func (*InspectResponse) ProtoMessage()
func (*InspectResponse) ProtoReflect ¶
func (x *InspectResponse) ProtoReflect() protoreflect.Message
func (*InspectResponse) Reset ¶
func (x *InspectResponse) Reset()
func (*InspectResponse) String ¶
func (x *InspectResponse) String() string
type KillRequest ¶
type KillRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` // contains filtered or unexported fields }
func (*KillRequest) Descriptor
deprecated
func (*KillRequest) Descriptor() ([]byte, []int)
Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
func (*KillRequest) GetId ¶
func (x *KillRequest) GetId() string
func (*KillRequest) GetSignal ¶
func (x *KillRequest) GetSignal() string
func (*KillRequest) ProtoMessage ¶
func (*KillRequest) ProtoMessage()
func (*KillRequest) ProtoReflect ¶
func (x *KillRequest) ProtoReflect() protoreflect.Message
func (*KillRequest) Reset ¶
func (x *KillRequest) Reset()
func (*KillRequest) String ¶
func (x *KillRequest) String() string
type KillResponse ¶
type KillResponse struct {
// contains filtered or unexported fields
}
func (*KillResponse) Descriptor
deprecated
func (*KillResponse) Descriptor() ([]byte, []int)
Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.
func (*KillResponse) ProtoMessage ¶
func (*KillResponse) ProtoMessage()
func (*KillResponse) ProtoReflect ¶
func (x *KillResponse) ProtoReflect() protoreflect.Message
func (*KillResponse) Reset ¶
func (x *KillResponse) Reset()
func (*KillResponse) String ¶
func (x *KillResponse) String() string
type ListRequest ¶
type ListRequest struct { All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetAll ¶
func (x *ListRequest) GetAll() bool
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetContainers ¶
func (x *ListResponse) GetContainers() []*Container
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type LogsRequest ¶
type LogsRequest struct { ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"` // contains filtered or unexported fields }
func (*LogsRequest) Descriptor
deprecated
func (*LogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) GetContainerId ¶
func (x *LogsRequest) GetContainerId() string
func (*LogsRequest) GetFollow ¶
func (x *LogsRequest) GetFollow() bool
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) ProtoReflect ¶
func (x *LogsRequest) ProtoReflect() protoreflect.Message
func (*LogsRequest) Reset ¶
func (x *LogsRequest) Reset()
func (*LogsRequest) String ¶
func (x *LogsRequest) String() string
type LogsResponse ¶
type LogsResponse struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LogsResponse) Descriptor
deprecated
func (*LogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogsResponse.ProtoReflect.Descriptor instead.
func (*LogsResponse) GetValue ¶
func (x *LogsResponse) GetValue() []byte
func (*LogsResponse) ProtoMessage ¶
func (*LogsResponse) ProtoMessage()
func (*LogsResponse) ProtoReflect ¶
func (x *LogsResponse) ProtoReflect() protoreflect.Message
func (*LogsResponse) Reset ¶
func (x *LogsResponse) Reset()
func (*LogsResponse) String ¶
func (x *LogsResponse) String() string
type Port ¶
type Port struct { HostPort uint32 `protobuf:"varint,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` ContainerPort uint32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // contains filtered or unexported fields }
func (*Port) Descriptor
deprecated
func (*Port) GetContainerPort ¶
func (*Port) GetHostPort ¶
func (*Port) GetProtocol ¶
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
func (*Port) ProtoReflect ¶
func (x *Port) ProtoReflect() protoreflect.Message
type RunRequest ¶
type RunRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Ports []*Port `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Volumes []string `protobuf:"bytes,5,rep,name=volumes,proto3" json:"volumes,omitempty"` MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` CpuLimit uint64 `protobuf:"varint,7,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"` RestartPolicyCondition string `` /* 129-byte string literal not displayed */ Command []string `protobuf:"bytes,9,rep,name=command,proto3" json:"command,omitempty"` Environment []string `protobuf:"bytes,10,rep,name=environment,proto3" json:"environment,omitempty"` AutoRemove bool `protobuf:"varint,11,opt,name=auto_remove,json=autoRemove,proto3" json:"auto_remove,omitempty"` Healthcheck *Healthcheck `protobuf:"bytes,12,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*RunRequest) Descriptor
deprecated
func (*RunRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
func (*RunRequest) GetAutoRemove ¶
func (x *RunRequest) GetAutoRemove() bool
func (*RunRequest) GetCommand ¶
func (x *RunRequest) GetCommand() []string
func (*RunRequest) GetCpuLimit ¶
func (x *RunRequest) GetCpuLimit() uint64
func (*RunRequest) GetEnvironment ¶
func (x *RunRequest) GetEnvironment() []string
func (*RunRequest) GetHealthcheck ¶
func (x *RunRequest) GetHealthcheck() *Healthcheck
func (*RunRequest) GetId ¶
func (x *RunRequest) GetId() string
func (*RunRequest) GetImage ¶
func (x *RunRequest) GetImage() string
func (*RunRequest) GetLabels ¶
func (x *RunRequest) GetLabels() map[string]string
func (*RunRequest) GetMemoryLimit ¶
func (x *RunRequest) GetMemoryLimit() uint64
func (*RunRequest) GetPlatform ¶
func (x *RunRequest) GetPlatform() string
func (*RunRequest) GetPorts ¶
func (x *RunRequest) GetPorts() []*Port
func (*RunRequest) GetRestartPolicyCondition ¶
func (x *RunRequest) GetRestartPolicyCondition() string
func (*RunRequest) GetVolumes ¶
func (x *RunRequest) GetVolumes() []string
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) ProtoReflect ¶
func (x *RunRequest) ProtoReflect() protoreflect.Message
func (*RunRequest) Reset ¶
func (x *RunRequest) Reset()
func (*RunRequest) String ¶
func (x *RunRequest) String() string
type RunResponse ¶
type RunResponse struct {
// contains filtered or unexported fields
}
func (*RunResponse) Descriptor
deprecated
func (*RunResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
func (*RunResponse) ProtoMessage ¶
func (*RunResponse) ProtoMessage()
func (*RunResponse) ProtoReflect ¶
func (x *RunResponse) ProtoReflect() protoreflect.Message
func (*RunResponse) Reset ¶
func (x *RunResponse) Reset()
func (*RunResponse) String ¶
func (x *RunResponse) String() string
type StartRequest ¶
type StartRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetId ¶
func (x *StartRequest) GetId() string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StartResponse ¶
type StartResponse struct {
// contains filtered or unexported fields
}
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type StopRequest ¶
type StopRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) GetId ¶
func (x *StopRequest) GetId() string
func (*StopRequest) GetTimeout ¶
func (x *StopRequest) GetTimeout() uint32
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct {
// contains filtered or unexported fields
}
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type UnimplementedContainersServer ¶
type UnimplementedContainersServer struct { }
UnimplementedContainersServer can be embedded to have forward compatible implementations.
func (*UnimplementedContainersServer) Delete ¶
func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedContainersServer) Exec ¶
func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error)
func (*UnimplementedContainersServer) Inspect ¶
func (*UnimplementedContainersServer) Inspect(context.Context, *InspectRequest) (*InspectResponse, error)
func (*UnimplementedContainersServer) Kill ¶
func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error)
func (*UnimplementedContainersServer) List ¶
func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (*UnimplementedContainersServer) Logs ¶
func (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error
func (*UnimplementedContainersServer) Run ¶
func (*UnimplementedContainersServer) Run(context.Context, *RunRequest) (*RunResponse, error)
func (*UnimplementedContainersServer) Start ¶
func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error)
func (*UnimplementedContainersServer) Stop ¶
func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*StopResponse, error)