limatmpl

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstNameFromURL

func InstNameFromURL(urlStr string) (string, error)

func InstNameFromYAMLPath

func InstNameFromYAMLPath(yamlPath string) (string, error)

func SeemsFileURL

func SeemsFileURL(arg string) bool

func SeemsHTTPURL

func SeemsHTTPURL(arg string) bool

func SeemsTemplateURL

func SeemsTemplateURL(arg string) (bool, *url.URL)

func SeemsYAMLPath

func SeemsYAMLPath(arg string) bool

Types

type Template

type Template struct {
	Name    string
	Locator string
	Bytes   []byte
}

func Read

func Read(ctx context.Context, name, locator string) (*Template, error)

Jump to

Keyboard shortcuts

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