Did you know ... | Search Documentation: |
Pack kubepl -- prolog/kubepl/kubepl.pl |
Check http://kubernetes.io API Reference document for details.
URI
points to the API server for example https://example.com/api
Version
indicates Kubernetes API version, for example v1
; for endpoints
not involving a specific API version, use initialize/4 insteadAuthOptions
could be:
auth(ssl, SSLOptions)
=, refer to ssl:ssl_context/3 for available optionsauth(basic_auth, [user(User),password(Password)])
=token(Token)
])=
For entity who needs additional configuration, use EntityConfig
, for example
_{namespace:Namespace, name:Name, suffix:Suffix}; otherwise pass an empty dictionary.
Suffix
can be arbitrary atom including a slash-separated context for example
some/context
.
For all valid query parameters, please refer to Kubernetes API Reference document.
Body
must be a valid dictionary according to the entity spec.
Valid PatchType
is one of json
, merge
, or strategic-merge
.
HTTP status code will be ignored becaise Kubernetes encodes whatever message in
Response
.
For entity who needs additional configuration, use EntityConfig
, for example
_{namespace:Namespace, name:Name, suffix:Suffix}; otherwise pass an empty dictionary.
Suffix
can be arbitrary atom including a slash-separated context for example
some/context
.
For all valid query parameters, please refer to Kubernetes API Reference document.
Body
must be a valid dictionary according to the entity spec.
HTTP status code will be ignored becaise Kubernetes encodes whatever message in
Response
.
For entity who needs additional configuration, use EntityConfig
, for example
_{namespace:Namespace, name:Name, suffix:Suffix}; otherwise pass an empty dictionary.
Suffix
can be arbitrary atom including a slash-separated context for example
some/context
.
For all valid query parameters, please refer to Kubernetes API Reference document.
Body
must be a valid dictionary according to the entity spec.
HTTP status code will be ignored becaise Kubernetes encodes whatever message in
Response
.
The following predicates are exported, but not or incorrectly documented.