Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PasswordPrompt is displayed before running any command. PasswordPrompt = "password: " // ConfluenceUsernameEnvironmentVariable is the environment variable name used for the confluence username. ConfluenceUsernameEnvironmentVariable = "CONFLUENCE_USERNAME" // ConfluencePasswordEnvironmentVariable is the environment variable name used for the confluence password. ConfluencePasswordEnvironmentVariable = "CONFLUENCE_PASSWORD" // ConfluenceHostnameEnvironmentVariable is the environment variable name used for the confluence hostname. ConfluenceHostnameEnvironmentVariable = "CONFLUENCE_HOSTNAME" )
View Source
const ( // RequirePassword lets the main application know that the command will require a user's password to run. RequirePassword = iota + 1 // AllFlags lets the main application know that all other flags should be honored. AllFlags )
View Source
const ( // APIUserAgentString is the user agent send when communicating w/ confluence. APIUserAgentString = "catelyn-cli/0.0.1 (command line tool written in golang)" // ContentAPIEndpoint see https://docs.atlassian.com/atlassian-confluence/REST/latest-server/#content-getContent ContentAPIEndpoint = "/wiki/rest/api/content" // SpacesAPIEndpoint see https://developer.atlassian.com/cloud/confluence/rest/#api-space-get SpacesAPIEndpoint = "/wiki/rest/api/space" )
View Source
const (
// ConfluenceClientLoggerPrefix is the logger prefix used by the confluence client.
ConfluenceClientLoggerPrefix = "[confluence client] "
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.