k8s/http-guzzle

Guzzle based HttpClient factory for k8s/client

1.0.0 2021-03-14 19:27 UTC

This package is auto-updated.

Last update: 2024-12-29 06:34:28 UTC


README

This library provides a Guzzle based HttpClient factory for the k8s/client library.

General Use with the K8s library / Configuration Options

  1. Install the library:

composer require k8s/http-guzzle

  1. Construct the main client for k8s/client through the K8sFactory:
use K8s\Client\K8sFactory;

# Load the client from the default KubeConfig
$k8s = (new K8sFactory())->loadFromKubeConfig();

Your new client will have all the HttpClient options needed pre-populated when used.