Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadURLName ¶ added in v0.45.0
func DownloadURLName(url repositoryhost.URL) string
DownloadURLName create resource name that will be dowloaded from a resource link
Types ¶
type Processor ¶
Processor represents document processor
func New ¶
func New(workerCount int, failFast bool, wg *sync.WaitGroup, structure []*manifest.Node, resourcesRoot string, downloadJob resourcedownloader.Interface, validator linkvalidator.Interface, rhs registry.Interface, hugo hugo.Hugo, writer writers.Writer, skipLinkValidation bool) (Processor, taskqueue.QueueController, error)
New creates a new Worker
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker represents document worker
func NewDocumentWorker ¶
func NewDocumentWorker(resourcesRoot string, downloader resourcedownloader.Interface, validator linkvalidator.Interface, linkResolver linkresolver.Interface, rh registry.Interface, hugo hugo.Hugo, writer writers.Writer, skipLinkValidation bool) *Worker
NewDocumentWorker creates Worker objects
Directories ¶
Path | Synopsis |
---|---|
frontmatterfakes
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors
|
SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors |
Click to show internal directories.
Click to hide internal directories.