summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-24 13:51:13 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-24 13:51:13 +0200
commit0aa38c1517634b7fd3b4ba4c40c512390625e854 (patch)
treebae0f2098b7da1737e401955f2fc7aaf43605b90 /gitlab/v4/objects.py
parentdeac5a8808195aaf806a8a02448935b7725b5de6 (diff)
downloadgitlab-0aa38c1517634b7fd3b4ba4c40c512390625e854.tar.gz
[v4] Add support for dockerfiles API
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 630ee81..0384382 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -305,6 +305,18 @@ class NotificationSettingsManager(BaseManager):
obj_cls = NotificationSettings
+class Dockerfile(GitlabObject):
+ _url = '/templates/dockerfiles'
+ canDelete = False
+ canUpdate = False
+ canCreate = False
+ idAttr = 'name'
+
+
+class DockerfileManager(BaseManager):
+ obj_cls = Dockerfile
+
+
class Gitignore(GitlabObject):
_url = '/templates/gitignores'
canDelete = False