Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type D ¶
type D struct {
// contains filtered or unexported fields
}
D is a domain that gitlab-pages can serve.
func (*D) EnsureCertificate ¶
func (d *D) EnsureCertificate() (*tls.Certificate, error)
EnsureCertificate parses the PEM-encoded certificate for the domain
func (*D) IsHTTPSOnly ¶
IsHTTPSOnly figures out if the request should be handled with HTTPS only by looking at group and project level config.
Click to show internal directories.
Click to hide internal directories.