k8s / http-guzzle
Guzzle based HttpClient factory for k8s/client
Installs: 1 093
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/k8s/http-guzzle
Requires
- php: >=7.2
 - guzzlehttp/guzzle: ^7.0
 - k8s/core: ^1.3
 - psr/http-client: ^1.0
 
Requires (Dev)
- ext-mbstring: *
 - friendsofphp/php-cs-fixer: ^2.0
 - mockery/mockery: ~1.3.0
 - phpstan/phpstan: ^0.12
 - phpunit/phpunit: ^8.0
 
README
This library provides a Guzzle based HttpClient factory for the k8s/client library.
General Use with the K8s library / Configuration Options
- Install the library:
 
composer require k8s/http-guzzle
- Construct the main client for 
k8s/clientthrough theK8sFactory: 
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.