Documentation ¶
Index ¶
- func New(options ...func(*Plugin)) config.Plugin
- func WithBitBucketAuthServer(bitBucketAuthServer string) func(*Plugin)
- func WithBitBucketClient(bitBucketClient string) func(*Plugin)
- func WithBitBucketSecret(bitBucketSecret string) func(*Plugin)
- func WithConcat(concat bool) func(*Plugin)
- func WithFallback(fallback bool) func(*Plugin)
- func WithGithubToken(gitHubToken string) func(*Plugin)
- func WithGitlabServer(gitLabServer string) func(*Plugin)
- func WithGitlabToken(gitLabToken string) func(*Plugin)
- func WithMaxDepth(maxDepth int) func(*Plugin)
- func WithServer(server string) func(*Plugin)
- func WithWhitelistFile(whitelistFile string) func(*Plugin)
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBitBucketAuthServer ¶ added in v0.3.3
WithBitBucketAuthServer configures an auth server
func WithBitBucketClient ¶
WithBitBucketClient configures with a bitbucket client, alternative to github
func WithBitBucketSecret ¶
WithBitBucketClient configures with a bitbucket secret, alternative to github
func WithConcat ¶
WithConcat configures with concat enabled or disabled
func WithFallback ¶
WithFallback configures with fallback enabled or disabled
func WithGithubToken ¶
WithGithubToken configures with the github token specified
func WithGitlabServer ¶ added in v0.3.5
WithGitlabServer configures with the gitlab server specified
func WithGitlabToken ¶ added in v0.3.5
WithGitlabToken configures with the gitlab token specified
func WithMaxDepth ¶
WithMaxDepth configures with max depth to search for 'drone.yml'. Requires fallback to be enabled.
func WithServer ¶
WithServer configures with a custom SCM server
func WithWhitelistFile ¶
WithWhitelistFile configures with repo slug regex match list file