generate

package
v0.0.0-...-36c5b18 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPortalConfig

func NewPortalConfig(m map[string]any) (p portalConfig, err error)

Create new Open OnDemand portal configuration from `ood_portal.yml`.

This function will initialize certain defaults in the `portalConfig` struct if the mapped configuration option is omitted from `ood_portal.yml`. See the `ood_portal.yml` configuration file for the recommended defaults: https://osc.github.io/ood-documentation/latest/reference/files/ood-portal-yml.html

func RenderPortal

func RenderPortal(configFile string) (out string, err error)

Render an Open OnDemand portal configuration file from an `ood_portal.yml` configuration file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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