Debian Codegraph @

ansible_collections/f5networks/f5_modules/plugins/module_utils/constants.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2 #
3 # Copyright: (c) 2020, F5 Networks Inc.
4 # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 from __future__ import (absolute_import, division, print_function)
7 __metaclass__ = type
8
9 import os
10
11 BASE_HEADERS = {'Content-Type': 'application/json'}
12
13 MANAGED_BY_ANNOTATION_VERSION = 'f5-ansible.version'
14 MANAGED_BY_ANNOTATION_MODIFIED = 'f5-ansible.last_modified'
15
16 LOGIN = '/mgmt/shared/authn/login'
17 LOGOUT = '/mgmt/shared/authz/tokens/'
18
19 PLATFORM = {
20 'bigip': 'BIG-IP',
21 'bigiq': 'BIG-IQ'
22 }
23
24 BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
25
26
27 TEEM_ENDPOINT = 'product.apis.f5.com'
28 TEEM_KEY = 'mmhJU2sCd63BznXAXDh4kxLIyfIMm3Ar'
29 TEEM_TIMEOUT = 10
30 TEEM_VERIFY = False
31
32 CICD_ENV = {
33 'bamboo.buildKey': 'Bamboo',
34 'DRONE': 'Drone CI',
35 'BUILDKITE': 'Buildkite',
36 'CIRCLECI': 'Circle CI',
37 'CIRRUS_CI': 'Cirrus CI',
38 'CODEBUILD_BUILD_ID': 'AWS CodeBuild',
39 'GITHUB_ACTIONS': 'GitHub Actions',
40 'GITLAB_CI': 'GitLab CI',
41 'HUDSON_URL': 'Hudson CI',
42 'JENKINS_URL': 'Jenkins CI',
43 'TF_BUILD': 'Azure Pipelines',
44 'HEROKU_TEST_RUN_ID': 'Heroku CI',
45 'TEAMCITY_VERSION': 'TeamCity',
46 'TRAVIS': 'Travis CI',
47 'CI_NAME': 'CodeShip CI'
48 }