package
0.0.0-20240109093310-e7db92f4e287
Repository: https://github.com/notapipeline/tiyo.git
Documentation: pkg.go.dev
# Functions
CreateNginxConfig : Create an NGINX configuration file
This method takes a list of Kubernetes ingress rules and associated service ports then attempts to build an nginx configuration file for your service.
CreateSSLCertificates : Create self signed certificates for the NGINX server
If real certificates are required, you can safely replace the self signed ones with real certificates sharing the same name.
DeleteNginxConfig : Deletes a file from nginx config directory.
# Constants
KEYSIZE : Sets the keysize of the RSA algorithm.
# Structs
Listener : An Nginx server endpoint to listen for requests on.
Location : An NGINX Location to point at an upstream.
Nginx : The structure of an NGINX server endpoint configuration.
NginxReturn : Handle an NGINX return statement.
NginxServer : This structure is for handling restarts of the nginx systemd service.
No description provided by the author
Upstream : structure of an Nginx Upstream server.