config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 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 Generator

type Generator interface {
	// Generate generates NGINX configuration from internal representation.
	Generate(configuration state.Configuration) []byte
}

Generator generates NGINX configuration. This interface is used for testing purposes only.

type GeneratorImpl

type GeneratorImpl struct{}

GeneratorImpl is an implementation of Generator.

func NewGeneratorImpl

func NewGeneratorImpl() GeneratorImpl

NewGeneratorImpl creates a new GeneratorImpl.

func (GeneratorImpl) Generate

func (g GeneratorImpl) Generate(conf state.Configuration) []byte

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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