Documentation
¶
Index ¶
- Variables
- func FindManifestFile(source string) (string, error)
- func GetRemovedReadObjects(oldRevision *openapi.Integration, newIntegration *openapi.Integration) []string
- func ParseManifest(yamlData []byte) (*openapi.Manifest, error)
- func ValidateManifest(manifest *openapi.Manifest) error
- type ZipResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadManifest = errors.New("Invalid manifest") //nolint:staticcheck
Functions ¶
func FindManifestFile ¶ added in v1.2.0
FindManifestFile resolves source to the path of a manifest file to validate. An explicit file path is returned as-is regardless of its name; a directory is searched for the conventional amp.yaml/amp.yml manifest. It returns ErrBadManifest if the source does not resolve to a manifest file.
func GetRemovedReadObjects ¶ added in v1.1.0
func GetRemovedReadObjects(oldRevision *openapi.Integration, newIntegration *openapi.Integration) []string
GetRemovedReadObjects returns a list of read objects that were removed from the old revision but not in the new integration. The comparison is case-insensitive.
func ParseManifest ¶ added in v0.1.13
func ValidateManifest ¶ added in v0.1.13
Types ¶
Click to show internal directories.
Click to hide internal directories.