file

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// WriteHTTPConfig writes the http config on the file system.
	// The name distinguishes this config among all other configs. For that, it must be unique.
	// Note that name is not the name of the corresponding configuration file.
	WriteHTTPConfig(name string, cfg []byte) error
}

Manager manages NGINX configuration files.

type ManagerImpl

type ManagerImpl struct{}

ManagerImpl is an implementation of Manager.

func NewManagerImpl

func NewManagerImpl() *ManagerImpl

NewManagerImpl creates a new NewManagerImpl.

func (*ManagerImpl) WriteHTTPConfig added in v0.2.0

func (m *ManagerImpl) WriteHTTPConfig(name string, cfg []byte) error

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