Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortNameHTTP = "http" PortNameHTTPS = "https" PortNameMetrics = "nginx-metrics" PortNameManagement = PortNameMetrics DefaultManagePort = 8800 )
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 ¶
func (m NginxManager) PurgeCache(host, purgePath string, port int32, preservePath bool) error
Click to show internal directories.
Click to hide internal directories.