Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for handling network adapters #7

Merged
merged 2 commits into from
Aug 23, 2017

Conversation

norrland
Copy link
Contributor

Add CRUD for glesys networkadapter.

Create - Create new adapter for a server
Details - Read details about a networkadapter
Edit - Update parameters about a networkadapter
Destroy - Delete a networkadapter

Example:

client := glesys.NewClient("CL12345", "MYTOKEN", "MYAPP/1.0")
adapter, err := client.NetworkAdapters.Create(context.Background(),
        glesys.CreateNetworkAdapterParams{Bandwidth: 100, ServerID:
        "vz12345"})

Add CRUD for glesys networkadapter.

Create - Create new adapter for a server
Details - Read details about a networkadapter
Edit - Update parameters about a networkadapter
Destroy - Delete a networkadapter

Example:
```
client := glesys.NewClient("CL12345", "MYTOKEN", "MYAPP/1.0")
adapter, err := client.NetworkAdapters.Create(context.Background(),
        glesys.CreateNetworkAdapterParams{Bandwidth: 100, ServerID:
        "vz12345"})
```
@wecc wecc mentioned this pull request Aug 4, 2017
11 tasks
@wecc wecc merged commit 58d1e73 into glesys:master Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants