Documentation ¶
Index ¶
- Variables
- func RegisterControllerServer(s grpc.ServiceRegistrar, srv ControllerServer)
- func RegisterStoreServer(s grpc.ServiceRegistrar, srv StoreServer)
- type ControllerClient
- type ControllerCreateRequest
- func (*ControllerCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerCreateRequest) GetNetnsPath() string
- func (x *ControllerCreateRequest) GetOptions() *anypb.Any
- func (x *ControllerCreateRequest) GetRootfs() []*types.Mount
- func (x *ControllerCreateRequest) GetSandboxID() string
- func (*ControllerCreateRequest) ProtoMessage()
- func (x *ControllerCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerCreateRequest) Reset()
- func (x *ControllerCreateRequest) String() string
- type ControllerCreateResponse
- func (*ControllerCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerCreateResponse) GetSandboxID() string
- func (*ControllerCreateResponse) ProtoMessage()
- func (x *ControllerCreateResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerCreateResponse) Reset()
- func (x *ControllerCreateResponse) String() string
- type ControllerPlatformRequest
- func (*ControllerPlatformRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerPlatformRequest) GetSandboxID() string
- func (*ControllerPlatformRequest) ProtoMessage()
- func (x *ControllerPlatformRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerPlatformRequest) Reset()
- func (x *ControllerPlatformRequest) String() string
- type ControllerPlatformResponse
- func (*ControllerPlatformResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerPlatformResponse) GetPlatform() *types.Platform
- func (*ControllerPlatformResponse) ProtoMessage()
- func (x *ControllerPlatformResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerPlatformResponse) Reset()
- func (x *ControllerPlatformResponse) String() string
- type ControllerServer
- type ControllerShutdownRequest
- func (*ControllerShutdownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerShutdownRequest) GetSandboxID() string
- func (*ControllerShutdownRequest) ProtoMessage()
- func (x *ControllerShutdownRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerShutdownRequest) Reset()
- func (x *ControllerShutdownRequest) String() string
- type ControllerShutdownResponse
- type ControllerStartRequest
- func (*ControllerStartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerStartRequest) GetSandboxID() string
- func (*ControllerStartRequest) ProtoMessage()
- func (x *ControllerStartRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerStartRequest) Reset()
- func (x *ControllerStartRequest) String() string
- type ControllerStartResponse
- func (*ControllerStartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerStartResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *ControllerStartResponse) GetLabels() map[string]string
- func (x *ControllerStartResponse) GetPid() uint32
- func (x *ControllerStartResponse) GetSandboxID() string
- func (*ControllerStartResponse) ProtoMessage()
- func (x *ControllerStartResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerStartResponse) Reset()
- func (x *ControllerStartResponse) String() string
- type ControllerStatusRequest
- func (*ControllerStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerStatusRequest) GetSandboxID() string
- func (x *ControllerStatusRequest) GetVerbose() bool
- func (*ControllerStatusRequest) ProtoMessage()
- func (x *ControllerStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerStatusRequest) Reset()
- func (x *ControllerStatusRequest) String() string
- type ControllerStatusResponse
- func (*ControllerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerStatusResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *ControllerStatusResponse) GetExitedAt() *timestamppb.Timestamp
- func (x *ControllerStatusResponse) GetExtra() *anypb.Any
- func (x *ControllerStatusResponse) GetInfo() map[string]string
- func (x *ControllerStatusResponse) GetPid() uint32
- func (x *ControllerStatusResponse) GetSandboxID() string
- func (x *ControllerStatusResponse) GetState() string
- func (*ControllerStatusResponse) ProtoMessage()
- func (x *ControllerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerStatusResponse) Reset()
- func (x *ControllerStatusResponse) String() string
- type ControllerStopRequest
- func (*ControllerStopRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerStopRequest) GetSandboxID() string
- func (x *ControllerStopRequest) GetTimeoutSecs() uint32
- func (*ControllerStopRequest) ProtoMessage()
- func (x *ControllerStopRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerStopRequest) Reset()
- func (x *ControllerStopRequest) String() string
- type ControllerStopResponse
- type ControllerWaitRequest
- func (*ControllerWaitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerWaitRequest) GetSandboxID() string
- func (*ControllerWaitRequest) ProtoMessage()
- func (x *ControllerWaitRequest) ProtoReflect() protoreflect.Message
- func (x *ControllerWaitRequest) Reset()
- func (x *ControllerWaitRequest) String() string
- type ControllerWaitResponse
- func (*ControllerWaitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ControllerWaitResponse) GetExitStatus() uint32
- func (x *ControllerWaitResponse) GetExitedAt() *timestamppb.Timestamp
- func (*ControllerWaitResponse) ProtoMessage()
- func (x *ControllerWaitResponse) ProtoReflect() protoreflect.Message
- func (x *ControllerWaitResponse) Reset()
- func (x *ControllerWaitResponse) String() string
- type StoreClient
- type StoreCreateRequest
- func (*StoreCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreCreateRequest) GetSandbox() *types.Sandbox
- func (*StoreCreateRequest) ProtoMessage()
- func (x *StoreCreateRequest) ProtoReflect() protoreflect.Message
- func (x *StoreCreateRequest) Reset()
- func (x *StoreCreateRequest) String() string
- type StoreCreateResponse
- func (*StoreCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreCreateResponse) GetSandbox() *types.Sandbox
- func (*StoreCreateResponse) ProtoMessage()
- func (x *StoreCreateResponse) ProtoReflect() protoreflect.Message
- func (x *StoreCreateResponse) Reset()
- func (x *StoreCreateResponse) String() string
- type StoreDeleteRequest
- func (*StoreDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreDeleteRequest) GetSandboxID() string
- func (*StoreDeleteRequest) ProtoMessage()
- func (x *StoreDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *StoreDeleteRequest) Reset()
- func (x *StoreDeleteRequest) String() string
- type StoreDeleteResponse
- type StoreGetRequest
- type StoreGetResponse
- type StoreListRequest
- type StoreListResponse
- func (*StoreListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreListResponse) GetList() []*types.Sandbox
- func (*StoreListResponse) ProtoMessage()
- func (x *StoreListResponse) ProtoReflect() protoreflect.Message
- func (x *StoreListResponse) Reset()
- func (x *StoreListResponse) String() string
- type StoreServer
- type StoreUpdateRequest
- func (*StoreUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreUpdateRequest) GetFields() []string
- func (x *StoreUpdateRequest) GetSandbox() *types.Sandbox
- func (*StoreUpdateRequest) ProtoMessage()
- func (x *StoreUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *StoreUpdateRequest) Reset()
- func (x *StoreUpdateRequest) String() string
- type StoreUpdateResponse
- func (*StoreUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StoreUpdateResponse) GetSandbox() *types.Sandbox
- func (*StoreUpdateResponse) ProtoMessage()
- func (x *StoreUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *StoreUpdateResponse) Reset()
- func (x *StoreUpdateResponse) String() string
- type UnimplementedControllerServer
- func (UnimplementedControllerServer) Create(context.Context, *ControllerCreateRequest) (*ControllerCreateResponse, error)
- func (UnimplementedControllerServer) Platform(context.Context, *ControllerPlatformRequest) (*ControllerPlatformResponse, error)
- func (UnimplementedControllerServer) Shutdown(context.Context, *ControllerShutdownRequest) (*ControllerShutdownResponse, error)
- func (UnimplementedControllerServer) Start(context.Context, *ControllerStartRequest) (*ControllerStartResponse, error)
- func (UnimplementedControllerServer) Status(context.Context, *ControllerStatusRequest) (*ControllerStatusResponse, error)
- func (UnimplementedControllerServer) Stop(context.Context, *ControllerStopRequest) (*ControllerStopResponse, error)
- func (UnimplementedControllerServer) Wait(context.Context, *ControllerWaitRequest) (*ControllerWaitResponse, error)
- type UnimplementedStoreServer
- func (UnimplementedStoreServer) Create(context.Context, *StoreCreateRequest) (*StoreCreateResponse, error)
- func (UnimplementedStoreServer) Delete(context.Context, *StoreDeleteRequest) (*StoreDeleteResponse, error)
- func (UnimplementedStoreServer) Get(context.Context, *StoreGetRequest) (*StoreGetResponse, error)
- func (UnimplementedStoreServer) List(context.Context, *StoreListRequest) (*StoreListResponse, error)
- func (UnimplementedStoreServer) Update(context.Context, *StoreUpdateRequest) (*StoreUpdateResponse, error)
- type UnsafeControllerServer
- type UnsafeStoreServer
Constants ¶
This section is empty.
Variables ¶
var Controller_ServiceDesc = grpc.ServiceDesc{ ServiceName: "containerd.services.sandbox.v1.Controller", HandlerType: (*ControllerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Controller_Create_Handler, }, { MethodName: "Start", Handler: _Controller_Start_Handler, }, { MethodName: "Platform", Handler: _Controller_Platform_Handler, }, { MethodName: "Stop", Handler: _Controller_Stop_Handler, }, { MethodName: "Wait", Handler: _Controller_Wait_Handler, }, { MethodName: "Status", Handler: _Controller_Status_Handler, }, { MethodName: "Shutdown", Handler: _Controller_Shutdown_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/containerd/containerd/api/services/sandbox/v1/sandbox.proto", }
Controller_ServiceDesc is the grpc.ServiceDesc for Controller service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_containerd_containerd_api_services_sandbox_v1_sandbox_proto protoreflect.FileDescriptor
var Store_ServiceDesc = grpc.ServiceDesc{ ServiceName: "containerd.services.sandbox.v1.Store", HandlerType: (*StoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Store_Create_Handler, }, { MethodName: "Update", Handler: _Store_Update_Handler, }, { MethodName: "Delete", Handler: _Store_Delete_Handler, }, { MethodName: "List", Handler: _Store_List_Handler, }, { MethodName: "Get", Handler: _Store_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/containerd/containerd/api/services/sandbox/v1/sandbox.proto", }
Store_ServiceDesc is the grpc.ServiceDesc for Store service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterControllerServer ¶
func RegisterControllerServer(s grpc.ServiceRegistrar, srv ControllerServer)
func RegisterStoreServer ¶
func RegisterStoreServer(s grpc.ServiceRegistrar, srv StoreServer)
Types ¶
type ControllerClient ¶
type ControllerClient interface { Create(ctx context.Context, in *ControllerCreateRequest, opts ...grpc.CallOption) (*ControllerCreateResponse, error) Start(ctx context.Context, in *ControllerStartRequest, opts ...grpc.CallOption) (*ControllerStartResponse, error) Platform(ctx context.Context, in *ControllerPlatformRequest, opts ...grpc.CallOption) (*ControllerPlatformResponse, error) Stop(ctx context.Context, in *ControllerStopRequest, opts ...grpc.CallOption) (*ControllerStopResponse, error) Wait(ctx context.Context, in *ControllerWaitRequest, opts ...grpc.CallOption) (*ControllerWaitResponse, error) Status(ctx context.Context, in *ControllerStatusRequest, opts ...grpc.CallOption) (*ControllerStatusResponse, error) Shutdown(ctx context.Context, in *ControllerShutdownRequest, opts ...grpc.CallOption) (*ControllerShutdownResponse, error) }
ControllerClient is the client API for Controller 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 NewControllerClient ¶
func NewControllerClient(cc grpc.ClientConnInterface) ControllerClient
type ControllerCreateRequest ¶
type ControllerCreateRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` Rootfs []*types.Mount `protobuf:"bytes,2,rep,name=rootfs,proto3" json:"rootfs,omitempty"` Options *anypb.Any `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` NetnsPath string `protobuf:"bytes,4,opt,name=netns_path,json=netnsPath,proto3" json:"netns_path,omitempty"` // contains filtered or unexported fields }
func (*ControllerCreateRequest) Descriptor
deprecated
func (*ControllerCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerCreateRequest.ProtoReflect.Descriptor instead.
func (*ControllerCreateRequest) GetNetnsPath ¶
func (x *ControllerCreateRequest) GetNetnsPath() string
func (*ControllerCreateRequest) GetOptions ¶
func (x *ControllerCreateRequest) GetOptions() *anypb.Any
func (*ControllerCreateRequest) GetRootfs ¶
func (x *ControllerCreateRequest) GetRootfs() []*types.Mount
func (*ControllerCreateRequest) GetSandboxID ¶
func (x *ControllerCreateRequest) GetSandboxID() string
func (*ControllerCreateRequest) ProtoMessage ¶
func (*ControllerCreateRequest) ProtoMessage()
func (*ControllerCreateRequest) ProtoReflect ¶
func (x *ControllerCreateRequest) ProtoReflect() protoreflect.Message
func (*ControllerCreateRequest) Reset ¶
func (x *ControllerCreateRequest) Reset()
func (*ControllerCreateRequest) String ¶
func (x *ControllerCreateRequest) String() string
type ControllerCreateResponse ¶
type ControllerCreateResponse struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerCreateResponse) Descriptor
deprecated
func (*ControllerCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerCreateResponse.ProtoReflect.Descriptor instead.
func (*ControllerCreateResponse) GetSandboxID ¶
func (x *ControllerCreateResponse) GetSandboxID() string
func (*ControllerCreateResponse) ProtoMessage ¶
func (*ControllerCreateResponse) ProtoMessage()
func (*ControllerCreateResponse) ProtoReflect ¶
func (x *ControllerCreateResponse) ProtoReflect() protoreflect.Message
func (*ControllerCreateResponse) Reset ¶
func (x *ControllerCreateResponse) Reset()
func (*ControllerCreateResponse) String ¶
func (x *ControllerCreateResponse) String() string
type ControllerPlatformRequest ¶
type ControllerPlatformRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerPlatformRequest) Descriptor
deprecated
func (*ControllerPlatformRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerPlatformRequest.ProtoReflect.Descriptor instead.
func (*ControllerPlatformRequest) GetSandboxID ¶
func (x *ControllerPlatformRequest) GetSandboxID() string
func (*ControllerPlatformRequest) ProtoMessage ¶
func (*ControllerPlatformRequest) ProtoMessage()
func (*ControllerPlatformRequest) ProtoReflect ¶
func (x *ControllerPlatformRequest) ProtoReflect() protoreflect.Message
func (*ControllerPlatformRequest) Reset ¶
func (x *ControllerPlatformRequest) Reset()
func (*ControllerPlatformRequest) String ¶
func (x *ControllerPlatformRequest) String() string
type ControllerPlatformResponse ¶
type ControllerPlatformResponse struct { Platform *types.Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*ControllerPlatformResponse) Descriptor
deprecated
func (*ControllerPlatformResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerPlatformResponse.ProtoReflect.Descriptor instead.
func (*ControllerPlatformResponse) GetPlatform ¶
func (x *ControllerPlatformResponse) GetPlatform() *types.Platform
func (*ControllerPlatformResponse) ProtoMessage ¶
func (*ControllerPlatformResponse) ProtoMessage()
func (*ControllerPlatformResponse) ProtoReflect ¶
func (x *ControllerPlatformResponse) ProtoReflect() protoreflect.Message
func (*ControllerPlatformResponse) Reset ¶
func (x *ControllerPlatformResponse) Reset()
func (*ControllerPlatformResponse) String ¶
func (x *ControllerPlatformResponse) String() string
type ControllerServer ¶
type ControllerServer interface { Create(context.Context, *ControllerCreateRequest) (*ControllerCreateResponse, error) Start(context.Context, *ControllerStartRequest) (*ControllerStartResponse, error) Platform(context.Context, *ControllerPlatformRequest) (*ControllerPlatformResponse, error) Stop(context.Context, *ControllerStopRequest) (*ControllerStopResponse, error) Wait(context.Context, *ControllerWaitRequest) (*ControllerWaitResponse, error) Status(context.Context, *ControllerStatusRequest) (*ControllerStatusResponse, error) Shutdown(context.Context, *ControllerShutdownRequest) (*ControllerShutdownResponse, error) // contains filtered or unexported methods }
ControllerServer is the server API for Controller service. All implementations must embed UnimplementedControllerServer for forward compatibility
type ControllerShutdownRequest ¶
type ControllerShutdownRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerShutdownRequest) Descriptor
deprecated
func (*ControllerShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerShutdownRequest.ProtoReflect.Descriptor instead.
func (*ControllerShutdownRequest) GetSandboxID ¶
func (x *ControllerShutdownRequest) GetSandboxID() string
func (*ControllerShutdownRequest) ProtoMessage ¶
func (*ControllerShutdownRequest) ProtoMessage()
func (*ControllerShutdownRequest) ProtoReflect ¶
func (x *ControllerShutdownRequest) ProtoReflect() protoreflect.Message
func (*ControllerShutdownRequest) Reset ¶
func (x *ControllerShutdownRequest) Reset()
func (*ControllerShutdownRequest) String ¶
func (x *ControllerShutdownRequest) String() string
type ControllerShutdownResponse ¶
type ControllerShutdownResponse struct {
// contains filtered or unexported fields
}
func (*ControllerShutdownResponse) Descriptor
deprecated
func (*ControllerShutdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerShutdownResponse.ProtoReflect.Descriptor instead.
func (*ControllerShutdownResponse) ProtoMessage ¶
func (*ControllerShutdownResponse) ProtoMessage()
func (*ControllerShutdownResponse) ProtoReflect ¶
func (x *ControllerShutdownResponse) ProtoReflect() protoreflect.Message
func (*ControllerShutdownResponse) Reset ¶
func (x *ControllerShutdownResponse) Reset()
func (*ControllerShutdownResponse) String ¶
func (x *ControllerShutdownResponse) String() string
type ControllerStartRequest ¶
type ControllerStartRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerStartRequest) Descriptor
deprecated
func (*ControllerStartRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStartRequest.ProtoReflect.Descriptor instead.
func (*ControllerStartRequest) GetSandboxID ¶
func (x *ControllerStartRequest) GetSandboxID() string
func (*ControllerStartRequest) ProtoMessage ¶
func (*ControllerStartRequest) ProtoMessage()
func (*ControllerStartRequest) ProtoReflect ¶
func (x *ControllerStartRequest) ProtoReflect() protoreflect.Message
func (*ControllerStartRequest) Reset ¶
func (x *ControllerStartRequest) Reset()
func (*ControllerStartRequest) String ¶
func (x *ControllerStartRequest) String() string
type ControllerStartResponse ¶
type ControllerStartResponse struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ControllerStartResponse) Descriptor
deprecated
func (*ControllerStartResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStartResponse.ProtoReflect.Descriptor instead.
func (*ControllerStartResponse) GetCreatedAt ¶
func (x *ControllerStartResponse) GetCreatedAt() *timestamppb.Timestamp
func (*ControllerStartResponse) GetLabels ¶
func (x *ControllerStartResponse) GetLabels() map[string]string
func (*ControllerStartResponse) GetPid ¶
func (x *ControllerStartResponse) GetPid() uint32
func (*ControllerStartResponse) GetSandboxID ¶
func (x *ControllerStartResponse) GetSandboxID() string
func (*ControllerStartResponse) ProtoMessage ¶
func (*ControllerStartResponse) ProtoMessage()
func (*ControllerStartResponse) ProtoReflect ¶
func (x *ControllerStartResponse) ProtoReflect() protoreflect.Message
func (*ControllerStartResponse) Reset ¶
func (x *ControllerStartResponse) Reset()
func (*ControllerStartResponse) String ¶
func (x *ControllerStartResponse) String() string
type ControllerStatusRequest ¶
type ControllerStatusRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*ControllerStatusRequest) Descriptor
deprecated
func (*ControllerStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStatusRequest.ProtoReflect.Descriptor instead.
func (*ControllerStatusRequest) GetSandboxID ¶
func (x *ControllerStatusRequest) GetSandboxID() string
func (*ControllerStatusRequest) GetVerbose ¶
func (x *ControllerStatusRequest) GetVerbose() bool
func (*ControllerStatusRequest) ProtoMessage ¶
func (*ControllerStatusRequest) ProtoMessage()
func (*ControllerStatusRequest) ProtoReflect ¶
func (x *ControllerStatusRequest) ProtoReflect() protoreflect.Message
func (*ControllerStatusRequest) Reset ¶
func (x *ControllerStatusRequest) Reset()
func (*ControllerStatusRequest) String ¶
func (x *ControllerStatusRequest) String() string
type ControllerStatusResponse ¶
type ControllerStatusResponse struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Info map[string]string `` /* 149-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExitedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=exited_at,json=exitedAt,proto3" json:"exited_at,omitempty"` Extra *anypb.Any `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*ControllerStatusResponse) Descriptor
deprecated
func (*ControllerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStatusResponse.ProtoReflect.Descriptor instead.
func (*ControllerStatusResponse) GetCreatedAt ¶
func (x *ControllerStatusResponse) GetCreatedAt() *timestamppb.Timestamp
func (*ControllerStatusResponse) GetExitedAt ¶
func (x *ControllerStatusResponse) GetExitedAt() *timestamppb.Timestamp
func (*ControllerStatusResponse) GetExtra ¶
func (x *ControllerStatusResponse) GetExtra() *anypb.Any
func (*ControllerStatusResponse) GetInfo ¶
func (x *ControllerStatusResponse) GetInfo() map[string]string
func (*ControllerStatusResponse) GetPid ¶
func (x *ControllerStatusResponse) GetPid() uint32
func (*ControllerStatusResponse) GetSandboxID ¶
func (x *ControllerStatusResponse) GetSandboxID() string
func (*ControllerStatusResponse) GetState ¶
func (x *ControllerStatusResponse) GetState() string
func (*ControllerStatusResponse) ProtoMessage ¶
func (*ControllerStatusResponse) ProtoMessage()
func (*ControllerStatusResponse) ProtoReflect ¶
func (x *ControllerStatusResponse) ProtoReflect() protoreflect.Message
func (*ControllerStatusResponse) Reset ¶
func (x *ControllerStatusResponse) Reset()
func (*ControllerStatusResponse) String ¶
func (x *ControllerStatusResponse) String() string
type ControllerStopRequest ¶
type ControllerStopRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` TimeoutSecs uint32 `protobuf:"varint,2,opt,name=timeout_secs,json=timeoutSecs,proto3" json:"timeout_secs,omitempty"` // contains filtered or unexported fields }
func (*ControllerStopRequest) Descriptor
deprecated
func (*ControllerStopRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStopRequest.ProtoReflect.Descriptor instead.
func (*ControllerStopRequest) GetSandboxID ¶
func (x *ControllerStopRequest) GetSandboxID() string
func (*ControllerStopRequest) GetTimeoutSecs ¶
func (x *ControllerStopRequest) GetTimeoutSecs() uint32
func (*ControllerStopRequest) ProtoMessage ¶
func (*ControllerStopRequest) ProtoMessage()
func (*ControllerStopRequest) ProtoReflect ¶
func (x *ControllerStopRequest) ProtoReflect() protoreflect.Message
func (*ControllerStopRequest) Reset ¶
func (x *ControllerStopRequest) Reset()
func (*ControllerStopRequest) String ¶
func (x *ControllerStopRequest) String() string
type ControllerStopResponse ¶
type ControllerStopResponse struct {
// contains filtered or unexported fields
}
func (*ControllerStopResponse) Descriptor
deprecated
func (*ControllerStopResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerStopResponse.ProtoReflect.Descriptor instead.
func (*ControllerStopResponse) ProtoMessage ¶
func (*ControllerStopResponse) ProtoMessage()
func (*ControllerStopResponse) ProtoReflect ¶
func (x *ControllerStopResponse) ProtoReflect() protoreflect.Message
func (*ControllerStopResponse) Reset ¶
func (x *ControllerStopResponse) Reset()
func (*ControllerStopResponse) String ¶
func (x *ControllerStopResponse) String() string
type ControllerWaitRequest ¶
type ControllerWaitRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*ControllerWaitRequest) Descriptor
deprecated
func (*ControllerWaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllerWaitRequest.ProtoReflect.Descriptor instead.
func (*ControllerWaitRequest) GetSandboxID ¶
func (x *ControllerWaitRequest) GetSandboxID() string
func (*ControllerWaitRequest) ProtoMessage ¶
func (*ControllerWaitRequest) ProtoMessage()
func (*ControllerWaitRequest) ProtoReflect ¶
func (x *ControllerWaitRequest) ProtoReflect() protoreflect.Message
func (*ControllerWaitRequest) Reset ¶
func (x *ControllerWaitRequest) Reset()
func (*ControllerWaitRequest) String ¶
func (x *ControllerWaitRequest) String() string
type ControllerWaitResponse ¶
type ControllerWaitResponse struct { ExitStatus uint32 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` ExitedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=exited_at,json=exitedAt,proto3" json:"exited_at,omitempty"` // contains filtered or unexported fields }
func (*ControllerWaitResponse) Descriptor
deprecated
func (*ControllerWaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllerWaitResponse.ProtoReflect.Descriptor instead.
func (*ControllerWaitResponse) GetExitStatus ¶
func (x *ControllerWaitResponse) GetExitStatus() uint32
func (*ControllerWaitResponse) GetExitedAt ¶
func (x *ControllerWaitResponse) GetExitedAt() *timestamppb.Timestamp
func (*ControllerWaitResponse) ProtoMessage ¶
func (*ControllerWaitResponse) ProtoMessage()
func (*ControllerWaitResponse) ProtoReflect ¶
func (x *ControllerWaitResponse) ProtoReflect() protoreflect.Message
func (*ControllerWaitResponse) Reset ¶
func (x *ControllerWaitResponse) Reset()
func (*ControllerWaitResponse) String ¶
func (x *ControllerWaitResponse) String() string
type StoreClient ¶
type StoreClient interface { Create(ctx context.Context, in *StoreCreateRequest, opts ...grpc.CallOption) (*StoreCreateResponse, error) Update(ctx context.Context, in *StoreUpdateRequest, opts ...grpc.CallOption) (*StoreUpdateResponse, error) Delete(ctx context.Context, in *StoreDeleteRequest, opts ...grpc.CallOption) (*StoreDeleteResponse, error) List(ctx context.Context, in *StoreListRequest, opts ...grpc.CallOption) (*StoreListResponse, error) Get(ctx context.Context, in *StoreGetRequest, opts ...grpc.CallOption) (*StoreGetResponse, error) }
StoreClient is the client API for Store 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 NewStoreClient ¶
func NewStoreClient(cc grpc.ClientConnInterface) StoreClient
type StoreCreateRequest ¶
type StoreCreateRequest struct { Sandbox *types.Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` // contains filtered or unexported fields }
func (*StoreCreateRequest) Descriptor
deprecated
func (*StoreCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreCreateRequest.ProtoReflect.Descriptor instead.
func (*StoreCreateRequest) GetSandbox ¶
func (x *StoreCreateRequest) GetSandbox() *types.Sandbox
func (*StoreCreateRequest) ProtoMessage ¶
func (*StoreCreateRequest) ProtoMessage()
func (*StoreCreateRequest) ProtoReflect ¶
func (x *StoreCreateRequest) ProtoReflect() protoreflect.Message
func (*StoreCreateRequest) Reset ¶
func (x *StoreCreateRequest) Reset()
func (*StoreCreateRequest) String ¶
func (x *StoreCreateRequest) String() string
type StoreCreateResponse ¶
type StoreCreateResponse struct { Sandbox *types.Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` // contains filtered or unexported fields }
func (*StoreCreateResponse) Descriptor
deprecated
func (*StoreCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreCreateResponse.ProtoReflect.Descriptor instead.
func (*StoreCreateResponse) GetSandbox ¶
func (x *StoreCreateResponse) GetSandbox() *types.Sandbox
func (*StoreCreateResponse) ProtoMessage ¶
func (*StoreCreateResponse) ProtoMessage()
func (*StoreCreateResponse) ProtoReflect ¶
func (x *StoreCreateResponse) ProtoReflect() protoreflect.Message
func (*StoreCreateResponse) Reset ¶
func (x *StoreCreateResponse) Reset()
func (*StoreCreateResponse) String ¶
func (x *StoreCreateResponse) String() string
type StoreDeleteRequest ¶
type StoreDeleteRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*StoreDeleteRequest) Descriptor
deprecated
func (*StoreDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreDeleteRequest.ProtoReflect.Descriptor instead.
func (*StoreDeleteRequest) GetSandboxID ¶
func (x *StoreDeleteRequest) GetSandboxID() string
func (*StoreDeleteRequest) ProtoMessage ¶
func (*StoreDeleteRequest) ProtoMessage()
func (*StoreDeleteRequest) ProtoReflect ¶
func (x *StoreDeleteRequest) ProtoReflect() protoreflect.Message
func (*StoreDeleteRequest) Reset ¶
func (x *StoreDeleteRequest) Reset()
func (*StoreDeleteRequest) String ¶
func (x *StoreDeleteRequest) String() string
type StoreDeleteResponse ¶
type StoreDeleteResponse struct {
// contains filtered or unexported fields
}
func (*StoreDeleteResponse) Descriptor
deprecated
func (*StoreDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreDeleteResponse.ProtoReflect.Descriptor instead.
func (*StoreDeleteResponse) ProtoMessage ¶
func (*StoreDeleteResponse) ProtoMessage()
func (*StoreDeleteResponse) ProtoReflect ¶
func (x *StoreDeleteResponse) ProtoReflect() protoreflect.Message
func (*StoreDeleteResponse) Reset ¶
func (x *StoreDeleteResponse) Reset()
func (*StoreDeleteResponse) String ¶
func (x *StoreDeleteResponse) String() string
type StoreGetRequest ¶
type StoreGetRequest struct { SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*StoreGetRequest) Descriptor
deprecated
func (*StoreGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreGetRequest.ProtoReflect.Descriptor instead.
func (*StoreGetRequest) GetSandboxID ¶
func (x *StoreGetRequest) GetSandboxID() string
func (*StoreGetRequest) ProtoMessage ¶
func (*StoreGetRequest) ProtoMessage()
func (*StoreGetRequest) ProtoReflect ¶
func (x *StoreGetRequest) ProtoReflect() protoreflect.Message
func (*StoreGetRequest) Reset ¶
func (x *StoreGetRequest) Reset()
func (*StoreGetRequest) String ¶
func (x *StoreGetRequest) String() string
type StoreGetResponse ¶
type StoreGetResponse struct { Sandbox *types.Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` // contains filtered or unexported fields }
func (*StoreGetResponse) Descriptor
deprecated
func (*StoreGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreGetResponse.ProtoReflect.Descriptor instead.
func (*StoreGetResponse) GetSandbox ¶
func (x *StoreGetResponse) GetSandbox() *types.Sandbox
func (*StoreGetResponse) ProtoMessage ¶
func (*StoreGetResponse) ProtoMessage()
func (*StoreGetResponse) ProtoReflect ¶
func (x *StoreGetResponse) ProtoReflect() protoreflect.Message
func (*StoreGetResponse) Reset ¶
func (x *StoreGetResponse) Reset()
func (*StoreGetResponse) String ¶
func (x *StoreGetResponse) String() string
type StoreListRequest ¶
type StoreListRequest struct { Filters []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*StoreListRequest) Descriptor
deprecated
func (*StoreListRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreListRequest.ProtoReflect.Descriptor instead.
func (*StoreListRequest) GetFilters ¶
func (x *StoreListRequest) GetFilters() []string
func (*StoreListRequest) ProtoMessage ¶
func (*StoreListRequest) ProtoMessage()
func (*StoreListRequest) ProtoReflect ¶
func (x *StoreListRequest) ProtoReflect() protoreflect.Message
func (*StoreListRequest) Reset ¶
func (x *StoreListRequest) Reset()
func (*StoreListRequest) String ¶
func (x *StoreListRequest) String() string
type StoreListResponse ¶
type StoreListResponse struct { List []*types.Sandbox `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*StoreListResponse) Descriptor
deprecated
func (*StoreListResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreListResponse.ProtoReflect.Descriptor instead.
func (*StoreListResponse) GetList ¶
func (x *StoreListResponse) GetList() []*types.Sandbox
func (*StoreListResponse) ProtoMessage ¶
func (*StoreListResponse) ProtoMessage()
func (*StoreListResponse) ProtoReflect ¶
func (x *StoreListResponse) ProtoReflect() protoreflect.Message
func (*StoreListResponse) Reset ¶
func (x *StoreListResponse) Reset()
func (*StoreListResponse) String ¶
func (x *StoreListResponse) String() string
type StoreServer ¶
type StoreServer interface { Create(context.Context, *StoreCreateRequest) (*StoreCreateResponse, error) Update(context.Context, *StoreUpdateRequest) (*StoreUpdateResponse, error) Delete(context.Context, *StoreDeleteRequest) (*StoreDeleteResponse, error) List(context.Context, *StoreListRequest) (*StoreListResponse, error) Get(context.Context, *StoreGetRequest) (*StoreGetResponse, error) // contains filtered or unexported methods }
StoreServer is the server API for Store service. All implementations must embed UnimplementedStoreServer for forward compatibility
type StoreUpdateRequest ¶
type StoreUpdateRequest struct { Sandbox *types.Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*StoreUpdateRequest) Descriptor
deprecated
func (*StoreUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreUpdateRequest.ProtoReflect.Descriptor instead.
func (*StoreUpdateRequest) GetFields ¶
func (x *StoreUpdateRequest) GetFields() []string
func (*StoreUpdateRequest) GetSandbox ¶
func (x *StoreUpdateRequest) GetSandbox() *types.Sandbox
func (*StoreUpdateRequest) ProtoMessage ¶
func (*StoreUpdateRequest) ProtoMessage()
func (*StoreUpdateRequest) ProtoReflect ¶
func (x *StoreUpdateRequest) ProtoReflect() protoreflect.Message
func (*StoreUpdateRequest) Reset ¶
func (x *StoreUpdateRequest) Reset()
func (*StoreUpdateRequest) String ¶
func (x *StoreUpdateRequest) String() string
type StoreUpdateResponse ¶
type StoreUpdateResponse struct { Sandbox *types.Sandbox `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` // contains filtered or unexported fields }
func (*StoreUpdateResponse) Descriptor
deprecated
func (*StoreUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreUpdateResponse.ProtoReflect.Descriptor instead.
func (*StoreUpdateResponse) GetSandbox ¶
func (x *StoreUpdateResponse) GetSandbox() *types.Sandbox
func (*StoreUpdateResponse) ProtoMessage ¶
func (*StoreUpdateResponse) ProtoMessage()
func (*StoreUpdateResponse) ProtoReflect ¶
func (x *StoreUpdateResponse) ProtoReflect() protoreflect.Message
func (*StoreUpdateResponse) Reset ¶
func (x *StoreUpdateResponse) Reset()
func (*StoreUpdateResponse) String ¶
func (x *StoreUpdateResponse) String() string
type UnimplementedControllerServer ¶
type UnimplementedControllerServer struct { }
UnimplementedControllerServer must be embedded to have forward compatible implementations.
func (UnimplementedControllerServer) Create ¶
func (UnimplementedControllerServer) Create(context.Context, *ControllerCreateRequest) (*ControllerCreateResponse, error)
func (UnimplementedControllerServer) Platform ¶
func (UnimplementedControllerServer) Platform(context.Context, *ControllerPlatformRequest) (*ControllerPlatformResponse, error)
func (UnimplementedControllerServer) Shutdown ¶
func (UnimplementedControllerServer) Shutdown(context.Context, *ControllerShutdownRequest) (*ControllerShutdownResponse, error)
func (UnimplementedControllerServer) Start ¶
func (UnimplementedControllerServer) Start(context.Context, *ControllerStartRequest) (*ControllerStartResponse, error)
func (UnimplementedControllerServer) Status ¶
func (UnimplementedControllerServer) Status(context.Context, *ControllerStatusRequest) (*ControllerStatusResponse, error)
func (UnimplementedControllerServer) Stop ¶
func (UnimplementedControllerServer) Stop(context.Context, *ControllerStopRequest) (*ControllerStopResponse, error)
func (UnimplementedControllerServer) Wait ¶
func (UnimplementedControllerServer) Wait(context.Context, *ControllerWaitRequest) (*ControllerWaitResponse, error)
type UnimplementedStoreServer ¶
type UnimplementedStoreServer struct { }
UnimplementedStoreServer must be embedded to have forward compatible implementations.
func (UnimplementedStoreServer) Create ¶
func (UnimplementedStoreServer) Create(context.Context, *StoreCreateRequest) (*StoreCreateResponse, error)
func (UnimplementedStoreServer) Delete ¶
func (UnimplementedStoreServer) Delete(context.Context, *StoreDeleteRequest) (*StoreDeleteResponse, error)
func (UnimplementedStoreServer) Get ¶
func (UnimplementedStoreServer) Get(context.Context, *StoreGetRequest) (*StoreGetResponse, error)
func (UnimplementedStoreServer) List ¶
func (UnimplementedStoreServer) List(context.Context, *StoreListRequest) (*StoreListResponse, error)
func (UnimplementedStoreServer) Update ¶
func (UnimplementedStoreServer) Update(context.Context, *StoreUpdateRequest) (*StoreUpdateResponse, error)
type UnsafeControllerServer ¶
type UnsafeControllerServer interface {
// contains filtered or unexported methods
}
UnsafeControllerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControllerServer will result in compilation errors.
type UnsafeStoreServer ¶
type UnsafeStoreServer interface {
// contains filtered or unexported methods
}
UnsafeStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StoreServer will result in compilation errors.