Documentation
¶
Overview ¶
Package gitlab loads changesets from a gitlab
Index ¶
- Variables
- func NewSource(projectId int, files string, token string, opts ...source.Option) source.Source
- func RespSha256(response *http.Response) string
- func WithBranch(u string) source.Option
- func WithEndpoint(u url.URL) source.Option
- func WithInterval(u time.Duration) source.Option
- func WithRetries(u int) source.Option
- func WithTimeout(u time.Duration) source.Option
- func WithTlsConfig(u tls.Config) source.Option
- type GitlabSource
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RespSha256 ¶
func WithBranch ¶
func WithRetries ¶
Types ¶
type GitlabSource ¶
type GitlabSource struct {
ProjectId int
Files string
Endpoint *url.URL
Branch string
Client *http.Client
Token string
Header http.Header
Interval time.Duration
Retries int
// contains filtered or unexported fields
}
func (*GitlabSource) APIV4Url ¶
func (u *GitlabSource) APIV4Url() string
func (*GitlabSource) String ¶
func (u *GitlabSource) String() string
Click to show internal directories.
Click to hide internal directories.