mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-02 17:05:58 +02:00
fix highwayhash
This commit is contained in:
committed by
Cole Wippern
parent
5a2cfeabba
commit
6b020a1f97
+17
-241
@@ -532,14 +532,6 @@ func (c *CheckRun) GetName() string {
|
||||
return *c.Name
|
||||
}
|
||||
|
||||
// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRun) GetNodeID() string {
|
||||
if c == nil || c.NodeID == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.NodeID
|
||||
}
|
||||
|
||||
// GetOutput returns the Output field.
|
||||
func (c *CheckRun) GetOutput() *CheckRunOutput {
|
||||
if c == nil {
|
||||
@@ -572,14 +564,6 @@ func (c *CheckRun) GetURL() string {
|
||||
return *c.URL
|
||||
}
|
||||
|
||||
// GetAnnotationLevel returns the AnnotationLevel field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetAnnotationLevel() string {
|
||||
if c == nil || c.AnnotationLevel == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.AnnotationLevel
|
||||
}
|
||||
|
||||
// GetBlobHRef returns the BlobHRef field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetBlobHRef() string {
|
||||
if c == nil || c.BlobHRef == nil {
|
||||
@@ -596,6 +580,14 @@ func (c *CheckRunAnnotation) GetEndLine() int {
|
||||
return *c.EndLine
|
||||
}
|
||||
|
||||
// GetFileName returns the FileName field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetFileName() string {
|
||||
if c == nil || c.FileName == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.FileName
|
||||
}
|
||||
|
||||
// GetMessage returns the Message field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetMessage() string {
|
||||
if c == nil || c.Message == nil {
|
||||
@@ -604,14 +596,6 @@ func (c *CheckRunAnnotation) GetMessage() string {
|
||||
return *c.Message
|
||||
}
|
||||
|
||||
// GetPath returns the Path field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetPath() string {
|
||||
if c == nil || c.Path == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.Path
|
||||
}
|
||||
|
||||
// GetRawDetails returns the RawDetails field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetRawDetails() string {
|
||||
if c == nil || c.RawDetails == nil {
|
||||
@@ -636,6 +620,14 @@ func (c *CheckRunAnnotation) GetTitle() string {
|
||||
return *c.Title
|
||||
}
|
||||
|
||||
// GetWarningLevel returns the WarningLevel field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunAnnotation) GetWarningLevel() string {
|
||||
if c == nil || c.WarningLevel == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.WarningLevel
|
||||
}
|
||||
|
||||
// GetAction returns the Action field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckRunEvent) GetAction() string {
|
||||
if c == nil || c.Action == nil {
|
||||
@@ -804,14 +796,6 @@ func (c *CheckSuite) GetID() int64 {
|
||||
return *c.ID
|
||||
}
|
||||
|
||||
// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
|
||||
func (c *CheckSuite) GetNodeID() string {
|
||||
if c == nil || c.NodeID == nil {
|
||||
return ""
|
||||
}
|
||||
return *c.NodeID
|
||||
}
|
||||
|
||||
// GetRepository returns the Repository field.
|
||||
func (c *CheckSuite) GetRepository() *Repository {
|
||||
if c == nil {
|
||||
@@ -2396,14 +2380,6 @@ func (d *DiscussionComment) GetNumber() int {
|
||||
return *d.Number
|
||||
}
|
||||
|
||||
// GetReactions returns the Reactions field.
|
||||
func (d *DiscussionComment) GetReactions() *Reactions {
|
||||
if d == nil {
|
||||
return nil
|
||||
}
|
||||
return d.Reactions
|
||||
}
|
||||
|
||||
// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
|
||||
func (d *DiscussionComment) GetUpdatedAt() Timestamp {
|
||||
if d == nil || d.UpdatedAt == nil {
|
||||
@@ -3884,14 +3860,6 @@ func (i *IssueComment) GetIssueURL() string {
|
||||
return *i.IssueURL
|
||||
}
|
||||
|
||||
// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise.
|
||||
func (i *IssueComment) GetNodeID() string {
|
||||
if i == nil || i.NodeID == nil {
|
||||
return ""
|
||||
}
|
||||
return *i.NodeID
|
||||
}
|
||||
|
||||
// GetReactions returns the Reactions field.
|
||||
func (i *IssueComment) GetReactions() *Reactions {
|
||||
if i == nil {
|
||||
@@ -5740,14 +5708,6 @@ func (o *Organization) GetTotalPrivateRepos() int {
|
||||
return *o.TotalPrivateRepos
|
||||
}
|
||||
|
||||
// GetTwoFactorRequirementEnabled returns the TwoFactorRequirementEnabled field if it's non-nil, zero value otherwise.
|
||||
func (o *Organization) GetTwoFactorRequirementEnabled() bool {
|
||||
if o == nil || o.TwoFactorRequirementEnabled == nil {
|
||||
return false
|
||||
}
|
||||
return *o.TwoFactorRequirementEnabled
|
||||
}
|
||||
|
||||
// GetType returns the Type field if it's non-nil, zero value otherwise.
|
||||
func (o *Organization) GetType() string {
|
||||
if o == nil || o.Type == nil {
|
||||
@@ -6196,78 +6156,6 @@ func (p *PreReceiveHook) GetName() string {
|
||||
return *p.Name
|
||||
}
|
||||
|
||||
// GetHRef returns the HRef field if it's non-nil, zero value otherwise.
|
||||
func (p *PRLink) GetHRef() string {
|
||||
if p == nil || p.HRef == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.HRef
|
||||
}
|
||||
|
||||
// GetComments returns the Comments field.
|
||||
func (p *PRLinks) GetComments() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Comments
|
||||
}
|
||||
|
||||
// GetCommits returns the Commits field.
|
||||
func (p *PRLinks) GetCommits() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Commits
|
||||
}
|
||||
|
||||
// GetHTML returns the HTML field.
|
||||
func (p *PRLinks) GetHTML() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.HTML
|
||||
}
|
||||
|
||||
// GetIssue returns the Issue field.
|
||||
func (p *PRLinks) GetIssue() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Issue
|
||||
}
|
||||
|
||||
// GetReviewComment returns the ReviewComment field.
|
||||
func (p *PRLinks) GetReviewComment() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.ReviewComment
|
||||
}
|
||||
|
||||
// GetReviewComments returns the ReviewComments field.
|
||||
func (p *PRLinks) GetReviewComments() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.ReviewComments
|
||||
}
|
||||
|
||||
// GetSelf returns the Self field.
|
||||
func (p *PRLinks) GetSelf() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Self
|
||||
}
|
||||
|
||||
// GetStatuses returns the Statuses field.
|
||||
func (p *PRLinks) GetStatuses() *PRLink {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Statuses
|
||||
}
|
||||
|
||||
// GetBody returns the Body field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetBody() string {
|
||||
if p == nil || p.Body == nil {
|
||||
@@ -6276,14 +6164,6 @@ func (p *Project) GetBody() string {
|
||||
return *p.Body
|
||||
}
|
||||
|
||||
// GetColumnsURL returns the ColumnsURL field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetColumnsURL() string {
|
||||
if p == nil || p.ColumnsURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.ColumnsURL
|
||||
}
|
||||
|
||||
// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetCreatedAt() Timestamp {
|
||||
if p == nil || p.CreatedAt == nil {
|
||||
@@ -6300,14 +6180,6 @@ func (p *Project) GetCreator() *User {
|
||||
return p.Creator
|
||||
}
|
||||
|
||||
// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetHTMLURL() string {
|
||||
if p == nil || p.HTMLURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.HTMLURL
|
||||
}
|
||||
|
||||
// GetID returns the ID field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetID() int64 {
|
||||
if p == nil || p.ID == nil {
|
||||
@@ -6348,14 +6220,6 @@ func (p *Project) GetOwnerURL() string {
|
||||
return *p.OwnerURL
|
||||
}
|
||||
|
||||
// GetState returns the State field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetState() string {
|
||||
if p == nil || p.State == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.State
|
||||
}
|
||||
|
||||
// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
|
||||
func (p *Project) GetUpdatedAt() Timestamp {
|
||||
if p == nil || p.UpdatedAt == nil {
|
||||
@@ -6540,14 +6404,6 @@ func (p *ProjectCardOptions) GetArchived() bool {
|
||||
return *p.Archived
|
||||
}
|
||||
|
||||
// GetCardsURL returns the CardsURL field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectColumn) GetCardsURL() string {
|
||||
if p == nil || p.CardsURL == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.CardsURL
|
||||
}
|
||||
|
||||
// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectColumn) GetCreatedAt() Timestamp {
|
||||
if p == nil || p.CreatedAt == nil {
|
||||
@@ -6596,14 +6452,6 @@ func (p *ProjectColumn) GetUpdatedAt() Timestamp {
|
||||
return *p.UpdatedAt
|
||||
}
|
||||
|
||||
// GetURL returns the URL field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectColumn) GetURL() string {
|
||||
if p == nil || p.URL == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.URL
|
||||
}
|
||||
|
||||
// GetAction returns the Action field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectColumnEvent) GetAction() string {
|
||||
if p == nil || p.Action == nil {
|
||||
@@ -6724,46 +6572,6 @@ func (p *ProjectEvent) GetSender() *User {
|
||||
return p.Sender
|
||||
}
|
||||
|
||||
// GetBody returns the Body field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectOptions) GetBody() string {
|
||||
if p == nil || p.Body == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.Body
|
||||
}
|
||||
|
||||
// GetName returns the Name field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectOptions) GetName() string {
|
||||
if p == nil || p.Name == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.Name
|
||||
}
|
||||
|
||||
// GetOrganizationPermission returns the OrganizationPermission field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectOptions) GetOrganizationPermission() string {
|
||||
if p == nil || p.OrganizationPermission == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.OrganizationPermission
|
||||
}
|
||||
|
||||
// GetPublic returns the Public field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectOptions) GetPublic() bool {
|
||||
if p == nil || p.Public == nil {
|
||||
return false
|
||||
}
|
||||
return *p.Public
|
||||
}
|
||||
|
||||
// GetState returns the State field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectOptions) GetState() string {
|
||||
if p == nil || p.State == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.State
|
||||
}
|
||||
|
||||
// GetEnforceAdmins returns the EnforceAdmins field.
|
||||
func (p *Protection) GetEnforceAdmins() *AdminEnforcement {
|
||||
if p == nil {
|
||||
@@ -6996,14 +6804,6 @@ func (p *PullRequest) GetIssueURL() string {
|
||||
return *p.IssueURL
|
||||
}
|
||||
|
||||
// GetLinks returns the Links field.
|
||||
func (p *PullRequest) GetLinks() *PRLinks {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Links
|
||||
}
|
||||
|
||||
// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
|
||||
func (p *PullRequest) GetMaintainerCanModify() bool {
|
||||
if p == nil || p.MaintainerCanModify == nil {
|
||||
@@ -7348,14 +7148,6 @@ func (p *PullRequestEvent) GetAction() string {
|
||||
return *p.Action
|
||||
}
|
||||
|
||||
// GetAssignee returns the Assignee field.
|
||||
func (p *PullRequestEvent) GetAssignee() *User {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Assignee
|
||||
}
|
||||
|
||||
// GetChanges returns the Changes field.
|
||||
func (p *PullRequestEvent) GetChanges() *EditChange {
|
||||
if p == nil {
|
||||
@@ -7388,14 +7180,6 @@ func (p *PullRequestEvent) GetNumber() int {
|
||||
return *p.Number
|
||||
}
|
||||
|
||||
// GetOrganization returns the Organization field.
|
||||
func (p *PullRequestEvent) GetOrganization() *Organization {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
return p.Organization
|
||||
}
|
||||
|
||||
// GetPullRequest returns the PullRequest field.
|
||||
func (p *PullRequestEvent) GetPullRequest() *PullRequest {
|
||||
if p == nil {
|
||||
@@ -8173,7 +7957,7 @@ func (p *PushEventRepository) GetOrganization() string {
|
||||
}
|
||||
|
||||
// GetOwner returns the Owner field.
|
||||
func (p *PushEventRepository) GetOwner() *User {
|
||||
func (p *PushEventRepository) GetOwner() *PushEventRepoOwner {
|
||||
if p == nil {
|
||||
return nil
|
||||
}
|
||||
@@ -10700,14 +10484,6 @@ func (t *TeamDiscussion) GetPrivate() bool {
|
||||
return *t.Private
|
||||
}
|
||||
|
||||
// GetReactions returns the Reactions field.
|
||||
func (t *TeamDiscussion) GetReactions() *Reactions {
|
||||
if t == nil {
|
||||
return nil
|
||||
}
|
||||
return t.Reactions
|
||||
}
|
||||
|
||||
// GetTeamURL returns the TeamURL field if it's non-nil, zero value otherwise.
|
||||
func (t *TeamDiscussion) GetTeamURL() string {
|
||||
if t == nil || t.TeamURL == nil {
|
||||
|
||||
Reference in New Issue
Block a user