Documentation ¶
Index ¶
- Variables
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetBreakingConfig() *v1.Config
- func (x *Module) GetDependencies() []*ModulePin
- func (x *Module) GetDocumentation() string
- func (x *Module) GetFiles() []*ModuleFile
- func (x *Module) GetLicense() string
- func (x *Module) GetLintConfig() *v11.Config
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleFile
- type ModulePin
- func (*ModulePin) Descriptor() ([]byte, []int)deprecated
- func (x *ModulePin) GetBranch() string
- func (x *ModulePin) GetCommit() string
- func (x *ModulePin) GetCreateTime() *timestamppb.Timestamp
- func (x *ModulePin) GetOwner() string
- func (x *ModulePin) GetRemote() string
- func (x *ModulePin) GetRepository() string
- func (*ModulePin) ProtoMessage()
- func (x *ModulePin) ProtoReflect() protoreflect.Message
- func (x *ModulePin) Reset()
- func (x *ModulePin) String() string
- type ModuleReference
- func (*ModuleReference) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleReference) GetOwner() string
- func (x *ModuleReference) GetReference() string
- func (x *ModuleReference) GetRemote() string
- func (x *ModuleReference) GetRepository() string
- func (*ModuleReference) ProtoMessage()
- func (x *ModuleReference) ProtoReflect() protoreflect.Message
- func (x *ModuleReference) Reset()
- func (x *ModuleReference) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_buf_alpha_module_v1alpha1_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. Dependencies []*ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // documentation is the string representation of the contents of the `buf.md` file. // // string is used to enforce UTF-8 encoding or 7-bit ASCII text. Documentation string `protobuf:"bytes,3,opt,name=documentation,proto3" json:"documentation,omitempty"` // breaking_config is the breaking change detection configuration set for the module. BreakingConfig *v1.Config `protobuf:"bytes,4,opt,name=breaking_config,json=breakingConfig,proto3" json:"breaking_config,omitempty"` // lint_config is the lint configuration set for the module. LintConfig *v11.Config `protobuf:"bytes,5,opt,name=lint_config,json=lintConfig,proto3" json:"lint_config,omitempty"` // license is the string representation of the contents of the `LICENSE` file. // // string is used to enforce UTF-8 encoding or 7-bit ASCII text. License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"` // contains filtered or unexported fields }
Module is a module.
func (*Module) Descriptor
deprecated
func (*Module) GetBreakingConfig ¶ added in v1.0.0
func (*Module) GetDependencies ¶
func (*Module) GetDocumentation ¶
func (*Module) GetFiles ¶
func (x *Module) GetFiles() []*ModuleFile
func (*Module) GetLicense ¶ added in v1.9.0
func (*Module) GetLintConfig ¶ added in v1.0.0
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 ModulePin ¶
type ModulePin struct { Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` Commit string `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
ModulePin is a module pin.
func (*ModulePin) Descriptor
deprecated
func (*ModulePin) GetCreateTime ¶
func (x *ModulePin) GetCreateTime() *timestamppb.Timestamp
func (*ModulePin) GetRepository ¶
func (*ModulePin) ProtoMessage ¶
func (*ModulePin) ProtoMessage()
func (*ModulePin) ProtoReflect ¶
func (x *ModulePin) ProtoReflect() protoreflect.Message
type ModuleReference ¶
type ModuleReference struct { Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // either tag, or commit Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
ModuleReference is a module reference.
func (*ModuleReference) Descriptor
deprecated
func (*ModuleReference) Descriptor() ([]byte, []int)
Deprecated: Use ModuleReference.ProtoReflect.Descriptor instead.
func (*ModuleReference) GetOwner ¶
func (x *ModuleReference) GetOwner() string
func (*ModuleReference) GetReference ¶
func (x *ModuleReference) GetReference() string
func (*ModuleReference) GetRemote ¶
func (x *ModuleReference) GetRemote() string
func (*ModuleReference) GetRepository ¶
func (x *ModuleReference) GetRepository() string
func (*ModuleReference) ProtoMessage ¶
func (*ModuleReference) ProtoMessage()
func (*ModuleReference) ProtoReflect ¶
func (x *ModuleReference) ProtoReflect() protoreflect.Message
func (*ModuleReference) Reset ¶
func (x *ModuleReference) Reset()
func (*ModuleReference) String ¶
func (x *ModuleReference) String() string
Click to show internal directories.
Click to hide internal directories.