files

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadManifest = errors.New("Invalid manifest") //nolint:stylecheck

Functions

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 ParseManifest(yamlData []byte) (*openapi.Manifest, error)

func ValidateManifest added in v0.1.13

func ValidateManifest(manifest *openapi.Manifest) error

Types

type ZipResult added in v1.1.0

type ZipResult struct {
	Data     []byte
	Manifest *openapi.Manifest
}

func Zip

func Zip(source string) (*ZipResult, error)

Zip creates a zip archive of the given directory in-memory and returns the parsed manifest.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL