jamfpropackageuploader

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateFileMD5

func CalculateFileMD5(filePath string) string

CalculateFileMD5 calculates the MD5 hash of a file and returns it as a hexadecimal string.

func CalculateFileSHA3

func CalculateFileSHA3(filePath string) string

CalculateFileSHA3 calculates the SHA3 hash of a file

func FindPkgFiles

func FindPkgFiles(directory string) ([]string, error)

FindPkgFiles searches the given directory for files ending with .pkg and returns their paths

func PackageExistsInJCDS

func PackageExistsInJCDS(packages []jamfpro.ResponseJCDS2List, fileName, fileMD5 string) bool

PackageExistsInJCDS checks if a package exists in JCDS by comparing both the file name and MD5 hash.

func PackageMetadataExists

func PackageMetadataExists(packages []jamfpro.PackageListItem, fileName string) bool

PackageMetadataExists checks if package metadata exists in Jamf Pro by comparing the package name

func PrintASCIILogo()

Helper function to print ASCII art

Types

This section is empty.

Jump to

Keyboard shortcuts

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