Skip to content

Conversation

@sreeram-venkitesh
Copy link
Member

Ticket: MNFS-164

This PR adds the NFS APIs to godo.

nfs.go Outdated
Comment on lines 12 to 15
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)
Copy link
Contributor

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
Comment on lines 28 to 35
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"`
Copy link
Contributor

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

Copy link
Contributor

@singhsaubhikdo singhsaubhikdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@SSharma-10 SSharma-10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SSharma-10 SSharma-10 merged commit b773c71 into digitalocean:main Oct 10, 2025
9 checks passed
@DO-rrao DO-rrao mentioned this pull request Oct 13, 2025
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.

3 participants