srpmproc/internal/data/process.go

32 lines
815 B
Go
Raw Normal View History

package data
import (
"git.rockylinux.org/release-engineering/public/srpmproc/internal/blob"
"github.com/go-git/go-billy/v5"
"github.com/go-git/go-git/v5/plumbing/transport/ssh"
)
type ProcessData struct {
RpmLocation string
UpstreamPrefix string
SshKeyLocation string
SshUser string
Version int
GitCommitterName string
GitCommitterEmail string
Mode int
ModulePrefix string
ImportBranchPrefix string
BranchPrefix string
SingleTag string
Authenticator *ssh.PublicKeys
Importer ImportMode
BlobStorage blob.Storage
NoDupMode bool
ModuleMode bool
2021-03-18 17:44:02 +00:00
TmpFsMode string
NoStorageDownload bool
NoStorageUpload bool
2021-03-18 17:44:02 +00:00
FsCreator func(branch string) billy.Filesystem
}