stackit-alb 0.0.1a0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackit_alb-0.0.1a0/PKG-INFO +46 -0
- stackit_alb-0.0.1a0/README.md +24 -0
- stackit_alb-0.0.1a0/pyproject.toml +108 -0
- stackit_alb-0.0.1a0/src/stackit/alb/__init__.py +77 -0
- stackit_alb-0.0.1a0/src/stackit/alb/api/__init__.py +4 -0
- stackit_alb-0.0.1a0/src/stackit/alb/api/default_api.py +3668 -0
- stackit_alb-0.0.1a0/src/stackit/alb/api_client.py +626 -0
- stackit_alb-0.0.1a0/src/stackit/alb/api_response.py +23 -0
- stackit_alb-0.0.1a0/src/stackit/alb/configuration.py +137 -0
- stackit_alb-0.0.1a0/src/stackit/alb/exceptions.py +198 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/__init__.py +58 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/active_health_check.py +154 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/certificate_config.py +83 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/cookie_persistence.py +96 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/create_credentials_payload.py +104 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/create_credentials_response.py +92 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/create_load_balancer_payload.py +233 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/credentials_response.py +108 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/get_credentials_response.py +92 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/get_quota_response.py +125 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/google_protobuf_any.py +97 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/header.py +84 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/http_config.py +96 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/http_health_checks.py +84 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/list_credentials_response.py +98 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/list_load_balancers_response.py +115 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/list_plans_response.py +98 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/listener.py +135 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/load_balancer.py +233 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/load_balancer_error.py +112 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/load_balancer_options.py +116 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/loadbalancer_option_access_control.py +85 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/loadbalancer_option_logs.py +90 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/loadbalancer_option_metrics.py +90 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/loadbalancer_option_observability.py +98 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/network.py +112 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/plan_details.py +99 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/protocol_options_https.py +94 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/query_parameters.py +84 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/rule.py +92 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/status.py +111 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/sub_rule.py +143 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/target.py +97 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/target_pool.py +135 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/target_pool_tls_config.py +100 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/update_credentials_payload.py +104 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/update_credentials_response.py +92 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/update_load_balancer_payload.py +233 -0
- stackit_alb-0.0.1a0/src/stackit/alb/models/update_target_pool_payload.py +135 -0
- stackit_alb-0.0.1a0/src/stackit/alb/py.typed +0 -0
- stackit_alb-0.0.1a0/src/stackit/alb/rest.py +148 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: stackit-alb
|
|
3
|
+
Version: 0.0.1a0
|
|
4
|
+
Summary: Application Load Balancer API
|
|
5
|
+
Author: STACKIT Developer Tools
|
|
6
|
+
Author-email: developer-tools@stackit.cloud
|
|
7
|
+
Requires-Python: >=3.8,<4.0
|
|
8
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Requires-Dist: pydantic (>=2.9.2)
|
|
18
|
+
Requires-Dist: python-dateutil (>=2.9.0.post0)
|
|
19
|
+
Requires-Dist: requests (>=2.32.3)
|
|
20
|
+
Requires-Dist: stackit-core (>=0.0.1a)
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# stackit.alb
|
|
24
|
+
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.
|
|
25
|
+
|
|
26
|
+
For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## Installation & Usage
|
|
33
|
+
### pip install
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
pip install stackit-alb
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import stackit.alb
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Getting Started
|
|
45
|
+
|
|
46
|
+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# stackit.alb
|
|
2
|
+
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes.
|
|
3
|
+
|
|
4
|
+
For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Installation & Usage
|
|
11
|
+
### pip install
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
pip install stackit-alb
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Then import the package:
|
|
18
|
+
```python
|
|
19
|
+
import stackit.alb
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Getting Started
|
|
23
|
+
|
|
24
|
+
[Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "stackit-alb"
|
|
3
|
+
|
|
4
|
+
[tool.poetry]
|
|
5
|
+
name = "stackit-alb"
|
|
6
|
+
version = "v0.0.1a"
|
|
7
|
+
authors = [
|
|
8
|
+
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
|
|
9
|
+
]
|
|
10
|
+
description = "Application Load Balancer API"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
#license = "NoLicense"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"License :: OSI Approved :: Apache Software License",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
]
|
|
18
|
+
packages = [
|
|
19
|
+
{ include = "stackit", from="src" }
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[tool.poetry.dependencies]
|
|
23
|
+
python = ">=3.8,<4.0"
|
|
24
|
+
stackit-core = ">=0.0.1a"
|
|
25
|
+
requests = ">=2.32.3"
|
|
26
|
+
pydantic = ">=2.9.2"
|
|
27
|
+
python-dateutil = ">=2.9.0.post0"
|
|
28
|
+
|
|
29
|
+
[tool.poetry.group.dev.dependencies]
|
|
30
|
+
black = ">=24.8.0"
|
|
31
|
+
pytest = ">=8.3.3"
|
|
32
|
+
flake8 = [
|
|
33
|
+
{ version= ">=5.0.3", python="<3.12"},
|
|
34
|
+
{ version= ">=6.0.1", python=">=3.12"}
|
|
35
|
+
]
|
|
36
|
+
flake8-black = ">=0.3.6"
|
|
37
|
+
flake8-pyproject = ">=1.2.3"
|
|
38
|
+
autoimport = ">=1.6.1"
|
|
39
|
+
flake8-eol = ">=0.0.8"
|
|
40
|
+
flake8-eradicate = ">=1.5.0"
|
|
41
|
+
flake8-bandit = ">=4.1.1"
|
|
42
|
+
flake8-bugbear = ">=23.1.14"
|
|
43
|
+
flake8-quotes = ">=3.4.0"
|
|
44
|
+
isort = ">=5.13.2"
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
|
|
48
|
+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
49
|
+
|
|
50
|
+
[build-system]
|
|
51
|
+
requires = ["setuptools", "poetry-core"]
|
|
52
|
+
build-backend = "poetry.core.masonry.api"
|
|
53
|
+
|
|
54
|
+
[tool.pytest.ini_options]
|
|
55
|
+
pythonpath = [
|
|
56
|
+
"src"
|
|
57
|
+
]
|
|
58
|
+
testpaths = [
|
|
59
|
+
"tests"
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[tool.black]
|
|
63
|
+
line-length = 120
|
|
64
|
+
exclude = """
|
|
65
|
+
/(
|
|
66
|
+
.eggs
|
|
67
|
+
| .git
|
|
68
|
+
| .hg
|
|
69
|
+
| .mypy_cache
|
|
70
|
+
| .nox
|
|
71
|
+
| .pants.d
|
|
72
|
+
| .tox
|
|
73
|
+
| .venv
|
|
74
|
+
| _build
|
|
75
|
+
| buck-out
|
|
76
|
+
| build
|
|
77
|
+
| dist
|
|
78
|
+
| node_modules
|
|
79
|
+
| venv
|
|
80
|
+
)/
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
[tool.isort]
|
|
84
|
+
profile = 'black'
|
|
85
|
+
|
|
86
|
+
[tool.flake8]
|
|
87
|
+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
|
|
88
|
+
statistics = true
|
|
89
|
+
show-source = false
|
|
90
|
+
max-line-length = 120
|
|
91
|
+
# E203,W503 and E704 are incompatible with the formatter black
|
|
92
|
+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
|
|
93
|
+
ignore = ["E203", "W503", "E704", "W291"]
|
|
94
|
+
inline-quotes = '"'
|
|
95
|
+
docstring-quotes = '"""'
|
|
96
|
+
multiline-quotes = '"""'
|
|
97
|
+
ban-relative-imports = true
|
|
98
|
+
per-file-ignores = """
|
|
99
|
+
# asserts are fine in tests, tests shouldn't be build optimized
|
|
100
|
+
./tests/*: S101,
|
|
101
|
+
# F841: some variables get generated but may not be used, depending on the api-spec
|
|
102
|
+
# E501: long descriptions/string values might lead to lines that are too long
|
|
103
|
+
./src/stackit/*/models/*: F841,E501
|
|
104
|
+
# F841: some variables get generated but may not be used, depending on the api-spec
|
|
105
|
+
# E501: long descriptions/string values might lead to lines that are too long
|
|
106
|
+
# B028: stacklevel for deprecation warning is irrelevant
|
|
107
|
+
./src/stackit/*/api/default_api.py: F841,B028,E501
|
|
108
|
+
"""
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Application Load Balancer API
|
|
7
|
+
|
|
8
|
+
This API offers an interface to provision and manage load balancing servers in your STACKIT project. It also has the possibility of pooling target servers for load balancing purposes. For each application load balancer provided, two VMs are deployed in your OpenStack project subject to a fee.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 2beta.0.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501 docstring might be too long
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from stackit.alb.api.default_api import DefaultApi
|
|
21
|
+
from stackit.alb.api_client import ApiClient
|
|
22
|
+
|
|
23
|
+
# import ApiClient
|
|
24
|
+
from stackit.alb.api_response import ApiResponse
|
|
25
|
+
from stackit.alb.configuration import HostConfiguration
|
|
26
|
+
from stackit.alb.exceptions import (
|
|
27
|
+
ApiAttributeError,
|
|
28
|
+
ApiException,
|
|
29
|
+
ApiKeyError,
|
|
30
|
+
ApiTypeError,
|
|
31
|
+
ApiValueError,
|
|
32
|
+
OpenApiException,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
# import models into sdk package
|
|
36
|
+
from stackit.alb.models.active_health_check import ActiveHealthCheck
|
|
37
|
+
from stackit.alb.models.certificate_config import CertificateConfig
|
|
38
|
+
from stackit.alb.models.cookie_persistence import CookiePersistence
|
|
39
|
+
from stackit.alb.models.create_credentials_payload import CreateCredentialsPayload
|
|
40
|
+
from stackit.alb.models.create_credentials_response import CreateCredentialsResponse
|
|
41
|
+
from stackit.alb.models.create_load_balancer_payload import CreateLoadBalancerPayload
|
|
42
|
+
from stackit.alb.models.credentials_response import CredentialsResponse
|
|
43
|
+
from stackit.alb.models.get_credentials_response import GetCredentialsResponse
|
|
44
|
+
from stackit.alb.models.get_quota_response import GetQuotaResponse
|
|
45
|
+
from stackit.alb.models.google_protobuf_any import GoogleProtobufAny
|
|
46
|
+
from stackit.alb.models.header import Header
|
|
47
|
+
from stackit.alb.models.http_config import HTTPConfig
|
|
48
|
+
from stackit.alb.models.http_health_checks import HttpHealthChecks
|
|
49
|
+
from stackit.alb.models.list_credentials_response import ListCredentialsResponse
|
|
50
|
+
from stackit.alb.models.list_load_balancers_response import ListLoadBalancersResponse
|
|
51
|
+
from stackit.alb.models.list_plans_response import ListPlansResponse
|
|
52
|
+
from stackit.alb.models.listener import Listener
|
|
53
|
+
from stackit.alb.models.load_balancer import LoadBalancer
|
|
54
|
+
from stackit.alb.models.load_balancer_error import LoadBalancerError
|
|
55
|
+
from stackit.alb.models.load_balancer_options import LoadBalancerOptions
|
|
56
|
+
from stackit.alb.models.loadbalancer_option_access_control import (
|
|
57
|
+
LoadbalancerOptionAccessControl,
|
|
58
|
+
)
|
|
59
|
+
from stackit.alb.models.loadbalancer_option_logs import LoadbalancerOptionLogs
|
|
60
|
+
from stackit.alb.models.loadbalancer_option_metrics import LoadbalancerOptionMetrics
|
|
61
|
+
from stackit.alb.models.loadbalancer_option_observability import (
|
|
62
|
+
LoadbalancerOptionObservability,
|
|
63
|
+
)
|
|
64
|
+
from stackit.alb.models.network import Network
|
|
65
|
+
from stackit.alb.models.plan_details import PlanDetails
|
|
66
|
+
from stackit.alb.models.protocol_options_https import ProtocolOptionsHTTPS
|
|
67
|
+
from stackit.alb.models.query_parameters import QueryParameters
|
|
68
|
+
from stackit.alb.models.rule import Rule
|
|
69
|
+
from stackit.alb.models.status import Status
|
|
70
|
+
from stackit.alb.models.sub_rule import SubRule
|
|
71
|
+
from stackit.alb.models.target import Target
|
|
72
|
+
from stackit.alb.models.target_pool import TargetPool
|
|
73
|
+
from stackit.alb.models.target_pool_tls_config import TargetPoolTlsConfig
|
|
74
|
+
from stackit.alb.models.update_credentials_payload import UpdateCredentialsPayload
|
|
75
|
+
from stackit.alb.models.update_credentials_response import UpdateCredentialsResponse
|
|
76
|
+
from stackit.alb.models.update_load_balancer_payload import UpdateLoadBalancerPayload
|
|
77
|
+
from stackit.alb.models.update_target_pool_payload import UpdateTargetPoolPayload
|