v1alpha1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_filesystem_v1alpha1_filesystem_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	Name    string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IsDir   bool                   `protobuf:"varint,2,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
	Size    int64                  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	ModTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

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

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetIsDir

func (x *FileInfo) GetIsDir() bool

func (*FileInfo) GetModTime

func (x *FileInfo) GetModTime() *timestamppb.Timestamp

func (*FileInfo) GetName

func (x *FileInfo) GetName() string

func (*FileInfo) GetSize

func (x *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

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

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type ReadDirRequest

type ReadDirRequest 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"`
	StartIndex int64  `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
	StopIndex  int64  `protobuf:"varint,4,opt,name=stop_index,json=stopIndex,proto3" json:"stop_index,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDirRequest) Descriptor deprecated

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

Deprecated: Use ReadDirRequest.ProtoReflect.Descriptor instead.

func (*ReadDirRequest) GetId

func (x *ReadDirRequest) GetId() string

func (*ReadDirRequest) GetPath

func (x *ReadDirRequest) GetPath() string

func (*ReadDirRequest) GetStartIndex

func (x *ReadDirRequest) GetStartIndex() int64

func (*ReadDirRequest) GetStopIndex

func (x *ReadDirRequest) GetStopIndex() int64

func (*ReadDirRequest) ProtoMessage

func (*ReadDirRequest) ProtoMessage()

func (*ReadDirRequest) ProtoReflect

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

func (*ReadDirRequest) Reset

func (x *ReadDirRequest) Reset()

func (*ReadDirRequest) String

func (x *ReadDirRequest) String() string

type ReadDirResponse

type ReadDirResponse struct {

	// ID is a unique identifier for the operation. It can be used to
	// retrieve the same list of files in a subsequent request.
	// This avoids issues with unstable pagination.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Files is the list of files in the directory (limited to the
	// optionally provided start and stop indexes).
	Files []*ReadDirResponse_FileInfoWithIndex `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDirResponse) Descriptor deprecated

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

Deprecated: Use ReadDirResponse.ProtoReflect.Descriptor instead.

func (*ReadDirResponse) GetFiles

func (*ReadDirResponse) GetId

func (x *ReadDirResponse) GetId() string

func (*ReadDirResponse) ProtoMessage

func (*ReadDirResponse) ProtoMessage()

func (*ReadDirResponse) ProtoReflect

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

func (*ReadDirResponse) Reset

func (x *ReadDirResponse) Reset()

func (*ReadDirResponse) String

func (x *ReadDirResponse) String() string

type ReadDirResponse_FileInfoWithIndex

type ReadDirResponse_FileInfoWithIndex struct {

	// The position of the file in the complete directory listing.
	// This is effectively a stable identifier for the file across
	// multiple requests with the same list identifier.
	Index    int64     `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	FileInfo *FileInfo `protobuf:"bytes,2,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDirResponse_FileInfoWithIndex) Descriptor deprecated

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

Deprecated: Use ReadDirResponse_FileInfoWithIndex.ProtoReflect.Descriptor instead.

func (*ReadDirResponse_FileInfoWithIndex) GetFileInfo

func (x *ReadDirResponse_FileInfoWithIndex) GetFileInfo() *FileInfo

func (*ReadDirResponse_FileInfoWithIndex) GetIndex

func (*ReadDirResponse_FileInfoWithIndex) ProtoMessage

func (*ReadDirResponse_FileInfoWithIndex) ProtoMessage()

func (*ReadDirResponse_FileInfoWithIndex) ProtoReflect

func (*ReadDirResponse_FileInfoWithIndex) Reset

func (*ReadDirResponse_FileInfoWithIndex) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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