Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortNameHTTP = "http" PortNameHTTPS = "https" PortNameProxyProtocolHTTP = "proxy-http" PortNameProxyProtocolHTTPS = "proxy-https" PortNameMetrics = "nginx-metrics" PortNameManagement = PortNameMetrics DefaultManagePort = 8800 DefaultProxyProtocolHTTPPort = 9080 DefaultProxyProtocolHTTPSPort = 9443 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationBlocks ¶
type ConfigurationData ¶
type ConfigurationData struct { Config *v1alpha1.NginxConfig Instance *v1alpha1.RpaasInstance // Modules is a map of installed modules, using a map instead of a slice // allow us to use `hasKey` inside templates. Modules map[string]interface{} }
type ConfigurationRenderer ¶
type ConfigurationRenderer interface {
Render(ConfigurationData) (string, error)
}
func NewConfigurationRenderer ¶ added in v0.6.3
func NewConfigurationRenderer(cb ConfigurationBlocks) (ConfigurationRenderer, error)
type NginxError ¶
type NginxError struct {
Msg string
}
func (NginxError) Error ¶
func (e NginxError) Error() string
type NginxManager ¶
type NginxManager struct {
// contains filtered or unexported fields
}
func NewNginxManager ¶
func NewNginxManager() NginxManager
func (NginxManager) PurgeCache ¶
Click to show internal directories.
Click to hide internal directories.