Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func (*Processor) ProcessRepo ¶
func (*Processor) ProcessRepoId ¶
`ProcessRepoId()` is currently unused. It is a reminder that we may consider adding alternative calling conventions. For example, it may be faster to avoid fetching repo details from the registry and only pass the repo ID instead.
Further ideas, which may be useful if process creation overhead turns out to be a problem:
- Pass multipe repos in a single run, like xargs.
- Pass repos via stdin, expecting the command to confirm processing on stdout.
type Repo ¶
type Repo struct { Id uuid.I `json:"id"` Vid ulid.I `json:"vid"` Registry string `json:"registry"` GlobalPath string `json:"globalPath"` File string `json:"file,omitempty"` Shadow string `json:"shadow,omitempty"` Archive string `json:"archive,omitempty"` ArchiveRecipients []string `json:"archiveRecipients,omitempty"` ShadowBackup string `json:"shadowBackup,omitempty"` ShadowBackupRecipients []string `json:"shadowBackupRecipients,omitempty"` }
Click to show internal directories.
Click to hide internal directories.