Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SystemConfig ¶
Return auto-detected system/user Kubernetes configuration, either from in-cluster autoconfiguration or a $KUBECONFIG file.
Types ¶
type Interface ¶
type Interface interface { // Return a Kubernetes client. Kubernetes() kubernetes.Interface // Return an object that knows how to do CRUD on the specified unstructured resource. ResourceInterface(resource *unstructured.Unstructured) (dynamic.ResourceInterface, error) // Return a new client of the same type, but using the team's credentials Impersonate(team string) (Interface, error) }
Provide a Kubernetes client that knows how to deal with unstructured resources and team impersonation.
func DefaultClient ¶
Click to show internal directories.
Click to hide internal directories.