Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "Atlassian Cloud Backuper" VER = "0.2.0" DESC = "Tool for backuping Atlassian cloud services (Jira and Confluence)" )
Basic utility info
View Source
const ( OPT_CONFIG = "c:config" OPT_INTERACTIVE = "I:interactive" OPT_SERVER = "S:server" OPT_FORCE = "F:force" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Options
View Source
const ( ACCESS_ACCOUNT = "access:account" ACCESS_EMAIL = "access:email" ACCESS_API_KEY = "access:api-key" SERVER_IP = "server:ip" SERVER_PORT = "server:port" SERVER_ACCESS_TOKEN = "server:access-token" STORAGE_TYPE = "storage:type" STORAGE_ENCRYPTION_KEY = "storage:encryption-key" STORAGE_FS_PATH = "storage-fs:path" STORAGE_FS_MODE = "storage-fs:mode" STORAGE_SFTP_HOST = "storage-sftp:host" STORAGE_SFTP_USER = "storage-sftp:user" STORAGE_SFTP_KEY = "storage-sftp:key" STORAGE_SFTP_PATH = "storage-sftp:path" STORAGE_SFTP_MODE = "storage-sftp:mode" STORAGE_S3_HOST = "storage-s3:host" STORAGE_S3_REGION = "storage-s3:region" STORAGE_S3_ACCESS_KEY = "storage-s3:access-key" STORAGE_S3_SECRET_KEY = "storage-s3:secret-key" STORAGE_S3_BUCKET = "storage-s3:bucket" STORAGE_S3_PATH = "storage-s3:path" STORAGE_S3_PART_SIZE = "storage-s3:part-size" JIRA_OUTPUT_FILE = "jira:output-file" JIRA_INCLUDE_ATTACHMENTS = "jira:include-attachments" JIRA_CLOUD_FORMAT = "jira:cloud-format" CONFLUENCE_OUTPUT_FILE = "confluence:output-file" CONFLUENCE_INCLUDE_ATTACHMENTS = "confluence:include-attachments" CONFLUENCE_CLOUD_FORMAT = "confluence:cloud-format" TEMP_DIR = "temp:dir" LOG_DIR = "log:dir" LOG_FILE = "log:file" LOG_FORMAT = "log:format" LOG_MODE = "log:perms" LOG_LEVEL = "log:level" )
View Source
const ( TARGET_JIRA = "jira" TARGET_CONFLUENCE = "confluence" )
View Source
const ( STORAGE_FS = "fs" STORAGE_SFTP = "sftp" STORAGE_S3 = "s3" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.