Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template ...
func NewTemplate ¶
NewTemplate returns a new Template instance or an error if the specified template file contains errors
func (*Template) Write ¶
func (t *Template) Write(cfg config.Configuration, ingressCfg ingress.Configuration) ([]byte, error)
Write populates a buffer using a template with NGINX configuration and the servers and upstreams created by Ingress rules
Click to show internal directories.
Click to hide internal directories.