You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a basic k8s HTTP client or URL generator for a "batteries included" experience.
I'm not sure that it should be as fully fledged as Kazan. I would rather defer to people to use that library if they needed a full implementation of a k8s client.
Rather, I'd like to include a small wrapper around HTTPoison or simple a URL/Path generator that:
encapsulates ssl options and headers w/ K8s.Conf so once its loaded at runtime, it doesnt have to be passed around to each HTTP call (for HTTPoison)
ship w/ a default list of namespaced vs clustered resources and make ad-hoc calls to /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} to determine the scope of CRDs
Support misc operations (scale, status)
Support the following methods, accepting maps{"apiVersion": "apps/v1", "kind": "Deployment"} for mutations/statuses/reads and tuples {version, kind}|{version, kind, name} for reads/statuses
Write:
Create
Patch
Replace
Delete
Delete Collection
Read:
Read
List
List All Namespaces
Status:
Patch Status
Read Status
Replace Status
Scale:
Read Scale
Replace Scale
Patch Scale
The text was updated successfully, but these errors were encountered:
Add a basic k8s HTTP client or URL generator for a "batteries included" experience.
I'm not sure that it should be as fully fledged as Kazan. I would rather defer to people to use that library if they needed a full implementation of a k8s client.
Rather, I'd like to include a small wrapper around HTTPoison or simple a URL/Path generator that:
/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}
to determine the scope of CRDsSupport the following methods, accepting maps
{"apiVersion": "apps/v1", "kind": "Deployment"}
for mutations/statuses/reads and tuples{version, kind}|{version, kind, name}
for reads/statusesWrite:
Read:
Status:
Scale:
The text was updated successfully, but these errors were encountered: