Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 538 Bytes

client.md

File metadata and controls

21 lines (12 loc) · 538 Bytes

client

This pacakge contains several helper methods.

New client

You can create several types of Kubernetes clients based on the kubeconfig.

The kubeconfig path can be provided, or it uses the KUBECONFIG if the path is "".

If in a cluster, then the config is retrieved from the cluster.

Helpers

This package contains helper methods to check if resources are present such as:

  • HaveServerResources
  • HaveCRDs
  • HaveDeploymentsInNamespace