-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renaming
PortConf
to PortProfile
; cleanup Device
API func names
- Loading branch information
1 parent
4b8ec1e
commit 6203ee9
Showing
6 changed files
with
44 additions
and
42 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
28 changes: 14 additions & 14 deletions
28
unifi/port_conf.generated.go → unifi/port_profile.generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,25 @@ | ||
package unifi | ||
|
||
import ( | ||
"context" | ||
) | ||
|
||
func (c *Client) ListPortProfile(ctx context.Context, site string) ([]PortProfile, error) { | ||
return c.listPortProfile(ctx, site) | ||
} | ||
|
||
func (c *Client) GetPortProfile(ctx context.Context, site, id string) (*PortProfile, error) { | ||
return c.getPortProfile(ctx, site, id) | ||
} | ||
|
||
func (c *Client) DeletePortProfile(ctx context.Context, site, id string) error { | ||
return c.deletePortProfile(ctx, site, id) | ||
} | ||
|
||
func (c *Client) CreatePortProfile(ctx context.Context, site string, d *PortProfile) (*PortProfile, error) { | ||
return c.createPortProfile(ctx, site, d) | ||
} | ||
|
||
func (c *Client) UpdatePortProfile(ctx context.Context, site string, d *PortProfile) (*PortProfile, error) { | ||
return c.updatePortProfile(ctx, site, d) | ||
} |