Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a HTTP client to access Pages internal API
func NewClient ¶
NewClient initializes and returns new Client baseUrl is appConfig.GitLabServer secretKey is appConfig.GitLabAPISecretKey
func NewFromConfig ¶
NewFromConfig creates a new client from Config struct
type Config ¶
Config represents an interface that is configuration provider for client capable of comunicating with GitLab
type StubClient ¶
type StubClient struct {
File string
}
StubClient is a stubbed client used for testing
Click to show internal directories.
Click to hide internal directories.