Documentation
¶
Overview ¶
Package verificationmanagers is used to verify the agent packages
Package verificationmanagers is used to verify the agent packages ¶
Package verificationmanagers is used to verify the agent packages ¶
Package verificationmanagers is used to verify the agent packages ¶
Package verificationmanagers is used to verify the agent packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLinuxPublicKey ¶
func GetLinuxPublicKey() []byte
GetLinuxPublicKey returns the public key used to verify agent linux package
Types ¶
type IVerificationManager ¶
type IVerificationManager interface { // VerifySignature verifies the agent binary signature VerifySignature(log log.T, signaturePath string, artifactsPath string, fileExtension string) error }
func GetVerificationManager ¶
func GetVerificationManager(managerType VerificationManager) (IVerificationManager, bool)
GetVerificationManager returns the verification manager based on platform
type VerificationManager ¶
type VerificationManager int
VerificationManager denotes the type of verification manager
const ( // Undefined denotes the verification manager as undefined Undefined VerificationManager = iota // Linux denotes the verification manager for Linux Linux // Darwin denotes the verification manager for MacOS Darwin // Windows denotes the verification manager for Windows Windows // Skip denotes that the verification manager can be skipped Skip )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.