Documentation ¶
Index ¶
- func NewGitlabSource(client Client, token, fullPath, path string) source.Source
- func NewPlugin(url string, needAuth bool) source.Plugin
- func NewPluginGitlabClient(needAuth bool, client Client) source.Plugin
- func NewPluginGitlabTokenClient(token string, client Client) source.Plugin
- func NewPluginToken(url, token string) source.Plugin
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitlabSource ¶ added in v0.0.2
func NewPluginGitlabClient ¶
NewPluginGitlabClient constructor with given gitlab client
func NewPluginGitlabTokenClient ¶
NewPluginGitlabTokenClient constructor with given gitlab client
func NewPluginToken ¶
NewPluginToken constructor
Types ¶
type Client ¶
type Client interface { Tags(ctx context.Context, project, tag, token string) ([]byte, error) GoMod(ctx context.Context, project, tag, token string) ([]byte, error) ModuleInfo(ctx context.Context, project, token string) ([]byte, error) Archive(ctx context.Context, project, tag, token string) (io.ReadCloser, error) }
Client implements access for gitlab functions needed
Click to show internal directories.
Click to hide internal directories.