Skip to content

Commit d06a3d6

Browse files
authored
Merge pull request #76 from CyberfusionIO/bugfix/1.102.2
Add missing endpoints to cluster API entry point
2 parents b8cab58 + 39aa0ef commit d06a3d6

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
this package and not the cluster API. See the changelog of the [cluster API](https://cluster-api.cyberfusion.nl/redoc#section/Changelog)
77
for detailed information.
88

9+
## [1.102.2]
10+
11+
### Added
12+
13+
- Add missing endpoints to cluster API entry point.
14+
915
## [1.102.1]
1016

1117
### Fixed

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Client implements ClientContract
1717
{
1818
private const CONNECT_TIMEOUT = 60;
1919
private const TIMEOUT = 180;
20-
private const VERSION = '1.102.1';
20+
private const VERSION = '1.102.2';
2121
private const USER_AGENT = 'cyberfusion-cluster-api-client/' . self::VERSION;
2222
private GuzzleClient $httpClient;
2323

src/ClusterApi.php

+18
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
use Cyberfusion\ClusterApi\Endpoints\FirewallGroups;
2222
use Cyberfusion\ClusterApi\Endpoints\FpmPools;
2323
use Cyberfusion\ClusterApi\Endpoints\FtpUsers;
24+
use Cyberfusion\ClusterApi\Endpoints\HAProxyListens;
25+
use Cyberfusion\ClusterApi\Endpoints\HAProxyListensToNodes;
2426
use Cyberfusion\ClusterApi\Endpoints\Health;
2527
use Cyberfusion\ClusterApi\Endpoints\HtpasswdFiles;
2628
use Cyberfusion\ClusterApi\Endpoints\HtpasswdUsers;
@@ -34,6 +36,7 @@
3436
use Cyberfusion\ClusterApi\Endpoints\PassengerApps;
3537
use Cyberfusion\ClusterApi\Endpoints\RedisInstances;
3638
use Cyberfusion\ClusterApi\Endpoints\RootSshKeys;
39+
use Cyberfusion\ClusterApi\Endpoints\SecurityTxtPolicies;
3740
use Cyberfusion\ClusterApi\Endpoints\SshKeys;
3841
use Cyberfusion\ClusterApi\Endpoints\TaskCollections;
3942
use Cyberfusion\ClusterApi\Endpoints\Tombstones;
@@ -137,6 +140,16 @@ public function ftpUsers(): FtpUsers
137140
return new FtpUsers($this->client);
138141
}
139142

143+
public function haProxyListens(): HAProxyListens
144+
{
145+
return new HAProxyListens($this->client);
146+
}
147+
148+
public function haProxyListensToNodes(): HAProxyListensToNodes
149+
{
150+
return new HAProxyListensToNodes($this->client);
151+
}
152+
140153
public function health(): Health
141154
{
142155
return new Health($this->client);
@@ -202,6 +215,11 @@ public function rootSshKeys(): RootSshKeys
202215
return new RootSshKeys($this->client);
203216
}
204217

218+
public function securityTxtPolicies(): SecurityTxtPolicies
219+
{
220+
return new SecurityTxtPolicies($this->client);
221+
}
222+
205223
public function sshKeys(): SshKeys
206224
{
207225
return new SshKeys($this->client);

0 commit comments

Comments
 (0)