k8s v0.3.0 K8s.Cluster.Discovery
Interface for K8s.Cluster
discovery.
This module implements K8s.Cluster.Discovery.Driver
behaviour and delegates function calls
to the configured @driver
.
This defaults to the K8s.Cluster.Discovery.HTTPDriver
The driver can be set with:
Application.get_env(:k8s, :discovery_driver, MyCustomDiscoveryDriver)
Link to this section Summary
Functions
Lists Kubernetes apiVersion
s
Lists Kubernetes APIResourceList
s
Get all resources keyed by groupVersion/apiVersion membership.
Link to this section Functions
Link to this function
api_versions(cluster, opts \\ [])
Lists Kubernetes apiVersion
s
Delegates to the configured driver.
Link to this function
resource_definitions(cluster, opts \\ [])
Lists Kubernetes APIResourceList
s
Delegates to the configured driver.
Link to this function
resources_by_group(cluster, opts \\ [])
Get all resources keyed by groupVersion/apiVersion membership.