linkresolver

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ResolveLink(destination string, node *manifest.Node, source string) (string, bool, error)
}

Interface represent link resolving interface

type LinkResolver

type LinkResolver struct {
	Repositoryhosts repositoryhosts.Registry
	SourceToNode    map[string][]*manifest.Node
	Hugo            hugo.Hugo
}

LinkResolver represents link resolving nessesary objects

func (l *LinkResolver) ResolveLink(destination string, node *manifest.Node, source string) (string, bool, error)

ResolveLink resolves link

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL