Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "nginx"
Variables ¶
This section is empty.
Functions ¶
func InitPlugin ¶
func InitPlugin(c *types.PluginConfig) error
Types ¶
type NginxAPIPublishCert ¶
type NginxLocation ¶
type NginxServer ¶
type NginxServer struct { ID string `yaml:"id" validate:"required"` Names []string `yaml:"names" validate:"required,min=1"` Comment string `yaml:"comment" validate:"required"` Broken bool `yaml:"broken"` Locations []NginxLocation `yaml:"locations" validate:"required"` }
type NginxServerManage ¶
type NginxTemplate ¶
type NginxYaml ¶
type NginxYaml struct { Servers []NginxServer `yaml:"servers" validate:"required,dive"` RealName string `yaml:"real_name"` // If unset, will use file name }
Click to show internal directories.
Click to hide internal directories.