Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generator: Update SDK /services/git#1041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bahkauv70 merged 2 commits intomainfromgenerator-bot-14755959776/git
May 5, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletionsCHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,6 +14,8 @@
- `kms`: [v0.0.2](services/kms/CHANGELOG.md#v002-2025-05-05)
- **Minor change:** Use stderr by default.
- **Minor change:** Service update.
- `git`: [v0.1.1](services/git/CHANGELOG.md#v011-2025-05-05)
- **Bugfix**: Spelling corrections in documentation

## Release (2025-04-30)
- `stackitmarketplace`: [v0.4.0](services/stackitmarketplace/CHANGELOG.md#v040-2025-04-16)
Expand Down
3 changes: 3 additions & 0 deletionsservices/git/CHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
## v0.1.1 (2025-05-05)
- **Bugfix**: Spelling corrections in documentation

## v0.1.0 (2025-04-23)

- **New**: STACKIT Git module can be used to manage STACKIT Git
48 changes: 24 additions & 24 deletionsservices/git/src/stackit/git/api/default_api.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,9 +63,9 @@ def create_instance(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Instance:
"""Users with write-access to a project may create anew STACKIT Git instanceby posting the instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instancewithinthat project.
"""Creates anew STACKIT Git instance withinthe project.

Creates anew STACKIT Git instancewithinthe project.
Users with write-access to a project may create anew STACKIT Git instanceby postingthe instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instance within that project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -140,9 +140,9 @@ def create_instance_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Instance]:
"""Users with write-access to a project may create anew STACKIT Git instanceby posting the instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instancewithinthat project.
"""Creates anew STACKIT Git instance withinthe project.

Creates anew STACKIT Git instancewithinthe project.
Users with write-access to a project may create anew STACKIT Git instanceby postingthe instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instance within that project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -217,9 +217,9 @@ def create_instance_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Users with write-access to a project may create anew STACKIT Git instanceby posting the instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instancewithinthat project.
"""Creates anew STACKIT Git instance withinthe project.

Creates anew STACKIT Git instancewithinthe project.
Users with write-access to a project may create anew STACKIT Git instanceby postingthe instance creation request to this endpoint, which will schedule the creation of a new STACKIT Git instance within that project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -349,9 +349,9 @@ def delete_instance(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> None:
"""Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.
"""DeletesthegivenSTACKIT Git instance.

DeletesthegivenSTACKIT Git instance.
Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -425,9 +425,9 @@ def delete_instance_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[None]:
"""Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.
"""DeletesthegivenSTACKIT Git instance.

DeletesthegivenSTACKIT Git instance.
Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -501,9 +501,9 @@ def delete_instance_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.
"""DeletesthegivenSTACKIT Git instance.

DeletesthegivenSTACKIT Git instance.
Allows a user with write-access to a project to schedulethedeletion of aSTACKIT Git instance, which will soon eliminate all repositories & user metadata associated with that instance. This is a destructive operation.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -626,9 +626,9 @@ def get_instance(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Instance:
"""Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.
"""Returnsthedetails forthegiven STACKIT Gitinstance.

Returnsthedetails forthegiven STACKIT Gitinstance.
Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -701,9 +701,9 @@ def get_instance_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Instance]:
"""Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.
"""Returnsthedetails forthegiven STACKIT Gitinstance.

Returnsthedetails forthegiven STACKIT Gitinstance.
Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -776,9 +776,9 @@ def get_instance_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.
"""Returnsthedetails forthegiven STACKIT Gitinstance.

Returnsthedetails forthegiven STACKIT Gitinstance.
Provides detailed information aboutthestate of an instance withinthespecified project including information about how to access theinstance for further use.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -899,9 +899,9 @@ def list_instances(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListInstances:
"""STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.
"""Returns a list of all STACKIT Gitinstanceswithin the project.

Returns a list of all STACKIT Gitinstanceswithin the project.
STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -969,9 +969,9 @@ def list_instances_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListInstances]:
"""STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.
"""Returns a list of all STACKIT Gitinstanceswithin the project.

Returns a list of all STACKIT Gitinstanceswithin the project.
STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand DownExpand Up@@ -1039,9 +1039,9 @@ def list_instances_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.
"""Returns a list of all STACKIT Gitinstanceswithin the project.

Returns a list of all STACKIT Gitinstanceswithin the project.
STACKIT Git instances exist within a project, and a project may have zero or moreinstances. This endpoint allows a user with read-access to a project to list all instances that existwithin the specified project.

:param project_id: The STACKIT portal project UUID the STACKIT Git instance is part of. (required)
:type project_id: str
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,8 +36,8 @@ class CreateInstancePayload(BaseModel):
@field_validator("name")
def name_validate_regular_expression(cls, value):
"""Validates the regular expression"""
if not re.match(r"^[a-zA-Z0-9-_]+$", value):
raise ValueError(r"must validate the regular expression /^[a-zA-Z0-9-_]+$/")
if not re.match(r"^[a-z]([a-z0-9\-]){0,30}[a-z0-9]+$", value):
raise ValueError(r"must validate the regular expression /^[a-z]([a-z0-9\-]){0,30}[a-z0-9]+$/")
return value

model_config = ConfigDict(
Expand Down
12 changes: 6 additions & 6 deletionsservices/git/src/stackit/git/models/instance.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,21 +28,21 @@ class Instance(BaseModel):
Describes a STACKIT Git instance.
"""

created: datetime = Field(description="The date and time the creation of the STACKITGIT instance was triggered.")
created: datetime = Field(description="The date and time the creation of the STACKITGit instance was triggered.")
id: Annotated[str, Field(strict=True, max_length=36)] = Field(
description="A auto generated unique id which identifies the STACKITGIT instances."
description="A auto generated unique id which identifies the STACKITGit instances."
)
name: Annotated[str, Field(strict=True, max_length=32)] = Field(
description="A user chosen name to distinguish multiple STACKITGIT instances."
description="A user chosen name to distinguish multiple STACKITGit instances."
)
state: Annotated[str, Field(strict=True, max_length=32)] = Field(
description="The current state of the STACKITGIT instance."
description="The current state of the STACKITGit instance."
)
url: Annotated[str, Field(strict=True, max_length=2048)] = Field(
description="The URL for reaching the STACKITGIT instance."
description="The URL for reaching the STACKITGit instance."
)
version: Annotated[str, Field(strict=True, max_length=20)] = Field(
description="The current version of STACKITGIT deployed to the instance."
description="The current version of STACKITGit deployed to the instance."
)
__properties: ClassVar[List[str]] = ["created", "id", "name", "state", "url", "version"]

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp