Documentation
¶
Index ¶
- Variables
- func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)
- type CachedBuildInfo
- func (*CachedBuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CachedBuildInfo) GetBuildId() string
- func (x *CachedBuildInfo) GetExpirationTime() *timestamppb.Timestamp
- func (*CachedBuildInfo) ProtoMessage()
- func (x *CachedBuildInfo) ProtoReflect() protoreflect.Message
- func (x *CachedBuildInfo) Reset()
- func (x *CachedBuildInfo) String() string
- type RunningSandbox
- func (*RunningSandbox) Descriptor() ([]byte, []int)deprecated
- func (x *RunningSandbox) GetClientId() string
- func (x *RunningSandbox) GetConfig() *SandboxConfig
- func (x *RunningSandbox) GetEndTime() *timestamppb.Timestamp
- func (x *RunningSandbox) GetStartTime() *timestamppb.Timestamp
- func (*RunningSandbox) ProtoMessage()
- func (x *RunningSandbox) ProtoReflect() protoreflect.Message
- func (x *RunningSandbox) Reset()
- func (x *RunningSandbox) String() string
- type SandboxConfig
- func (*SandboxConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxConfig) GetAlias() string
- func (x *SandboxConfig) GetAutoPause() bool
- func (x *SandboxConfig) GetBaseTemplateId() string
- func (x *SandboxConfig) GetBuildId() string
- func (x *SandboxConfig) GetEnvVars() map[string]string
- func (x *SandboxConfig) GetEnvdVersion() string
- func (x *SandboxConfig) GetFirecrackerVersion() string
- func (x *SandboxConfig) GetHugePages() bool
- func (x *SandboxConfig) GetKernelVersion() string
- func (x *SandboxConfig) GetMaxSandboxLength() int64
- func (x *SandboxConfig) GetMetadata() map[string]string
- func (x *SandboxConfig) GetRamMb() int64
- func (x *SandboxConfig) GetSandboxId() string
- func (x *SandboxConfig) GetSnapshot() bool
- func (x *SandboxConfig) GetTeamId() string
- func (x *SandboxConfig) GetTemplateId() string
- func (x *SandboxConfig) GetTotalDiskSizeMb() int64
- func (x *SandboxConfig) GetVcpu() int64
- func (*SandboxConfig) ProtoMessage()
- func (x *SandboxConfig) ProtoReflect() protoreflect.Message
- func (x *SandboxConfig) Reset()
- func (x *SandboxConfig) String() string
- type SandboxCreateRequest
- func (*SandboxCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxCreateRequest) GetEndTime() *timestamppb.Timestamp
- func (x *SandboxCreateRequest) GetSandbox() *SandboxConfig
- func (x *SandboxCreateRequest) GetStartTime() *timestamppb.Timestamp
- func (*SandboxCreateRequest) ProtoMessage()
- func (x *SandboxCreateRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxCreateRequest) Reset()
- func (x *SandboxCreateRequest) String() string
- type SandboxCreateResponse
- func (*SandboxCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxCreateResponse) GetClientId() string
- func (*SandboxCreateResponse) ProtoMessage()
- func (x *SandboxCreateResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxCreateResponse) Reset()
- func (x *SandboxCreateResponse) String() string
- type SandboxDeleteRequest
- func (*SandboxDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxDeleteRequest) GetSandboxId() string
- func (*SandboxDeleteRequest) ProtoMessage()
- func (x *SandboxDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxDeleteRequest) Reset()
- func (x *SandboxDeleteRequest) String() string
- type SandboxListCachedBuildsResponse
- func (*SandboxListCachedBuildsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxListCachedBuildsResponse) GetBuilds() []*CachedBuildInfo
- func (*SandboxListCachedBuildsResponse) ProtoMessage()
- func (x *SandboxListCachedBuildsResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxListCachedBuildsResponse) Reset()
- func (x *SandboxListCachedBuildsResponse) String() string
- type SandboxListResponse
- func (*SandboxListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxListResponse) GetSandboxes() []*RunningSandbox
- func (*SandboxListResponse) ProtoMessage()
- func (x *SandboxListResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxListResponse) Reset()
- func (x *SandboxListResponse) String() string
- type SandboxPauseRequest
- func (*SandboxPauseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPauseRequest) GetBuildId() string
- func (x *SandboxPauseRequest) GetSandboxId() string
- func (x *SandboxPauseRequest) GetTemplateId() string
- func (*SandboxPauseRequest) ProtoMessage()
- func (x *SandboxPauseRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxPauseRequest) Reset()
- func (x *SandboxPauseRequest) String() string
- type SandboxServiceClient
- type SandboxServiceServer
- type SandboxUpdateRequest
- func (*SandboxUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxUpdateRequest) GetEndTime() *timestamppb.Timestamp
- func (x *SandboxUpdateRequest) GetSandboxId() string
- func (*SandboxUpdateRequest) ProtoMessage()
- func (x *SandboxUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxUpdateRequest) Reset()
- func (x *SandboxUpdateRequest) String() string
- type UnimplementedSandboxServiceServer
- func (UnimplementedSandboxServiceServer) Create(context.Context, *SandboxCreateRequest) (*SandboxCreateResponse, error)
- func (UnimplementedSandboxServiceServer) Delete(context.Context, *SandboxDeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedSandboxServiceServer) List(context.Context, *emptypb.Empty) (*SandboxListResponse, error)
- func (UnimplementedSandboxServiceServer) ListCachedBuilds(context.Context, *emptypb.Empty) (*SandboxListCachedBuildsResponse, error)
- func (UnimplementedSandboxServiceServer) Pause(context.Context, *SandboxPauseRequest) (*emptypb.Empty, error)
- func (UnimplementedSandboxServiceServer) Update(context.Context, *SandboxUpdateRequest) (*emptypb.Empty, error)
- type UnsafeSandboxServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_orchestrator_proto protoreflect.FileDescriptor
var SandboxService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "SandboxService", HandlerType: (*SandboxServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _SandboxService_Create_Handler, }, { MethodName: "Update", Handler: _SandboxService_Update_Handler, }, { MethodName: "List", Handler: _SandboxService_List_Handler, }, { MethodName: "Delete", Handler: _SandboxService_Delete_Handler, }, { MethodName: "Pause", Handler: _SandboxService_Pause_Handler, }, { MethodName: "ListCachedBuilds", Handler: _SandboxService_ListCachedBuilds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "orchestrator.proto", }
SandboxService_ServiceDesc is the grpc.ServiceDesc for SandboxService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSandboxServiceServer ¶
func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)
Types ¶
type CachedBuildInfo ¶
type CachedBuildInfo struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` // contains filtered or unexported fields }
func (*CachedBuildInfo) Descriptor
deprecated
func (*CachedBuildInfo) Descriptor() ([]byte, []int)
Deprecated: Use CachedBuildInfo.ProtoReflect.Descriptor instead.
func (*CachedBuildInfo) GetBuildId ¶
func (x *CachedBuildInfo) GetBuildId() string
func (*CachedBuildInfo) GetExpirationTime ¶
func (x *CachedBuildInfo) GetExpirationTime() *timestamppb.Timestamp
func (*CachedBuildInfo) ProtoMessage ¶
func (*CachedBuildInfo) ProtoMessage()
func (*CachedBuildInfo) ProtoReflect ¶
func (x *CachedBuildInfo) ProtoReflect() protoreflect.Message
func (*CachedBuildInfo) Reset ¶
func (x *CachedBuildInfo) Reset()
func (*CachedBuildInfo) String ¶
func (x *CachedBuildInfo) String() string
type RunningSandbox ¶
type RunningSandbox struct { Config *SandboxConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*RunningSandbox) Descriptor
deprecated
func (*RunningSandbox) Descriptor() ([]byte, []int)
Deprecated: Use RunningSandbox.ProtoReflect.Descriptor instead.
func (*RunningSandbox) GetClientId ¶
func (x *RunningSandbox) GetClientId() string
func (*RunningSandbox) GetConfig ¶
func (x *RunningSandbox) GetConfig() *SandboxConfig
func (*RunningSandbox) GetEndTime ¶
func (x *RunningSandbox) GetEndTime() *timestamppb.Timestamp
func (*RunningSandbox) GetStartTime ¶
func (x *RunningSandbox) GetStartTime() *timestamppb.Timestamp
func (*RunningSandbox) ProtoMessage ¶
func (*RunningSandbox) ProtoMessage()
func (*RunningSandbox) ProtoReflect ¶
func (x *RunningSandbox) ProtoReflect() protoreflect.Message
func (*RunningSandbox) Reset ¶
func (x *RunningSandbox) Reset()
func (*RunningSandbox) String ¶
func (x *RunningSandbox) String() string
type SandboxConfig ¶
type SandboxConfig struct { // Data required for creating a new sandbox. TemplateId string `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` KernelVersion string `protobuf:"bytes,3,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"` FirecrackerVersion string `protobuf:"bytes,4,opt,name=firecracker_version,json=firecrackerVersion,proto3" json:"firecracker_version,omitempty"` HugePages bool `protobuf:"varint,5,opt,name=huge_pages,json=hugePages,proto3" json:"huge_pages,omitempty"` SandboxId string `protobuf:"bytes,6,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` EnvVars map[string]string `` /* 170-byte string literal not displayed */ // Metadata about the sandbox. Metadata map[string]string `` /* 157-byte string literal not displayed */ Alias *string `protobuf:"bytes,9,opt,name=alias,proto3,oneof" json:"alias,omitempty"` EnvdVersion string `protobuf:"bytes,10,opt,name=envd_version,json=envdVersion,proto3" json:"envd_version,omitempty"` Vcpu int64 `protobuf:"varint,11,opt,name=vcpu,proto3" json:"vcpu,omitempty"` RamMb int64 `protobuf:"varint,12,opt,name=ram_mb,json=ramMb,proto3" json:"ram_mb,omitempty"` TeamId string `protobuf:"bytes,13,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` // Maximum length of the sandbox in Hours. MaxSandboxLength int64 `protobuf:"varint,14,opt,name=max_sandbox_length,json=maxSandboxLength,proto3" json:"max_sandbox_length,omitempty"` TotalDiskSizeMb int64 `protobuf:"varint,15,opt,name=total_disk_size_mb,json=totalDiskSizeMb,proto3" json:"total_disk_size_mb,omitempty"` Snapshot bool `protobuf:"varint,16,opt,name=snapshot,proto3" json:"snapshot,omitempty"` BaseTemplateId string `protobuf:"bytes,17,opt,name=base_template_id,json=baseTemplateId,proto3" json:"base_template_id,omitempty"` AutoPause *bool `protobuf:"varint,18,opt,name=auto_pause,json=autoPause,proto3,oneof" json:"auto_pause,omitempty"` // contains filtered or unexported fields }
func (*SandboxConfig) Descriptor
deprecated
func (*SandboxConfig) Descriptor() ([]byte, []int)
Deprecated: Use SandboxConfig.ProtoReflect.Descriptor instead.
func (*SandboxConfig) GetAlias ¶
func (x *SandboxConfig) GetAlias() string
func (*SandboxConfig) GetAutoPause ¶
func (x *SandboxConfig) GetAutoPause() bool
func (*SandboxConfig) GetBaseTemplateId ¶
func (x *SandboxConfig) GetBaseTemplateId() string
func (*SandboxConfig) GetBuildId ¶
func (x *SandboxConfig) GetBuildId() string
func (*SandboxConfig) GetEnvVars ¶
func (x *SandboxConfig) GetEnvVars() map[string]string
func (*SandboxConfig) GetEnvdVersion ¶
func (x *SandboxConfig) GetEnvdVersion() string
func (*SandboxConfig) GetFirecrackerVersion ¶
func (x *SandboxConfig) GetFirecrackerVersion() string
func (*SandboxConfig) GetHugePages ¶
func (x *SandboxConfig) GetHugePages() bool
func (*SandboxConfig) GetKernelVersion ¶
func (x *SandboxConfig) GetKernelVersion() string
func (*SandboxConfig) GetMaxSandboxLength ¶
func (x *SandboxConfig) GetMaxSandboxLength() int64
func (*SandboxConfig) GetMetadata ¶
func (x *SandboxConfig) GetMetadata() map[string]string
func (*SandboxConfig) GetRamMb ¶
func (x *SandboxConfig) GetRamMb() int64
func (*SandboxConfig) GetSandboxId ¶
func (x *SandboxConfig) GetSandboxId() string
func (*SandboxConfig) GetSnapshot ¶
func (x *SandboxConfig) GetSnapshot() bool
func (*SandboxConfig) GetTeamId ¶
func (x *SandboxConfig) GetTeamId() string
func (*SandboxConfig) GetTemplateId ¶
func (x *SandboxConfig) GetTemplateId() string
func (*SandboxConfig) GetTotalDiskSizeMb ¶
func (x *SandboxConfig) GetTotalDiskSizeMb() int64
func (*SandboxConfig) GetVcpu ¶
func (x *SandboxConfig) GetVcpu() int64
func (*SandboxConfig) ProtoMessage ¶
func (*SandboxConfig) ProtoMessage()
func (*SandboxConfig) ProtoReflect ¶
func (x *SandboxConfig) ProtoReflect() protoreflect.Message
func (*SandboxConfig) Reset ¶
func (x *SandboxConfig) Reset()
func (*SandboxConfig) String ¶
func (x *SandboxConfig) String() string
type SandboxCreateRequest ¶
type SandboxCreateRequest struct { Sandbox *SandboxConfig `protobuf:"bytes,1,opt,name=sandbox,proto3" json:"sandbox,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*SandboxCreateRequest) Descriptor
deprecated
func (*SandboxCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxCreateRequest.ProtoReflect.Descriptor instead.
func (*SandboxCreateRequest) GetEndTime ¶
func (x *SandboxCreateRequest) GetEndTime() *timestamppb.Timestamp
func (*SandboxCreateRequest) GetSandbox ¶
func (x *SandboxCreateRequest) GetSandbox() *SandboxConfig
func (*SandboxCreateRequest) GetStartTime ¶
func (x *SandboxCreateRequest) GetStartTime() *timestamppb.Timestamp
func (*SandboxCreateRequest) ProtoMessage ¶
func (*SandboxCreateRequest) ProtoMessage()
func (*SandboxCreateRequest) ProtoReflect ¶
func (x *SandboxCreateRequest) ProtoReflect() protoreflect.Message
func (*SandboxCreateRequest) Reset ¶
func (x *SandboxCreateRequest) Reset()
func (*SandboxCreateRequest) String ¶
func (x *SandboxCreateRequest) String() string
type SandboxCreateResponse ¶
type SandboxCreateResponse struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*SandboxCreateResponse) Descriptor
deprecated
func (*SandboxCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxCreateResponse.ProtoReflect.Descriptor instead.
func (*SandboxCreateResponse) GetClientId ¶
func (x *SandboxCreateResponse) GetClientId() string
func (*SandboxCreateResponse) ProtoMessage ¶
func (*SandboxCreateResponse) ProtoMessage()
func (*SandboxCreateResponse) ProtoReflect ¶
func (x *SandboxCreateResponse) ProtoReflect() protoreflect.Message
func (*SandboxCreateResponse) Reset ¶
func (x *SandboxCreateResponse) Reset()
func (*SandboxCreateResponse) String ¶
func (x *SandboxCreateResponse) String() string
type SandboxDeleteRequest ¶
type SandboxDeleteRequest struct { SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` // contains filtered or unexported fields }
func (*SandboxDeleteRequest) Descriptor
deprecated
func (*SandboxDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxDeleteRequest.ProtoReflect.Descriptor instead.
func (*SandboxDeleteRequest) GetSandboxId ¶
func (x *SandboxDeleteRequest) GetSandboxId() string
func (*SandboxDeleteRequest) ProtoMessage ¶
func (*SandboxDeleteRequest) ProtoMessage()
func (*SandboxDeleteRequest) ProtoReflect ¶
func (x *SandboxDeleteRequest) ProtoReflect() protoreflect.Message
func (*SandboxDeleteRequest) Reset ¶
func (x *SandboxDeleteRequest) Reset()
func (*SandboxDeleteRequest) String ¶
func (x *SandboxDeleteRequest) String() string
type SandboxListCachedBuildsResponse ¶
type SandboxListCachedBuildsResponse struct { Builds []*CachedBuildInfo `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"` // contains filtered or unexported fields }
func (*SandboxListCachedBuildsResponse) Descriptor
deprecated
func (*SandboxListCachedBuildsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxListCachedBuildsResponse.ProtoReflect.Descriptor instead.
func (*SandboxListCachedBuildsResponse) GetBuilds ¶
func (x *SandboxListCachedBuildsResponse) GetBuilds() []*CachedBuildInfo
func (*SandboxListCachedBuildsResponse) ProtoMessage ¶
func (*SandboxListCachedBuildsResponse) ProtoMessage()
func (*SandboxListCachedBuildsResponse) ProtoReflect ¶
func (x *SandboxListCachedBuildsResponse) ProtoReflect() protoreflect.Message
func (*SandboxListCachedBuildsResponse) Reset ¶
func (x *SandboxListCachedBuildsResponse) Reset()
func (*SandboxListCachedBuildsResponse) String ¶
func (x *SandboxListCachedBuildsResponse) String() string
type SandboxListResponse ¶
type SandboxListResponse struct { Sandboxes []*RunningSandbox `protobuf:"bytes,1,rep,name=sandboxes,proto3" json:"sandboxes,omitempty"` // contains filtered or unexported fields }
func (*SandboxListResponse) Descriptor
deprecated
func (*SandboxListResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxListResponse.ProtoReflect.Descriptor instead.
func (*SandboxListResponse) GetSandboxes ¶
func (x *SandboxListResponse) GetSandboxes() []*RunningSandbox
func (*SandboxListResponse) ProtoMessage ¶
func (*SandboxListResponse) ProtoMessage()
func (*SandboxListResponse) ProtoReflect ¶
func (x *SandboxListResponse) ProtoReflect() protoreflect.Message
func (*SandboxListResponse) Reset ¶
func (x *SandboxListResponse) Reset()
func (*SandboxListResponse) String ¶
func (x *SandboxListResponse) String() string
type SandboxPauseRequest ¶
type SandboxPauseRequest struct { SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` TemplateId string `protobuf:"bytes,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` BuildId string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*SandboxPauseRequest) Descriptor
deprecated
func (*SandboxPauseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxPauseRequest.ProtoReflect.Descriptor instead.
func (*SandboxPauseRequest) GetBuildId ¶
func (x *SandboxPauseRequest) GetBuildId() string
func (*SandboxPauseRequest) GetSandboxId ¶
func (x *SandboxPauseRequest) GetSandboxId() string
func (*SandboxPauseRequest) GetTemplateId ¶
func (x *SandboxPauseRequest) GetTemplateId() string
func (*SandboxPauseRequest) ProtoMessage ¶
func (*SandboxPauseRequest) ProtoMessage()
func (*SandboxPauseRequest) ProtoReflect ¶
func (x *SandboxPauseRequest) ProtoReflect() protoreflect.Message
func (*SandboxPauseRequest) Reset ¶
func (x *SandboxPauseRequest) Reset()
func (*SandboxPauseRequest) String ¶
func (x *SandboxPauseRequest) String() string
type SandboxServiceClient ¶
type SandboxServiceClient interface { Create(ctx context.Context, in *SandboxCreateRequest, opts ...grpc.CallOption) (*SandboxCreateResponse, error) Update(ctx context.Context, in *SandboxUpdateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SandboxListResponse, error) Delete(ctx context.Context, in *SandboxDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Pause(ctx context.Context, in *SandboxPauseRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListCachedBuilds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SandboxListCachedBuildsResponse, error) }
SandboxServiceClient is the client API for SandboxService 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 NewSandboxServiceClient ¶
func NewSandboxServiceClient(cc grpc.ClientConnInterface) SandboxServiceClient
type SandboxServiceServer ¶
type SandboxServiceServer interface { Create(context.Context, *SandboxCreateRequest) (*SandboxCreateResponse, error) Update(context.Context, *SandboxUpdateRequest) (*emptypb.Empty, error) List(context.Context, *emptypb.Empty) (*SandboxListResponse, error) Delete(context.Context, *SandboxDeleteRequest) (*emptypb.Empty, error) Pause(context.Context, *SandboxPauseRequest) (*emptypb.Empty, error) ListCachedBuilds(context.Context, *emptypb.Empty) (*SandboxListCachedBuildsResponse, error) // contains filtered or unexported methods }
SandboxServiceServer is the server API for SandboxService service. All implementations must embed UnimplementedSandboxServiceServer for forward compatibility
type SandboxUpdateRequest ¶
type SandboxUpdateRequest struct { SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*SandboxUpdateRequest) Descriptor
deprecated
func (*SandboxUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxUpdateRequest.ProtoReflect.Descriptor instead.
func (*SandboxUpdateRequest) GetEndTime ¶
func (x *SandboxUpdateRequest) GetEndTime() *timestamppb.Timestamp
func (*SandboxUpdateRequest) GetSandboxId ¶
func (x *SandboxUpdateRequest) GetSandboxId() string
func (*SandboxUpdateRequest) ProtoMessage ¶
func (*SandboxUpdateRequest) ProtoMessage()
func (*SandboxUpdateRequest) ProtoReflect ¶
func (x *SandboxUpdateRequest) ProtoReflect() protoreflect.Message
func (*SandboxUpdateRequest) Reset ¶
func (x *SandboxUpdateRequest) Reset()
func (*SandboxUpdateRequest) String ¶
func (x *SandboxUpdateRequest) String() string
type UnimplementedSandboxServiceServer ¶
type UnimplementedSandboxServiceServer struct { }
UnimplementedSandboxServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSandboxServiceServer) Create ¶
func (UnimplementedSandboxServiceServer) Create(context.Context, *SandboxCreateRequest) (*SandboxCreateResponse, error)
func (UnimplementedSandboxServiceServer) Delete ¶
func (UnimplementedSandboxServiceServer) Delete(context.Context, *SandboxDeleteRequest) (*emptypb.Empty, error)
func (UnimplementedSandboxServiceServer) List ¶
func (UnimplementedSandboxServiceServer) List(context.Context, *emptypb.Empty) (*SandboxListResponse, error)
func (UnimplementedSandboxServiceServer) ListCachedBuilds ¶
func (UnimplementedSandboxServiceServer) ListCachedBuilds(context.Context, *emptypb.Empty) (*SandboxListCachedBuildsResponse, error)
func (UnimplementedSandboxServiceServer) Pause ¶
func (UnimplementedSandboxServiceServer) Pause(context.Context, *SandboxPauseRequest) (*emptypb.Empty, error)
func (UnimplementedSandboxServiceServer) Update ¶
func (UnimplementedSandboxServiceServer) Update(context.Context, *SandboxUpdateRequest) (*emptypb.Empty, error)
type UnsafeSandboxServiceServer ¶
type UnsafeSandboxServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSandboxServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SandboxServiceServer will result in compilation errors.