package
4.1.6+incompatible
Repository: https://github.com/sharovik/devbot.git
Documentation: pkg.go.dev
# Functions
GetSecret method retrieves the secrets from the vault.
Init initialise configuration for this project.
PrepareBitBucketReviewers method retrieves the list of bitbucket reviewers.
# Constants
AWSSecretsBucket the bucket for secrets manager.
AWSSecretsRegion the region selected for the aws session.
BitBucketClientID the client id which is used fo oauth token generation.
BitBucketClientSecret the client secret which is used fo oauth token generation.
BitBucketCurrentUserUUID the current BitBucket user UUID the client credentials of which we are using in BITBUCKET_CLIENT_ID and BITBUCKET_CLIENT_SECRET.
BitBucketDefaultMainBranch the default main branch which can be used in cases, when you can't get the information from the PR link.
BitBucketDefaultWorkspace the default workspace which can be used in the functionality, once you don't have PR link, from where to get this information.
BitBucketReleaseChannel the release channel ID.
BitBucketReleaseChannelMessageEnabled the release channel ID.
BitBucketRequiredReviewers the required reviewers list separated by comma.
DatabaseConnection env variable for database connection type.
DatabaseHost env variable for database host.
DatabaseName env variable for database name.
DatabasePassword env variable for database password.
DatabaseUsername env variable for database username.
EnvBaseURL env variable for base url.
EnvBotName env variable for bot name.
EnvironmentTesting constant for testing environment.
EnvMainChannelAlias env variable for main channel alias.
EnvMainChannelID env variable for main channel ID.
EnvOAuthToken env variable for message oauth token.
EnvUserID env variable for user ID.
EnvWebAPIOAuthToken env variable for message web api oauth token.
MessagesAPITypeSlack message messages API type.
# Variables
No description provided by the author
# Structs
BitBucketConfig struct for bitbucket config.
BitBucketReviewer is used for identifying of the reviewer user.
Config configuration object.
HTTPClient the configuration for the http client.
MessagesAPIConfig struct object.
SecretConfigValues the secret values object.