(ns clojure-kubernetes-client.specs.v1-non-resource-rule
  (:require [clojure.spec.alpha :as s]
            [spec-tools.data-spec :as ds]
            )
  (:import (java.io File)))


(declare v1-non-resource-rule-data v1-non-resource-rule)
(def v1-non-resource-rule-data
  {
   (ds/opt :nonResourceURLs) (s/coll-of string?)
   (ds/req :verbs) (s/coll-of string?)
   })

(def v1-non-resource-rule
  (ds/spec
    {:name ::v1-non-resource-rule
     :spec v1-non-resource-rule-data}))


(ns clojure-kubernetes-client.specs.v1-non-resource-rule
  (:require [clojure.spec.alpha :as s]
            [spec-tools.data-spec :as ds]
            )
  (:import (java.io File)))


(declare v1-non-resource-rule-data v1-non-resource-rule)
(def v1-non-resource-rule-data
  {
   (ds/opt :nonResourceURLs) (s/coll-of string?)
   (ds/req :verbs) (s/coll-of string?)
   })

(def v1-non-resource-rule
  (ds/spec
    {:name ::v1-non-resource-rule
     :spec v1-non-resource-rule-data}))

