gitlab

package
v1.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gitlab

type Gitlab struct {
	// contains filtered or unexported fields
}

Gitlab source represent a new domains configuration source. We fetch all the information about domains from GitLab instance.

func New

func New(config client.Config) (*Gitlab, error)

New returns a new instance of gitlab domain source.

func (*Gitlab) GetDomain

func (g *Gitlab) GetDomain(name string) (*domain.Domain, error)

GetDomain return a representation of a domain that we have fetched from GitLab

func (*Gitlab) IsReady added in v1.22.0

func (g *Gitlab) IsReady() bool

IsReady returns the value of Gitlab `isReady` which is updated by `Poll`.

func (*Gitlab) Resolve

func (g *Gitlab) Resolve(r *http.Request) (*serving.Request, error)

Resolve is supposed to return the serving request containing lookup path, subpath for a given lookup and the serving itself created based on a request from GitLab pages domains source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL