signature/signature.go
func newUntrustedSignature(dockerManifestDigest digest.Digest, dockerReference string) untrustedSignature {
	// Use intermediate variables for these values so that we can take their addresses.
	// Golang guarantees that they will have a new address on every execution.
	creatorID := "atomic " + version.Version
	timestamp := time.Now().Unix()
	return untrustedSignature{
		UntrustedDockerManifestDigest: dockerManifestDigest,
		UntrustedDockerReference:      dockerReference,
		UntrustedCreatorID:            &creatorID,
		UntrustedTimestamp:            &timestamp,
	}
}
func newUntrustedSignature(dockerManifestDigest digest.Digest, dockerReference string) untrustedSignature {
	// Use intermediate variables for these values so that we can take their addresses.
	// Golang guarantees that they will have a new address on every execution.
	creatorID := "atomic " + version.Version
	timestamp := time.Now().Unix()
	return untrustedSignature{
		UntrustedDockerManifestDigest: dockerManifestDigest,
		UntrustedDockerReference:      dockerReference,
		UntrustedCreatorID:            &creatorID,
		UntrustedTimestamp:            &timestamp,
	}
}
func newUntrustedSignature ( dockerManifestDigest digest . Digest , dockerReference string ) untrustedSignature { // Use intermediate variables for these values so that we can take their addresses. // Golang guarantees that they will have a new address on every execution. creatorID := " " + version . Version timestamp := time . Now ( ) . Unix ( ) return untrustedSignature { UntrustedDockerManifestDigest : dockerManifestDigest , UntrustedDockerReference : dockerReference , UntrustedCreatorID : & creatorID , UntrustedTimestamp : & timestamp , } }
// newUntrustedSignature returns an untrustedSignature object with
// the specified primary contents and appropriate metadata.
newUntrustedSignature returns an untrustedSignature object with the specified primary contents and appropriate metadata .