forked from dcarbone/php-consul-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating to use guzzle 7, adding TokenFile support, and attempting to…
… parse Token and TokenFile from env
- Loading branch information
Showing
88 changed files
with
353 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\ACL; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\ACL; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\ACL; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -70,7 +70,7 @@ public function getPort(): int { | |
} | ||
|
||
/** | ||
* @return boolean | ||
* @return bool | ||
*/ | ||
public function isEnableTagOverride(): bool { | ||
return $this->EnableTagOverride; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -132,14 +132,14 @@ public function setAddress(string $address): AgentServiceRegistration { | |
} | ||
|
||
/** | ||
* @return boolean | ||
* @return bool | ||
*/ | ||
public function isEnableTagOverride(): bool { | ||
return $this->EnableTagOverride; | ||
} | ||
|
||
/** | ||
* @param boolean $enableTagOverride | ||
* @param bool $enableTagOverride | ||
* @return \DCarbone\PHPConsulAPI\Agent\AgentServiceRegistration | ||
*/ | ||
public function setEnableTagOverride(bool $enableTagOverride): AgentServiceRegistration { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Agent; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php namespace DCarbone\PHPConsulAPI\Catalog; | ||
|
||
/* | ||
Copyright 2016-2018 Daniel Carbone ([email protected]) | ||
Copyright 2016-2020 Daniel Carbone ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
Oops, something went wrong.