config

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseDirectory string
	// contains filtered or unexported fields
}

func (*Config) ApplyDefaults added in v0.1.3

func (c *Config) ApplyDefaults(name string, obj interface{}) error

func (*Config) ExistingTemplates

func (c *Config) ExistingTemplates() []string

func (*Config) Get added in v0.1.2

func (c *Config) Get(name string) (*template.Generator, error)

func (*Config) HaveExistingTemplate

func (c *Config) HaveExistingTemplate(name string) bool

func (*Config) Load

func (c *Config) Load() error

func (*Config) WithDefaults added in v0.1.2

func (c *Config) WithDefaults(name string, obj interface{}) (*template.Generator, error)

func (*Config) WithResource added in v0.1.2

func (c *Config) WithResource(name string, obj interface{}) (*template.Generator, error)

Jump to

Keyboard shortcuts

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