Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // offer sane defaults for proto vendoring DefaultMatchPatterns = []string{anyvendor.ProtoMatchPattern} // matches ext.proto for solo hash gen ExtProtoMatcher = &anyvendor.GoModImport{ Package: "github.com/solo-io/protoc-gen-ext", Patterns: []string{ "extproto/*.proto", "external/google/protobuf/*.proto", }, } // default match options which should be used when creating a solo-kit project DefaultExternalMatchOptions = map[string][]string{ ExtProtoMatcher.Package: ExtProtoMatcher.Patterns, } )
Functions ¶
This section is empty.
Types ¶
type Imports ¶
type Imports struct { // files which should be gathered from the local repo Local []string // files which should be gathered from other go.mod repos External map[string][]string }
this type represents a solo-kit abstraction of the anyvendor API for vendoring non-go files.
func (*Imports) ToAnyvendorConfig ¶
Click to show internal directories.
Click to hide internal directories.