FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/gitlab/v4/objects/templates.py at main · python-gitlab/python-gitlab · GitHub
python-gitlab
python-gitlab
Repository navigation
Code
Issues
16
(16)
Pull requests
15
(15)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
gitlab
/
v4
/
objects
/
templates.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
123 lines (82 loc) · 3.13 KB
Breadcrumbs
python-gitlab
/
gitlab
/
v4
/
objects
/
templates.py
Copy path
File metadata and controls
123 lines (82 loc) · 3.13 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
from
gitlab
.
base
import
RESTObject
from
gitlab
.
mixins
import
RetrieveMixin
__all__
=
[
"Dockerfile"
,
"DockerfileManager"
,
"Gitignore"
,
"GitignoreManager"
,
"Gitlabciyml"
,
"GitlabciymlManager"
,
"License"
,
"LicenseManager"
,
"ProjectDockerfileTemplate"
,
"ProjectDockerfileTemplateManager"
,
"ProjectGitignoreTemplate"
,
"ProjectGitignoreTemplateManager"
,
"ProjectGitlabciymlTemplate"
,
"ProjectGitlabciymlTemplateManager"
,
"ProjectIssueTemplate"
,
"ProjectIssueTemplateManager"
,
"ProjectLicenseTemplate"
,
"ProjectLicenseTemplateManager"
,
"ProjectMergeRequestTemplate"
,
"ProjectMergeRequestTemplateManager"
,
]
class
Dockerfile
(
RESTObject
):
_id_attr
=
"name"
class
DockerfileManager
(
RetrieveMixin
[
Dockerfile
]):
_path
=
"/templates/dockerfiles"
_obj_cls
=
Dockerfile
class
Gitignore
(
RESTObject
):
_id_attr
=
"name"
class
GitignoreManager
(
RetrieveMixin
[
Gitignore
]):
_path
=
"/templates/gitignores"
_obj_cls
=
Gitignore
class
Gitlabciyml
(
RESTObject
):
_id_attr
=
"name"
class
GitlabciymlManager
(
RetrieveMixin
[
Gitlabciyml
]):
_path
=
"/templates/gitlab_ci_ymls"
_obj_cls
=
Gitlabciyml
class
License
(
RESTObject
):
_id_attr
=
"key"
class
LicenseManager
(
RetrieveMixin
[
License
]):
_path
=
"/templates/licenses"
_obj_cls
=
License
_list_filters
=
(
"popular"
,)
_optional_get_attrs
=
(
"project"
,
"fullname"
)
class
ProjectDockerfileTemplate
(
RESTObject
):
_id_attr
=
"name"
class
ProjectDockerfileTemplateManager
(
RetrieveMixin
[
ProjectDockerfileTemplate
]):
_path
=
"/projects/{project_id}/templates/dockerfiles"
_obj_cls
=
ProjectDockerfileTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
class
ProjectGitignoreTemplate
(
RESTObject
):
_id_attr
=
"name"
class
ProjectGitignoreTemplateManager
(
RetrieveMixin
[
ProjectGitignoreTemplate
]):
_path
=
"/projects/{project_id}/templates/gitignores"
_obj_cls
=
ProjectGitignoreTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
class
ProjectGitlabciymlTemplate
(
RESTObject
):
_id_attr
=
"name"
class
ProjectGitlabciymlTemplateManager
(
RetrieveMixin
[
ProjectGitlabciymlTemplate
]):
_path
=
"/projects/{project_id}/templates/gitlab_ci_ymls"
_obj_cls
=
ProjectGitlabciymlTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
class
ProjectLicenseTemplate
(
RESTObject
):
_id_attr
=
"key"
class
ProjectLicenseTemplateManager
(
RetrieveMixin
[
ProjectLicenseTemplate
]):
_path
=
"/projects/{project_id}/templates/licenses"
_obj_cls
=
ProjectLicenseTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
class
ProjectIssueTemplate
(
RESTObject
):
_id_attr
=
"name"
class
ProjectIssueTemplateManager
(
RetrieveMixin
[
ProjectIssueTemplate
]):
_path
=
"/projects/{project_id}/templates/issues"
_obj_cls
=
ProjectIssueTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
class
ProjectMergeRequestTemplate
(
RESTObject
):
_id_attr
=
"name"
class
ProjectMergeRequestTemplateManager
(
RetrieveMixin
[
ProjectMergeRequestTemplate
]):
_path
=
"/projects/{project_id}/templates/merge_requests"
_obj_cls
=
ProjectMergeRequestTemplate
_from_parent_attrs
=
{
"project_id"
:
"id"
}
Back
|
FazBrowse Home
|
New Git URL