orchestrator

package
v0.0.0-...-8e108db Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 6

Documentation

Index

Constants

View Source
const (
	ChunkService_GetBuildFileSize_FullMethodName    = "/ChunkService/GetBuildFileSize"
	ChunkService_GetBuildFileExists_FullMethodName  = "/ChunkService/GetBuildFileExists"
	ChunkService_ReadAtBuildSeekable_FullMethodName = "/ChunkService/ReadAtBuildSeekable"
	ChunkService_GetBuildBlob_FullMethodName        = "/ChunkService/GetBuildBlob"
)
View Source
const (
	SandboxService_Create_FullMethodName           = "/SandboxService/Create"
	SandboxService_Update_FullMethodName           = "/SandboxService/Update"
	SandboxService_List_FullMethodName             = "/SandboxService/List"
	SandboxService_Delete_FullMethodName           = "/SandboxService/Delete"
	SandboxService_Pause_FullMethodName            = "/SandboxService/Pause"
	SandboxService_Checkpoint_FullMethodName       = "/SandboxService/Checkpoint"
	SandboxService_ListCachedBuilds_FullMethodName = "/SandboxService/ListCachedBuilds"
)
View Source
const (
	VolumeService_CreateVolume_FullMethodName = "/VolumeService/CreateVolume"
	VolumeService_DeleteVolume_FullMethodName = "/VolumeService/DeleteVolume"
	VolumeService_CreateDir_FullMethodName    = "/VolumeService/CreateDir"
	VolumeService_ListDir_FullMethodName      = "/VolumeService/ListDir"
	VolumeService_CreateFile_FullMethodName   = "/VolumeService/CreateFile"
	VolumeService_GetFile_FullMethodName      = "/VolumeService/GetFile"
	VolumeService_DeletePath_FullMethodName   = "/VolumeService/DeletePath"
	VolumeService_StatPath_FullMethodName     = "/VolumeService/StatPath"
	VolumeService_UpdatePath_FullMethodName   = "/VolumeService/UpdatePath"
)

Variables

View Source
var (
	UserErrorCode_name = map[int32]string{
		0: "UNKNOWN_USER_ERROR_CODE",
		1: "PATH_NOT_FOUND",
		2: "PATH_ALREADY_EXISTS",
		3: "CANNOT_DELETE_ROOT",
		4: "NOT_SUPPORTED",
		5: "DEPTH_OUT_OF_RANGE",
		6: "INVALID_REQUEST",
	}
	UserErrorCode_value = map[string]int32{
		"UNKNOWN_USER_ERROR_CODE": 0,
		"PATH_NOT_FOUND":          1,
		"PATH_ALREADY_EXISTS":     2,
		"CANNOT_DELETE_ROOT":      3,
		"NOT_SUPPORTED":           4,
		"DEPTH_OUT_OF_RANGE":      5,
		"INVALID_REQUEST":         6,
	}
)

Enum value maps for UserErrorCode.

View Source
var (
	FileType_name = map[int32]string{
		0: "FILE_TYPE_UNSPECIFIED",
		1: "FILE_TYPE_FILE",
		2: "FILE_TYPE_DIRECTORY",
		3: "FILE_TYPE_SYMLINK",
	}
	FileType_value = map[string]int32{
		"FILE_TYPE_UNSPECIFIED": 0,
		"FILE_TYPE_FILE":        1,
		"FILE_TYPE_DIRECTORY":   2,
		"FILE_TYPE_SYMLINK":     3,
	}
)

Enum value maps for FileType.

View Source
var ChunkService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ChunkService",
	HandlerType: (*ChunkServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBuildFileSize",
			Handler:    _ChunkService_GetBuildFileSize_Handler,
		},
		{
			MethodName: "GetBuildFileExists",
			Handler:    _ChunkService_GetBuildFileExists_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ReadAtBuildSeekable",
			Handler:       _ChunkService_ReadAtBuildSeekable_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetBuildBlob",
			Handler:       _ChunkService_GetBuildBlob_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "chunks.proto",
}

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

View Source
var File_chunks_proto protoreflect.FileDescriptor
View Source
var File_orchestrator_proto protoreflect.FileDescriptor
View Source
var File_volume_proto protoreflect.FileDescriptor
View Source
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: "Checkpoint",
			Handler:    _SandboxService_Checkpoint_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)

View Source
var VolumeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "VolumeService",
	HandlerType: (*VolumeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateVolume",
			Handler:    _VolumeService_CreateVolume_Handler,
		},
		{
			MethodName: "DeleteVolume",
			Handler:    _VolumeService_DeleteVolume_Handler,
		},
		{
			MethodName: "CreateDir",
			Handler:    _VolumeService_CreateDir_Handler,
		},
		{
			MethodName: "ListDir",
			Handler:    _VolumeService_ListDir_Handler,
		},
		{
			MethodName: "DeletePath",
			Handler:    _VolumeService_DeletePath_Handler,
		},
		{
			MethodName: "StatPath",
			Handler:    _VolumeService_StatPath_Handler,
		},
		{
			MethodName: "UpdatePath",
			Handler:    _VolumeService_UpdatePath_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "CreateFile",
			Handler:       _VolumeService_CreateFile_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "GetFile",
			Handler:       _VolumeService_GetFile_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "volume.proto",
}

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

Functions

func RegisterChunkServiceServer

func RegisterChunkServiceServer(s grpc.ServiceRegistrar, srv ChunkServiceServer)

func RegisterSandboxServiceServer

func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)

func RegisterVolumeServiceServer

func RegisterVolumeServiceServer(s grpc.ServiceRegistrar, srv VolumeServiceServer)

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 ChunkServiceClient

type ChunkServiceClient interface {
	// GetBuildFileSize returns the total size of a seekable diff file (memfile, rootfs.ext4).
	GetBuildFileSize(ctx context.Context, in *GetBuildFileSizeRequest, opts ...grpc.CallOption) (*GetBuildFileSizeResponse, error)
	// GetBuildFileExists checks if a blob file is present in the peer's local cache.
	GetBuildFileExists(ctx context.Context, in *GetBuildFileExistsRequest, opts ...grpc.CallOption) (*GetBuildFileExistsResponse, error)
	// ReadAtBuildSeekable streams a range from a seekable diff file (memfile, rootfs.ext4).
	ReadAtBuildSeekable(ctx context.Context, in *ReadAtBuildSeekableRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ReadAtBuildSeekableResponse], error)
	// GetBuildBlob streams an entire blob file (snapfile, metadata, headers).
	GetBuildBlob(ctx context.Context, in *GetBuildBlobRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetBuildBlobResponse], error)
}

ChunkServiceClient is the client API for ChunkService 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.

type ChunkServiceServer

type ChunkServiceServer interface {
	// GetBuildFileSize returns the total size of a seekable diff file (memfile, rootfs.ext4).
	GetBuildFileSize(context.Context, *GetBuildFileSizeRequest) (*GetBuildFileSizeResponse, error)
	// GetBuildFileExists checks if a blob file is present in the peer's local cache.
	GetBuildFileExists(context.Context, *GetBuildFileExistsRequest) (*GetBuildFileExistsResponse, error)
	// ReadAtBuildSeekable streams a range from a seekable diff file (memfile, rootfs.ext4).
	ReadAtBuildSeekable(*ReadAtBuildSeekableRequest, grpc.ServerStreamingServer[ReadAtBuildSeekableResponse]) error
	// GetBuildBlob streams an entire blob file (snapfile, metadata, headers).
	GetBuildBlob(*GetBuildBlobRequest, grpc.ServerStreamingServer[GetBuildBlobResponse]) error
	// contains filtered or unexported methods
}

ChunkServiceServer is the server API for ChunkService service. All implementations must embed UnimplementedChunkServiceServer for forward compatibility.

type ChunkService_GetBuildBlobClient

type ChunkService_GetBuildBlobClient = grpc.ServerStreamingClient[GetBuildBlobResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ChunkService_GetBuildBlobServer

type ChunkService_GetBuildBlobServer = grpc.ServerStreamingServer[GetBuildBlobResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ChunkService_ReadAtBuildSeekableClient

type ChunkService_ReadAtBuildSeekableClient = grpc.ServerStreamingClient[ReadAtBuildSeekableResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ChunkService_ReadAtBuildSeekableServer

type ChunkService_ReadAtBuildSeekableServer = grpc.ServerStreamingServer[ReadAtBuildSeekableResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CreateDirRequest

type CreateDirRequest struct {
	Volume        *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path          string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Mode          *uint32     `protobuf:"varint,3,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	Uid           *uint32     `protobuf:"varint,4,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	Gid           *uint32     `protobuf:"varint,5,opt,name=gid,proto3,oneof" json:"gid,omitempty"`
	CreateParents bool        `protobuf:"varint,6,opt,name=create_parents,json=createParents,proto3" json:"create_parents,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDirRequest) Descriptor deprecated

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

Deprecated: Use CreateDirRequest.ProtoReflect.Descriptor instead.

func (*CreateDirRequest) GetCreateParents

func (x *CreateDirRequest) GetCreateParents() bool

func (*CreateDirRequest) GetGid

func (x *CreateDirRequest) GetGid() uint32

func (*CreateDirRequest) GetMode

func (x *CreateDirRequest) GetMode() uint32

func (*CreateDirRequest) GetPath

func (x *CreateDirRequest) GetPath() string

func (*CreateDirRequest) GetUid

func (x *CreateDirRequest) GetUid() uint32

func (*CreateDirRequest) GetVolume

func (x *CreateDirRequest) GetVolume() *VolumeInfo

func (*CreateDirRequest) ProtoMessage

func (*CreateDirRequest) ProtoMessage()

func (*CreateDirRequest) ProtoReflect

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

func (*CreateDirRequest) Reset

func (x *CreateDirRequest) Reset()

func (*CreateDirRequest) String

func (x *CreateDirRequest) String() string

type CreateDirResponse

type CreateDirResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDirResponse) Descriptor deprecated

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

Deprecated: Use CreateDirResponse.ProtoReflect.Descriptor instead.

func (*CreateDirResponse) GetEntry

func (x *CreateDirResponse) GetEntry() *EntryInfo

func (*CreateDirResponse) ProtoMessage

func (*CreateDirResponse) ProtoMessage()

func (*CreateDirResponse) ProtoReflect

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

func (*CreateDirResponse) Reset

func (x *CreateDirResponse) Reset()

func (*CreateDirResponse) String

func (x *CreateDirResponse) String() string

type CreateFileRequest

type CreateFileRequest struct {

	// Types that are assignable to Message:
	//	*CreateFileRequest_Start
	//	*CreateFileRequest_Content
	//	*CreateFileRequest_Finish
	Message isCreateFileRequest_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*CreateFileRequest) Descriptor deprecated

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

Deprecated: Use CreateFileRequest.ProtoReflect.Descriptor instead.

func (*CreateFileRequest) GetContent

func (x *CreateFileRequest) GetContent() *VolumeFileCreateContent

func (*CreateFileRequest) GetFinish

func (x *CreateFileRequest) GetFinish() *VolumeFileCreateFinish

func (*CreateFileRequest) GetMessage

func (m *CreateFileRequest) GetMessage() isCreateFileRequest_Message

func (*CreateFileRequest) GetStart

func (*CreateFileRequest) ProtoMessage

func (*CreateFileRequest) ProtoMessage()

func (*CreateFileRequest) ProtoReflect

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

func (*CreateFileRequest) Reset

func (x *CreateFileRequest) Reset()

func (*CreateFileRequest) String

func (x *CreateFileRequest) String() string

type CreateFileRequest_Content

type CreateFileRequest_Content struct {
	Content *VolumeFileCreateContent `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}

type CreateFileRequest_Finish

type CreateFileRequest_Finish struct {
	Finish *VolumeFileCreateFinish `protobuf:"bytes,3,opt,name=finish,proto3,oneof"`
}

type CreateFileRequest_Start

type CreateFileRequest_Start struct {
	Start *VolumeFileCreateStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type CreateFileResponse

type CreateFileResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFileResponse) Descriptor deprecated

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

Deprecated: Use CreateFileResponse.ProtoReflect.Descriptor instead.

func (*CreateFileResponse) GetEntry

func (x *CreateFileResponse) GetEntry() *EntryInfo

func (*CreateFileResponse) ProtoMessage

func (*CreateFileResponse) ProtoMessage()

func (*CreateFileResponse) ProtoReflect

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

func (*CreateFileResponse) Reset

func (x *CreateFileResponse) Reset()

func (*CreateFileResponse) String

func (x *CreateFileResponse) String() string

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeRequest) Descriptor deprecated

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

Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.

func (*CreateVolumeRequest) GetVolume

func (x *CreateVolumeRequest) GetVolume() *VolumeInfo

func (*CreateVolumeRequest) ProtoMessage

func (*CreateVolumeRequest) ProtoMessage()

func (*CreateVolumeRequest) ProtoReflect

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

func (*CreateVolumeRequest) Reset

func (x *CreateVolumeRequest) Reset()

func (*CreateVolumeRequest) String

func (x *CreateVolumeRequest) String() string

type CreateVolumeResponse

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

func (*CreateVolumeResponse) Descriptor deprecated

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

Deprecated: Use CreateVolumeResponse.ProtoReflect.Descriptor instead.

func (*CreateVolumeResponse) ProtoMessage

func (*CreateVolumeResponse) ProtoMessage()

func (*CreateVolumeResponse) ProtoReflect

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

func (*CreateVolumeResponse) Reset

func (x *CreateVolumeResponse) Reset()

func (*CreateVolumeResponse) String

func (x *CreateVolumeResponse) String() string

type DeletePathRequest

type DeletePathRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path   string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePathRequest) Descriptor deprecated

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

Deprecated: Use DeletePathRequest.ProtoReflect.Descriptor instead.

func (*DeletePathRequest) GetPath

func (x *DeletePathRequest) GetPath() string

func (*DeletePathRequest) GetVolume

func (x *DeletePathRequest) GetVolume() *VolumeInfo

func (*DeletePathRequest) ProtoMessage

func (*DeletePathRequest) ProtoMessage()

func (*DeletePathRequest) ProtoReflect

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

func (*DeletePathRequest) Reset

func (x *DeletePathRequest) Reset()

func (*DeletePathRequest) String

func (x *DeletePathRequest) String() string

type DeletePathResponse

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

func (*DeletePathResponse) Descriptor deprecated

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

Deprecated: Use DeletePathResponse.ProtoReflect.Descriptor instead.

func (*DeletePathResponse) ProtoMessage

func (*DeletePathResponse) ProtoMessage()

func (*DeletePathResponse) ProtoReflect

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

func (*DeletePathResponse) Reset

func (x *DeletePathResponse) Reset()

func (*DeletePathResponse) String

func (x *DeletePathResponse) String() string

type DeleteVolumeRequest

type DeleteVolumeRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVolumeRequest) Descriptor deprecated

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

Deprecated: Use DeleteVolumeRequest.ProtoReflect.Descriptor instead.

func (*DeleteVolumeRequest) GetVolume

func (x *DeleteVolumeRequest) GetVolume() *VolumeInfo

func (*DeleteVolumeRequest) ProtoMessage

func (*DeleteVolumeRequest) ProtoMessage()

func (*DeleteVolumeRequest) ProtoReflect

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

func (*DeleteVolumeRequest) Reset

func (x *DeleteVolumeRequest) Reset()

func (*DeleteVolumeRequest) String

func (x *DeleteVolumeRequest) String() string

type DeleteVolumeResponse

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

func (*DeleteVolumeResponse) Descriptor deprecated

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

Deprecated: Use DeleteVolumeResponse.ProtoReflect.Descriptor instead.

func (*DeleteVolumeResponse) ProtoMessage

func (*DeleteVolumeResponse) ProtoMessage()

func (*DeleteVolumeResponse) ProtoReflect

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

func (*DeleteVolumeResponse) Reset

func (x *DeleteVolumeResponse) Reset()

func (*DeleteVolumeResponse) String

func (x *DeleteVolumeResponse) String() string

type EntryInfo

type EntryInfo struct {
	Name         string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type         FileType               `protobuf:"varint,2,opt,name=type,proto3,enum=FileType" json:"type,omitempty"`
	Path         string                 `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Size         int64                  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Mode         uint32                 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"`
	Uid          uint32                 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid          uint32                 `protobuf:"varint,7,opt,name=gid,proto3" json:"gid,omitempty"`
	ModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// If the entry is a symlink, this field contains the target of the symlink.
	SymlinkTarget *string                `protobuf:"bytes,9,opt,name=symlink_target,json=symlinkTarget,proto3,oneof" json:"symlink_target,omitempty"`
	CreatedTime   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	AccessedTime  *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=accessed_time,json=accessedTime,proto3" json:"accessed_time,omitempty"`
	// contains filtered or unexported fields
}

func (*EntryInfo) Descriptor deprecated

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

Deprecated: Use EntryInfo.ProtoReflect.Descriptor instead.

func (*EntryInfo) GetAccessedTime

func (x *EntryInfo) GetAccessedTime() *timestamppb.Timestamp

func (*EntryInfo) GetCreatedTime

func (x *EntryInfo) GetCreatedTime() *timestamppb.Timestamp

func (*EntryInfo) GetGid

func (x *EntryInfo) GetGid() uint32

func (*EntryInfo) GetMode

func (x *EntryInfo) GetMode() uint32

func (*EntryInfo) GetModifiedTime

func (x *EntryInfo) GetModifiedTime() *timestamppb.Timestamp

func (*EntryInfo) GetName

func (x *EntryInfo) GetName() string

func (*EntryInfo) GetPath

func (x *EntryInfo) GetPath() string

func (*EntryInfo) GetSize

func (x *EntryInfo) GetSize() int64

func (*EntryInfo) GetSymlinkTarget

func (x *EntryInfo) GetSymlinkTarget() string

func (*EntryInfo) GetType

func (x *EntryInfo) GetType() FileType

func (*EntryInfo) GetUid

func (x *EntryInfo) GetUid() uint32

func (*EntryInfo) ProtoMessage

func (*EntryInfo) ProtoMessage()

func (*EntryInfo) ProtoReflect

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

func (*EntryInfo) Reset

func (x *EntryInfo) Reset()

func (*EntryInfo) String

func (x *EntryInfo) String() string

type FileType

type FileType int32
const (
	FileType_FILE_TYPE_UNSPECIFIED FileType = 0
	FileType_FILE_TYPE_FILE        FileType = 1
	FileType_FILE_TYPE_DIRECTORY   FileType = 2
	FileType_FILE_TYPE_SYMLINK     FileType = 3
)

func (FileType) Descriptor

func (FileType) Descriptor() protoreflect.EnumDescriptor

func (FileType) Enum

func (x FileType) Enum() *FileType

func (FileType) EnumDescriptor deprecated

func (FileType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FileType.Descriptor instead.

func (FileType) Number

func (x FileType) Number() protoreflect.EnumNumber

func (FileType) String

func (x FileType) String() string

func (FileType) Type

type GetBuildBlobRequest

type GetBuildBlobRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// name is one of: "snapfile", "metadata.json", "memfile.header", "rootfs.ext4.header"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildBlobRequest) Descriptor deprecated

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

Deprecated: Use GetBuildBlobRequest.ProtoReflect.Descriptor instead.

func (*GetBuildBlobRequest) GetBuildId

func (x *GetBuildBlobRequest) GetBuildId() string

func (*GetBuildBlobRequest) GetName

func (x *GetBuildBlobRequest) GetName() string

func (*GetBuildBlobRequest) ProtoMessage

func (*GetBuildBlobRequest) ProtoMessage()

func (*GetBuildBlobRequest) ProtoReflect

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

func (*GetBuildBlobRequest) Reset

func (x *GetBuildBlobRequest) Reset()

func (*GetBuildBlobRequest) String

func (x *GetBuildBlobRequest) String() string

type GetBuildBlobResponse

type GetBuildBlobResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// availability is only set in the first message of the stream.
	Availability *PeerAvailability `protobuf:"bytes,2,opt,name=availability,proto3" json:"availability,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildBlobResponse) Descriptor deprecated

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

Deprecated: Use GetBuildBlobResponse.ProtoReflect.Descriptor instead.

func (*GetBuildBlobResponse) GetAvailability

func (x *GetBuildBlobResponse) GetAvailability() *PeerAvailability

func (*GetBuildBlobResponse) GetData

func (x *GetBuildBlobResponse) GetData() []byte

func (*GetBuildBlobResponse) ProtoMessage

func (*GetBuildBlobResponse) ProtoMessage()

func (*GetBuildBlobResponse) ProtoReflect

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

func (*GetBuildBlobResponse) Reset

func (x *GetBuildBlobResponse) Reset()

func (*GetBuildBlobResponse) String

func (x *GetBuildBlobResponse) String() string

type GetBuildFileExistsRequest

type GetBuildFileExistsRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// name is one of: "snapfile", "metadata.json"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildFileExistsRequest) Descriptor deprecated

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

Deprecated: Use GetBuildFileExistsRequest.ProtoReflect.Descriptor instead.

func (*GetBuildFileExistsRequest) GetBuildId

func (x *GetBuildFileExistsRequest) GetBuildId() string

func (*GetBuildFileExistsRequest) GetName

func (x *GetBuildFileExistsRequest) GetName() string

func (*GetBuildFileExistsRequest) ProtoMessage

func (*GetBuildFileExistsRequest) ProtoMessage()

func (*GetBuildFileExistsRequest) ProtoReflect

func (*GetBuildFileExistsRequest) Reset

func (x *GetBuildFileExistsRequest) Reset()

func (*GetBuildFileExistsRequest) String

func (x *GetBuildFileExistsRequest) String() string

type GetBuildFileExistsResponse

type GetBuildFileExistsResponse struct {
	Availability *PeerAvailability `protobuf:"bytes,1,opt,name=availability,proto3" json:"availability,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildFileExistsResponse) Descriptor deprecated

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

Deprecated: Use GetBuildFileExistsResponse.ProtoReflect.Descriptor instead.

func (*GetBuildFileExistsResponse) GetAvailability

func (x *GetBuildFileExistsResponse) GetAvailability() *PeerAvailability

func (*GetBuildFileExistsResponse) ProtoMessage

func (*GetBuildFileExistsResponse) ProtoMessage()

func (*GetBuildFileExistsResponse) ProtoReflect

func (*GetBuildFileExistsResponse) Reset

func (x *GetBuildFileExistsResponse) Reset()

func (*GetBuildFileExistsResponse) String

func (x *GetBuildFileExistsResponse) String() string

type GetBuildFileSizeRequest

type GetBuildFileSizeRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// name is one of the seekable diff files: "memfile", "rootfs.ext4"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildFileSizeRequest) Descriptor deprecated

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

Deprecated: Use GetBuildFileSizeRequest.ProtoReflect.Descriptor instead.

func (*GetBuildFileSizeRequest) GetBuildId

func (x *GetBuildFileSizeRequest) GetBuildId() string

func (*GetBuildFileSizeRequest) GetName

func (x *GetBuildFileSizeRequest) GetName() string

func (*GetBuildFileSizeRequest) ProtoMessage

func (*GetBuildFileSizeRequest) ProtoMessage()

func (*GetBuildFileSizeRequest) ProtoReflect

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

func (*GetBuildFileSizeRequest) Reset

func (x *GetBuildFileSizeRequest) Reset()

func (*GetBuildFileSizeRequest) String

func (x *GetBuildFileSizeRequest) String() string

type GetBuildFileSizeResponse

type GetBuildFileSizeResponse struct {
	TotalSize    int64             `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	Availability *PeerAvailability `protobuf:"bytes,2,opt,name=availability,proto3" json:"availability,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildFileSizeResponse) Descriptor deprecated

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

Deprecated: Use GetBuildFileSizeResponse.ProtoReflect.Descriptor instead.

func (*GetBuildFileSizeResponse) GetAvailability

func (x *GetBuildFileSizeResponse) GetAvailability() *PeerAvailability

func (*GetBuildFileSizeResponse) GetTotalSize

func (x *GetBuildFileSizeResponse) GetTotalSize() int64

func (*GetBuildFileSizeResponse) ProtoMessage

func (*GetBuildFileSizeResponse) ProtoMessage()

func (*GetBuildFileSizeResponse) ProtoReflect

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

func (*GetBuildFileSizeResponse) Reset

func (x *GetBuildFileSizeResponse) Reset()

func (*GetBuildFileSizeResponse) String

func (x *GetBuildFileSizeResponse) String() string

type GetFileRequest

type GetFileRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path   string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileRequest) Descriptor deprecated

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

Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.

func (*GetFileRequest) GetPath

func (x *GetFileRequest) GetPath() string

func (*GetFileRequest) GetVolume

func (x *GetFileRequest) GetVolume() *VolumeInfo

func (*GetFileRequest) ProtoMessage

func (*GetFileRequest) ProtoMessage()

func (*GetFileRequest) ProtoReflect

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

func (*GetFileRequest) Reset

func (x *GetFileRequest) Reset()

func (*GetFileRequest) String

func (x *GetFileRequest) String() string

type GetFileResponse

type GetFileResponse struct {

	// Types that are assignable to Message:
	//	*GetFileResponse_Start
	//	*GetFileResponse_Content
	//	*GetFileResponse_Finish
	Message isGetFileResponse_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*GetFileResponse) Descriptor deprecated

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

Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.

func (*GetFileResponse) GetContent

func (*GetFileResponse) GetFinish

func (*GetFileResponse) GetMessage

func (m *GetFileResponse) GetMessage() isGetFileResponse_Message

func (*GetFileResponse) GetStart

func (*GetFileResponse) ProtoMessage

func (*GetFileResponse) ProtoMessage()

func (*GetFileResponse) ProtoReflect

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

func (*GetFileResponse) Reset

func (x *GetFileResponse) Reset()

func (*GetFileResponse) String

func (x *GetFileResponse) String() string

type GetFileResponse_Content

type GetFileResponse_Content struct {
	Content *VolumeFileGetResponseContent `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}

type GetFileResponse_Finish

type GetFileResponse_Finish struct {
	Finish *VolumeFileGetResponseFinish `protobuf:"bytes,3,opt,name=finish,proto3,oneof"`
}

type GetFileResponse_Start

type GetFileResponse_Start struct {
	Start *VolumeFileGetResponseStart `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type ListDirRequest

type ListDirRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path   string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Depth  uint32      `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirRequest) Descriptor deprecated

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

Deprecated: Use ListDirRequest.ProtoReflect.Descriptor instead.

func (*ListDirRequest) GetDepth

func (x *ListDirRequest) GetDepth() uint32

func (*ListDirRequest) GetPath

func (x *ListDirRequest) GetPath() string

func (*ListDirRequest) GetVolume

func (x *ListDirRequest) GetVolume() *VolumeInfo

func (*ListDirRequest) ProtoMessage

func (*ListDirRequest) ProtoMessage()

func (*ListDirRequest) ProtoReflect

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

func (*ListDirRequest) Reset

func (x *ListDirRequest) Reset()

func (*ListDirRequest) String

func (x *ListDirRequest) String() string

type ListDirResponse

type ListDirResponse struct {
	Files []*VolumeDirectoryItem `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDirResponse) Descriptor deprecated

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

Deprecated: Use ListDirResponse.ProtoReflect.Descriptor instead.

func (*ListDirResponse) GetFiles

func (x *ListDirResponse) GetFiles() []*VolumeDirectoryItem

func (*ListDirResponse) ProtoMessage

func (*ListDirResponse) ProtoMessage()

func (*ListDirResponse) ProtoReflect

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

func (*ListDirResponse) Reset

func (x *ListDirResponse) Reset()

func (*ListDirResponse) String

func (x *ListDirResponse) String() string

type PeerAvailability

type PeerAvailability struct {

	// not_available is true when the file is not in the local cache. The caller
	// should fall back to remote storage.
	NotAvailable bool `protobuf:"varint,1,opt,name=not_available,json=notAvailable,proto3" json:"not_available,omitempty"`
	// use_storage is true when the remote storage upload has completed and the
	// caller should switch to reading from remote storage directly instead of
	// this peer.
	UseStorage bool `protobuf:"varint,2,opt,name=use_storage,json=useStorage,proto3" json:"use_storage,omitempty"`
	// contains filtered or unexported fields
}

PeerAvailability carries the routing decision included in every response. When neither flag is set, the file is available in the peer's local cache.

func (*PeerAvailability) Descriptor deprecated

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

Deprecated: Use PeerAvailability.ProtoReflect.Descriptor instead.

func (*PeerAvailability) GetNotAvailable

func (x *PeerAvailability) GetNotAvailable() bool

func (*PeerAvailability) GetUseStorage

func (x *PeerAvailability) GetUseStorage() bool

func (*PeerAvailability) ProtoMessage

func (*PeerAvailability) ProtoMessage()

func (*PeerAvailability) ProtoReflect

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

func (*PeerAvailability) Reset

func (x *PeerAvailability) Reset()

func (*PeerAvailability) String

func (x *PeerAvailability) String() string

type ReadAtBuildSeekableRequest

type ReadAtBuildSeekableRequest struct {
	BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Offset  int64  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	Length  int64  `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAtBuildSeekableRequest) Descriptor deprecated

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

Deprecated: Use ReadAtBuildSeekableRequest.ProtoReflect.Descriptor instead.

func (*ReadAtBuildSeekableRequest) GetBuildId

func (x *ReadAtBuildSeekableRequest) GetBuildId() string

func (*ReadAtBuildSeekableRequest) GetLength

func (x *ReadAtBuildSeekableRequest) GetLength() int64

func (*ReadAtBuildSeekableRequest) GetName

func (x *ReadAtBuildSeekableRequest) GetName() string

func (*ReadAtBuildSeekableRequest) GetOffset

func (x *ReadAtBuildSeekableRequest) GetOffset() int64

func (*ReadAtBuildSeekableRequest) ProtoMessage

func (*ReadAtBuildSeekableRequest) ProtoMessage()

func (*ReadAtBuildSeekableRequest) ProtoReflect

func (*ReadAtBuildSeekableRequest) Reset

func (x *ReadAtBuildSeekableRequest) Reset()

func (*ReadAtBuildSeekableRequest) String

func (x *ReadAtBuildSeekableRequest) String() string

type ReadAtBuildSeekableResponse

type ReadAtBuildSeekableResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// availability is only set in the first message of the stream.
	Availability *PeerAvailability `protobuf:"bytes,2,opt,name=availability,proto3" json:"availability,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAtBuildSeekableResponse) Descriptor deprecated

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

Deprecated: Use ReadAtBuildSeekableResponse.ProtoReflect.Descriptor instead.

func (*ReadAtBuildSeekableResponse) GetAvailability

func (x *ReadAtBuildSeekableResponse) GetAvailability() *PeerAvailability

func (*ReadAtBuildSeekableResponse) GetData

func (x *ReadAtBuildSeekableResponse) GetData() []byte

func (*ReadAtBuildSeekableResponse) ProtoMessage

func (*ReadAtBuildSeekableResponse) ProtoMessage()

func (*ReadAtBuildSeekableResponse) ProtoReflect

func (*ReadAtBuildSeekableResponse) Reset

func (x *ReadAtBuildSeekableResponse) Reset()

func (*ReadAtBuildSeekableResponse) String

func (x *ReadAtBuildSeekableResponse) 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 SandboxAutoResumeConfig

type SandboxAutoResumeConfig struct {

	// Policy values are owned by the API layer today (e.g. "off", "any").
	Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// Timeout requested on initial sandbox create (seconds).
	TimeoutSeconds uint64 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxAutoResumeConfig) Descriptor deprecated

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

Deprecated: Use SandboxAutoResumeConfig.ProtoReflect.Descriptor instead.

func (*SandboxAutoResumeConfig) GetPolicy

func (x *SandboxAutoResumeConfig) GetPolicy() string

func (*SandboxAutoResumeConfig) GetTimeoutSeconds

func (x *SandboxAutoResumeConfig) GetTimeoutSeconds() uint64

func (*SandboxAutoResumeConfig) ProtoMessage

func (*SandboxAutoResumeConfig) ProtoMessage()

func (*SandboxAutoResumeConfig) ProtoReflect

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

func (*SandboxAutoResumeConfig) Reset

func (x *SandboxAutoResumeConfig) Reset()

func (*SandboxAutoResumeConfig) String

func (x *SandboxAutoResumeConfig) String() string

type SandboxCheckpointRequest

type SandboxCheckpointRequest struct {
	SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	BuildId   string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxCheckpointRequest) Descriptor deprecated

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

Deprecated: Use SandboxCheckpointRequest.ProtoReflect.Descriptor instead.

func (*SandboxCheckpointRequest) GetBuildId

func (x *SandboxCheckpointRequest) GetBuildId() string

func (*SandboxCheckpointRequest) GetSandboxId

func (x *SandboxCheckpointRequest) GetSandboxId() string

func (*SandboxCheckpointRequest) ProtoMessage

func (*SandboxCheckpointRequest) ProtoMessage()

func (*SandboxCheckpointRequest) ProtoReflect

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

func (*SandboxCheckpointRequest) Reset

func (x *SandboxCheckpointRequest) Reset()

func (*SandboxCheckpointRequest) String

func (x *SandboxCheckpointRequest) String() string

type SandboxCheckpointResponse

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

func (*SandboxCheckpointResponse) Descriptor deprecated

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

Deprecated: Use SandboxCheckpointResponse.ProtoReflect.Descriptor instead.

func (*SandboxCheckpointResponse) ProtoMessage

func (*SandboxCheckpointResponse) ProtoMessage()

func (*SandboxCheckpointResponse) ProtoReflect

func (*SandboxCheckpointResponse) Reset

func (x *SandboxCheckpointResponse) Reset()

func (*SandboxCheckpointResponse) String

func (x *SandboxCheckpointResponse) 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" json:"auto_pause,omitempty"`
	EnvdAccessToken  *string `protobuf:"bytes,19,opt,name=envd_access_token,json=envdAccessToken,proto3,oneof" json:"envd_access_token,omitempty"`
	ExecutionId      string  `protobuf:"bytes,20,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// Whether the sandbox should have access to the internet.
	// This is optional only for backwards compatibility.
	// After migration, the optional keyword can be removed.
	AllowInternetAccess *bool                 `` /* 128-byte string literal not displayed */
	Network             *SandboxNetworkConfig `protobuf:"bytes,22,opt,name=network,proto3,oneof" json:"network,omitempty"`
	VolumeMounts        []*SandboxVolumeMount `protobuf:"bytes,23,rep,name=volumeMounts,proto3" json:"volumeMounts,omitempty"`
	// Auto-resume policy for paused sandboxes.
	AutoResume *SandboxAutoResumeConfig `protobuf:"bytes,24,opt,name=auto_resume,json=autoResume,proto3,oneof" json:"auto_resume,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) GetAllowInternetAccess

func (x *SandboxConfig) GetAllowInternetAccess() bool

func (*SandboxConfig) GetAutoPause

func (x *SandboxConfig) GetAutoPause() bool

func (*SandboxConfig) GetAutoResume

func (x *SandboxConfig) GetAutoResume() *SandboxAutoResumeConfig

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) GetEnvdAccessToken

func (x *SandboxConfig) GetEnvdAccessToken() string

func (*SandboxConfig) GetEnvdVersion

func (x *SandboxConfig) GetEnvdVersion() string

func (*SandboxConfig) GetExecutionId

func (x *SandboxConfig) GetExecutionId() 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) GetNetwork

func (x *SandboxConfig) GetNetwork() *SandboxNetworkConfig

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) GetVolumeMounts

func (x *SandboxConfig) GetVolumeMounts() []*SandboxVolumeMount

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 (*SandboxListCachedBuildsResponse) ProtoMessage

func (*SandboxListCachedBuildsResponse) ProtoMessage()

func (*SandboxListCachedBuildsResponse) ProtoReflect

func (*SandboxListCachedBuildsResponse) Reset

func (*SandboxListCachedBuildsResponse) 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 SandboxNetworkConfig

type SandboxNetworkConfig struct {
	Egress  *SandboxNetworkEgressConfig  `protobuf:"bytes,1,opt,name=egress,proto3,oneof" json:"egress,omitempty"`
	Ingress *SandboxNetworkIngressConfig `protobuf:"bytes,2,opt,name=ingress,proto3,oneof" json:"ingress,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxNetworkConfig) Descriptor deprecated

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

Deprecated: Use SandboxNetworkConfig.ProtoReflect.Descriptor instead.

func (*SandboxNetworkConfig) GetEgress

func (*SandboxNetworkConfig) GetIngress

func (*SandboxNetworkConfig) ProtoMessage

func (*SandboxNetworkConfig) ProtoMessage()

func (*SandboxNetworkConfig) ProtoReflect

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

func (*SandboxNetworkConfig) Reset

func (x *SandboxNetworkConfig) Reset()

func (*SandboxNetworkConfig) String

func (x *SandboxNetworkConfig) String() string

type SandboxNetworkDomainRules

type SandboxNetworkDomainRules struct {
	Rules []*SandboxNetworkRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxNetworkDomainRules) Descriptor deprecated

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

Deprecated: Use SandboxNetworkDomainRules.ProtoReflect.Descriptor instead.

func (*SandboxNetworkDomainRules) GetRules

func (*SandboxNetworkDomainRules) ProtoMessage

func (*SandboxNetworkDomainRules) ProtoMessage()

func (*SandboxNetworkDomainRules) ProtoReflect

func (*SandboxNetworkDomainRules) Reset

func (x *SandboxNetworkDomainRules) Reset()

func (*SandboxNetworkDomainRules) String

func (x *SandboxNetworkDomainRules) String() string

type SandboxNetworkEgressConfig

type SandboxNetworkEgressConfig struct {
	AllowedCidrs   []string                              `protobuf:"bytes,1,rep,name=allowed_cidrs,json=allowedCidrs,proto3" json:"allowed_cidrs,omitempty"`
	DeniedCidrs    []string                              `protobuf:"bytes,2,rep,name=denied_cidrs,json=deniedCidrs,proto3" json:"denied_cidrs,omitempty"`
	AllowedDomains []string                              `protobuf:"bytes,3,rep,name=allowed_domains,json=allowedDomains,proto3" json:"allowed_domains,omitempty"`
	Rules          map[string]*SandboxNetworkDomainRules `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SandboxNetworkEgressConfig) Descriptor deprecated

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

Deprecated: Use SandboxNetworkEgressConfig.ProtoReflect.Descriptor instead.

func (*SandboxNetworkEgressConfig) GetAllowedCidrs

func (x *SandboxNetworkEgressConfig) GetAllowedCidrs() []string

func (*SandboxNetworkEgressConfig) GetAllowedDomains

func (x *SandboxNetworkEgressConfig) GetAllowedDomains() []string

func (*SandboxNetworkEgressConfig) GetDeniedCidrs

func (x *SandboxNetworkEgressConfig) GetDeniedCidrs() []string

func (*SandboxNetworkEgressConfig) GetRules

func (*SandboxNetworkEgressConfig) ProtoMessage

func (*SandboxNetworkEgressConfig) ProtoMessage()

func (*SandboxNetworkEgressConfig) ProtoReflect

func (*SandboxNetworkEgressConfig) Reset

func (x *SandboxNetworkEgressConfig) Reset()

func (*SandboxNetworkEgressConfig) String

func (x *SandboxNetworkEgressConfig) String() string

type SandboxNetworkIngressConfig

type SandboxNetworkIngressConfig struct {
	TrafficAccessToken *string `protobuf:"bytes,1,opt,name=traffic_access_token,json=trafficAccessToken,proto3,oneof" json:"traffic_access_token,omitempty"`
	MaskRequestHost    *string `protobuf:"bytes,2,opt,name=mask_request_host,json=maskRequestHost,proto3,oneof" json:"mask_request_host,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxNetworkIngressConfig) Descriptor deprecated

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

Deprecated: Use SandboxNetworkIngressConfig.ProtoReflect.Descriptor instead.

func (*SandboxNetworkIngressConfig) GetMaskRequestHost

func (x *SandboxNetworkIngressConfig) GetMaskRequestHost() string

func (*SandboxNetworkIngressConfig) GetTrafficAccessToken

func (x *SandboxNetworkIngressConfig) GetTrafficAccessToken() string

func (*SandboxNetworkIngressConfig) ProtoMessage

func (*SandboxNetworkIngressConfig) ProtoMessage()

func (*SandboxNetworkIngressConfig) ProtoReflect

func (*SandboxNetworkIngressConfig) Reset

func (x *SandboxNetworkIngressConfig) Reset()

func (*SandboxNetworkIngressConfig) String

func (x *SandboxNetworkIngressConfig) String() string

type SandboxNetworkRule

type SandboxNetworkRule struct {
	Transform *SandboxNetworkTransform `protobuf:"bytes,1,opt,name=transform,proto3,oneof" json:"transform,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxNetworkRule) Descriptor deprecated

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

Deprecated: Use SandboxNetworkRule.ProtoReflect.Descriptor instead.

func (*SandboxNetworkRule) GetTransform

func (x *SandboxNetworkRule) GetTransform() *SandboxNetworkTransform

func (*SandboxNetworkRule) ProtoMessage

func (*SandboxNetworkRule) ProtoMessage()

func (*SandboxNetworkRule) ProtoReflect

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

func (*SandboxNetworkRule) Reset

func (x *SandboxNetworkRule) Reset()

func (*SandboxNetworkRule) String

func (x *SandboxNetworkRule) String() string

type SandboxNetworkTransform

type SandboxNetworkTransform struct {
	Headers map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SandboxNetworkTransform) Descriptor deprecated

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

Deprecated: Use SandboxNetworkTransform.ProtoReflect.Descriptor instead.

func (*SandboxNetworkTransform) GetHeaders

func (x *SandboxNetworkTransform) GetHeaders() map[string]string

func (*SandboxNetworkTransform) ProtoMessage

func (*SandboxNetworkTransform) ProtoMessage()

func (*SandboxNetworkTransform) ProtoReflect

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

func (*SandboxNetworkTransform) Reset

func (x *SandboxNetworkTransform) Reset()

func (*SandboxNetworkTransform) String

func (x *SandboxNetworkTransform) 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

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.

type SandboxServiceServer

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"`
	// All fields are optional — only set fields are applied.
	EndTime *timestamppb.Timestamp      `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`
	Egress  *SandboxNetworkEgressConfig `protobuf:"bytes,3,opt,name=egress,proto3,oneof" json:"egress,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxUpdateRequest) Descriptor deprecated

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

Deprecated: Use SandboxUpdateRequest.ProtoReflect.Descriptor instead.

func (*SandboxUpdateRequest) GetEgress

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 SandboxVolumeMount

type SandboxVolumeMount struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*SandboxVolumeMount) Descriptor deprecated

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

Deprecated: Use SandboxVolumeMount.ProtoReflect.Descriptor instead.

func (*SandboxVolumeMount) GetId

func (x *SandboxVolumeMount) GetId() string

func (*SandboxVolumeMount) GetName

func (x *SandboxVolumeMount) GetName() string

func (*SandboxVolumeMount) GetPath

func (x *SandboxVolumeMount) GetPath() string

func (*SandboxVolumeMount) GetType

func (x *SandboxVolumeMount) GetType() string

func (*SandboxVolumeMount) ProtoMessage

func (*SandboxVolumeMount) ProtoMessage()

func (*SandboxVolumeMount) ProtoReflect

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

func (*SandboxVolumeMount) Reset

func (x *SandboxVolumeMount) Reset()

func (*SandboxVolumeMount) String

func (x *SandboxVolumeMount) String() string

type StatPathRequest

type StatPathRequest struct {
	Volume         *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path           string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	FollowSymlinks bool        `protobuf:"varint,3,opt,name=follow_symlinks,json=followSymlinks,proto3" json:"follow_symlinks,omitempty"`
	// contains filtered or unexported fields
}

func (*StatPathRequest) Descriptor deprecated

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

Deprecated: Use StatPathRequest.ProtoReflect.Descriptor instead.

func (x *StatPathRequest) GetFollowSymlinks() bool

func (*StatPathRequest) GetPath

func (x *StatPathRequest) GetPath() string

func (*StatPathRequest) GetVolume

func (x *StatPathRequest) GetVolume() *VolumeInfo

func (*StatPathRequest) ProtoMessage

func (*StatPathRequest) ProtoMessage()

func (*StatPathRequest) ProtoReflect

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

func (*StatPathRequest) Reset

func (x *StatPathRequest) Reset()

func (*StatPathRequest) String

func (x *StatPathRequest) String() string

type StatPathResponse

type StatPathResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*StatPathResponse) Descriptor deprecated

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

Deprecated: Use StatPathResponse.ProtoReflect.Descriptor instead.

func (*StatPathResponse) GetEntry

func (x *StatPathResponse) GetEntry() *EntryInfo

func (*StatPathResponse) ProtoMessage

func (*StatPathResponse) ProtoMessage()

func (*StatPathResponse) ProtoReflect

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

func (*StatPathResponse) Reset

func (x *StatPathResponse) Reset()

func (*StatPathResponse) String

func (x *StatPathResponse) String() string

type UnimplementedChunkServiceServer

type UnimplementedChunkServiceServer struct{}

UnimplementedChunkServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedChunkServiceServer) GetBuildFileExists

func (UnimplementedChunkServiceServer) GetBuildFileSize

type UnimplementedSandboxServiceServer

type UnimplementedSandboxServiceServer struct{}

UnimplementedSandboxServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSandboxServiceServer) Create

func (UnimplementedSandboxServiceServer) Delete

func (UnimplementedSandboxServiceServer) List

func (UnimplementedSandboxServiceServer) ListCachedBuilds

func (UnimplementedSandboxServiceServer) Pause

func (UnimplementedSandboxServiceServer) Update

type UnimplementedVolumeServiceServer

type UnimplementedVolumeServiceServer struct{}

UnimplementedVolumeServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVolumeServiceServer) CreateDir

func (UnimplementedVolumeServiceServer) CreateVolume

func (UnimplementedVolumeServiceServer) DeletePath

func (UnimplementedVolumeServiceServer) DeleteVolume

func (UnimplementedVolumeServiceServer) GetFile

func (UnimplementedVolumeServiceServer) ListDir

func (UnimplementedVolumeServiceServer) StatPath

func (UnimplementedVolumeServiceServer) UpdatePath

type UnknownVolumeTypeError

type UnknownVolumeTypeError struct {
	VolumeType string `protobuf:"bytes,1,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
	// contains filtered or unexported fields
}

func (*UnknownVolumeTypeError) Descriptor deprecated

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

Deprecated: Use UnknownVolumeTypeError.ProtoReflect.Descriptor instead.

func (*UnknownVolumeTypeError) GetVolumeType

func (x *UnknownVolumeTypeError) GetVolumeType() string

func (*UnknownVolumeTypeError) ProtoMessage

func (*UnknownVolumeTypeError) ProtoMessage()

func (*UnknownVolumeTypeError) ProtoReflect

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

func (*UnknownVolumeTypeError) Reset

func (x *UnknownVolumeTypeError) Reset()

func (*UnknownVolumeTypeError) String

func (x *UnknownVolumeTypeError) String() string

type UnsafeChunkServiceServer

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

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

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.

type UnsafeVolumeServiceServer

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

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

type UpdatePathRequest

type UpdatePathRequest struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path   string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Mode   *uint32     `protobuf:"varint,3,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	Uid    *uint32     `protobuf:"varint,4,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	Gid    *uint32     `protobuf:"varint,5,opt,name=gid,proto3,oneof" json:"gid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePathRequest) Descriptor deprecated

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

Deprecated: Use UpdatePathRequest.ProtoReflect.Descriptor instead.

func (*UpdatePathRequest) GetGid

func (x *UpdatePathRequest) GetGid() uint32

func (*UpdatePathRequest) GetMode

func (x *UpdatePathRequest) GetMode() uint32

func (*UpdatePathRequest) GetPath

func (x *UpdatePathRequest) GetPath() string

func (*UpdatePathRequest) GetUid

func (x *UpdatePathRequest) GetUid() uint32

func (*UpdatePathRequest) GetVolume

func (x *UpdatePathRequest) GetVolume() *VolumeInfo

func (*UpdatePathRequest) ProtoMessage

func (*UpdatePathRequest) ProtoMessage()

func (*UpdatePathRequest) ProtoReflect

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

func (*UpdatePathRequest) Reset

func (x *UpdatePathRequest) Reset()

func (*UpdatePathRequest) String

func (x *UpdatePathRequest) String() string

type UpdatePathResponse

type UpdatePathResponse struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePathResponse) Descriptor deprecated

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

Deprecated: Use UpdatePathResponse.ProtoReflect.Descriptor instead.

func (*UpdatePathResponse) GetEntry

func (x *UpdatePathResponse) GetEntry() *EntryInfo

func (*UpdatePathResponse) ProtoMessage

func (*UpdatePathResponse) ProtoMessage()

func (*UpdatePathResponse) ProtoReflect

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

func (*UpdatePathResponse) Reset

func (x *UpdatePathResponse) Reset()

func (*UpdatePathResponse) String

func (x *UpdatePathResponse) String() string

type UserError

type UserError struct {
	Code       UserErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=UserErrorCode" json:"code,omitempty"`
	Message    string        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	HttpStatus uint32        `protobuf:"varint,3,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
	// contains filtered or unexported fields
}

func (*UserError) Descriptor deprecated

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

Deprecated: Use UserError.ProtoReflect.Descriptor instead.

func (*UserError) GetCode

func (x *UserError) GetCode() UserErrorCode

func (*UserError) GetHttpStatus

func (x *UserError) GetHttpStatus() uint32

func (*UserError) GetMessage

func (x *UserError) GetMessage() string

func (*UserError) ProtoMessage

func (*UserError) ProtoMessage()

func (*UserError) ProtoReflect

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

func (*UserError) Reset

func (x *UserError) Reset()

func (*UserError) String

func (x *UserError) String() string

type UserErrorCode

type UserErrorCode int32
const (
	UserErrorCode_UNKNOWN_USER_ERROR_CODE UserErrorCode = 0
	UserErrorCode_PATH_NOT_FOUND          UserErrorCode = 1
	UserErrorCode_PATH_ALREADY_EXISTS     UserErrorCode = 2
	UserErrorCode_CANNOT_DELETE_ROOT      UserErrorCode = 3
	UserErrorCode_NOT_SUPPORTED           UserErrorCode = 4
	UserErrorCode_DEPTH_OUT_OF_RANGE      UserErrorCode = 5
	UserErrorCode_INVALID_REQUEST         UserErrorCode = 6
)

func (UserErrorCode) Descriptor

func (UserErrorCode) Enum

func (x UserErrorCode) Enum() *UserErrorCode

func (UserErrorCode) EnumDescriptor deprecated

func (UserErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserErrorCode.Descriptor instead.

func (UserErrorCode) Number

func (UserErrorCode) String

func (x UserErrorCode) String() string

func (UserErrorCode) Type

type VolumeDirectoryItem

type VolumeDirectoryItem struct {
	Entry *EntryInfo `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeDirectoryItem) Descriptor deprecated

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

Deprecated: Use VolumeDirectoryItem.ProtoReflect.Descriptor instead.

func (*VolumeDirectoryItem) GetEntry

func (x *VolumeDirectoryItem) GetEntry() *EntryInfo

func (*VolumeDirectoryItem) ProtoMessage

func (*VolumeDirectoryItem) ProtoMessage()

func (*VolumeDirectoryItem) ProtoReflect

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

func (*VolumeDirectoryItem) Reset

func (x *VolumeDirectoryItem) Reset()

func (*VolumeDirectoryItem) String

func (x *VolumeDirectoryItem) String() string

type VolumeFileCreateContent

type VolumeFileCreateContent struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeFileCreateContent) Descriptor deprecated

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

Deprecated: Use VolumeFileCreateContent.ProtoReflect.Descriptor instead.

func (*VolumeFileCreateContent) GetContent

func (x *VolumeFileCreateContent) GetContent() []byte

func (*VolumeFileCreateContent) ProtoMessage

func (*VolumeFileCreateContent) ProtoMessage()

func (*VolumeFileCreateContent) ProtoReflect

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

func (*VolumeFileCreateContent) Reset

func (x *VolumeFileCreateContent) Reset()

func (*VolumeFileCreateContent) String

func (x *VolumeFileCreateContent) String() string

type VolumeFileCreateFinish

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

func (*VolumeFileCreateFinish) Descriptor deprecated

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

Deprecated: Use VolumeFileCreateFinish.ProtoReflect.Descriptor instead.

func (*VolumeFileCreateFinish) ProtoMessage

func (*VolumeFileCreateFinish) ProtoMessage()

func (*VolumeFileCreateFinish) ProtoReflect

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

func (*VolumeFileCreateFinish) Reset

func (x *VolumeFileCreateFinish) Reset()

func (*VolumeFileCreateFinish) String

func (x *VolumeFileCreateFinish) String() string

type VolumeFileCreateStart

type VolumeFileCreateStart struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Path   string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Mode   *uint32     `protobuf:"varint,3,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	Uid    *uint32     `protobuf:"varint,4,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	Gid    *uint32     `protobuf:"varint,5,opt,name=gid,proto3,oneof" json:"gid,omitempty"`
	Force  bool        `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeFileCreateStart) Descriptor deprecated

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

Deprecated: Use VolumeFileCreateStart.ProtoReflect.Descriptor instead.

func (*VolumeFileCreateStart) GetForce

func (x *VolumeFileCreateStart) GetForce() bool

func (*VolumeFileCreateStart) GetGid

func (x *VolumeFileCreateStart) GetGid() uint32

func (*VolumeFileCreateStart) GetMode

func (x *VolumeFileCreateStart) GetMode() uint32

func (*VolumeFileCreateStart) GetPath

func (x *VolumeFileCreateStart) GetPath() string

func (*VolumeFileCreateStart) GetUid

func (x *VolumeFileCreateStart) GetUid() uint32

func (*VolumeFileCreateStart) GetVolume

func (x *VolumeFileCreateStart) GetVolume() *VolumeInfo

func (*VolumeFileCreateStart) ProtoMessage

func (*VolumeFileCreateStart) ProtoMessage()

func (*VolumeFileCreateStart) ProtoReflect

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

func (*VolumeFileCreateStart) Reset

func (x *VolumeFileCreateStart) Reset()

func (*VolumeFileCreateStart) String

func (x *VolumeFileCreateStart) String() string

type VolumeFileGetResponseContent

type VolumeFileGetResponseContent struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeFileGetResponseContent) Descriptor deprecated

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

Deprecated: Use VolumeFileGetResponseContent.ProtoReflect.Descriptor instead.

func (*VolumeFileGetResponseContent) GetContent

func (x *VolumeFileGetResponseContent) GetContent() []byte

func (*VolumeFileGetResponseContent) ProtoMessage

func (*VolumeFileGetResponseContent) ProtoMessage()

func (*VolumeFileGetResponseContent) ProtoReflect

func (*VolumeFileGetResponseContent) Reset

func (x *VolumeFileGetResponseContent) Reset()

func (*VolumeFileGetResponseContent) String

type VolumeFileGetResponseFinish

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

func (*VolumeFileGetResponseFinish) Descriptor deprecated

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

Deprecated: Use VolumeFileGetResponseFinish.ProtoReflect.Descriptor instead.

func (*VolumeFileGetResponseFinish) ProtoMessage

func (*VolumeFileGetResponseFinish) ProtoMessage()

func (*VolumeFileGetResponseFinish) ProtoReflect

func (*VolumeFileGetResponseFinish) Reset

func (x *VolumeFileGetResponseFinish) Reset()

func (*VolumeFileGetResponseFinish) String

func (x *VolumeFileGetResponseFinish) String() string

type VolumeFileGetResponseStart

type VolumeFileGetResponseStart struct {
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeFileGetResponseStart) Descriptor deprecated

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

Deprecated: Use VolumeFileGetResponseStart.ProtoReflect.Descriptor instead.

func (*VolumeFileGetResponseStart) GetSize

func (x *VolumeFileGetResponseStart) GetSize() int64

func (*VolumeFileGetResponseStart) ProtoMessage

func (*VolumeFileGetResponseStart) ProtoMessage()

func (*VolumeFileGetResponseStart) ProtoReflect

func (*VolumeFileGetResponseStart) Reset

func (x *VolumeFileGetResponseStart) Reset()

func (*VolumeFileGetResponseStart) String

func (x *VolumeFileGetResponseStart) String() string

type VolumeInfo

type VolumeInfo struct {
	VolumeId   string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	VolumeType string `protobuf:"bytes,2,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
	TeamId     string `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeInfo) Descriptor deprecated

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

Deprecated: Use VolumeInfo.ProtoReflect.Descriptor instead.

func (*VolumeInfo) GetTeamId

func (x *VolumeInfo) GetTeamId() string

func (*VolumeInfo) GetVolumeId

func (x *VolumeInfo) GetVolumeId() string

func (*VolumeInfo) GetVolumeType

func (x *VolumeInfo) GetVolumeType() string

func (*VolumeInfo) ProtoMessage

func (*VolumeInfo) ProtoMessage()

func (*VolumeInfo) ProtoReflect

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

func (*VolumeInfo) Reset

func (x *VolumeInfo) Reset()

func (*VolumeInfo) String

func (x *VolumeInfo) String() string

type VolumeServiceClient

type VolumeServiceClient interface {
	// volume operations
	CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*CreateVolumeResponse, error)
	DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*DeleteVolumeResponse, error)
	// directory operations
	CreateDir(ctx context.Context, in *CreateDirRequest, opts ...grpc.CallOption) (*CreateDirResponse, error)
	ListDir(ctx context.Context, in *ListDirRequest, opts ...grpc.CallOption) (*ListDirResponse, error)
	// file operations
	CreateFile(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[CreateFileRequest, CreateFileResponse], error)
	GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetFileResponse], error)
	// path operations (file, dir, other?)
	DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*DeletePathResponse, error)
	StatPath(ctx context.Context, in *StatPathRequest, opts ...grpc.CallOption) (*StatPathResponse, error)
	UpdatePath(ctx context.Context, in *UpdatePathRequest, opts ...grpc.CallOption) (*UpdatePathResponse, error)
}

VolumeServiceClient is the client API for VolumeService 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.

type VolumeServiceServer

type VolumeServiceServer interface {
	// volume operations
	CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error)
	DeleteVolume(context.Context, *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
	// directory operations
	CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error)
	ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error)
	// file operations
	CreateFile(grpc.ClientStreamingServer[CreateFileRequest, CreateFileResponse]) error
	GetFile(*GetFileRequest, grpc.ServerStreamingServer[GetFileResponse]) error
	// path operations (file, dir, other?)
	DeletePath(context.Context, *DeletePathRequest) (*DeletePathResponse, error)
	StatPath(context.Context, *StatPathRequest) (*StatPathResponse, error)
	UpdatePath(context.Context, *UpdatePathRequest) (*UpdatePathResponse, error)
	// contains filtered or unexported methods
}

VolumeServiceServer is the server API for VolumeService service. All implementations must embed UnimplementedVolumeServiceServer for forward compatibility.

type VolumeService_CreateFileClient

type VolumeService_CreateFileClient = grpc.ClientStreamingClient[CreateFileRequest, CreateFileResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type VolumeService_CreateFileServer

type VolumeService_CreateFileServer = grpc.ClientStreamingServer[CreateFileRequest, CreateFileResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type VolumeService_GetFileClient

type VolumeService_GetFileClient = grpc.ServerStreamingClient[GetFileResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type VolumeService_GetFileServer

type VolumeService_GetFileServer = grpc.ServerStreamingServer[GetFileResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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