jamfpropackageuploader

package
v1.7.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

Helper function to create a pointer to a bool

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.ResourcePackage, 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.ResourcePackage, 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