constants

package
v0.0.0-...-ce6acfe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2017 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL