Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainConfigTemplateData ¶
type MainConfigTemplateData struct { ServerNamesHashBucketSize string ServerNamesHashMaxSize string LogFormat string HealthStatus bool HTTPSnippets []string // http://nginx.org/en/docs/http/ngx_http_ssl_module.html SSLProtocols string SSLPreferServerCiphers bool SSLCiphers string SSLDHParamsFile *pb.File WorkerShutdownTimeout string }
MainConfigTemplateData contains all values to render the main NGINX configuration file from its template "nginx.conf.tmpl"
func MainConfigTemplateDataFromIngressConfig ¶
func MainConfigTemplateDataFromIngressConfig(config *config.GlobalConfig) *MainConfigTemplateData
MainConfigTemplateDataFromIngressConfig creates a MainConfigTemplateData from config.GlobalConfig
type Renderer ¶
type Renderer interface { RenderMainConfig(mainConfig *MainConfigTemplateData) (*pb.MainConfig, error) RenderServerConfig(mergedConfig *collision.MergedIngressConfig) (*pb.ServerConfig, error) }
Renderer generates storage objects
Click to show internal directories.
Click to hide internal directories.