FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab-python-gitlab/gitlab/v4/objects/templates.py at master · alvistack/python-gitlab-python-gitlab · GitHub
alvistack
python-gitlab-python-gitlab
Repository navigation
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab-python-gitlab
/
gitlab
/
v4
/
objects
/
templates.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (34 loc) · 1 KB
Breadcrumbs
python-gitlab-python-gitlab
/
gitlab
/
v4
/
objects
/
templates.py
Copy path
File metadata and controls
51 lines (34 loc) · 1 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
from
gitlab
.
base
import
RESTManager
,
RESTObject
from
gitlab
.
mixins
import
RetrieveMixin
__all__
=
[
"Dockerfile"
,
"DockerfileManager"
,
"Gitignore"
,
"GitignoreManager"
,
"Gitlabciyml"
,
"GitlabciymlManager"
,
"License"
,
"LicenseManager"
,
]
class
Dockerfile
(
RESTObject
):
_id_attr
=
"name"
class
DockerfileManager
(
RetrieveMixin
,
RESTManager
):
_path
=
"/templates/dockerfiles"
_obj_cls
=
Dockerfile
class
Gitignore
(
RESTObject
):
_id_attr
=
"name"
class
GitignoreManager
(
RetrieveMixin
,
RESTManager
):
_path
=
"/templates/gitignores"
_obj_cls
=
Gitignore
class
Gitlabciyml
(
RESTObject
):
_id_attr
=
"name"
class
GitlabciymlManager
(
RetrieveMixin
,
RESTManager
):
_path
=
"/templates/gitlab_ci_ymls"
_obj_cls
=
Gitlabciyml
class
License
(
RESTObject
):
_id_attr
=
"key"
class
LicenseManager
(
RetrieveMixin
,
RESTManager
):
_path
=
"/templates/licenses"
_obj_cls
=
License
_list_filters
=
(
"popular"
,)
_optional_get_attrs
=
(
"project"
,
"fullname"
)
Back
|
FazBrowse Home
|
New Git URL