Versions in this module Expand all Collapse all v0 v0.3.6 Oct 24, 2021 v0.3.5 Aug 14, 2021 Changes in this version + type Client struct + func New(opts *Opts) (*Client, error) + func (c *Client) Close() + func (c *Client) CreateDesktopSession(opts *types.CreateSessionRequest) (*types.CreateSessionResponse, error) + func (c *Client) CreateDesktopTemplate(req *desktopsv1.Template) error + func (c *Client) CreateVDIRole(req *types.CreateRoleRequest) error + func (c *Client) CreateVDIUser(req *types.CreateUserRequest) error + func (c *Client) DeleteDesktopSession(nn NamespacedName) error + func (c *Client) DeleteDesktopTemplate(name string) error + func (c *Client) DeleteVDIRole(name string) error + func (c *Client) DeleteVDIUser(name string) error + func (c *Client) GetDesktopAudioProxy(nn NamespacedName) (io.ReadWriteCloser, error) + func (c *Client) GetDesktopDisplayProxy(nn NamespacedName) (io.ReadWriteCloser, error) + func (c *Client) GetDesktopFile(nn NamespacedName, path string) (io.ReadCloser, error) + func (c *Client) GetDesktopSessions() (*types.DesktopSessionsResponse, error) + func (c *Client) GetDesktopTemplate(name string) (*desktopsv1.Template, error) + func (c *Client) GetDesktopTemplates() ([]*desktopsv1.Template, error) + func (c *Client) GetNamespaces() ([]string, error) + func (c *Client) GetServerConfig() (*appv1.VDIClusterSpec, error) + func (c *Client) GetServerVersion() (version, gitCommit string, err error) + func (c *Client) GetServiceAccounts(namespace string) ([]string, error) + func (c *Client) GetVDIRole(name string) (*rbacv1.VDIRole, error) + func (c *Client) GetVDIRoles() ([]*rbacv1.VDIRole, error) + func (c *Client) GetVDIUser(name string) (*types.VDIUser, error) + func (c *Client) GetVDIUsers() ([]*types.VDIUser, error) + func (c *Client) PutDesktopFile(nn NamespacedName, name string, contents io.Reader) error + func (c *Client) SetAutoRefreshToken(val bool) + func (c *Client) StatDesktopFile(nn NamespacedName, path string) (*types.StatDesktopFileResponse, error) + func (c *Client) UpdateDesktopTemplate(name string, req *desktopsv1.Template) error + func (c *Client) UpdateVDIRole(name string, req *types.UpdateRoleRequest) error + func (c *Client) UpdateVDIUser(name string, req *types.UpdateUserRequest) error + func (c *Client) WhoAmI() (*types.VDIUser, error) + type NamespacedName ktypes.NamespacedName + func (n NamespacedName) String() string + type Opts struct + APIKey string + Password string + TLSCACert []byte + TLSInsecureSkipVerify bool + URL string + Username string