Documentation
¶
Index ¶
- type ArkAPI
- func (api *ArkAPI) Authenticator(authenticatorName string) (auth.ArkAuth, error)
- func (api *ArkAPI) Cmgr() (*cmgr.ArkCmgrService, error)
- func (api *ArkAPI) IdentityDirectories() (*directories.ArkIdentityDirectoriesService, error)
- func (api *ArkAPI) IdentityRoles() (*roles.ArkIdentityRolesService, error)
- func (api *ArkAPI) IdentityUsers() (*users.ArkIdentityUsersService, error)
- func (api *ArkAPI) PCloudAccounts() (*accounts.ArkPCloudAccountsService, error)
- func (api *ArkAPI) PCloudSafes() (*safes.ArkPCloudSafesService, error)
- func (api *ArkAPI) Profile() *models.ArkProfile
- func (api *ArkAPI) SecHubConfiguration() (*configuration.ArkSecHubConfigurationService, error)
- func (api *ArkAPI) SecHubFilters() (*filters.ArkSecHubFiltersService, error)
- func (api *ArkAPI) SecHubScans() (*scans.ArkSecHubScansService, error)
- func (api *ArkAPI) SecHubSecretStores() (*secretstores.ArkSecHubSecretStoresService, error)
- func (api *ArkAPI) SecHubSecrets() (*secrets.ArkSecHubSecretsService, error)
- func (api *ArkAPI) SecHubServiceInfo() (*serviceinfo.ArkSecHubServiceInfoService, error)
- func (api *ArkAPI) SecHubSyncPolicies() (*syncpolicies.ArkSecHubSyncPoliciesService, error)
- func (api *ArkAPI) SiaAccess() (*siaaccess.ArkSIAAccessService, error)
- func (api *ArkAPI) SiaK8s() (*siak8s.ArkSIAK8SService, error)
- func (api *ArkAPI) SiaSSHCa() (*siasshca.ArkSIASSHCAService, error)
- func (api *ArkAPI) SiaSecretsDB() (*siasecretsdb.ArkSIASecretsDBService, error)
- func (api *ArkAPI) SiaSecretsVM() (*siasecretsvm.ArkSIASecretsVMService, error)
- func (api *ArkAPI) SiaSso() (*siasso.ArkSIASSOService, error)
- func (api *ArkAPI) SiaWorkspacesDB() (*siaworkspacesdb.ArkSIAWorkspacesDBService, error)
- func (api *ArkAPI) SiaWorkspacesTargetSets() (*siatargetsets.ArkSIAWorkspacesTargetSetsService, error)
- func (api *ArkAPI) Sm() (*sm.ArkSMService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArkAPI ¶
type ArkAPI struct {
// contains filtered or unexported fields
}
ArkAPI Wraps different API functionality of Ark Services.
func NewArkAPI ¶
NewArkAPI creates a new ArkAPI instance with the provided authenticators and profile.
func (*ArkAPI) Authenticator ¶
Authenticator returns the authenticator with the specified name from the ArkAPI instance.
func (*ArkAPI) Cmgr ¶
func (api *ArkAPI) Cmgr() (*cmgr.ArkCmgrService, error)
Cmgr returns the Cmgr service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) IdentityDirectories ¶
func (api *ArkAPI) IdentityDirectories() (*directories.ArkIdentityDirectoriesService, error)
IdentityDirectories returns the IdentityDirectories service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) IdentityRoles ¶
func (api *ArkAPI) IdentityRoles() (*roles.ArkIdentityRolesService, error)
IdentityRoles returns the IdentityRoles service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) IdentityUsers ¶
func (api *ArkAPI) IdentityUsers() (*users.ArkIdentityUsersService, error)
IdentityUsers returns the IdentityUsers service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) PCloudAccounts ¶
func (api *ArkAPI) PCloudAccounts() (*accounts.ArkPCloudAccountsService, error)
PCloudAccounts returns the PCloudAccounts service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) PCloudSafes ¶
func (api *ArkAPI) PCloudSafes() (*safes.ArkPCloudSafesService, error)
PCloudSafes returns the PCloudSafes service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) Profile ¶
func (api *ArkAPI) Profile() *models.ArkProfile
Profile returns the profile associated with the ArkAPI instance.
func (*ArkAPI) SecHubConfiguration ¶ added in v1.1.0
func (api *ArkAPI) SecHubConfiguration() (*configuration.ArkSecHubConfigurationService, error)
SecHubConfiguration returns the SecHub Configuration service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubFilters ¶ added in v1.1.0
func (api *ArkAPI) SecHubFilters() (*filters.ArkSecHubFiltersService, error)
SecHubFilters returns the SecHub Filters service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubScans ¶ added in v1.1.0
func (api *ArkAPI) SecHubScans() (*scans.ArkSecHubScansService, error)
SecHubScans returns the SecHub Scans service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubSecretStores ¶ added in v1.1.0
func (api *ArkAPI) SecHubSecretStores() (*secretstores.ArkSecHubSecretStoresService, error)
SecHubSecretStores returns the SecHub Secret Stores service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubSecrets ¶ added in v1.1.0
func (api *ArkAPI) SecHubSecrets() (*secrets.ArkSecHubSecretsService, error)
SecHubSecrets returns the SecHub Secrets service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubServiceInfo ¶ added in v1.1.0
func (api *ArkAPI) SecHubServiceInfo() (*serviceinfo.ArkSecHubServiceInfoService, error)
SecHubServiceInfo returns the SecHub Service Info service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SecHubSyncPolicies ¶ added in v1.1.0
func (api *ArkAPI) SecHubSyncPolicies() (*syncpolicies.ArkSecHubSyncPoliciesService, error)
SecHubSyncPolicies returns the SecHub Sync Policies service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaAccess ¶
func (api *ArkAPI) SiaAccess() (*siaaccess.ArkSIAAccessService, error)
SiaAccess returns the SiaAccess service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaK8s ¶
func (api *ArkAPI) SiaK8s() (*siak8s.ArkSIAK8SService, error)
SiaK8s returns the SiaK8s service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaSSHCa ¶ added in v1.2.0
func (api *ArkAPI) SiaSSHCa() (*siasshca.ArkSIASSHCAService, error)
SiaSSHCa returns the SiaSSHCa service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaSecretsDB ¶
func (api *ArkAPI) SiaSecretsDB() (*siasecretsdb.ArkSIASecretsDBService, error)
SiaSecretsDB returns the SiaSecretsDB service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaSecretsVM ¶
func (api *ArkAPI) SiaSecretsVM() (*siasecretsvm.ArkSIASecretsVMService, error)
SiaSecretsVM returns the SiaSecretsVM service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaSso ¶
func (api *ArkAPI) SiaSso() (*siasso.ArkSIASSOService, error)
SiaSso returns the SiaSSO service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaWorkspacesDB ¶
func (api *ArkAPI) SiaWorkspacesDB() (*siaworkspacesdb.ArkSIAWorkspacesDBService, error)
SiaWorkspacesDB returns the Workspaces DB service from the ArkAPI instance. If the service is not already created, it creates a new one.
func (*ArkAPI) SiaWorkspacesTargetSets ¶
func (api *ArkAPI) SiaWorkspacesTargetSets() (*siatargetsets.ArkSIAWorkspacesTargetSetsService, error)
SiaWorkspacesTargetSets returns the SiaWorkspacesTargetSets service from the ArkAPI instance. If the service is not already created, it creates a new one.