Documentation ¶
Overview ¶
Package server provides a client and server for communicating account data over a socket.
Index ¶
- type Client
- func (c *Client) AuthorizedKeys(username string) ([]string, error)
- func (c *Client) GroupByGID(gid uint32) (*accounts.Group, error)
- func (c *Client) GroupByName(name string) (*accounts.Group, error)
- func (c *Client) Groups() ([]*accounts.Group, error)
- func (c *Client) IsName(name string) (bool, error)
- func (c *Client) Names() ([]string, error)
- func (c *Client) UserByName(name string) (*accounts.User, error)
- func (c *Client) UserByUID(uid uint32) (*accounts.User, error)
- func (c *Client) Users() ([]*accounts.User, error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client implements AccountProvider as a client that sends requests to the Google Compute User Accounts daemon.
func (*Client) AuthorizedKeys ¶
AuthorizedKeys satisfies AccountProvider.
func (*Client) GroupByGID ¶
GroupByGID satisfies AccountProvider.
func (*Client) GroupByName ¶
GroupByName satisfies AccountProvider.
func (*Client) UserByName ¶
UserByName satisfies AccountProvider.
Click to show internal directories.
Click to hide internal directories.