types

package
v0.0.0-...-4a1d17b 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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BugStruct

type BugStruct struct {
	Id         string `json:"guid"`
	Campaign   string `json:"campaign"`
	Category   string `json:"category"`
	PointValue int    `json:"pointValue"`
}

type CampaignStruct

type CampaignStruct struct {
	ID           string         `json:"guid"`
	Name         string         `json:"name"`
	CreatedOn    time.Time      `json:"createdOn"`
	CreatedOrder int            `json:"createdOrder"`
	StartOn      time.Time      `json:"startOn"`
	EndOn        time.Time      `json:"endOn"`
	Note         sql.NullString `json:"note"`
}

type OrganizationStruct

type OrganizationStruct struct {
	ID           string `json:"guid"`
	SCPName      string `json:"scpName"`
	Organization string `json:"organization"`
}

type ParticipantStruct

type ParticipantStruct struct {
	ID           string    `json:"guid"`
	CampaignName string    `json:"campaignName"`
	ScpName      string    `json:"scpName"`
	LoginName    string    `json:"loginName"`
	Email        string    `json:"email"`
	DisplayName  string    `json:"displayName"`
	Score        int       `json:"score"`
	TeamName     string    `json:"teamName"`
	JoinedAt     time.Time `json:"joinedAt"`
}

type Poll

type Poll struct {
	Id                string    `json:"pollInstance"`
	LastPolled        time.Time `json:"lastPolledOn"`
	EnvBaseTime       time.Time `json:"envBaseTime"`
	LastPollCompleted time.Time `json:"lastPollCompleted"`
}

type ScoringMessage

type ScoringMessage struct {
	EventSource string                 `json:"eventSource"`
	RepoOwner   string                 `json:"repositoryOwner"`
	RepoName    string                 `json:"repositoryName"`
	TriggerUser string                 `json:"triggerUser"`
	TotalFixed  int                    `json:"fixed-bugs"`
	BugCounts   map[string]interface{} `json:"fixed-bug-types"`
	PullRequest int                    `json:"pullRequestId"`
}

type SourceControlProviderStruct

type SourceControlProviderStruct struct {
	ID      string `json:"guid"`
	SCPName string `json:"scpName"`
	Url     string `json:"url"`
}

type TeamStruct

type TeamStruct struct {
	Id           string `json:"guid"`
	CampaignName string `json:"campaignName"`
	Name         string `json:"name"`
}

Jump to

Keyboard shortcuts

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