gitlab

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 11 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) Resolve

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

Resolve is supposed to get the serving lookup path based on the request from the GitLab source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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