Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAsUser ¶
func (c *Client) GetAsUser( ctx context.Context, user string, key clientinterface.SpaceKey, workspace *workspacesv1alpha1.InternalWorkspace, opts ...client.GetOption, ) error
GetAsUser retrieves the requested workspace if and only if it is community or `user` is allowed access to
func (*Client) ListAsUser ¶
func (c *Client) ListAsUser(ctx context.Context, user string, workspaces *workspacesv1alpha1.InternalWorkspaceList) error
ListAsUser lists all the community workspaces together with the ones the user is allowed access to
Click to show internal directories.
Click to hide internal directories.