predicate

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Name  string    `json:"name,omitempty"`
	Email string    `json:"email,omitempty"`
	Date  time.Time `json:"date,omitempty"`
}

type Commit

type Commit struct {
	Tree      string   `json:"tree,omitempty"`
	Parents   []string `json:"parents,omitempty"`
	Author    *Author  `json:"author,omitempty"`
	Committer *Author  `json:"committer,omitempty"`
	Message   string   `json:"message,omitempty"`
}

type GitCommit

type GitCommit struct {
	Commit    *Commit `json:"source,omitempty"`
	Signature string  `json:"signature,omitempty"`
	// SignerInfo contains select fields from the PKCS7 SignerInfo.
	// This is intended as a convenience for consumers to access relevant
	// fields like certificate instead of needing to parse the signature.
	// See https://datatracker.ietf.org/doc/html/rfc5652#section-5.3 for details.
	SignerInfo []*SignerInfo `json:"signer_info,omitempty"`
}

type SignerInfo

type SignerInfo struct {
	// Attributes contains a base64 encoded ASN.1 marshalled signed attributes.
	// See https://datatracker.ietf.org/doc/html/rfc5652#section-5.6 for more details.
	Attributes  string `json:"attributes,omitempty"`
	Certificate string `json:"certificate,omitempty"`
}

Jump to

Keyboard shortcuts

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