-
Notifications
You must be signed in to change notification settings - Fork 0
/
logs.clj
38 lines (33 loc) · 987 Bytes
/
logs.clj
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
(ns kubernetes.api.logs
(:require [kubernetes.core :refer [call-api check-required-params with-collection-format]])
(:import (java.io File)))
(defn log-file-handler-with-http-info
""
[logpath ]
(call-api "/logs/{logpath}" :get
{:path-params {"logpath" logpath }
:header-params {}
:query-params {}
:form-params {}
:content-types []
:accepts []
:auth-names ["BearerToken"]}))
(defn log-file-handler
""
[logpath ]
(:data (log-file-handler-with-http-info logpath)))
(defn log-file-list-handler-with-http-info
""
[]
(call-api "/logs/" :get
{:path-params {}
:header-params {}
:query-params {}
:form-params {}
:content-types []
:accepts []
:auth-names ["BearerToken"]}))
(defn log-file-list-handler
""
[]
(:data (log-file-list-handler-with-http-info)))