Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_buf_storage_v1_storage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { // path is the relative path of the file. // Path can only use '/' as the separator character, and includes no ".." components. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // content is the content of the file. Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
File is a file within a FileSet.
func (*File) Descriptor
deprecated
func (*File) GetContent ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileSet ¶
type FileSet struct { // files are the files that make up the set. // // Sorted by path. // Path must be unique. Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
FileSet is a the set of files for a module.
func (*FileSet) Descriptor
deprecated
func (*FileSet) ProtoMessage ¶
func (*FileSet) ProtoMessage()
func (*FileSet) ProtoReflect ¶
func (x *FileSet) ProtoReflect() protoreflect.Message
type FileSetValidationError ¶
type FileSetValidationError struct {
// contains filtered or unexported fields
}
FileSetValidationError is the validation error returned by FileSet.Validate if the designated constraints aren't met.
func (FileSetValidationError) Cause ¶
func (e FileSetValidationError) Cause() error
Cause function returns cause value.
func (FileSetValidationError) Error ¶
func (e FileSetValidationError) Error() string
Error satisfies the builtin error interface
func (FileSetValidationError) ErrorName ¶
func (e FileSetValidationError) ErrorName() string
ErrorName returns error name.
func (FileSetValidationError) Field ¶
func (e FileSetValidationError) Field() string
Field function returns field value.
func (FileSetValidationError) Key ¶
func (e FileSetValidationError) Key() bool
Key function returns key value.
func (FileSetValidationError) Reason ¶
func (e FileSetValidationError) Reason() string
Reason function returns reason value.
type FileValidationError ¶
type FileValidationError struct {
// contains filtered or unexported fields
}
FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.
func (FileValidationError) Cause ¶
func (e FileValidationError) Cause() error
Cause function returns cause value.
func (FileValidationError) Error ¶
func (e FileValidationError) Error() string
Error satisfies the builtin error interface
func (FileValidationError) ErrorName ¶
func (e FileValidationError) ErrorName() string
ErrorName returns error name.
func (FileValidationError) Field ¶
func (e FileValidationError) Field() string
Field function returns field value.
func (FileValidationError) Key ¶
func (e FileValidationError) Key() bool
Key function returns key value.
func (FileValidationError) Reason ¶
func (e FileValidationError) Reason() string
Reason function returns reason value.