Ahmet Alp Balkan
0c119c756b
Merge pull request #157 from svanharmelen/b-fix-security-groups
...
Despite the docs, these are the correct URLs
2015-05-26 15:27:42 -07:00
Sander van Harmelen
fc4b35b332
Despite the docs, these are the correct URLs
2015-05-26 21:08:04 +02:00
Paul Meyer
a6f75991aa
Merge pull request #156 from svanharmelen/f-vm-disk
...
Add support for virtual machine disks
2015-05-22 19:45:28 -07:00
Sander van Harmelen
6432bc1626
Add support for virtual machine disks
2015-05-22 22:48:14 +02:00
Ahmet Alp Balkan
a64871e43a
Merge pull request #149 from paulmey/interface
...
Extract interface for management.Client
2015-05-22 10:36:11 -07:00
Paul Meyer
47c7015739
Extract interface for management.Client
2015-05-21 14:26:32 -07:00
Paul Meyer
51b2a97681
Merge pull request #150 from ahmetalpbalkan/storageservice-delete
...
mgmt/storageservice: DeleteStorageService
2015-05-21 10:55:10 -07:00
Ahmet Alp Balkan
345b427fd3
Merge pull request #154 from svanharmelen/b-fix-disks
...
Fix struct ordering to satify the API
2015-05-21 09:57:11 -07:00
Sander van Harmelen
10c79a30d7
Fix struct ordering to satify the API
2015-05-21 17:48:52 +02:00
Paul Meyer
048e65f8ea
Merge pull request #152 from svanharmelen/b-fix-hostedservice
...
Fixing the hostedservice
2015-05-20 13:54:55 -07:00
Sander van Harmelen
cfb34c066e
Also fixing the hostedservice
2015-05-20 21:20:07 +02:00
Ahmet Alp Balkan
02d55d74d2
Merge pull request #151 from svanharmelen/b-fix-sdk
...
Fix a few things that got broken while refactoring
2015-05-20 09:38:08 -07:00
Sander van Harmelen
dac6bf79db
Fix a few things that got broken while refactoring
...
Biggest issue was that `doAzureOperation` was now always sending empty
`contentType` and `data` variables, breaking a lot of API calls of
course.
Next to that some minor fixes/tweaks to make thing a little more robust.
2015-05-20 18:25:57 +02:00
Ahmet Alp Balkan
730de22965
mgmt/storageservice: DeleteStorageService
...
- Added `DeleteStorageService` (fixes #147 )
- Renamed `CreateAsync` to `CreateStorageService` for consistency
2015-05-20 00:39:56 -07:00
Ahmet Alp Balkan
4262f69241
Merge pull request #146 from ahmetalpbalkan/storageservice
...
management/storageservice: Fix inconsistencies
2015-05-18 21:14:01 -07:00
Ahmet Alp Balkan
fe2273aa10
Merge pull request #137 from ahmetalpbalkan/cancellation
...
Cancellation support for WaitForOperation
2015-05-18 21:13:37 -07:00
Ahmet Alp Balkan
2b1a360b05
Cancellation support for WaitForOperation
...
- Added cancellation through channel
- Renamed the method
- Updated godocs
- Updated caller methods
- Removed waiting from virtualnetwork.Set method
Fixes #87
2015-05-18 16:19:13 -07:00
Ahmet Alp Balkan
9b89688e7c
Merge pull request #145 from ahmetalpbalkan/typofix
...
Fix typo in ListHostedServiceResponse
2015-05-18 16:15:05 -07:00
Ahmet Alp Balkan
911224eb61
Merge pull request #139 from ahmetalpbalkan/README-fixes
...
README updates
2015-05-18 16:14:51 -07:00
Ahmet Alp Balkan
e92c359389
README updates
2015-05-18 16:14:40 -07:00
Paul Meyer
a7ae087fb7
Merge pull request #133 from ahmetalpbalkan/AzureError
...
Cleanup in AzureError struct
2015-05-18 15:49:44 -07:00
Paul Meyer
633215bf61
Merge pull request #130 from ahmetalpbalkan/hostedservice-fixes
...
management/hostedservice: Refactoring various parts
2015-05-18 15:49:04 -07:00
Paul Meyer
0f045e6369
Merge pull request #140 from ahmetalpbalkan/location
...
management/location: Refactoring
2015-05-18 15:41:41 -07:00
Paul Meyer
32624e7b6c
Merge pull request #141 from svanharmelen/f-add-option
...
Make installing the guest agent configurable for VMImages
2015-05-18 15:38:56 -07:00
Paul Meyer
523ef45ef2
Merge pull request #144 from ahmetalpbalkan/virtualmachineimage
...
mgmt/virtualmachineimage: Fix inconsistencies
2015-05-18 15:36:15 -07:00
Paul Meyer
3c4f652ba8
Merge pull request #142 from ahmetalpbalkan/osimage
...
management/osimage: Fix inconsistencies
2015-05-18 15:07:18 -07:00
Ahmet Alp Balkan
25ceb18b34
management/storageservice: Fix inconsistencies
...
Fixed method signature and struct name inconsistencies in storageservice
package.
2015-05-18 15:04:56 -07:00
Ahmet Alp Balkan
042d3c2695
Merge pull request #143 from ahmetalpbalkan/gitignore
...
Add gitignore file
2015-05-18 15:01:32 -07:00
Ahmet Alp Balkan
3535c92e81
Fix typo in ListHostedServiceResponse
2015-05-18 15:00:55 -07:00
Ahmet Alp Balkan
f396750758
mgmt/virtualmachineimage: Fix inconsistencies
...
More work for unifying the method signatures and eliminating
client side client logic.
2015-05-18 14:59:54 -07:00
Ahmet Alp Balkan
44031a487c
Add gitignore
...
Added github's standard Go gitignore file + some rules for ignoring
swap files from common editors.
2015-05-18 14:54:23 -07:00
Ahmet Alp Balkan
77ae573507
pkg/osimage: Fix inconsistencies
...
More work for unifying the method signatures and eliminating
client side client logic.
2015-05-18 14:51:40 -07:00
Sander van Harmelen
2ca687cd76
Fix tests
2015-05-18 18:07:36 +02:00
Sander van Harmelen
28c498647d
Make installing the guest agent configurable
...
I know this would probably go into an option struct, but I think that
should be another refactor. So for now just added a `bool`.
And while touching this file I also made it’s 100+ lines a little
shorter which makes reviewing on GH a lot nicer.
2015-05-18 17:54:28 +02:00
Ahmet Alp Balkan
8fc04323d5
Merge pull request #138 from ahmetalpbalkan/pkgcomments
...
Godoc fixes for packages
2015-05-16 09:47:29 -07:00
Ahmet Alp Balkan
6757395a31
Godoc fixes for package
...
Consistent and precise godoc comments for packages.
2015-05-16 09:44:34 -07:00
Ahmet Alp Balkan
c3a30be4bc
management/location: Refactoring
...
- Removed client side logic from `management/location`
- Renamed return structs to reflect operations better
- Moved helpers to where they are needed
2015-05-15 23:03:04 -07:00
Ahmet Alp Balkan
c5f78f16c6
Cleanup in AzureError struct
2015-05-15 21:12:25 -07:00
Ahmet Alp Balkan
e32e816da5
Fixes for HostedServiceClient ( closes #121 )
...
1. CreateHostedService func now takes a struct input
to stabilize the function signature.
2. CreateHostedService is actually not a long running operation,
therefore just returning `error` value from that func now.
3. Changed CheckHostedServiceNameAvailabilityMethod to return
the correct response struct to the user.
4. Updated example codes and tests to accomodate changes.
(Please run the integration tests after merging this.)
2015-05-15 20:19:59 -07:00
Paul Meyer
4835857e0b
Merge pull request #134 from Azure/readme/update-1
...
Update README.md
2015-05-15 14:51:59 -07:00
Ahmet Alp Balkan
d788b26a63
Update README.md
2015-05-15 13:31:57 -07:00
Ahmet Alp Balkan
3ab55811f3
Merge pull request #126 from ahmetalpbalkan/mgmt/storage-clientside-methods
...
management/storage: Remove helpers and cleanup
2015-05-15 10:24:38 -07:00
Ahmet Alp Balkan
cc00a407f5
management/storage: Remove helpers and cleanup
...
Fixes #68 . Removed some 'special logic' containing helper methods.
Did some code cleanup and stopped returning pointers.
2015-05-15 10:14:27 -07:00
Paul Meyer
fb196506a9
Merge pull request #127 from ahmetalpbalkan/apiversion
...
management: Custom API versions and User Agent Header
2015-05-15 10:11:09 -07:00
Ahmet Alp Balkan
f70269e81f
Merge pull request #131 from ahmetalpbalkan/mgmt/http
...
management: Code cleanup around http.go
2015-05-15 10:08:50 -07:00
Ahmet Alp Balkan
97935f9f0f
management: Code cleanup around http.go
...
Cleaned up repetitive code.
Also now closing the request body after reading, switched to
`io/ioutil.ReadAll` and now we're handling errors while reading
the response body responsibly.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-05-15 10:07:14 -07:00
Ahmet Alp Balkan
1b6aa07ad1
Merge pull request #128 from ahmetalpbalkan/renamestoragemethod
...
management/storage: Refactor IsAvailable
2015-05-15 10:05:17 -07:00
Ahmet Alp Balkan
97b0c30c46
management/storage: Refactor IsAvailable
...
Renamed storage.IsAvailable to `CheckStorageAccountNameAvailability`.
(Fixes #94 ) Also fixed the method signature by returning the right
response struct type.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-05-14 23:26:23 -07:00
Ahmet Alp Balkan
95b5fb116f
Custom API versions and User Agent Header
...
Fixes #55 , #88 .
Also exposed default values used to build basic client and
a `DefaultConfig` method that allows user to get a copy of
the config object (that will make it easy to construct and
override only a part of it).
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-05-14 23:14:21 -07:00
Ahmet Alp Balkan
b2dbe90be9
Merge pull request #125 from ahmetalpbalkan/intervals
...
Configurable operation polling intervals
2015-05-14 23:04:10 -07:00