Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { // Generate generates NGINX configuration from internal representation. Generate(configuration state.Configuration) ([]byte, Warnings) }
Generator generates NGINX configuration.
type GeneratorImpl ¶
type GeneratorImpl struct {
// contains filtered or unexported fields
}
GeneratorImpl is an implementation of Generator
func NewGeneratorImpl ¶
func NewGeneratorImpl(serviceStore state.ServiceStore) *GeneratorImpl
NewGeneratorImpl creates a new GeneratorImpl.
func (*GeneratorImpl) Generate ¶
func (g *GeneratorImpl) Generate(conf state.Configuration) ([]byte, Warnings)
Click to show internal directories.
Click to hide internal directories.