types

package
v0.0.0-...-c92e1c5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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 EvaluationInfo

type EvaluationInfo struct {
	UnsignedPRID   string
	RepoOwner      string
	RepoName       string
	Sha            string
	PRNumber       int64
	AppId          int64
	InstallId      int64
	UserSignatures []UserSignature
}

EvaluationInfo holds all the stuff we need to (re)validate a PR/user has the CLA signed, basically just gather all the parameters together

type User

type User struct {
	Login     string `json:"login"`
	Email     string `json:"email"`
	GivenName string `json:"name"`
}

type UserSignature

type UserSignature struct {
	User       User   `json:"user"`
	CLAVersion string `json:"claVersion"`
	TimeSigned time.Time
}

Jump to

Keyboard shortcuts

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