-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from dwsupplee/release-0.1.0
0.1.0 release!
- Loading branch information
Showing
47 changed files
with
5,714 additions
and
1,468 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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"overview": "overview.html", | ||
"guides": [{ | ||
"title": "Authentication", | ||
"id": "authentication", | ||
"edit": "https://github.com/GoogleCloudPlatform/gcloud-common/edit/master/authentication/readme.md", | ||
"contents": [ | ||
"https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/readme.md", | ||
"authentication.md" | ||
] | ||
}, { | ||
"title": "FAQ", | ||
"id": "faq", | ||
"edit": "https://github.com/GoogleCloudPlatform/gcloud-common/edit/master/faq/readme.md", | ||
"contents": [ | ||
"https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/faq/readme.md", | ||
"faq.md" | ||
] | ||
}, { | ||
"title": "Troubleshooting", | ||
"id": "troubleshooting", | ||
"edit": "https://github.com/GoogleCloudPlatform/gcloud-common/edit/master/troubleshooting/readme.md", | ||
"contents": [ | ||
"https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/troubleshooting/readme.md", | ||
"troubleshooting.md" | ||
] | ||
}, { | ||
"title": "Contributing", | ||
"id": "contributing", | ||
"edit": "https://github.com/GoogleCloudPlatform/gcloud-common/edit/master/contributing/readme.md", | ||
"contents": "https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/contributing/readme.md" | ||
}], | ||
"services": [{ | ||
"title": "Gcloud", | ||
"type": "gcloud", | ||
}, { | ||
"title": "Storage", | ||
"type": "storage", | ||
"nav": [{ | ||
"title": "ACL", | ||
"type": "acl", | ||
}, { | ||
"title": "Bucket", | ||
"type": "bucket", | ||
}, { | ||
"title": "Object", | ||
"type": "object", | ||
}] | ||
}] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* Copyright 2016 Google Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
namespace Google\Cloud; | ||
|
||
use Google\Cloud\Storage\Connection\ConnectionInterface; | ||
|
||
/** | ||
* Interface for Google Cloud Platform Clients | ||
*/ | ||
interface ClientInterface | ||
{ | ||
const VERSION = '0.1.0'; | ||
|
||
/** | ||
* Sets the connection. | ||
* | ||
* @param ConnectionInterface $connection Represents a connection to a | ||
* Google Cloud Platform Service. | ||
*/ | ||
public function setConnection(ConnectionInterface $connection); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
/** | ||
* Copyright 2016 Google Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
namespace Google\Cloud; | ||
|
||
use Google\Cloud\Storage\Connection\ConnectionInterface; | ||
|
||
/** | ||
* Provides shared functionality between Clients. | ||
*/ | ||
trait ClientTrait | ||
{ | ||
/** | ||
* @var ConnectionInterface $connection Represents a connection to a Google | ||
* Cloud Platform Service. | ||
*/ | ||
private $connection; | ||
|
||
/** | ||
* Sets the connection. | ||
* | ||
* @param ConnectionInterface $connection Represents a connection to a Google | ||
* Cloud Platform Service. | ||
*/ | ||
public function setConnection(ConnectionInterface $connection) | ||
{ | ||
$this->connection = $connection; | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Copyright 2016 Google Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
namespace Google\Cloud\Exception; | ||
|
||
/** | ||
* Exception thrown when a request fails. | ||
*/ | ||
class GoogleException extends \Exception | ||
{ | ||
|
||
} |
Oops, something went wrong.