writers

package
v0.50.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWriter

type FSWriter struct {
	Root string
	Ext  string
	Hugo bool
}

FSWriter is implementation of Writer interface for writing blobs to the file system

func (*FSWriter) Write

func (f *FSWriter) Write(name, path string, docBlob []byte, node *manifest.Node, IndexFileNames []string) error

type Writer

type Writer interface {
	Write(name, path string, resourceContent []byte, node *manifest.Node, IndexFileNames []string) error
}

Writer writes blobs with name to a given path

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