Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterChunkServiceServer(s grpc.ServiceRegistrar, srv ChunkServiceServer)
- func RegisterSandboxServiceServer(s grpc.ServiceRegistrar, srv SandboxServiceServer)
- func RegisterVolumeServiceServer(s grpc.ServiceRegistrar, srv VolumeServiceServer)
- type ChunkServiceClient
- type ChunkServiceServer
- type ChunkService_GetBuildBlobClient
- type ChunkService_GetBuildBlobServer
- type ChunkService_ReadAtBuildSeekableClient
- type ChunkService_ReadAtBuildSeekableServer
- type CreateDirRequest
- func (*CreateDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDirRequest) GetCreateParents() bool
- func (x *CreateDirRequest) GetGid() uint32
- func (x *CreateDirRequest) GetMode() uint32
- func (x *CreateDirRequest) GetPath() string
- func (x *CreateDirRequest) GetUid() uint32
- func (x *CreateDirRequest) GetVolume() *VolumeInfo
- func (*CreateDirRequest) ProtoMessage()
- func (x *CreateDirRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDirRequest) Reset()
- func (x *CreateDirRequest) String() string
- type CreateDirResponse
- type CreateFileRequest
- func (*CreateFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileRequest) GetContent() *VolumeFileCreateContent
- func (x *CreateFileRequest) GetFinish() *VolumeFileCreateFinish
- func (x *CreateFileRequest) GetMessage() isCreateFileRequest_Message
- func (x *CreateFileRequest) GetStart() *VolumeFileCreateStart
- func (*CreateFileRequest) ProtoMessage()
- func (x *CreateFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFileRequest) Reset()
- func (x *CreateFileRequest) String() string
- type CreateFileRequest_Content
- type CreateFileRequest_Finish
- type CreateFileRequest_Start
- type CreateFileResponse
- func (*CreateFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileResponse) GetEntry() *EntryInfo
- func (*CreateFileResponse) ProtoMessage()
- func (x *CreateFileResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFileResponse) Reset()
- func (x *CreateFileResponse) String() string
- type CreateVolumeRequest
- func (*CreateVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVolumeRequest) GetVolume() *VolumeInfo
- func (*CreateVolumeRequest) ProtoMessage()
- func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeRequest) Reset()
- func (x *CreateVolumeRequest) String() string
- type CreateVolumeResponse
- func (*CreateVolumeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVolumeResponse) GetVolumeType() string
- func (*CreateVolumeResponse) ProtoMessage()
- func (x *CreateVolumeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateVolumeResponse) Reset()
- func (x *CreateVolumeResponse) String() string
- type DeletePathRequest
- func (*DeletePathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePathRequest) GetPath() string
- func (x *DeletePathRequest) GetVolume() *VolumeInfo
- func (*DeletePathRequest) ProtoMessage()
- func (x *DeletePathRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePathRequest) Reset()
- func (x *DeletePathRequest) String() string
- type DeletePathResponse
- type DeleteVolumeRequest
- func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVolumeRequest) GetVolume() *VolumeInfo
- func (*DeleteVolumeRequest) ProtoMessage()
- func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVolumeRequest) Reset()
- func (x *DeleteVolumeRequest) String() string
- type DeleteVolumeResponse
- type EntryInfo
- func (*EntryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EntryInfo) GetAccessedTime() *timestamppb.Timestamp
- func (x *EntryInfo) GetCreatedTime() *timestamppb.Timestamp
- func (x *EntryInfo) GetGid() uint32
- func (x *EntryInfo) GetMode() uint32
- func (x *EntryInfo) GetModifiedTime() *timestamppb.Timestamp
- func (x *EntryInfo) GetName() string
- func (x *EntryInfo) GetPath() string
- func (x *EntryInfo) GetSize() int64
- func (x *EntryInfo) GetSymlinkTarget() string
- func (x *EntryInfo) GetType() FileType
- func (x *EntryInfo) GetUid() uint32
- func (*EntryInfo) ProtoMessage()
- func (x *EntryInfo) ProtoReflect() protoreflect.Message
- func (x *EntryInfo) Reset()
- func (x *EntryInfo) String() string
- type FileType
- type GetBuildBlobRequest
- func (*GetBuildBlobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildBlobRequest) GetBuildId() string
- func (x *GetBuildBlobRequest) GetName() string
- func (*GetBuildBlobRequest) ProtoMessage()
- func (x *GetBuildBlobRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildBlobRequest) Reset()
- func (x *GetBuildBlobRequest) String() string
- type GetBuildBlobResponse
- func (*GetBuildBlobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildBlobResponse) GetAvailability() *PeerAvailability
- func (x *GetBuildBlobResponse) GetData() []byte
- func (*GetBuildBlobResponse) ProtoMessage()
- func (x *GetBuildBlobResponse) ProtoReflect() protoreflect.Message
- func (x *GetBuildBlobResponse) Reset()
- func (x *GetBuildBlobResponse) String() string
- type GetBuildFileExistsRequest
- func (*GetBuildFileExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildFileExistsRequest) GetBuildId() string
- func (x *GetBuildFileExistsRequest) GetName() string
- func (*GetBuildFileExistsRequest) ProtoMessage()
- func (x *GetBuildFileExistsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildFileExistsRequest) Reset()
- func (x *GetBuildFileExistsRequest) String() string
- type GetBuildFileExistsResponse
- func (*GetBuildFileExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildFileExistsResponse) GetAvailability() *PeerAvailability
- func (*GetBuildFileExistsResponse) ProtoMessage()
- func (x *GetBuildFileExistsResponse) ProtoReflect() protoreflect.Message
- func (x *GetBuildFileExistsResponse) Reset()
- func (x *GetBuildFileExistsResponse) String() string
- type GetBuildFileSizeRequest
- func (*GetBuildFileSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildFileSizeRequest) GetBuildId() string
- func (x *GetBuildFileSizeRequest) GetName() string
- func (*GetBuildFileSizeRequest) ProtoMessage()
- func (x *GetBuildFileSizeRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildFileSizeRequest) Reset()
- func (x *GetBuildFileSizeRequest) String() string
- type GetBuildFileSizeResponse
- func (*GetBuildFileSizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildFileSizeResponse) GetAvailability() *PeerAvailability
- func (x *GetBuildFileSizeResponse) GetTotalSize() int64
- func (*GetBuildFileSizeResponse) ProtoMessage()
- func (x *GetBuildFileSizeResponse) ProtoReflect() protoreflect.Message
- func (x *GetBuildFileSizeResponse) Reset()
- func (x *GetBuildFileSizeResponse) String() string
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileRequest) GetPath() string
- func (x *GetFileRequest) GetVolume() *VolumeInfo
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- type GetFileResponse
- func (*GetFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileResponse) GetContent() *VolumeFileGetResponseContent
- func (x *GetFileResponse) GetFinish() *VolumeFileGetResponseFinish
- func (x *GetFileResponse) GetMessage() isGetFileResponse_Message
- func (x *GetFileResponse) GetStart() *VolumeFileGetResponseStart
- func (*GetFileResponse) ProtoMessage()
- func (x *GetFileResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileResponse) Reset()
- func (x *GetFileResponse) String() string
- type GetFileResponse_Content
- type GetFileResponse_Finish
- type GetFileResponse_Start
- type ListDirRequest
- func (*ListDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDirRequest) GetDepth() uint32
- func (x *ListDirRequest) GetPath() string
- func (x *ListDirRequest) GetVolume() *VolumeInfo
- func (*ListDirRequest) ProtoMessage()
- func (x *ListDirRequest) ProtoReflect() protoreflect.Message
- func (x *ListDirRequest) Reset()
- func (x *ListDirRequest) String() string
- type ListDirResponse
- type PeerAvailability
- func (*PeerAvailability) Descriptor() ([]byte, []int)deprecated
- func (x *PeerAvailability) GetNotAvailable() bool
- func (x *PeerAvailability) GetUseStorage() bool
- func (*PeerAvailability) ProtoMessage()
- func (x *PeerAvailability) ProtoReflect() protoreflect.Message
- func (x *PeerAvailability) Reset()
- func (x *PeerAvailability) String() string
- type ReadAtBuildSeekableRequest
- func (*ReadAtBuildSeekableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAtBuildSeekableRequest) GetBuildId() string
- func (x *ReadAtBuildSeekableRequest) GetLength() int64
- func (x *ReadAtBuildSeekableRequest) GetName() string
- func (x *ReadAtBuildSeekableRequest) GetOffset() int64
- func (*ReadAtBuildSeekableRequest) ProtoMessage()
- func (x *ReadAtBuildSeekableRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAtBuildSeekableRequest) Reset()
- func (x *ReadAtBuildSeekableRequest) String() string
- type ReadAtBuildSeekableResponse
- func (*ReadAtBuildSeekableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAtBuildSeekableResponse) GetAvailability() *PeerAvailability
- func (x *ReadAtBuildSeekableResponse) GetData() []byte
- func (*ReadAtBuildSeekableResponse) ProtoMessage()
- func (x *ReadAtBuildSeekableResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAtBuildSeekableResponse) Reset()
- func (x *ReadAtBuildSeekableResponse) String() string
- type RunningSandbox
- func (*RunningSandbox) Descriptor() ([]byte, []int)deprecated
- func (x *RunningSandbox) GetClientId() string
- func (x *RunningSandbox) GetConfig() *SandboxConfigdeprecated
- func (x *RunningSandbox) GetEndTime() *timestamppb.Timestamp
- func (x *RunningSandbox) GetExecutionId() string
- func (x *RunningSandbox) GetRamMb() int64
- func (x *RunningSandbox) GetSandboxId() string
- func (x *RunningSandbox) GetStartTime() *timestamppb.Timestamp
- func (x *RunningSandbox) GetTeamId() string
- func (x *RunningSandbox) GetVcpu() int64
- func (*RunningSandbox) ProtoMessage()
- func (x *RunningSandbox) ProtoReflect() protoreflect.Message
- func (x *RunningSandbox) Reset()
- func (x *RunningSandbox) String() string
- type SandboxAutoResumeConfig
- func (*SandboxAutoResumeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxAutoResumeConfig) GetPolicy() string
- func (x *SandboxAutoResumeConfig) GetTimeoutSeconds() uint64
- func (*SandboxAutoResumeConfig) ProtoMessage()
- func (x *SandboxAutoResumeConfig) ProtoReflect() protoreflect.Message
- func (x *SandboxAutoResumeConfig) Reset()
- func (x *SandboxAutoResumeConfig) String() string
- type SandboxCheckpointRequest
- func (*SandboxCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxCheckpointRequest) GetBuildId() string
- func (x *SandboxCheckpointRequest) GetMetadata() map[string]string
- func (x *SandboxCheckpointRequest) GetSandboxId() string
- func (*SandboxCheckpointRequest) ProtoMessage()
- func (x *SandboxCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxCheckpointRequest) Reset()
- func (x *SandboxCheckpointRequest) String() string
- type SandboxCheckpointResponse
- func (*SandboxCheckpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxCheckpointResponse) GetSchedulingMetadata() *SchedulingMetadata
- func (*SandboxCheckpointResponse) ProtoMessage()
- func (x *SandboxCheckpointResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxCheckpointResponse) Reset()
- func (x *SandboxCheckpointResponse) String() string
- type SandboxConfig
- func (*SandboxConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxConfig) GetAlias() string
- func (x *SandboxConfig) GetAllowInternetAccess() bool
- func (x *SandboxConfig) GetAutoPause() bool
- func (x *SandboxConfig) GetAutoPauseFilesystemOnly() bool
- func (x *SandboxConfig) GetAutoResume() *SandboxAutoResumeConfig
- func (x *SandboxConfig) GetBaseTemplateId() string
- func (x *SandboxConfig) GetBuildId() string
- func (x *SandboxConfig) GetEnvVars() map[string]string
- func (x *SandboxConfig) GetEnvdAccessToken() string
- func (x *SandboxConfig) GetEnvdVersion() string
- func (x *SandboxConfig) GetEventsTtlDays() int64
- func (x *SandboxConfig) GetExecutionId() string
- func (x *SandboxConfig) GetFirecrackerVersion() string
- func (x *SandboxConfig) GetHugePages() bool
- func (x *SandboxConfig) GetIam() *SandboxIam
- func (x *SandboxConfig) GetKernelVersion() string
- func (x *SandboxConfig) GetMaxSandboxLength() int64
- func (x *SandboxConfig) GetMetadata() map[string]string
- func (x *SandboxConfig) GetNetwork() *SandboxNetworkConfig
- 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 (x *SandboxConfig) GetVolumeMounts() []*SandboxVolumeMount
- 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) GetFilesystemBoot() bool
- 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 (x *SandboxCreateResponse) GetFilesystemBootApplied() bool
- func (x *SandboxCreateResponse) GetResolvedFirecrackerVersion() string
- func (x *SandboxCreateResponse) GetSchedulingMetadata() *SchedulingMetadata
- 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) GetKillReason() string
- func (x *SandboxDeleteRequest) GetSandboxId() string
- func (*SandboxDeleteRequest) ProtoMessage()
- func (x *SandboxDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *SandboxDeleteRequest) Reset()
- func (x *SandboxDeleteRequest) String() string
- type SandboxIam
- type SandboxIamToken
- func (*SandboxIamToken) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxIamToken) GetAudience() string
- func (x *SandboxIamToken) GetTokenType() string
- func (*SandboxIamToken) ProtoMessage()
- func (x *SandboxIamToken) ProtoReflect() protoreflect.Message
- func (x *SandboxIamToken) Reset()
- func (x *SandboxIamToken) 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 SandboxNetworkConfig
- func (*SandboxNetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkConfig) GetEgress() *SandboxNetworkEgressConfig
- func (x *SandboxNetworkConfig) GetIngress() *SandboxNetworkIngressConfig
- func (*SandboxNetworkConfig) ProtoMessage()
- func (x *SandboxNetworkConfig) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkConfig) Reset()
- func (x *SandboxNetworkConfig) String() string
- type SandboxNetworkDomainRules
- func (*SandboxNetworkDomainRules) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkDomainRules) GetRules() []*SandboxNetworkRule
- func (*SandboxNetworkDomainRules) ProtoMessage()
- func (x *SandboxNetworkDomainRules) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkDomainRules) Reset()
- func (x *SandboxNetworkDomainRules) String() string
- type SandboxNetworkEgressConfig
- func (*SandboxNetworkEgressConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkEgressConfig) GetAllowedCidrs() []string
- func (x *SandboxNetworkEgressConfig) GetAllowedDomains() []string
- func (x *SandboxNetworkEgressConfig) GetDeniedCidrs() []string
- func (x *SandboxNetworkEgressConfig) GetEgressProxyAddress() string
- func (x *SandboxNetworkEgressConfig) GetEgressProxyPassword() string
- func (x *SandboxNetworkEgressConfig) GetEgressProxyUsername() string
- func (x *SandboxNetworkEgressConfig) GetRules() map[string]*SandboxNetworkDomainRules
- func (*SandboxNetworkEgressConfig) ProtoMessage()
- func (x *SandboxNetworkEgressConfig) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkEgressConfig) Reset()
- func (x *SandboxNetworkEgressConfig) String() string
- type SandboxNetworkIngressConfig
- func (*SandboxNetworkIngressConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkIngressConfig) GetHttpsPorts() []uint32
- func (x *SandboxNetworkIngressConfig) GetMaskRequestHost() string
- func (x *SandboxNetworkIngressConfig) GetTrafficAccessToken() string
- func (*SandboxNetworkIngressConfig) ProtoMessage()
- func (x *SandboxNetworkIngressConfig) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkIngressConfig) Reset()
- func (x *SandboxNetworkIngressConfig) String() string
- type SandboxNetworkRule
- func (*SandboxNetworkRule) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkRule) GetTransform() *SandboxNetworkTransform
- func (*SandboxNetworkRule) ProtoMessage()
- func (x *SandboxNetworkRule) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkRule) Reset()
- func (x *SandboxNetworkRule) String() string
- type SandboxNetworkTransform
- func (*SandboxNetworkTransform) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxNetworkTransform) GetHeaders() map[string]string
- func (*SandboxNetworkTransform) ProtoMessage()
- func (x *SandboxNetworkTransform) ProtoReflect() protoreflect.Message
- func (x *SandboxNetworkTransform) Reset()
- func (x *SandboxNetworkTransform) String() string
- type SandboxPauseRequest
- func (*SandboxPauseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPauseRequest) GetBuildId() string
- func (x *SandboxPauseRequest) GetFilesystemOnly() bool
- 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 SandboxPauseResponse
- func (*SandboxPauseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxPauseResponse) GetSchedulingMetadata() *SchedulingMetadata
- func (*SandboxPauseResponse) ProtoMessage()
- func (x *SandboxPauseResponse) ProtoReflect() protoreflect.Message
- func (x *SandboxPauseResponse) Reset()
- func (x *SandboxPauseResponse) String() string
- type SandboxServiceClient
- type SandboxServiceServer
- type SandboxUpdateRequest
- func (*SandboxUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxUpdateRequest) GetEgress() *SandboxNetworkEgressConfig
- 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 SandboxVolumeMount
- func (*SandboxVolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxVolumeMount) GetId() string
- func (x *SandboxVolumeMount) GetName() string
- func (x *SandboxVolumeMount) GetPath() string
- func (x *SandboxVolumeMount) GetType() string
- func (*SandboxVolumeMount) ProtoMessage()
- func (x *SandboxVolumeMount) ProtoReflect() protoreflect.Message
- func (x *SandboxVolumeMount) Reset()
- func (x *SandboxVolumeMount) String() string
- type SchedulingMetadata
- func (*SchedulingMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulingMetadata) GetBuildId() string
- func (x *SchedulingMetadata) GetMemfileBaseBuildId() string
- func (x *SchedulingMetadata) GetMemfileBuildBytes() []uint64
- func (x *SchedulingMetadata) GetMemfileBuildIds() []string
- func (x *SchedulingMetadata) GetMemfileDroppedBuilds() uint32
- func (x *SchedulingMetadata) GetRootfsBaseBuildId() string
- func (x *SchedulingMetadata) GetRootfsBuildBytes() []uint64
- func (x *SchedulingMetadata) GetRootfsBuildIds() []string
- func (x *SchedulingMetadata) GetRootfsDroppedBuilds() uint32
- func (*SchedulingMetadata) ProtoMessage()
- func (x *SchedulingMetadata) ProtoReflect() protoreflect.Message
- func (x *SchedulingMetadata) Reset()
- func (x *SchedulingMetadata) String() string
- type StatPathRequest
- func (*StatPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPathRequest) GetFollowSymlinks() bool
- func (x *StatPathRequest) GetPath() string
- func (x *StatPathRequest) GetVolume() *VolumeInfo
- func (*StatPathRequest) ProtoMessage()
- func (x *StatPathRequest) ProtoReflect() protoreflect.Message
- func (x *StatPathRequest) Reset()
- func (x *StatPathRequest) String() string
- type StatPathResponse
- type UnimplementedChunkServiceServer
- func (UnimplementedChunkServiceServer) GetBuildBlob(*GetBuildBlobRequest, grpc.ServerStreamingServer[GetBuildBlobResponse]) error
- func (UnimplementedChunkServiceServer) GetBuildFileExists(context.Context, *GetBuildFileExistsRequest) (*GetBuildFileExistsResponse, error)
- func (UnimplementedChunkServiceServer) GetBuildFileSize(context.Context, *GetBuildFileSizeRequest) (*GetBuildFileSizeResponse, error)
- func (UnimplementedChunkServiceServer) ReadAtBuildSeekable(*ReadAtBuildSeekableRequest, ...) error
- type UnimplementedSandboxServiceServer
- func (UnimplementedSandboxServiceServer) Checkpoint(context.Context, *SandboxCheckpointRequest) (*SandboxCheckpointResponse, error)
- 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) Pause(context.Context, *SandboxPauseRequest) (*SandboxPauseResponse, error)
- func (UnimplementedSandboxServiceServer) Update(context.Context, *SandboxUpdateRequest) (*emptypb.Empty, error)
- type UnimplementedVolumeServiceServer
- func (UnimplementedVolumeServiceServer) CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error)
- func (UnimplementedVolumeServiceServer) CreateFile(grpc.ClientStreamingServer[CreateFileRequest, CreateFileResponse]) error
- func (UnimplementedVolumeServiceServer) CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error)
- func (UnimplementedVolumeServiceServer) DeletePath(context.Context, *DeletePathRequest) (*DeletePathResponse, error)
- func (UnimplementedVolumeServiceServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
- func (UnimplementedVolumeServiceServer) GetFile(*GetFileRequest, grpc.ServerStreamingServer[GetFileResponse]) error
- func (UnimplementedVolumeServiceServer) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error)
- func (UnimplementedVolumeServiceServer) StatPath(context.Context, *StatPathRequest) (*StatPathResponse, error)
- func (UnimplementedVolumeServiceServer) UpdatePath(context.Context, *UpdatePathRequest) (*UpdatePathResponse, error)
- type UnknownVolumeTypeError
- func (*UnknownVolumeTypeError) Descriptor() ([]byte, []int)deprecated
- func (x *UnknownVolumeTypeError) GetVolumeType() string
- func (*UnknownVolumeTypeError) ProtoMessage()
- func (x *UnknownVolumeTypeError) ProtoReflect() protoreflect.Message
- func (x *UnknownVolumeTypeError) Reset()
- func (x *UnknownVolumeTypeError) String() string
- type UnsafeChunkServiceServer
- type UnsafeSandboxServiceServer
- type UnsafeVolumeServiceServer
- type UpdatePathRequest
- func (*UpdatePathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePathRequest) GetGid() uint32
- func (x *UpdatePathRequest) GetMode() uint32
- func (x *UpdatePathRequest) GetPath() string
- func (x *UpdatePathRequest) GetUid() uint32
- func (x *UpdatePathRequest) GetVolume() *VolumeInfo
- func (*UpdatePathRequest) ProtoMessage()
- func (x *UpdatePathRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePathRequest) Reset()
- func (x *UpdatePathRequest) String() string
- type UpdatePathResponse
- func (*UpdatePathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePathResponse) GetEntry() *EntryInfo
- func (*UpdatePathResponse) ProtoMessage()
- func (x *UpdatePathResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePathResponse) Reset()
- func (x *UpdatePathResponse) String() string
- type UserError
- func (*UserError) Descriptor() ([]byte, []int)deprecated
- func (x *UserError) GetCode() UserErrorCode
- func (x *UserError) GetHttpStatus() uint32
- func (x *UserError) GetMessage() string
- func (*UserError) ProtoMessage()
- func (x *UserError) ProtoReflect() protoreflect.Message
- func (x *UserError) Reset()
- func (x *UserError) String() string
- type UserErrorCode
- func (UserErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x UserErrorCode) Enum() *UserErrorCode
- func (UserErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserErrorCode) Number() protoreflect.EnumNumber
- func (x UserErrorCode) String() string
- func (UserErrorCode) Type() protoreflect.EnumType
- type VolumeDirectoryItem
- func (*VolumeDirectoryItem) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeDirectoryItem) GetEntry() *EntryInfo
- func (*VolumeDirectoryItem) ProtoMessage()
- func (x *VolumeDirectoryItem) ProtoReflect() protoreflect.Message
- func (x *VolumeDirectoryItem) Reset()
- func (x *VolumeDirectoryItem) String() string
- type VolumeFileCreateContent
- func (*VolumeFileCreateContent) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeFileCreateContent) GetContent() []byte
- func (*VolumeFileCreateContent) ProtoMessage()
- func (x *VolumeFileCreateContent) ProtoReflect() protoreflect.Message
- func (x *VolumeFileCreateContent) Reset()
- func (x *VolumeFileCreateContent) String() string
- type VolumeFileCreateFinish
- type VolumeFileCreateStart
- func (*VolumeFileCreateStart) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeFileCreateStart) GetForce() bool
- func (x *VolumeFileCreateStart) GetGid() uint32
- func (x *VolumeFileCreateStart) GetMode() uint32
- func (x *VolumeFileCreateStart) GetPath() string
- func (x *VolumeFileCreateStart) GetUid() uint32
- func (x *VolumeFileCreateStart) GetVolume() *VolumeInfo
- func (*VolumeFileCreateStart) ProtoMessage()
- func (x *VolumeFileCreateStart) ProtoReflect() protoreflect.Message
- func (x *VolumeFileCreateStart) Reset()
- func (x *VolumeFileCreateStart) String() string
- type VolumeFileGetResponseContent
- func (*VolumeFileGetResponseContent) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeFileGetResponseContent) GetContent() []byte
- func (*VolumeFileGetResponseContent) ProtoMessage()
- func (x *VolumeFileGetResponseContent) ProtoReflect() protoreflect.Message
- func (x *VolumeFileGetResponseContent) Reset()
- func (x *VolumeFileGetResponseContent) String() string
- type VolumeFileGetResponseFinish
- type VolumeFileGetResponseStart
- func (*VolumeFileGetResponseStart) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeFileGetResponseStart) GetSize() int64
- func (*VolumeFileGetResponseStart) ProtoMessage()
- func (x *VolumeFileGetResponseStart) ProtoReflect() protoreflect.Message
- func (x *VolumeFileGetResponseStart) Reset()
- func (x *VolumeFileGetResponseStart) String() string
- type VolumeInfo
- func (*VolumeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeInfo) GetTeamId() string
- func (x *VolumeInfo) GetVolumeId() string
- func (x *VolumeInfo) GetVolumeType() string
- func (*VolumeInfo) ProtoMessage()
- func (x *VolumeInfo) ProtoReflect() protoreflect.Message
- func (x *VolumeInfo) Reset()
- func (x *VolumeInfo) String() string
- type VolumeServiceClient
- type VolumeServiceServer
- type VolumeService_CreateFileClient
- type VolumeService_CreateFileServer
- type VolumeService_GetFileClient
- type VolumeService_GetFileServer
Constants ¶
const ( ChunkService_GetBuildFileSize_FullMethodName = "/ChunkService/GetBuildFileSize" ChunkService_GetBuildFileExists_FullMethodName = "/ChunkService/GetBuildFileExists" ChunkService_ReadAtBuildSeekable_FullMethodName = "/ChunkService/ReadAtBuildSeekable" ChunkService_GetBuildBlob_FullMethodName = "/ChunkService/GetBuildBlob" )
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" )
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 ¶
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.
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.
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)
var File_chunks_proto protoreflect.FileDescriptor
var File_orchestrator_proto protoreflect.FileDescriptor
var File_volume_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: "Checkpoint", Handler: _SandboxService_Checkpoint_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)
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 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.
func NewChunkServiceClient ¶
func NewChunkServiceClient(cc grpc.ClientConnInterface) ChunkServiceClient
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 valid to be assigned 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 (x *CreateFileRequest) GetMessage() isCreateFileRequest_Message
func (*CreateFileRequest) GetStart ¶
func (x *CreateFileRequest) GetStart() *VolumeFileCreateStart
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 {
VolumeType *string `protobuf:"bytes,1,opt,name=volume_type,json=volumeType,proto3,oneof" json:"volume_type,omitempty"`
// contains filtered or unexported fields
}
func (*CreateVolumeResponse) Descriptor
deprecated
func (*CreateVolumeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeResponse.ProtoReflect.Descriptor instead.
func (*CreateVolumeResponse) GetVolumeType ¶
func (x *CreateVolumeResponse) GetVolumeType() string
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) GetAccessedTime ¶
func (x *EntryInfo) GetAccessedTime() *timestamppb.Timestamp
func (*EntryInfo) GetCreatedTime ¶
func (x *EntryInfo) GetCreatedTime() *timestamppb.Timestamp
func (*EntryInfo) GetModifiedTime ¶
func (x *EntryInfo) GetModifiedTime() *timestamppb.Timestamp
func (*EntryInfo) GetSymlinkTarget ¶
func (*EntryInfo) ProtoMessage ¶
func (*EntryInfo) ProtoMessage()
func (*EntryInfo) ProtoReflect ¶
func (x *EntryInfo) ProtoReflect() protoreflect.Message
type FileType ¶
type FileType int32
func (FileType) Descriptor ¶
func (FileType) Descriptor() protoreflect.EnumDescriptor
func (FileType) EnumDescriptor
deprecated
func (FileType) Number ¶
func (x FileType) Number() protoreflect.EnumNumber
func (FileType) Type ¶
func (FileType) Type() protoreflect.EnumType
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 (x *GetBuildFileExistsRequest) ProtoReflect() protoreflect.Message
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 (x *GetBuildFileExistsResponse) ProtoReflect() protoreflect.Message
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 valid to be assigned 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 (x *GetFileResponse) GetContent() *VolumeFileGetResponseContent
func (*GetFileResponse) GetFinish ¶
func (x *GetFileResponse) GetFinish() *VolumeFileGetResponseFinish
func (*GetFileResponse) GetMessage ¶
func (x *GetFileResponse) GetMessage() isGetFileResponse_Message
func (*GetFileResponse) GetStart ¶
func (x *GetFileResponse) GetStart() *VolumeFileGetResponseStart
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 (x *ReadAtBuildSeekableRequest) ProtoReflect() protoreflect.Message
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 (x *ReadAtBuildSeekableResponse) ProtoReflect() protoreflect.Message
func (*ReadAtBuildSeekableResponse) Reset ¶
func (x *ReadAtBuildSeekableResponse) Reset()
func (*ReadAtBuildSeekableResponse) String ¶
func (x *ReadAtBuildSeekableResponse) String() string
type RunningSandbox ¶
type RunningSandbox struct {
// Deprecated: the API no longer rebuilds sandbox state from this list. Redis
// is the source of truth; List is only used to detect sandboxes running on a
// node that the store does not know about, so they can be killed. The fields
// below carry everything that decision needs. Still populated so API
// instances predating those fields keep working during a rollout.
//
// Deprecated: Marked as deprecated in orchestrator.proto.
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"`
// Minimal set required to detect an orphaned sandbox and kill it.
// sandbox_id + team_id form the store key. execution_id is carried in the
// edge sandbox-catalog delete event, so a cluster node's routing entry is
// evicted too. vcpu/ram_mb feed the node's optimistic resource accounting.
SandboxId string `protobuf:"bytes,5,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
TeamId string `protobuf:"bytes,6,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
ExecutionId string `protobuf:"bytes,7,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Vcpu int64 `protobuf:"varint,8,opt,name=vcpu,proto3" json:"vcpu,omitempty"`
RamMb int64 `protobuf:"varint,9,opt,name=ram_mb,json=ramMb,proto3" json:"ram_mb,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
deprecated
func (x *RunningSandbox) GetConfig() *SandboxConfig
Deprecated: Marked as deprecated in orchestrator.proto.
func (*RunningSandbox) GetEndTime ¶
func (x *RunningSandbox) GetEndTime() *timestamppb.Timestamp
func (*RunningSandbox) GetExecutionId ¶
func (x *RunningSandbox) GetExecutionId() string
func (*RunningSandbox) GetRamMb ¶
func (x *RunningSandbox) GetRamMb() int64
func (*RunningSandbox) GetSandboxId ¶
func (x *RunningSandbox) GetSandboxId() string
func (*RunningSandbox) GetStartTime ¶
func (x *RunningSandbox) GetStartTime() *timestamppb.Timestamp
func (*RunningSandbox) GetTeamId ¶
func (x *RunningSandbox) GetTeamId() string
func (*RunningSandbox) GetVcpu ¶
func (x *RunningSandbox) GetVcpu() int64
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"`
// Provenance stamped onto the snapshot's storage objects for the storage
// index (e.g. template_id). Opaque to the orchestrator, which just forwards
// it to object metadata.
Metadata map[string]string `` /* 143-byte string literal not displayed */
// 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) GetMetadata ¶
func (x *SandboxCheckpointRequest) GetMetadata() map[string]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 {
SchedulingMetadata *SchedulingMetadata `protobuf:"bytes,1,opt,name=scheduling_metadata,json=schedulingMetadata,proto3" json:"scheduling_metadata,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxCheckpointResponse) Descriptor
deprecated
func (*SandboxCheckpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxCheckpointResponse.ProtoReflect.Descriptor instead.
func (*SandboxCheckpointResponse) GetSchedulingMetadata ¶
func (x *SandboxCheckpointResponse) GetSchedulingMetadata() *SchedulingMetadata
func (*SandboxCheckpointResponse) ProtoMessage ¶
func (*SandboxCheckpointResponse) ProtoMessage()
func (*SandboxCheckpointResponse) ProtoReflect ¶
func (x *SandboxCheckpointResponse) ProtoReflect() protoreflect.Message
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 `` /* 156-byte string literal not displayed */
// Metadata about the sandbox.
Metadata map[string]string `` /* 143-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"`
// When true, a timeout auto-pause takes a filesystem-only snapshot (no
// memory) instead of a full memory snapshot. Only meaningful when auto_pause
// is set. Passed through so the policy survives an API re-sync from the
// orchestrator's sandbox list (mirrors auto_pause); the orchestrator itself
// does not act on it — the API evictor does.
AutoPauseFilesystemOnly bool `` /* 136-byte string literal not displayed */
// Retention of sandbox events in days
EventsTtlDays int64 `protobuf:"varint,26,opt,name=events_ttl_days,json=eventsTtlDays,proto3" json:"events_ttl_days,omitempty"`
// Sandbox workload identity configuration requested at create time. Absent on
// older serialized configs, which decode as no workload identity.
Iam *SandboxIam `protobuf:"bytes,27,opt,name=iam,proto3,oneof" json:"iam,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) GetAutoPauseFilesystemOnly ¶
func (x *SandboxConfig) GetAutoPauseFilesystemOnly() 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) GetEventsTtlDays ¶
func (x *SandboxConfig) GetEventsTtlDays() int64
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) GetIam ¶
func (x *SandboxConfig) GetIam() *SandboxIam
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"`
// When true, resume by cold-booting from the snapshot's rootfs even when it
// includes a memory snapshot. The request can only widen toward the no-memory
// path — it can never force a memory restore of a snapshot that has none.
// Absent = the snapshot's own metadata alone selects the boot path, so
// existing callers are unaffected. Request-scoped: nothing durable records it.
FilesystemBoot *bool `protobuf:"varint,4,opt,name=filesystem_boot,json=filesystemBoot,proto3,oneof" json:"filesystem_boot,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) GetFilesystemBoot ¶
func (x *SandboxCreateRequest) GetFilesystemBoot() bool
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"`
SchedulingMetadata *SchedulingMetadata `protobuf:"bytes,2,opt,name=scheduling_metadata,json=schedulingMetadata,proto3" json:"scheduling_metadata,omitempty"`
// Echoes whether the sandbox cold-booted from its rootfs (vs a memory
// restore). Absent from orchestrators that predate filesystem_boot, so a
// caller that demanded a filesystem boot can detect an unhonored demand
// instead of trusting deploy ordering.
FilesystemBootApplied bool `` /* 127-byte string literal not displayed */
// The Firecracker version the sandbox actually RUNS: the request's
// declared version resolved through the firecracker-versions flag at
// start, frozen for the sandbox's lifetime. Callers gating features on the
// FC version must read this rather than re-deriving it — a re-resolution
// can disagree with the frozen value whenever the flag changes or the
// evaluation contexts differ. Empty from orchestrators that predate the
// field.
ResolvedFirecrackerVersion string `` /* 141-byte string literal not displayed */
// 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) GetFilesystemBootApplied ¶
func (x *SandboxCreateResponse) GetFilesystemBootApplied() bool
func (*SandboxCreateResponse) GetResolvedFirecrackerVersion ¶
func (x *SandboxCreateResponse) GetResolvedFirecrackerVersion() string
func (*SandboxCreateResponse) GetSchedulingMetadata ¶
func (x *SandboxCreateResponse) GetSchedulingMetadata() *SchedulingMetadata
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"`
KillReason *string `protobuf:"bytes,2,opt,name=kill_reason,json=killReason,proto3,oneof" json:"kill_reason,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxDeleteRequest) Descriptor
deprecated
func (*SandboxDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SandboxDeleteRequest.ProtoReflect.Descriptor instead.
func (*SandboxDeleteRequest) GetKillReason ¶
func (x *SandboxDeleteRequest) GetKillReason() string
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 SandboxIam ¶
type SandboxIam struct {
// Named workload-token definitions, keyed by a caller-chosen token name.
Tokens map[string]*SandboxIamToken `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Sandbox workload identity configuration. A non-empty tokens map defines the sandbox workload identity, which the orchestrator derives from the existing trusted team_id, sandbox_id, execution_id and template_id fields. No credential is minted, signed, or delivered here.
func (*SandboxIam) Descriptor
deprecated
func (*SandboxIam) Descriptor() ([]byte, []int)
Deprecated: Use SandboxIam.ProtoReflect.Descriptor instead.
func (*SandboxIam) GetTokens ¶
func (x *SandboxIam) GetTokens() map[string]*SandboxIamToken
func (*SandboxIam) ProtoMessage ¶
func (*SandboxIam) ProtoMessage()
func (*SandboxIam) ProtoReflect ¶
func (x *SandboxIam) ProtoReflect() protoreflect.Message
func (*SandboxIam) Reset ¶
func (x *SandboxIam) Reset()
func (*SandboxIam) String ¶
func (x *SandboxIam) String() string
type SandboxIamToken ¶
type SandboxIamToken struct {
Audience string `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"`
TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
// contains filtered or unexported fields
}
A named workload-token definition. file_path is intentionally omitted: only absent/null is accepted at admission, so file delivery is not represented.
func (*SandboxIamToken) Descriptor
deprecated
func (*SandboxIamToken) Descriptor() ([]byte, []int)
Deprecated: Use SandboxIamToken.ProtoReflect.Descriptor instead.
func (*SandboxIamToken) GetAudience ¶
func (x *SandboxIamToken) GetAudience() string
func (*SandboxIamToken) GetTokenType ¶
func (x *SandboxIamToken) GetTokenType() string
func (*SandboxIamToken) ProtoMessage ¶
func (*SandboxIamToken) ProtoMessage()
func (*SandboxIamToken) ProtoReflect ¶
func (x *SandboxIamToken) ProtoReflect() protoreflect.Message
func (*SandboxIamToken) Reset ¶
func (x *SandboxIamToken) Reset()
func (*SandboxIamToken) String ¶
func (x *SandboxIamToken) 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 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 (x *SandboxNetworkConfig) GetEgress() *SandboxNetworkEgressConfig
func (*SandboxNetworkConfig) GetIngress ¶
func (x *SandboxNetworkConfig) GetIngress() *SandboxNetworkIngressConfig
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 (x *SandboxNetworkDomainRules) GetRules() []*SandboxNetworkRule
func (*SandboxNetworkDomainRules) ProtoMessage ¶
func (*SandboxNetworkDomainRules) ProtoMessage()
func (*SandboxNetworkDomainRules) ProtoReflect ¶
func (x *SandboxNetworkDomainRules) ProtoReflect() protoreflect.Message
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 `` /* 137-byte string literal not displayed */
// BYOP SOCKS5 egress proxy.
EgressProxyAddress string `protobuf:"bytes,5,opt,name=egress_proxy_address,json=egressProxyAddress,proto3" json:"egress_proxy_address,omitempty"`
EgressProxyUsername string `protobuf:"bytes,6,opt,name=egress_proxy_username,json=egressProxyUsername,proto3" json:"egress_proxy_username,omitempty"`
EgressProxyPassword string `protobuf:"bytes,7,opt,name=egress_proxy_password,json=egressProxyPassword,proto3" json:"egress_proxy_password,omitempty"`
// 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) GetEgressProxyAddress ¶
func (x *SandboxNetworkEgressConfig) GetEgressProxyAddress() string
func (*SandboxNetworkEgressConfig) GetEgressProxyPassword ¶
func (x *SandboxNetworkEgressConfig) GetEgressProxyPassword() string
func (*SandboxNetworkEgressConfig) GetEgressProxyUsername ¶
func (x *SandboxNetworkEgressConfig) GetEgressProxyUsername() string
func (*SandboxNetworkEgressConfig) GetRules ¶
func (x *SandboxNetworkEgressConfig) GetRules() map[string]*SandboxNetworkDomainRules
func (*SandboxNetworkEgressConfig) ProtoMessage ¶
func (*SandboxNetworkEgressConfig) ProtoMessage()
func (*SandboxNetworkEgressConfig) ProtoReflect ¶
func (x *SandboxNetworkEgressConfig) ProtoReflect() protoreflect.Message
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"`
HttpsPorts []uint32 `protobuf:"varint,3,rep,packed,name=https_ports,json=httpsPorts,proto3" json:"https_ports,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxNetworkIngressConfig) Descriptor
deprecated
func (*SandboxNetworkIngressConfig) Descriptor() ([]byte, []int)
Deprecated: Use SandboxNetworkIngressConfig.ProtoReflect.Descriptor instead.
func (*SandboxNetworkIngressConfig) GetHttpsPorts ¶
func (x *SandboxNetworkIngressConfig) GetHttpsPorts() []uint32
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 (x *SandboxNetworkIngressConfig) ProtoReflect() protoreflect.Message
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 `` /* 141-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"`
// When true, persist only the filesystem (no memory snapshot); resuming such
// a snapshot cold-boots (reboots) from the rootfs. Default false = full memory
// snapshot, so existing callers are unaffected.
FilesystemOnly bool `protobuf:"varint,4,opt,name=filesystem_only,json=filesystemOnly,proto3" json:"filesystem_only,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) GetFilesystemOnly ¶
func (x *SandboxPauseRequest) GetFilesystemOnly() bool
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 SandboxPauseResponse ¶
type SandboxPauseResponse struct {
SchedulingMetadata *SchedulingMetadata `protobuf:"bytes,1,opt,name=scheduling_metadata,json=schedulingMetadata,proto3" json:"scheduling_metadata,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxPauseResponse) Descriptor
deprecated
func (*SandboxPauseResponse) Descriptor() ([]byte, []int)
Deprecated: Use SandboxPauseResponse.ProtoReflect.Descriptor instead.
func (*SandboxPauseResponse) GetSchedulingMetadata ¶
func (x *SandboxPauseResponse) GetSchedulingMetadata() *SchedulingMetadata
func (*SandboxPauseResponse) ProtoMessage ¶
func (*SandboxPauseResponse) ProtoMessage()
func (*SandboxPauseResponse) ProtoReflect ¶
func (x *SandboxPauseResponse) ProtoReflect() protoreflect.Message
func (*SandboxPauseResponse) Reset ¶
func (x *SandboxPauseResponse) Reset()
func (*SandboxPauseResponse) String ¶
func (x *SandboxPauseResponse) 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) (*SandboxPauseResponse, error)
Checkpoint(ctx context.Context, in *SandboxCheckpointRequest, opts ...grpc.CallOption) (*SandboxCheckpointResponse, 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) (*SandboxPauseResponse, error)
Checkpoint(context.Context, *SandboxCheckpointRequest) (*SandboxCheckpointResponse, 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"`
// 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 (x *SandboxUpdateRequest) GetEgress() *SandboxNetworkEgressConfig
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 SchedulingMetadata ¶
type SchedulingMetadata struct {
// memfile_base_build_id / rootfs_base_build_id are each artifact's root layer
// (shared across the template's sandboxes); they can differ. build_id is the
// final/current layer. All also appear in the lists below.
MemfileBaseBuildId string `protobuf:"bytes,1,opt,name=memfile_base_build_id,json=memfileBaseBuildId,proto3" json:"memfile_base_build_id,omitempty"`
BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
// Deduplicated build IDs whose data each artifact references (all ancestor
// layers plus the build itself). Sorted; order is not significant. When a
// list exceeds the cap, the lightest layers are dropped first and the count
// of dropped layers is reported.
MemfileBuildIds []string `protobuf:"bytes,3,rep,name=memfile_build_ids,json=memfileBuildIds,proto3" json:"memfile_build_ids,omitempty"`
RootfsBuildIds []string `protobuf:"bytes,4,rep,name=rootfs_build_ids,json=rootfsBuildIds,proto3" json:"rootfs_build_ids,omitempty"`
MemfileDroppedBuilds uint32 `protobuf:"varint,5,opt,name=memfile_dropped_builds,json=memfileDroppedBuilds,proto3" json:"memfile_dropped_builds,omitempty"`
RootfsDroppedBuilds uint32 `protobuf:"varint,6,opt,name=rootfs_dropped_builds,json=rootfsDroppedBuilds,proto3" json:"rootfs_dropped_builds,omitempty"`
// Referenced bytes per build, aligned with the *_build_ids lists. On save the
// new memfile layer's bytes are a pre-dedup, block-granular upper bound.
MemfileBuildBytes []uint64 `protobuf:"varint,7,rep,packed,name=memfile_build_bytes,json=memfileBuildBytes,proto3" json:"memfile_build_bytes,omitempty"`
RootfsBuildBytes []uint64 `protobuf:"varint,8,rep,packed,name=rootfs_build_bytes,json=rootfsBuildBytes,proto3" json:"rootfs_build_bytes,omitempty"`
RootfsBaseBuildId string `protobuf:"bytes,9,opt,name=rootfs_base_build_id,json=rootfsBaseBuildId,proto3" json:"rootfs_base_build_id,omitempty"`
// contains filtered or unexported fields
}
func (*SchedulingMetadata) Descriptor
deprecated
func (*SchedulingMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SchedulingMetadata.ProtoReflect.Descriptor instead.
func (*SchedulingMetadata) GetBuildId ¶
func (x *SchedulingMetadata) GetBuildId() string
func (*SchedulingMetadata) GetMemfileBaseBuildId ¶
func (x *SchedulingMetadata) GetMemfileBaseBuildId() string
func (*SchedulingMetadata) GetMemfileBuildBytes ¶
func (x *SchedulingMetadata) GetMemfileBuildBytes() []uint64
func (*SchedulingMetadata) GetMemfileBuildIds ¶
func (x *SchedulingMetadata) GetMemfileBuildIds() []string
func (*SchedulingMetadata) GetMemfileDroppedBuilds ¶
func (x *SchedulingMetadata) GetMemfileDroppedBuilds() uint32
func (*SchedulingMetadata) GetRootfsBaseBuildId ¶
func (x *SchedulingMetadata) GetRootfsBaseBuildId() string
func (*SchedulingMetadata) GetRootfsBuildBytes ¶
func (x *SchedulingMetadata) GetRootfsBuildBytes() []uint64
func (*SchedulingMetadata) GetRootfsBuildIds ¶
func (x *SchedulingMetadata) GetRootfsBuildIds() []string
func (*SchedulingMetadata) GetRootfsDroppedBuilds ¶
func (x *SchedulingMetadata) GetRootfsDroppedBuilds() uint32
func (*SchedulingMetadata) ProtoMessage ¶
func (*SchedulingMetadata) ProtoMessage()
func (*SchedulingMetadata) ProtoReflect ¶
func (x *SchedulingMetadata) ProtoReflect() protoreflect.Message
func (*SchedulingMetadata) Reset ¶
func (x *SchedulingMetadata) Reset()
func (*SchedulingMetadata) String ¶
func (x *SchedulingMetadata) 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 (*StatPathRequest) GetFollowSymlinks ¶
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) GetBuildBlob ¶
func (UnimplementedChunkServiceServer) GetBuildBlob(*GetBuildBlobRequest, grpc.ServerStreamingServer[GetBuildBlobResponse]) error
func (UnimplementedChunkServiceServer) GetBuildFileExists ¶
func (UnimplementedChunkServiceServer) GetBuildFileExists(context.Context, *GetBuildFileExistsRequest) (*GetBuildFileExistsResponse, error)
func (UnimplementedChunkServiceServer) GetBuildFileSize ¶
func (UnimplementedChunkServiceServer) GetBuildFileSize(context.Context, *GetBuildFileSizeRequest) (*GetBuildFileSizeResponse, error)
func (UnimplementedChunkServiceServer) ReadAtBuildSeekable ¶
func (UnimplementedChunkServiceServer) ReadAtBuildSeekable(*ReadAtBuildSeekableRequest, grpc.ServerStreamingServer[ReadAtBuildSeekableResponse]) error
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) Checkpoint ¶
func (UnimplementedSandboxServiceServer) Checkpoint(context.Context, *SandboxCheckpointRequest) (*SandboxCheckpointResponse, error)
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) Pause ¶
func (UnimplementedSandboxServiceServer) Pause(context.Context, *SandboxPauseRequest) (*SandboxPauseResponse, error)
func (UnimplementedSandboxServiceServer) Update ¶
func (UnimplementedSandboxServiceServer) Update(context.Context, *SandboxUpdateRequest) (*emptypb.Empty, error)
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) CreateDir(context.Context, *CreateDirRequest) (*CreateDirResponse, error)
func (UnimplementedVolumeServiceServer) CreateFile ¶
func (UnimplementedVolumeServiceServer) CreateFile(grpc.ClientStreamingServer[CreateFileRequest, CreateFileResponse]) error
func (UnimplementedVolumeServiceServer) CreateVolume ¶
func (UnimplementedVolumeServiceServer) CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error)
func (UnimplementedVolumeServiceServer) DeletePath ¶
func (UnimplementedVolumeServiceServer) DeletePath(context.Context, *DeletePathRequest) (*DeletePathResponse, error)
func (UnimplementedVolumeServiceServer) DeleteVolume ¶
func (UnimplementedVolumeServiceServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
func (UnimplementedVolumeServiceServer) GetFile ¶
func (UnimplementedVolumeServiceServer) GetFile(*GetFileRequest, grpc.ServerStreamingServer[GetFileResponse]) error
func (UnimplementedVolumeServiceServer) ListDir ¶
func (UnimplementedVolumeServiceServer) ListDir(context.Context, *ListDirRequest) (*ListDirResponse, error)
func (UnimplementedVolumeServiceServer) StatPath ¶
func (UnimplementedVolumeServiceServer) StatPath(context.Context, *StatPathRequest) (*StatPathResponse, error)
func (UnimplementedVolumeServiceServer) UpdatePath ¶
func (UnimplementedVolumeServiceServer) UpdatePath(context.Context, *UpdatePathRequest) (*UpdatePathResponse, error)
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) GetCode ¶
func (x *UserError) GetCode() UserErrorCode
func (*UserError) GetHttpStatus ¶
func (*UserError) GetMessage ¶
func (*UserError) ProtoMessage ¶
func (*UserError) ProtoMessage()
func (*UserError) ProtoReflect ¶
func (x *UserError) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x UserErrorCode) Number() protoreflect.EnumNumber
func (UserErrorCode) String ¶
func (x UserErrorCode) String() string
func (UserErrorCode) Type ¶
func (UserErrorCode) Type() protoreflect.EnumType
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 (x *VolumeFileGetResponseContent) ProtoReflect() protoreflect.Message
func (*VolumeFileGetResponseContent) Reset ¶
func (x *VolumeFileGetResponseContent) Reset()
func (*VolumeFileGetResponseContent) String ¶
func (x *VolumeFileGetResponseContent) String() 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 (x *VolumeFileGetResponseFinish) ProtoReflect() protoreflect.Message
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 (x *VolumeFileGetResponseStart) ProtoReflect() protoreflect.Message
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.
func NewVolumeServiceClient ¶
func NewVolumeServiceClient(cc grpc.ClientConnInterface) VolumeServiceClient
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.