Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
- func (c *Client) DeleteStaticHostUser(ctx context.Context, name string) error
- func (c *Client) GetStaticHostUser(ctx context.Context, name string) (*userprovisioningpb.StaticHostUser, error)
- func (c *Client) ListStaticHostUsers(ctx context.Context, pageSize int, pageToken string) ([]*userprovisioningpb.StaticHostUser, string, error)
- func (c *Client) UpdateStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
- func (c *Client) UpsertStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a StaticHostUser client.
func NewClient ¶
func NewClient(grpcClient userprovisioningpb.StaticHostUsersServiceClient) *Client
NewClient creates a new StaticHostUser client.
func (*Client) CreateStaticHostUser ¶
func (c *Client) CreateStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
CreateStaticHostUser creates a static host user.
func (*Client) DeleteStaticHostUser ¶
DeleteStaticHostUser deletes a static host user. Note that this does not remove any host users created on nodes from the resource.
func (*Client) GetStaticHostUser ¶
func (c *Client) GetStaticHostUser(ctx context.Context, name string) (*userprovisioningpb.StaticHostUser, error)
GetStaticHostUser returns a static host user by name.
func (*Client) ListStaticHostUsers ¶
func (c *Client) ListStaticHostUsers(ctx context.Context, pageSize int, pageToken string) ([]*userprovisioningpb.StaticHostUser, string, error)
ListStaticHostUsers lists static host users.
func (*Client) UpdateStaticHostUser ¶
func (c *Client) UpdateStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
UpdateStaticHostUser updates a static host user.
func (*Client) UpsertStaticHostUser ¶
func (c *Client) UpsertStaticHostUser(ctx context.Context, in *userprovisioningpb.StaticHostUser) (*userprovisioningpb.StaticHostUser, error)
UpsertStaticHostUser upserts a static host user.
Click to show internal directories.
Click to hide internal directories.