Documentation ¶
Index ¶
- Variables
- type Module
- type ModuleFile
- type ModuleName
- func (*ModuleName) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleName) GetDigest() string
- func (x *ModuleName) GetOwner() string
- func (x *ModuleName) GetRemote() string
- func (x *ModuleName) GetRepository() string
- func (x *ModuleName) GetVersion() string
- func (*ModuleName) ProtoMessage()
- func (x *ModuleName) ProtoReflect() protoreflect.Message
- func (x *ModuleName) Reset()
- func (x *ModuleName) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_buf_module_v1_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { // files are the files that make up the set. // // Sorted by path. // Path must be unique. // Only the target files. No imports. // // Maximum total size of all content: 32MB. Files []*ModuleFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // dependencies are the dependencies. // // These must be resolved. Dependencies []*ModuleName `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
Module is a module.
func (*Module) Descriptor
deprecated
func (*Module) GetDependencies ¶
func (x *Module) GetDependencies() []*ModuleName
func (*Module) GetFiles ¶
func (x *Module) GetFiles() []*ModuleFile
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleFile ¶
type ModuleFile 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 }
ModuleFile is a file within a FileSet.
func (*ModuleFile) Descriptor
deprecated
func (*ModuleFile) Descriptor() ([]byte, []int)
Deprecated: Use ModuleFile.ProtoReflect.Descriptor instead.
func (*ModuleFile) GetContent ¶
func (x *ModuleFile) GetContent() []byte
func (*ModuleFile) GetPath ¶
func (x *ModuleFile) GetPath() string
func (*ModuleFile) ProtoMessage ¶
func (*ModuleFile) ProtoMessage()
func (*ModuleFile) ProtoReflect ¶
func (x *ModuleFile) ProtoReflect() protoreflect.Message
func (*ModuleFile) Reset ¶
func (x *ModuleFile) Reset()
func (*ModuleFile) String ¶
func (x *ModuleFile) String() string
type ModuleName ¶
type ModuleName struct { // The DNS name or IP address of the server that hosts the module. Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` // The users username or organization name Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The repository name Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // The repository version // Required Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // The repository commit digest Digest string `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*ModuleName) Descriptor
deprecated
func (*ModuleName) Descriptor() ([]byte, []int)
Deprecated: Use ModuleName.ProtoReflect.Descriptor instead.
func (*ModuleName) GetDigest ¶
func (x *ModuleName) GetDigest() string
func (*ModuleName) GetOwner ¶
func (x *ModuleName) GetOwner() string
func (*ModuleName) GetRemote ¶ added in v0.23.0
func (x *ModuleName) GetRemote() string
func (*ModuleName) GetRepository ¶
func (x *ModuleName) GetRepository() string
func (*ModuleName) GetVersion ¶
func (x *ModuleName) GetVersion() string
func (*ModuleName) ProtoMessage ¶
func (*ModuleName) ProtoMessage()
func (*ModuleName) ProtoReflect ¶
func (x *ModuleName) ProtoReflect() protoreflect.Message
func (*ModuleName) Reset ¶
func (x *ModuleName) Reset()
func (*ModuleName) String ¶
func (x *ModuleName) String() string
Click to show internal directories.
Click to hide internal directories.