sandbox

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.proto

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_containerd_containerd_api_runtime_sandbox_v1_sandbox_proto protoreflect.FileDescriptor
View Source
var Sandbox_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "containerd.runtime.sandbox.v1.Sandbox",
	HandlerType: (*SandboxServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSandbox",
			Handler:    _Sandbox_CreateSandbox_Handler,
		},
		{
			MethodName: "StartSandbox",
			Handler:    _Sandbox_StartSandbox_Handler,
		},
		{
			MethodName: "Platform",
			Handler:    _Sandbox_Platform_Handler,
		},
		{
			MethodName: "StopSandbox",
			Handler:    _Sandbox_StopSandbox_Handler,
		},
		{
			MethodName: "WaitSandbox",
			Handler:    _Sandbox_WaitSandbox_Handler,
		},
		{
			MethodName: "SandboxStatus",
			Handler:    _Sandbox_SandboxStatus_Handler,
		},
		{
			MethodName: "PingSandbox",
			Handler:    _Sandbox_PingSandbox_Handler,
		},
		{
			MethodName: "ShutdownSandbox",
			Handler:    _Sandbox_ShutdownSandbox_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/containerd/containerd/api/runtime/sandbox/v1/sandbox.proto",
}

Sandbox_ServiceDesc is the grpc.ServiceDesc for Sandbox service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSandboxServer

func RegisterSandboxServer(s grpc.ServiceRegistrar, srv SandboxServer)

func RegisterTTRPCSandboxService

func RegisterTTRPCSandboxService(srv *ttrpc.Server, svc TTRPCSandboxService)

Types

type CreateSandboxRequest

type CreateSandboxRequest struct {
	SandboxID  string         `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	BundlePath string         `protobuf:"bytes,2,opt,name=bundle_path,json=bundlePath,proto3" json:"bundle_path,omitempty"`
	Rootfs     []*types.Mount `protobuf:"bytes,3,rep,name=rootfs,proto3" json:"rootfs,omitempty"`
	Options    *anypb.Any     `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	NetnsPath  string         `protobuf:"bytes,5,opt,name=netns_path,json=netnsPath,proto3" json:"netns_path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSandboxRequest) Descriptor deprecated

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

Deprecated: Use CreateSandboxRequest.ProtoReflect.Descriptor instead.

func (*CreateSandboxRequest) GetBundlePath

func (x *CreateSandboxRequest) GetBundlePath() string

func (*CreateSandboxRequest) GetNetnsPath

func (x *CreateSandboxRequest) GetNetnsPath() string

func (*CreateSandboxRequest) GetOptions

func (x *CreateSandboxRequest) GetOptions() *anypb.Any

func (*CreateSandboxRequest) GetRootfs

func (x *CreateSandboxRequest) GetRootfs() []*types.Mount

func (*CreateSandboxRequest) GetSandboxID

func (x *CreateSandboxRequest) GetSandboxID() string

func (*CreateSandboxRequest) ProtoMessage

func (*CreateSandboxRequest) ProtoMessage()

func (*CreateSandboxRequest) ProtoReflect

func (x *CreateSandboxRequest) ProtoReflect() protoreflect.Message

func (*CreateSandboxRequest) Reset

func (x *CreateSandboxRequest) Reset()

func (*CreateSandboxRequest) String

func (x *CreateSandboxRequest) String() string

type CreateSandboxResponse

type CreateSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*CreateSandboxResponse) Descriptor deprecated

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

Deprecated: Use CreateSandboxResponse.ProtoReflect.Descriptor instead.

func (*CreateSandboxResponse) ProtoMessage

func (*CreateSandboxResponse) ProtoMessage()

func (*CreateSandboxResponse) ProtoReflect

func (x *CreateSandboxResponse) ProtoReflect() protoreflect.Message

func (*CreateSandboxResponse) Reset

func (x *CreateSandboxResponse) Reset()

func (*CreateSandboxResponse) String

func (x *CreateSandboxResponse) String() string

type PingRequest

type PingRequest struct {
	SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetSandboxID

func (x *PingRequest) GetSandboxID() string

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

func (x *PingRequest) ProtoReflect() protoreflect.Message

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

type PingResponse struct {
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

func (x *PingResponse) ProtoReflect() protoreflect.Message

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type PlatformRequest

type PlatformRequest struct {
	SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PlatformRequest) Descriptor deprecated

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

Deprecated: Use PlatformRequest.ProtoReflect.Descriptor instead.

func (*PlatformRequest) GetSandboxID

func (x *PlatformRequest) GetSandboxID() string

func (*PlatformRequest) ProtoMessage

func (*PlatformRequest) ProtoMessage()

func (*PlatformRequest) ProtoReflect

func (x *PlatformRequest) ProtoReflect() protoreflect.Message

func (*PlatformRequest) Reset

func (x *PlatformRequest) Reset()

func (*PlatformRequest) String

func (x *PlatformRequest) String() string

type PlatformResponse

type PlatformResponse struct {
	Platform *types.Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*PlatformResponse) Descriptor deprecated

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

Deprecated: Use PlatformResponse.ProtoReflect.Descriptor instead.

func (*PlatformResponse) GetPlatform

func (x *PlatformResponse) GetPlatform() *types.Platform

func (*PlatformResponse) ProtoMessage

func (*PlatformResponse) ProtoMessage()

func (*PlatformResponse) ProtoReflect

func (x *PlatformResponse) ProtoReflect() protoreflect.Message

func (*PlatformResponse) Reset

func (x *PlatformResponse) Reset()

func (*PlatformResponse) String

func (x *PlatformResponse) String() string

type SandboxClient

type SandboxClient interface {
	// CreateSandbox will be called right after sandbox shim instance launched.
	// It is a good place to initialize sandbox environment.
	CreateSandbox(ctx context.Context, in *CreateSandboxRequest, opts ...grpc.CallOption) (*CreateSandboxResponse, error)
	// StartSandbox will start previsouly created sandbox.
	StartSandbox(ctx context.Context, in *StartSandboxRequest, opts ...grpc.CallOption) (*StartSandboxResponse, error)
	// Platform queries the platform the sandbox is going to run containers on.
	// containerd will use this to generate a proper OCI spec.
	Platform(ctx context.Context, in *PlatformRequest, opts ...grpc.CallOption) (*PlatformResponse, error)
	// StopSandbox will stop existing sandbox instance
	StopSandbox(ctx context.Context, in *StopSandboxRequest, opts ...grpc.CallOption) (*StopSandboxResponse, error)
	// WaitSandbox blocks until sanbox exits.
	WaitSandbox(ctx context.Context, in *WaitSandboxRequest, opts ...grpc.CallOption) (*WaitSandboxResponse, error)
	// SandboxStatus will return current status of the running sandbox instance
	SandboxStatus(ctx context.Context, in *SandboxStatusRequest, opts ...grpc.CallOption) (*SandboxStatusResponse, error)
	// PingSandbox is a lightweight API call to check whether sandbox alive.
	PingSandbox(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	// ShutdownSandbox must shutdown shim instance.
	ShutdownSandbox(ctx context.Context, in *ShutdownSandboxRequest, opts ...grpc.CallOption) (*ShutdownSandboxResponse, error)
}

SandboxClient is the client API for Sandbox 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 NewSandboxClient

func NewSandboxClient(cc grpc.ClientConnInterface) SandboxClient

type SandboxServer

type SandboxServer interface {
	// CreateSandbox will be called right after sandbox shim instance launched.
	// It is a good place to initialize sandbox environment.
	CreateSandbox(context.Context, *CreateSandboxRequest) (*CreateSandboxResponse, error)
	// StartSandbox will start previsouly created sandbox.
	StartSandbox(context.Context, *StartSandboxRequest) (*StartSandboxResponse, error)
	// Platform queries the platform the sandbox is going to run containers on.
	// containerd will use this to generate a proper OCI spec.
	Platform(context.Context, *PlatformRequest) (*PlatformResponse, error)
	// StopSandbox will stop existing sandbox instance
	StopSandbox(context.Context, *StopSandboxRequest) (*StopSandboxResponse, error)
	// WaitSandbox blocks until sanbox exits.
	WaitSandbox(context.Context, *WaitSandboxRequest) (*WaitSandboxResponse, error)
	// SandboxStatus will return current status of the running sandbox instance
	SandboxStatus(context.Context, *SandboxStatusRequest) (*SandboxStatusResponse, error)
	// PingSandbox is a lightweight API call to check whether sandbox alive.
	PingSandbox(context.Context, *PingRequest) (*PingResponse, error)
	// ShutdownSandbox must shutdown shim instance.
	ShutdownSandbox(context.Context, *ShutdownSandboxRequest) (*ShutdownSandboxResponse, error)
	// contains filtered or unexported methods
}

SandboxServer is the server API for Sandbox service. All implementations must embed UnimplementedSandboxServer for forward compatibility

type SandboxStatusRequest

type SandboxStatusRequest 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 (*SandboxStatusRequest) Descriptor deprecated

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

Deprecated: Use SandboxStatusRequest.ProtoReflect.Descriptor instead.

func (*SandboxStatusRequest) GetSandboxID

func (x *SandboxStatusRequest) GetSandboxID() string

func (*SandboxStatusRequest) GetVerbose

func (x *SandboxStatusRequest) GetVerbose() bool

func (*SandboxStatusRequest) ProtoMessage

func (*SandboxStatusRequest) ProtoMessage()

func (*SandboxStatusRequest) ProtoReflect

func (x *SandboxStatusRequest) ProtoReflect() protoreflect.Message

func (*SandboxStatusRequest) Reset

func (x *SandboxStatusRequest) Reset()

func (*SandboxStatusRequest) String

func (x *SandboxStatusRequest) String() string

type SandboxStatusResponse

type SandboxStatusResponse 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 (*SandboxStatusResponse) Descriptor deprecated

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

Deprecated: Use SandboxStatusResponse.ProtoReflect.Descriptor instead.

func (*SandboxStatusResponse) GetCreatedAt

func (x *SandboxStatusResponse) GetCreatedAt() *timestamppb.Timestamp

func (*SandboxStatusResponse) GetExitedAt

func (x *SandboxStatusResponse) GetExitedAt() *timestamppb.Timestamp

func (*SandboxStatusResponse) GetExtra

func (x *SandboxStatusResponse) GetExtra() *anypb.Any

func (*SandboxStatusResponse) GetInfo

func (x *SandboxStatusResponse) GetInfo() map[string]string

func (*SandboxStatusResponse) GetPid

func (x *SandboxStatusResponse) GetPid() uint32

func (*SandboxStatusResponse) GetSandboxID

func (x *SandboxStatusResponse) GetSandboxID() string

func (*SandboxStatusResponse) GetState

func (x *SandboxStatusResponse) GetState() string

func (*SandboxStatusResponse) ProtoMessage

func (*SandboxStatusResponse) ProtoMessage()

func (*SandboxStatusResponse) ProtoReflect

func (x *SandboxStatusResponse) ProtoReflect() protoreflect.Message

func (*SandboxStatusResponse) Reset

func (x *SandboxStatusResponse) Reset()

func (*SandboxStatusResponse) String

func (x *SandboxStatusResponse) String() string

type ShutdownSandboxRequest

type ShutdownSandboxRequest struct {
	SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ShutdownSandboxRequest) Descriptor deprecated

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

Deprecated: Use ShutdownSandboxRequest.ProtoReflect.Descriptor instead.

func (*ShutdownSandboxRequest) GetSandboxID

func (x *ShutdownSandboxRequest) GetSandboxID() string

func (*ShutdownSandboxRequest) ProtoMessage

func (*ShutdownSandboxRequest) ProtoMessage()

func (*ShutdownSandboxRequest) ProtoReflect

func (x *ShutdownSandboxRequest) ProtoReflect() protoreflect.Message

func (*ShutdownSandboxRequest) Reset

func (x *ShutdownSandboxRequest) Reset()

func (*ShutdownSandboxRequest) String

func (x *ShutdownSandboxRequest) String() string

type ShutdownSandboxResponse

type ShutdownSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*ShutdownSandboxResponse) Descriptor deprecated

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

Deprecated: Use ShutdownSandboxResponse.ProtoReflect.Descriptor instead.

func (*ShutdownSandboxResponse) ProtoMessage

func (*ShutdownSandboxResponse) ProtoMessage()

func (*ShutdownSandboxResponse) ProtoReflect

func (x *ShutdownSandboxResponse) ProtoReflect() protoreflect.Message

func (*ShutdownSandboxResponse) Reset

func (x *ShutdownSandboxResponse) Reset()

func (*ShutdownSandboxResponse) String

func (x *ShutdownSandboxResponse) String() string

type StartSandboxRequest

type StartSandboxRequest struct {
	SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartSandboxRequest) Descriptor deprecated

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

Deprecated: Use StartSandboxRequest.ProtoReflect.Descriptor instead.

func (*StartSandboxRequest) GetSandboxID

func (x *StartSandboxRequest) GetSandboxID() string

func (*StartSandboxRequest) ProtoMessage

func (*StartSandboxRequest) ProtoMessage()

func (*StartSandboxRequest) ProtoReflect

func (x *StartSandboxRequest) ProtoReflect() protoreflect.Message

func (*StartSandboxRequest) Reset

func (x *StartSandboxRequest) Reset()

func (*StartSandboxRequest) String

func (x *StartSandboxRequest) String() string

type StartSandboxResponse

type StartSandboxResponse struct {
	Pid       uint32                 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*StartSandboxResponse) Descriptor deprecated

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

Deprecated: Use StartSandboxResponse.ProtoReflect.Descriptor instead.

func (*StartSandboxResponse) GetCreatedAt

func (x *StartSandboxResponse) GetCreatedAt() *timestamppb.Timestamp

func (*StartSandboxResponse) GetPid

func (x *StartSandboxResponse) GetPid() uint32

func (*StartSandboxResponse) ProtoMessage

func (*StartSandboxResponse) ProtoMessage()

func (*StartSandboxResponse) ProtoReflect

func (x *StartSandboxResponse) ProtoReflect() protoreflect.Message

func (*StartSandboxResponse) Reset

func (x *StartSandboxResponse) Reset()

func (*StartSandboxResponse) String

func (x *StartSandboxResponse) String() string

type StopSandboxRequest

type StopSandboxRequest 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 (*StopSandboxRequest) Descriptor deprecated

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

Deprecated: Use StopSandboxRequest.ProtoReflect.Descriptor instead.

func (*StopSandboxRequest) GetSandboxID

func (x *StopSandboxRequest) GetSandboxID() string

func (*StopSandboxRequest) GetTimeoutSecs

func (x *StopSandboxRequest) GetTimeoutSecs() uint32

func (*StopSandboxRequest) ProtoMessage

func (*StopSandboxRequest) ProtoMessage()

func (*StopSandboxRequest) ProtoReflect

func (x *StopSandboxRequest) ProtoReflect() protoreflect.Message

func (*StopSandboxRequest) Reset

func (x *StopSandboxRequest) Reset()

func (*StopSandboxRequest) String

func (x *StopSandboxRequest) String() string

type StopSandboxResponse

type StopSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*StopSandboxResponse) Descriptor deprecated

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

Deprecated: Use StopSandboxResponse.ProtoReflect.Descriptor instead.

func (*StopSandboxResponse) ProtoMessage

func (*StopSandboxResponse) ProtoMessage()

func (*StopSandboxResponse) ProtoReflect

func (x *StopSandboxResponse) ProtoReflect() protoreflect.Message

func (*StopSandboxResponse) Reset

func (x *StopSandboxResponse) Reset()

func (*StopSandboxResponse) String

func (x *StopSandboxResponse) String() string

type UnimplementedSandboxServer

type UnimplementedSandboxServer struct {
}

UnimplementedSandboxServer must be embedded to have forward compatible implementations.

func (UnimplementedSandboxServer) CreateSandbox

func (UnimplementedSandboxServer) PingSandbox

func (UnimplementedSandboxServer) Platform

func (UnimplementedSandboxServer) SandboxStatus

func (UnimplementedSandboxServer) ShutdownSandbox

func (UnimplementedSandboxServer) StartSandbox

func (UnimplementedSandboxServer) StopSandbox

func (UnimplementedSandboxServer) WaitSandbox

type UnsafeSandboxServer

type UnsafeSandboxServer interface {
	// contains filtered or unexported methods
}

UnsafeSandboxServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandboxServer will result in compilation errors.

type UpdateSandboxRequest

type UpdateSandboxRequest struct {
	SandboxID   string            `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	Resources   *anypb.Any        `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateSandboxRequest) Descriptor deprecated

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

Deprecated: Use UpdateSandboxRequest.ProtoReflect.Descriptor instead.

func (*UpdateSandboxRequest) GetAnnotations

func (x *UpdateSandboxRequest) GetAnnotations() map[string]string

func (*UpdateSandboxRequest) GetResources

func (x *UpdateSandboxRequest) GetResources() *anypb.Any

func (*UpdateSandboxRequest) GetSandboxID

func (x *UpdateSandboxRequest) GetSandboxID() string

func (*UpdateSandboxRequest) ProtoMessage

func (*UpdateSandboxRequest) ProtoMessage()

func (*UpdateSandboxRequest) ProtoReflect

func (x *UpdateSandboxRequest) ProtoReflect() protoreflect.Message

func (*UpdateSandboxRequest) Reset

func (x *UpdateSandboxRequest) Reset()

func (*UpdateSandboxRequest) String

func (x *UpdateSandboxRequest) String() string

type UpdateSandboxResponse

type UpdateSandboxResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateSandboxResponse) Descriptor deprecated

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

Deprecated: Use UpdateSandboxResponse.ProtoReflect.Descriptor instead.

func (*UpdateSandboxResponse) ProtoMessage

func (*UpdateSandboxResponse) ProtoMessage()

func (*UpdateSandboxResponse) ProtoReflect

func (x *UpdateSandboxResponse) ProtoReflect() protoreflect.Message

func (*UpdateSandboxResponse) Reset

func (x *UpdateSandboxResponse) Reset()

func (*UpdateSandboxResponse) String

func (x *UpdateSandboxResponse) String() string

type WaitSandboxRequest

type WaitSandboxRequest struct {
	SandboxID string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitSandboxRequest) Descriptor deprecated

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

Deprecated: Use WaitSandboxRequest.ProtoReflect.Descriptor instead.

func (*WaitSandboxRequest) GetSandboxID

func (x *WaitSandboxRequest) GetSandboxID() string

func (*WaitSandboxRequest) ProtoMessage

func (*WaitSandboxRequest) ProtoMessage()

func (*WaitSandboxRequest) ProtoReflect

func (x *WaitSandboxRequest) ProtoReflect() protoreflect.Message

func (*WaitSandboxRequest) Reset

func (x *WaitSandboxRequest) Reset()

func (*WaitSandboxRequest) String

func (x *WaitSandboxRequest) String() string

type WaitSandboxResponse

type WaitSandboxResponse 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 (*WaitSandboxResponse) Descriptor deprecated

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

Deprecated: Use WaitSandboxResponse.ProtoReflect.Descriptor instead.

func (*WaitSandboxResponse) GetExitStatus

func (x *WaitSandboxResponse) GetExitStatus() uint32

func (*WaitSandboxResponse) GetExitedAt

func (x *WaitSandboxResponse) GetExitedAt() *timestamppb.Timestamp

func (*WaitSandboxResponse) ProtoMessage

func (*WaitSandboxResponse) ProtoMessage()

func (*WaitSandboxResponse) ProtoReflect

func (x *WaitSandboxResponse) ProtoReflect() protoreflect.Message

func (*WaitSandboxResponse) Reset

func (x *WaitSandboxResponse) Reset()

func (*WaitSandboxResponse) String

func (x *WaitSandboxResponse) String() string

Jump to

Keyboard shortcuts

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