templates

package
v0.0.0-...-92ba5c8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(fs http.FileSystem, filename string, unstructured bool, data interface{}) (client.Object, error)

Types

type FilteredFile

type FilteredFile struct {
	http.File
	// contains filtered or unexported fields
}

func (*FilteredFile) Readdir

func (ff *FilteredFile) Readdir(count int) ([]os.FileInfo, error)

type FilteredFileSystem

type FilteredFileSystem struct {
	// contains filtered or unexported fields
}

func NewFilteredFileSystem

func NewFilteredFileSystem(fs http.FileSystem) *FilteredFileSystem

func (*FilteredFileSystem) Exclude

func (ffs *FilteredFileSystem) Exclude(glob string) *FilteredFileSystem

func (*FilteredFileSystem) Include

func (ffs *FilteredFileSystem) Include(glob string) *FilteredFileSystem

func (*FilteredFileSystem) Open

func (ffs *FilteredFileSystem) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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