Documentation ¶
Index ¶
- type Config
- func (c *Config) ApplyDefaults(name string, obj interface{}) error
- func (c *Config) ExistingTemplates() []string
- func (c *Config) Get(name string) (*template.Generator, error)
- func (c *Config) HaveExistingTemplate(name string) bool
- func (c *Config) Load() error
- func (c *Config) WithDefaults(name string, obj interface{}) (*template.Generator, error)
- func (c *Config) WithResource(name string, obj interface{}) (*template.Generator, error)
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 (*Config) ExistingTemplates ¶
func (*Config) HaveExistingTemplate ¶
func (*Config) WithDefaults ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.