-
Notifications
You must be signed in to change notification settings - Fork 345
MNFS-164: Added NFS APIs #912
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
MNFS-164: Added NFS APIs #912
Conversation
nfs.go
Outdated
| List(context.Context, *ListOptions) ([]*Nfs, *Response, error) | ||
| Create(context.Context, *NfsCreateRequest) (*Nfs, *Response, error) | ||
| Delete(context.Context, string) (*Response, error) | ||
| Get(context.Context, string) (*Nfs, *Response, error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how others are doing, but having a doc-string should be IMO.
nfs.go
Outdated
| ID string `json:"id"` | ||
| Name string `json:"name"` | ||
| SizeGib int `json:"size_gib"` | ||
| Region string `json:"region"` | ||
| Status string `json:"status"` | ||
| CreatedAt string `json:"created_at"` | ||
| VpcIDs []string `json:"vpc_ids"` | ||
| UserID int `json:"user_id"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same one-liner doc-string for fields
…r List, validate size_gib, added tests
singhsaubhikdo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SSharma-10
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ticket: MNFS-164
This PR adds the NFS APIs to godo.