render

package
v0.0.0-...-dc1648f Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Markdown

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

Markdown renders a Tekton resource workspaces, params and results as markdown tables.

func NewMarkdown

func NewMarkdown(cfg *config.Config, resourceFile string) (*Markdown, error)

NewMarkdown instantiates the markdown render by decoding the informed resource file.

func (*Markdown) Render

func (m *Markdown) Render() error

Render instantiate a new template using the local functions to render the resource as markdown.

Jump to

Keyboard shortcuts

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