Documentation
¶
Index ¶
- type AppAccessClient
- type AuthClient
- type EmailClient
- func (c *EmailClient) InviteViaEmail(username, email string) error
- func (c *EmailClient) ReadConfig() (*u.EmailConfig, error)
- func (c *EmailClient) ReadExposeRealEmailInOidcToken() (bool, error)
- func (c *EmailClient) ReadInvitationTemplate() (string, error)
- func (c *EmailClient) ResetConfig() error
- func (c *EmailClient) ResetInvitationTemplate() error
- func (c *EmailClient) ResetPasswordViaEmail(userId int) error
- func (c *EmailClient) SaveConfig(cfg *u.EmailConfig) error
- func (c *EmailClient) SaveExposeRealEmailInOidcToken(exposeRealEmail bool) error
- func (c *EmailClient) SaveInvitationTemplate(template string) error
- func (c *EmailClient) SendTestEmail(cfg *u.EmailConfig, toEmail string) error
- func (c *EmailClient) TestConnection(cfg *u.EmailConfig) error
- type FrontendResponse
- type GroupsClient
- func (c *GroupsClient) AddUserToGroup(userId, groupId int) error
- func (c *GroupsClient) CreateGroup(name string) (*api.Group, error)
- func (c *GroupsClient) DeleteGroup(groupId int) error
- func (c *GroupsClient) GrantAppAccess(groupId int, appName string) error
- func (c *GroupsClient) ListAllGroups() ([]api.Group, error)
- func (c *GroupsClient) ListAppsAccessByGroup(groupId int) (*api.AppsAccessByGroup, error)
- func (c *GroupsClient) ListUsersByGroupMembership(groupId int) (*api.UsersByGroupMembership, error)
- func (c *GroupsClient) RemoveUserFromGroup(userId, groupId int) error
- func (c *GroupsClient) RevokeAppAccess(groupId int, appName string) error
- type OidcAuthProvidersClient
- func (c *OidcAuthProvidersClient) Create(provider *api.OidcAuthProviderDto) error
- func (c *OidcAuthProvidersClient) Delete(providerId int) error
- func (c *OidcAuthProvidersClient) List() ([]api.OidcAuthProviderDto, error)
- func (c *OidcAuthProvidersClient) StartLogin(providerId int) (api.OidcStartLoginResponse, error)
- func (c *OidcAuthProvidersClient) TestDiscovery(issuerDomainPath string) error
- func (c *OidcAuthProvidersClient) Update(provider *api.OidcAuthProviderDto) error
- type OidcRelyingPartiesClient
- func (c *OidcRelyingPartiesClient) Create(client *api.OidcRelyingPartyDto) error
- func (c *OidcRelyingPartiesClient) Delete(clientId int) error
- func (c *OidcRelyingPartiesClient) List() ([]api.OidcRelyingPartyDto, error)
- func (c *OidcRelyingPartiesClient) Regenerate(clientId int) error
- func (c *OidcRelyingPartiesClient) Update(client *api.OidcRelyingPartyDto) error
- type QuollixAppsClient
- func (c *QuollixAppsClient) Delete(appId string) error
- func (c *QuollixAppsClient) DownloadVersion(maintainer, appName, versionName string) (*api.BinaryFile, error)
- func (c *QuollixAppsClient) DownloadVersionFile(appId string) (*api.BinaryFile, error)
- func (c *QuollixAppsClient) GetCurrentOperations() ([]string, bool, error)
- func (c *QuollixAppsClient) InstallFromStore(maintainer, appName, version string) error
- func (c *QuollixAppsClient) ListInstalled() ([]api.AppDto, error)
- func (c *QuollixAppsClient) ListVersions(userName, appName string) ([]store.LeanVersionDto, error)
- func (c *QuollixAppsClient) SearchStore(maintainerName, appName string, searchForUnofficialApps bool) ([]store.AppWithLatestVersion, error)
- func (c *QuollixAppsClient) SetAccessPolicy(appId, accessPolicy string) error
- func (c *QuollixAppsClient) Start(appId string) error
- func (c *QuollixAppsClient) Stop(appId string) error
- func (c *QuollixAppsClient) Update(appId string) error
- func (c *QuollixAppsClient) UpdateMaintenanceSettings(appId string, autoUpdatesEnabled, autoBackupsEnabled bool) error
- func (c *QuollixAppsClient) UploadVersionFile(file api.BinaryFile) error
- type QuollixBackupsClient
- func (c *QuollixBackupsClient) Create(appId string) error
- func (c *QuollixBackupsClient) Delete(backupIds []string) error
- func (c *QuollixBackupsClient) ListAppsInRepository() ([]api.MaintainerAndApp, error)
- func (c *QuollixBackupsClient) ListByApp(maintainer, appName string) ([]api.BackupInfo, error)
- func (c *QuollixBackupsClient) PurgeServer(repo *api.BackupServerConfigs) error
- func (c *QuollixBackupsClient) Restore(backupId string) error
- type QuollixCertificatesClient
- type QuollixClient
- type QuollixFrontendClient
- type QuollixMaintenanceClient
- func (c *QuollixMaintenanceClient) ExecuteJob() error
- func (c *QuollixMaintenanceClient) ReadConfigs() (*api.MaintenanceConfig, error)
- func (c *QuollixMaintenanceClient) ReadRetentionPolicy() (*api.RetentionPolicy, error)
- func (c *QuollixMaintenanceClient) SaveConfigs(request *api.MaintenanceConfigDto) error
- func (c *QuollixMaintenanceClient) SaveRetentionPolicy(policy *api.RetentionPolicy) error
- type QuollixSettingsClient
- func (c *QuollixSettingsClient) GetBaseDomainValue() (string, error)
- func (c *QuollixSettingsClient) GetKnownHosts(repo *api.BackupServerConfigs) (string, error)
- func (c *QuollixSettingsClient) ReadSshConfigs() (*api.BackupServerConfigs, error)
- func (c *QuollixSettingsClient) SaveSshConfigs(repo *api.BackupServerConfigs) error
- func (c *QuollixSettingsClient) SetBaseDomainValue(baseDomain string) error
- func (c *QuollixSettingsClient) TestSshAccess(repo *api.BackupServerConfigs) error
- type QuollixTestClient
- type UsersClient
- func (c *UsersClient) ChangeEmail(userId int, newEmail string) error
- func (c *UsersClient) ChangeUsername(userId int, newUsername string) error
- func (c *UsersClient) Delete(userId int) error
- func (c *UsersClient) GetByUsername(username string) (api.User, bool, error)
- func (c *UsersClient) Invite(username, email string) error
- func (c *UsersClient) List() ([]api.User, error)
- func (c *UsersClient) ResetPassword(userId int) error
- func (c *UsersClient) SetEnabled(userId int, isEnabled bool) error
- func (c *UsersClient) SetOwnPassword(password string) error
- func (c *UsersClient) SetPasswordViaToken(password, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAccessClient ¶
type AppAccessClient struct {
// contains filtered or unexported fields
}
func (*AppAccessClient) DoAppRequest ¶
func (*AppAccessClient) ExchangeSecretForAppAccessCookie ¶
func (*AppAccessClient) GetSecret ¶
func (c *AppAccessClient) GetSecret() (string, error)
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
func (*AuthClient) ChangePassword ¶
func (c *AuthClient) ChangePassword(oldPassword, newPassword string) error
func (*AuthClient) GetCurrentUser ¶
func (c *AuthClient) GetCurrentUser() (*api.User, error)
func (*AuthClient) SignIn ¶
func (c *AuthClient) SignIn(username, password string) error
func (*AuthClient) SignOut ¶
func (c *AuthClient) SignOut() error
type EmailClient ¶
type EmailClient struct {
// contains filtered or unexported fields
}
func (*EmailClient) InviteViaEmail ¶
func (c *EmailClient) InviteViaEmail(username, email string) error
func (*EmailClient) ReadConfig ¶
func (c *EmailClient) ReadConfig() (*u.EmailConfig, error)
func (*EmailClient) ReadExposeRealEmailInOidcToken ¶
func (c *EmailClient) ReadExposeRealEmailInOidcToken() (bool, error)
func (*EmailClient) ReadInvitationTemplate ¶
func (c *EmailClient) ReadInvitationTemplate() (string, error)
func (*EmailClient) ResetConfig ¶
func (c *EmailClient) ResetConfig() error
func (*EmailClient) ResetInvitationTemplate ¶
func (c *EmailClient) ResetInvitationTemplate() error
func (*EmailClient) ResetPasswordViaEmail ¶
func (c *EmailClient) ResetPasswordViaEmail(userId int) error
func (*EmailClient) SaveConfig ¶
func (c *EmailClient) SaveConfig(cfg *u.EmailConfig) error
func (*EmailClient) SaveExposeRealEmailInOidcToken ¶
func (c *EmailClient) SaveExposeRealEmailInOidcToken(exposeRealEmail bool) error
func (*EmailClient) SaveInvitationTemplate ¶
func (c *EmailClient) SaveInvitationTemplate(template string) error
func (*EmailClient) SendTestEmail ¶
func (c *EmailClient) SendTestEmail(cfg *u.EmailConfig, toEmail string) error
func (*EmailClient) TestConnection ¶
func (c *EmailClient) TestConnection(cfg *u.EmailConfig) error
type FrontendResponse ¶
type GroupsClient ¶
type GroupsClient struct {
// contains filtered or unexported fields
}
func (*GroupsClient) AddUserToGroup ¶
func (c *GroupsClient) AddUserToGroup(userId, groupId int) error
func (*GroupsClient) CreateGroup ¶
func (c *GroupsClient) CreateGroup(name string) (*api.Group, error)
func (*GroupsClient) DeleteGroup ¶
func (c *GroupsClient) DeleteGroup(groupId int) error
func (*GroupsClient) GrantAppAccess ¶
func (c *GroupsClient) GrantAppAccess(groupId int, appName string) error
func (*GroupsClient) ListAllGroups ¶
func (c *GroupsClient) ListAllGroups() ([]api.Group, error)
func (*GroupsClient) ListAppsAccessByGroup ¶
func (c *GroupsClient) ListAppsAccessByGroup(groupId int) (*api.AppsAccessByGroup, error)
func (*GroupsClient) ListUsersByGroupMembership ¶
func (c *GroupsClient) ListUsersByGroupMembership(groupId int) (*api.UsersByGroupMembership, error)
func (*GroupsClient) RemoveUserFromGroup ¶
func (c *GroupsClient) RemoveUserFromGroup(userId, groupId int) error
func (*GroupsClient) RevokeAppAccess ¶
func (c *GroupsClient) RevokeAppAccess(groupId int, appName string) error
type OidcAuthProvidersClient ¶
type OidcAuthProvidersClient struct {
// contains filtered or unexported fields
}
func (*OidcAuthProvidersClient) Create ¶
func (c *OidcAuthProvidersClient) Create(provider *api.OidcAuthProviderDto) error
func (*OidcAuthProvidersClient) Delete ¶
func (c *OidcAuthProvidersClient) Delete(providerId int) error
func (*OidcAuthProvidersClient) List ¶
func (c *OidcAuthProvidersClient) List() ([]api.OidcAuthProviderDto, error)
func (*OidcAuthProvidersClient) StartLogin ¶
func (c *OidcAuthProvidersClient) StartLogin(providerId int) (api.OidcStartLoginResponse, error)
func (*OidcAuthProvidersClient) TestDiscovery ¶
func (c *OidcAuthProvidersClient) TestDiscovery(issuerDomainPath string) error
func (*OidcAuthProvidersClient) Update ¶
func (c *OidcAuthProvidersClient) Update(provider *api.OidcAuthProviderDto) error
type OidcRelyingPartiesClient ¶
type OidcRelyingPartiesClient struct {
// contains filtered or unexported fields
}
func (*OidcRelyingPartiesClient) Create ¶
func (c *OidcRelyingPartiesClient) Create(client *api.OidcRelyingPartyDto) error
func (*OidcRelyingPartiesClient) Delete ¶
func (c *OidcRelyingPartiesClient) Delete(clientId int) error
func (*OidcRelyingPartiesClient) List ¶
func (c *OidcRelyingPartiesClient) List() ([]api.OidcRelyingPartyDto, error)
func (*OidcRelyingPartiesClient) Regenerate ¶
func (c *OidcRelyingPartiesClient) Regenerate(clientId int) error
func (*OidcRelyingPartiesClient) Update ¶
func (c *OidcRelyingPartiesClient) Update(client *api.OidcRelyingPartyDto) error
type QuollixAppsClient ¶
type QuollixAppsClient struct {
// contains filtered or unexported fields
}
func (*QuollixAppsClient) Delete ¶
func (c *QuollixAppsClient) Delete(appId string) error
func (*QuollixAppsClient) DownloadVersion ¶
func (c *QuollixAppsClient) DownloadVersion(maintainer, appName, versionName string) (*api.BinaryFile, error)
func (*QuollixAppsClient) DownloadVersionFile ¶
func (c *QuollixAppsClient) DownloadVersionFile(appId string) (*api.BinaryFile, error)
func (*QuollixAppsClient) GetCurrentOperations ¶
func (c *QuollixAppsClient) GetCurrentOperations() ([]string, bool, error)
func (*QuollixAppsClient) InstallFromStore ¶
func (c *QuollixAppsClient) InstallFromStore(maintainer, appName, version string) error
func (*QuollixAppsClient) ListInstalled ¶
func (c *QuollixAppsClient) ListInstalled() ([]api.AppDto, error)
func (*QuollixAppsClient) ListVersions ¶
func (c *QuollixAppsClient) ListVersions(userName, appName string) ([]store.LeanVersionDto, error)
func (*QuollixAppsClient) SearchStore ¶
func (c *QuollixAppsClient) SearchStore(maintainerName, appName string, searchForUnofficialApps bool) ([]store.AppWithLatestVersion, error)
func (*QuollixAppsClient) SetAccessPolicy ¶
func (c *QuollixAppsClient) SetAccessPolicy(appId, accessPolicy string) error
func (*QuollixAppsClient) Start ¶
func (c *QuollixAppsClient) Start(appId string) error
func (*QuollixAppsClient) Stop ¶
func (c *QuollixAppsClient) Stop(appId string) error
func (*QuollixAppsClient) Update ¶
func (c *QuollixAppsClient) Update(appId string) error
func (*QuollixAppsClient) UpdateMaintenanceSettings ¶
func (c *QuollixAppsClient) UpdateMaintenanceSettings(appId string, autoUpdatesEnabled, autoBackupsEnabled bool) error
func (*QuollixAppsClient) UploadVersionFile ¶
func (c *QuollixAppsClient) UploadVersionFile(file api.BinaryFile) error
type QuollixBackupsClient ¶
type QuollixBackupsClient struct {
// contains filtered or unexported fields
}
func (*QuollixBackupsClient) Create ¶
func (c *QuollixBackupsClient) Create(appId string) error
func (*QuollixBackupsClient) Delete ¶
func (c *QuollixBackupsClient) Delete(backupIds []string) error
func (*QuollixBackupsClient) ListAppsInRepository ¶
func (c *QuollixBackupsClient) ListAppsInRepository() ([]api.MaintainerAndApp, error)
func (*QuollixBackupsClient) ListByApp ¶
func (c *QuollixBackupsClient) ListByApp(maintainer, appName string) ([]api.BackupInfo, error)
func (*QuollixBackupsClient) PurgeServer ¶
func (c *QuollixBackupsClient) PurgeServer(repo *api.BackupServerConfigs) error
func (*QuollixBackupsClient) Restore ¶
func (c *QuollixBackupsClient) Restore(backupId string) error
type QuollixCertificatesClient ¶
type QuollixCertificatesClient struct {
// contains filtered or unexported fields
}
func (*QuollixCertificatesClient) DownloadBundleBytes ¶
func (c *QuollixCertificatesClient) DownloadBundleBytes() ([]byte, error)
func (*QuollixCertificatesClient) Reset ¶
func (c *QuollixCertificatesClient) Reset() error
func (*QuollixCertificatesClient) TryDns01Challenge ¶
func (c *QuollixCertificatesClient) TryDns01Challenge() (*api.Dns01ChallengeInfo, error)
func (*QuollixCertificatesClient) Upload ¶
func (c *QuollixCertificatesClient) Upload(content []byte) error
type QuollixClient ¶
type QuollixClient struct {
Parent *u.ComponentClient
Auth *AuthClient
Users *UsersClient
Apps *QuollixAppsClient
Backups *QuollixBackupsClient
Settings *QuollixSettingsClient
Maintenance *QuollixMaintenanceClient
Certificates *QuollixCertificatesClient
Frontend *QuollixFrontendClient
Test *QuollixTestClient
AppAccess *AppAccessClient
Email *EmailClient
Groups *GroupsClient
OidcProviders *OidcAuthProvidersClient
OidcClients *OidcRelyingPartiesClient
}
func NewQuollixClient ¶
func NewQuollixClient() *QuollixClient
func NewQuollixClientForRootUrl ¶
func NewQuollixClientForRootUrl(rootUrl string) *QuollixClient
func NewQuollixClientWithParent ¶
func NewQuollixClientWithParent(parent *u.ComponentClient) *QuollixClient
type QuollixFrontendClient ¶
type QuollixFrontendClient struct {
// contains filtered or unexported fields
}
func (*QuollixFrontendClient) GetPage ¶
func (c *QuollixFrontendClient) GetPage(path string) (*FrontendResponse, error)
func (*QuollixFrontendClient) Reload ¶
func (c *QuollixFrontendClient) Reload() error
type QuollixMaintenanceClient ¶
type QuollixMaintenanceClient struct {
// contains filtered or unexported fields
}
func (*QuollixMaintenanceClient) ExecuteJob ¶
func (c *QuollixMaintenanceClient) ExecuteJob() error
func (*QuollixMaintenanceClient) ReadConfigs ¶
func (c *QuollixMaintenanceClient) ReadConfigs() (*api.MaintenanceConfig, error)
func (*QuollixMaintenanceClient) ReadRetentionPolicy ¶
func (c *QuollixMaintenanceClient) ReadRetentionPolicy() (*api.RetentionPolicy, error)
func (*QuollixMaintenanceClient) SaveConfigs ¶
func (c *QuollixMaintenanceClient) SaveConfigs(request *api.MaintenanceConfigDto) error
func (*QuollixMaintenanceClient) SaveRetentionPolicy ¶
func (c *QuollixMaintenanceClient) SaveRetentionPolicy(policy *api.RetentionPolicy) error
type QuollixSettingsClient ¶
type QuollixSettingsClient struct {
// contains filtered or unexported fields
}
func (*QuollixSettingsClient) GetBaseDomainValue ¶
func (c *QuollixSettingsClient) GetBaseDomainValue() (string, error)
func (*QuollixSettingsClient) GetKnownHosts ¶
func (c *QuollixSettingsClient) GetKnownHosts(repo *api.BackupServerConfigs) (string, error)
func (*QuollixSettingsClient) ReadSshConfigs ¶
func (c *QuollixSettingsClient) ReadSshConfigs() (*api.BackupServerConfigs, error)
func (*QuollixSettingsClient) SaveSshConfigs ¶
func (c *QuollixSettingsClient) SaveSshConfigs(repo *api.BackupServerConfigs) error
func (*QuollixSettingsClient) SetBaseDomainValue ¶
func (c *QuollixSettingsClient) SetBaseDomainValue(baseDomain string) error
func (*QuollixSettingsClient) TestSshAccess ¶
func (c *QuollixSettingsClient) TestSshAccess(repo *api.BackupServerConfigs) error
type QuollixTestClient ¶
type QuollixTestClient struct {
// contains filtered or unexported fields
}
func (*QuollixTestClient) ResetTestState ¶
func (c *QuollixTestClient) ResetTestState() error
type UsersClient ¶
type UsersClient struct {
// contains filtered or unexported fields
}
func (*UsersClient) ChangeEmail ¶
func (c *UsersClient) ChangeEmail(userId int, newEmail string) error
func (*UsersClient) ChangeUsername ¶
func (c *UsersClient) ChangeUsername(userId int, newUsername string) error
func (*UsersClient) Delete ¶
func (c *UsersClient) Delete(userId int) error
func (*UsersClient) GetByUsername ¶
func (*UsersClient) Invite ¶
func (c *UsersClient) Invite(username, email string) error
func (*UsersClient) ResetPassword ¶
func (c *UsersClient) ResetPassword(userId int) error
func (*UsersClient) SetEnabled ¶
func (c *UsersClient) SetEnabled(userId int, isEnabled bool) error
func (*UsersClient) SetOwnPassword ¶
func (c *UsersClient) SetOwnPassword(password string) error
func (*UsersClient) SetPasswordViaToken ¶
func (c *UsersClient) SetPasswordViaToken(password, token string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.