runtime

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureNginxRunning added in v0.6.0

func EnsureNginxRunning(ctx context.Context) error

EnsureNginxRunning ensures NGINX is running by locating the main process.

Types

type Manager

type Manager interface {
	// Reload reloads NGINX configuration. It is a blocking operation.
	Reload(ctx context.Context) error
}

Manager manages the runtime of NGINX.

type ManagerImpl

type ManagerImpl struct{}

ManagerImpl implements Manager.

func NewManagerImpl

func NewManagerImpl() *ManagerImpl

NewManagerImpl creates a new ManagerImpl.

func (*ManagerImpl) Reload

func (m *ManagerImpl) Reload(ctx context.Context) 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