// OverrideParameters override the parameters in github.Repository
// that are defined in RepositoryParameters
OverrideParameters override the parameters in github.Repository
that are defined in RepositoryParameters
// OverrideParameters override the parameters in github . Repository // that are defined in RepositoryParameters
func OverrideParameters(rp v1alpha1.RepositoryParameters, r github.Repository, name string) github.Repository { 
	if name != "" {
		r.Name = &name
	}
	if rp.Description != nil {
		r.Description = rp.Description
	}
	if rp.Homepage != nil {
		r.Homepage = rp.Homepage
	}
	if rp.Private != nil {
		r.Private = rp.Private
	}
	if rp.Visibility != nil {
		r.Visibility = rp.Visibility
	}
	if rp.HasIssues != nil {
		r.HasIssues = rp.HasIssues
	}
	if rp.HasProjects != nil {
		r.HasProjects = rp.HasProjects
	}
	if rp.HasWiki != nil {
		r.HasWiki = rp.HasWiki
	}
	if rp.AutoInit != nil {
		r.AutoInit = rp.AutoInit
	}
	if rp.IsTemplate != nil {
		r.IsTemplate = rp.IsTemplate
	}
	if rp.TeamID != nil {
		r.TeamID = rp.TeamID
	}
	if rp.GitignoreTemplate != nil {
		r.GitignoreTemplate = rp.GitignoreTemplate
	}
	if rp.LicenseTemplate != nil {
		r.LicenseTemplate = rp.LicenseTemplate
	}
	if rp.AllowSquashMerge != nil {
		r.AllowSquashMerge = rp.AllowSquashMerge
	}
	if rp.AllowMergeCommit != nil {
		r.AllowMergeCommit = rp.AllowMergeCommit
	}
	if rp.AllowRebaseMerge != nil {
		r.AllowRebaseMerge = rp.AllowRebaseMerge
	}
	if rp.DeleteBranchOnMerge != nil {
		r.DeleteBranchOnMerge = rp.DeleteBranchOnMerge
	}
	if rp.HasPages != nil {
		r.HasPages = rp.HasPages
	}
	if rp.HasDownloads != nil {
		r.HasDownloads = rp.HasDownloads
	}
	if rp.DefaultBranch != nil {
		r.DefaultBranch = rp.DefaultBranch
	}
	if rp.Archived != nil {
		r.Archived = rp.Archived
	}
	return r
}
func OverrideParameters ( rp v1alpha1 . RepositoryParameters , r github . Repository , name string ) github . Repository { if name != " " { r . Name = & name } if rp . Description != nil { r . Description = rp . Description } if rp . Homepage != nil { r . Homepage = rp . Homepage } if rp . Private != nil { r . Private = rp . Private } if rp . Visibility != nil { r . Visibility = rp . Visibility } if rp . HasIssues != nil { r . HasIssues = rp . HasIssues } if rp . HasProjects != nil { r . HasProjects = rp . HasProjects } if rp . HasWiki != nil { r . HasWiki = rp . HasWiki } if rp . AutoInit != nil { r . AutoInit = rp . AutoInit } if rp . IsTemplate != nil { r . IsTemplate = rp . IsTemplate } if rp . TeamID != nil { r . TeamID = rp . TeamID } if rp . GitignoreTemplate != nil { r . GitignoreTemplate = rp . GitignoreTemplate } if rp . LicenseTemplate != nil { r . LicenseTemplate = rp . LicenseTemplate } if rp . AllowSquashMerge != nil { r . AllowSquashMerge = rp . AllowSquashMerge } if rp . AllowMergeCommit != nil { r . AllowMergeCommit = rp . AllowMergeCommit } if rp . AllowRebaseMerge != nil { r . AllowRebaseMerge = rp . AllowRebaseMerge } if rp . DeleteBranchOnMerge != nil { r . DeleteBranchOnMerge = rp . DeleteBranchOnMerge } if rp . HasPages != nil { r . HasPages = rp . HasPages } if rp . HasDownloads != nil { r . HasDownloads = rp . HasDownloads } if rp . DefaultBranch != nil { r . DefaultBranch = rp . DefaultBranch } if rp . Archived != nil { r . Archived = rp . Archived } return r }
OverrideParameters override the parameters in github.Repository
that are defined in RepositoryParameters
OverrideParameters override the parameters in github . Repository that are defined in RepositoryParameters
// nolint:gocyclo