output

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentDate added in v0.2.0

func CurrentDate(format string) string

func WritePage

func WritePage(
	metadata chart.Metadata,
	content,
	introduction,
	outputFolder,
	repoURL,
	repoRef,
	templatePath string) (string, error)

WritePage creates a Cluster App configuration page.

Types

type PageData

type PageData struct {
	Description         string
	SourceRepository    string
	SourceRepositoryRef string
	Title               string
	Team                string
	Introduction        string
	Content             string
	Weight              int
}

PageData is all the data we pass to generate the Chart detail page.

Jump to

Keyboard shortcuts

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