Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
ResolveResourceLink(destination string, node *manifest.Node, source string) (string, error)
}
Interface represent link resolving interface
type LinkResolver ¶
type LinkResolver struct { Repositoryhosts registry.Interface SourceToNode map[string][]*manifest.Node Hugo hugo.Hugo }
LinkResolver represents link resolving nessesary objects
func New ¶
New creates a new linkresolver given the manifest structure and a registry used for working with links
func (*LinkResolver) ResolveResourceLink ¶
func (l *LinkResolver) ResolveResourceLink(resourceLink string, node *manifest.Node, source string) (string, error)
ResolveResourceLink resolves resource link from a given source
Directories
¶
Path | Synopsis |
---|---|
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.