api

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

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

func NewArkAPI(authenticators []auth.ArkAuth, profile *models.ArkProfile) (*ArkAPI, error)

NewArkAPI creates a new ArkAPI instance with the provided authenticators and profile.

func (*ArkAPI) Authenticator

func (api *ArkAPI) Authenticator(authenticatorName string) (auth.ArkAuth, error)

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.

func (*ArkAPI) Sm added in v1.2.0

func (api *ArkAPI) Sm() (*sm.ArkSMService, error)

Sm returns the SMService from the ArkAPI instance. If the service is not already created, it creates a new one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL