Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
Validate returns an error if the swagger file is invalid or uses fields we don't support. Note that this isn't a comprehensive check for all things we don't support, so this may not return an error, but the Swagger file might have values we don't support
func ValidateGlideLock ¶ added in v1.5.4
ValidateGlideLock looks at a user's glide.yml and makes sure certain dependencies that wag requires are present and locked to the correct version.
func ValidateGlideYAML ¶ added in v1.5.4
ValidateGlideYAML looks at a user's glide.yml and makes sure certain dependencies that wag requires are present and locked to the correct version.
Types ¶
type GlideLock ¶ added in v1.5.4
type GlideLock struct {
Imports []LockedVersion `yaml:"imports"`
}
GlideLock unmarshals the parts of a glide.lock file we care about.
type GlideYML ¶ added in v1.2.8
type GlideYML struct {
Imports []Import `yaml:"import"`
}
GlideYML unmarshals the parts of a glide.yml file we care about.
type ListOfPeerDependencyError ¶ added in v1.5.4
type ListOfPeerDependencyError struct {
Errors []*PeerDependencyError
}
ListOfPeerDependencyError is a list of PeerDependency errors
func (*ListOfPeerDependencyError) Error ¶ added in v1.5.4
func (e *ListOfPeerDependencyError) Error() string
type LockedVersion ¶ added in v1.5.4
LockedVersion contained within a glide.lock.
type PeerDependencyError ¶ added in v1.5.4
PeerDependencyError occurs when glide.yml and/or glide.lock dont have the required dependency versions for wag
func (*PeerDependencyError) Error ¶ added in v1.5.4
func (e *PeerDependencyError) Error() string