Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Domains ¶
type Domains struct {
// contains filtered or unexported fields
}
Domains struct wraps the GitLab client to fetch a domain configuration TODO: remove/refactor this package https://gitlab.com/gitlab-org/gitlab-pages/-/issues/608
func NewDomains ¶
NewDomains is a factory method for domains initializing a mutex. It should not initialize `dm` as we later check the readiness by comparing it with a nil value.
type MockSource ¶ added in v1.13.0
MockSource can be used for testing
func NewMockSource ¶ added in v1.13.0
func NewMockSource() *MockSource
NewMockSource returns a new Source mock for testing
func (*MockSource) IsReady ¶ added in v1.22.0
func (m *MockSource) IsReady() bool
Click to show internal directories.
Click to hide internal directories.