package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Packages

Package manager contains the GitLabProviderClassManager.
Package webhooksecret provides a way to generate and verify secrets for GitLab webhooks.

# Functions

FormatPullRequestUpstreamID returns the upstream ID for a gitlab merge request This is done so we don't have to deal with conversions in the provider when dealing with entities.
FormatReleaseUpstreamID returns the upstream ID for a gitlab release This is done so we don't have to deal with conversions in the provider when dealing with entities.
FormatRepositoryUpstreamID returns the upstream ID for a gitlab project This is done so we don't have to deal with conversions in the provider when dealing with entities.
MarshalV1Config marshals and validates the given config so it can safely be stored in the database.
New creates a new GitLab provider Note that the webhook URL should already contain the provider class in the path.
ParseV1Config parses the raw configuration into a GitLabProviderConfig TODO: This should be moved to a common location.

# Constants

Class is the string that represents the GitLab provider class.
PullRequestAuthor represents the gitlab author.
PullRequestNumber represents the gitlab merge request number.
PullRequestProjectID represents the gitlab project ID.
ReleasePropertyBranch represents the gitlab release branch.
ReleasePropertyProjectID represents the gitlab project ID.
ReleasePropertyTag represents the gitlab release tag name.
RepoPropertyCloneURL represents the gitlab repo clone URL.
RepoPropertyDefaultBranch represents the gitlab default branch.
RepoPropertyHookID represents the gitlab repo hook ID.
RepoPropertyHookURL represents the gitlab repo hook URL.
RepoPropertyLicense represents the gitlab repo license.
RepoPropertyNamespace represents the gitlab repo namespace.
RepoPropertyProjectName represents the gitlab project.

# Variables

AuthorizationFlows is the list of authorization flows that the DockerHub provider supports.
Implements is the list of provider types that the DockerHub provider implements.