Documentation ¶
Overview ¶
This file was generated by protogen. DO NOT EDIT.
Package sdm implements an API client to strongDM restful API.
Index ¶
- type AKS
- func (m *AKS) GetBindInterface() string
- func (m *AKS) GetEgressFilter() string
- func (m *AKS) GetID() string
- func (m *AKS) GetName() string
- func (m *AKS) GetSecretStoreID() string
- func (m *AKS) GetTags() Tags
- func (m *AKS) SetBindInterface(v string)
- func (m *AKS) SetEgressFilter(v string)
- func (m *AKS) SetName(v string)
- func (m *AKS) SetSecretStoreID(v string)
- func (m *AKS) SetTags(v Tags)
- type AKSBasicAuth
- func (m *AKSBasicAuth) GetBindInterface() string
- func (m *AKSBasicAuth) GetEgressFilter() string
- func (m *AKSBasicAuth) GetID() string
- func (m *AKSBasicAuth) GetName() string
- func (m *AKSBasicAuth) GetSecretStoreID() string
- func (m *AKSBasicAuth) GetTags() Tags
- func (m *AKSBasicAuth) SetBindInterface(v string)
- func (m *AKSBasicAuth) SetEgressFilter(v string)
- func (m *AKSBasicAuth) SetName(v string)
- func (m *AKSBasicAuth) SetSecretStoreID(v string)
- func (m *AKSBasicAuth) SetTags(v Tags)
- type AKSServiceAccount
- func (m *AKSServiceAccount) GetBindInterface() string
- func (m *AKSServiceAccount) GetEgressFilter() string
- func (m *AKSServiceAccount) GetID() string
- func (m *AKSServiceAccount) GetName() string
- func (m *AKSServiceAccount) GetSecretStoreID() string
- func (m *AKSServiceAccount) GetTags() Tags
- func (m *AKSServiceAccount) SetBindInterface(v string)
- func (m *AKSServiceAccount) SetEgressFilter(v string)
- func (m *AKSServiceAccount) SetName(v string)
- func (m *AKSServiceAccount) SetSecretStoreID(v string)
- func (m *AKSServiceAccount) SetTags(v Tags)
- type AKSServiceAccountUserImpersonation
- func (m *AKSServiceAccountUserImpersonation) GetBindInterface() string
- func (m *AKSServiceAccountUserImpersonation) GetEgressFilter() string
- func (m *AKSServiceAccountUserImpersonation) GetID() string
- func (m *AKSServiceAccountUserImpersonation) GetName() string
- func (m *AKSServiceAccountUserImpersonation) GetSecretStoreID() string
- func (m *AKSServiceAccountUserImpersonation) GetTags() Tags
- func (m *AKSServiceAccountUserImpersonation) SetBindInterface(v string)
- func (m *AKSServiceAccountUserImpersonation) SetEgressFilter(v string)
- func (m *AKSServiceAccountUserImpersonation) SetName(v string)
- func (m *AKSServiceAccountUserImpersonation) SetSecretStoreID(v string)
- func (m *AKSServiceAccountUserImpersonation) SetTags(v Tags)
- type AKSUserImpersonation
- func (m *AKSUserImpersonation) GetBindInterface() string
- func (m *AKSUserImpersonation) GetEgressFilter() string
- func (m *AKSUserImpersonation) GetID() string
- func (m *AKSUserImpersonation) GetName() string
- func (m *AKSUserImpersonation) GetSecretStoreID() string
- func (m *AKSUserImpersonation) GetTags() Tags
- func (m *AKSUserImpersonation) SetBindInterface(v string)
- func (m *AKSUserImpersonation) SetEgressFilter(v string)
- func (m *AKSUserImpersonation) SetName(v string)
- func (m *AKSUserImpersonation) SetSecretStoreID(v string)
- func (m *AKSUserImpersonation) SetTags(v Tags)
- type AWS
- func (m *AWS) GetBindInterface() string
- func (m *AWS) GetEgressFilter() string
- func (m *AWS) GetID() string
- func (m *AWS) GetName() string
- func (m *AWS) GetSecretStoreID() string
- func (m *AWS) GetTags() Tags
- func (m *AWS) SetBindInterface(v string)
- func (m *AWS) SetEgressFilter(v string)
- func (m *AWS) SetName(v string)
- func (m *AWS) SetSecretStoreID(v string)
- func (m *AWS) SetTags(v Tags)
- type AWSStore
- type AccessRule
- type AccessRules
- type Account
- type AccountAttachment
- type AccountAttachmentCreateResponse
- type AccountAttachmentDeleteResponse
- type AccountAttachmentGetResponse
- type AccountAttachmentIterator
- type AccountAttachments
- func (svc *AccountAttachments) Create(ctx context.Context, accountAttachment *AccountAttachment) (*AccountAttachmentCreateResponse, error)
- func (svc *AccountAttachments) Delete(ctx context.Context, id string) (*AccountAttachmentDeleteResponse, error)
- func (svc *AccountAttachments) Get(ctx context.Context, id string) (*AccountAttachmentGetResponse, error)
- func (svc *AccountAttachments) List(ctx context.Context, filter string, args ...interface{}) (AccountAttachmentIterator, error)
- type AccountCreateResponse
- type AccountDeleteResponse
- type AccountGetResponse
- type AccountGrant
- type AccountGrantCreateResponse
- type AccountGrantDeleteResponse
- type AccountGrantGetResponse
- type AccountGrantIterator
- type AccountGrants
- func (svc *AccountGrants) Create(ctx context.Context, accountGrant *AccountGrant) (*AccountGrantCreateResponse, error)
- func (svc *AccountGrants) Delete(ctx context.Context, id string) (*AccountGrantDeleteResponse, error)
- func (svc *AccountGrants) Get(ctx context.Context, id string) (*AccountGrantGetResponse, error)
- func (svc *AccountGrants) List(ctx context.Context, filter string, args ...interface{}) (AccountGrantIterator, error)
- type AccountIterator
- type AccountUpdateResponse
- type Accounts
- func (svc *Accounts) Create(ctx context.Context, account Account) (*AccountCreateResponse, error)
- func (svc *Accounts) Delete(ctx context.Context, id string) (*AccountDeleteResponse, error)
- func (svc *Accounts) Get(ctx context.Context, id string) (*AccountGetResponse, error)
- func (svc *Accounts) List(ctx context.Context, filter string, args ...interface{}) (AccountIterator, error)
- func (svc *Accounts) Update(ctx context.Context, account Account) (*AccountUpdateResponse, error)
- type AlreadyExistsError
- type AmazonEKS
- func (m *AmazonEKS) GetBindInterface() string
- func (m *AmazonEKS) GetEgressFilter() string
- func (m *AmazonEKS) GetID() string
- func (m *AmazonEKS) GetName() string
- func (m *AmazonEKS) GetSecretStoreID() string
- func (m *AmazonEKS) GetTags() Tags
- func (m *AmazonEKS) SetBindInterface(v string)
- func (m *AmazonEKS) SetEgressFilter(v string)
- func (m *AmazonEKS) SetName(v string)
- func (m *AmazonEKS) SetSecretStoreID(v string)
- func (m *AmazonEKS) SetTags(v Tags)
- type AmazonEKSUserImpersonation
- func (m *AmazonEKSUserImpersonation) GetBindInterface() string
- func (m *AmazonEKSUserImpersonation) GetEgressFilter() string
- func (m *AmazonEKSUserImpersonation) GetID() string
- func (m *AmazonEKSUserImpersonation) GetName() string
- func (m *AmazonEKSUserImpersonation) GetSecretStoreID() string
- func (m *AmazonEKSUserImpersonation) GetTags() Tags
- func (m *AmazonEKSUserImpersonation) SetBindInterface(v string)
- func (m *AmazonEKSUserImpersonation) SetEgressFilter(v string)
- func (m *AmazonEKSUserImpersonation) SetName(v string)
- func (m *AmazonEKSUserImpersonation) SetSecretStoreID(v string)
- func (m *AmazonEKSUserImpersonation) SetTags(v Tags)
- type AmazonES
- func (m *AmazonES) GetBindInterface() string
- func (m *AmazonES) GetEgressFilter() string
- func (m *AmazonES) GetID() string
- func (m *AmazonES) GetName() string
- func (m *AmazonES) GetSecretStoreID() string
- func (m *AmazonES) GetTags() Tags
- func (m *AmazonES) SetBindInterface(v string)
- func (m *AmazonES) SetEgressFilter(v string)
- func (m *AmazonES) SetName(v string)
- func (m *AmazonES) SetSecretStoreID(v string)
- func (m *AmazonES) SetTags(v Tags)
- type AmazonMQAMQP091
- func (m *AmazonMQAMQP091) GetBindInterface() string
- func (m *AmazonMQAMQP091) GetEgressFilter() string
- func (m *AmazonMQAMQP091) GetID() string
- func (m *AmazonMQAMQP091) GetName() string
- func (m *AmazonMQAMQP091) GetSecretStoreID() string
- func (m *AmazonMQAMQP091) GetTags() Tags
- func (m *AmazonMQAMQP091) SetBindInterface(v string)
- func (m *AmazonMQAMQP091) SetEgressFilter(v string)
- func (m *AmazonMQAMQP091) SetName(v string)
- func (m *AmazonMQAMQP091) SetSecretStoreID(v string)
- func (m *AmazonMQAMQP091) SetTags(v Tags)
- type Athena
- func (m *Athena) GetBindInterface() string
- func (m *Athena) GetEgressFilter() string
- func (m *Athena) GetID() string
- func (m *Athena) GetName() string
- func (m *Athena) GetSecretStoreID() string
- func (m *Athena) GetTags() Tags
- func (m *Athena) SetBindInterface(v string)
- func (m *Athena) SetEgressFilter(v string)
- func (m *Athena) SetName(v string)
- func (m *Athena) SetSecretStoreID(v string)
- func (m *Athena) SetTags(v Tags)
- type AuroraMysql
- func (m *AuroraMysql) GetBindInterface() string
- func (m *AuroraMysql) GetEgressFilter() string
- func (m *AuroraMysql) GetID() string
- func (m *AuroraMysql) GetName() string
- func (m *AuroraMysql) GetSecretStoreID() string
- func (m *AuroraMysql) GetTags() Tags
- func (m *AuroraMysql) SetBindInterface(v string)
- func (m *AuroraMysql) SetEgressFilter(v string)
- func (m *AuroraMysql) SetName(v string)
- func (m *AuroraMysql) SetSecretStoreID(v string)
- func (m *AuroraMysql) SetTags(v Tags)
- type AuroraPostgres
- func (m *AuroraPostgres) GetBindInterface() string
- func (m *AuroraPostgres) GetEgressFilter() string
- func (m *AuroraPostgres) GetID() string
- func (m *AuroraPostgres) GetName() string
- func (m *AuroraPostgres) GetSecretStoreID() string
- func (m *AuroraPostgres) GetTags() Tags
- func (m *AuroraPostgres) SetBindInterface(v string)
- func (m *AuroraPostgres) SetEgressFilter(v string)
- func (m *AuroraPostgres) SetName(v string)
- func (m *AuroraPostgres) SetSecretStoreID(v string)
- func (m *AuroraPostgres) SetTags(v Tags)
- type AuthenticationError
- type Azure
- func (m *Azure) GetBindInterface() string
- func (m *Azure) GetEgressFilter() string
- func (m *Azure) GetID() string
- func (m *Azure) GetName() string
- func (m *Azure) GetSecretStoreID() string
- func (m *Azure) GetTags() Tags
- func (m *Azure) SetBindInterface(v string)
- func (m *Azure) SetEgressFilter(v string)
- func (m *Azure) SetName(v string)
- func (m *Azure) SetSecretStoreID(v string)
- func (m *Azure) SetTags(v Tags)
- type AzureCertificate
- func (m *AzureCertificate) GetBindInterface() string
- func (m *AzureCertificate) GetEgressFilter() string
- func (m *AzureCertificate) GetID() string
- func (m *AzureCertificate) GetName() string
- func (m *AzureCertificate) GetSecretStoreID() string
- func (m *AzureCertificate) GetTags() Tags
- func (m *AzureCertificate) SetBindInterface(v string)
- func (m *AzureCertificate) SetEgressFilter(v string)
- func (m *AzureCertificate) SetName(v string)
- func (m *AzureCertificate) SetSecretStoreID(v string)
- func (m *AzureCertificate) SetTags(v Tags)
- type AzurePostgres
- func (m *AzurePostgres) GetBindInterface() string
- func (m *AzurePostgres) GetEgressFilter() string
- func (m *AzurePostgres) GetID() string
- func (m *AzurePostgres) GetName() string
- func (m *AzurePostgres) GetSecretStoreID() string
- func (m *AzurePostgres) GetTags() Tags
- func (m *AzurePostgres) SetBindInterface(v string)
- func (m *AzurePostgres) SetEgressFilter(v string)
- func (m *AzurePostgres) SetName(v string)
- func (m *AzurePostgres) SetSecretStoreID(v string)
- func (m *AzurePostgres) SetTags(v Tags)
- type AzureStore
- type BadRequestError
- type BigQuery
- func (m *BigQuery) GetBindInterface() string
- func (m *BigQuery) GetEgressFilter() string
- func (m *BigQuery) GetID() string
- func (m *BigQuery) GetName() string
- func (m *BigQuery) GetSecretStoreID() string
- func (m *BigQuery) GetTags() Tags
- func (m *BigQuery) SetBindInterface(v string)
- func (m *BigQuery) SetEgressFilter(v string)
- func (m *BigQuery) SetName(v string)
- func (m *BigQuery) SetSecretStoreID(v string)
- func (m *BigQuery) SetTags(v Tags)
- type Cassandra
- func (m *Cassandra) GetBindInterface() string
- func (m *Cassandra) GetEgressFilter() string
- func (m *Cassandra) GetID() string
- func (m *Cassandra) GetName() string
- func (m *Cassandra) GetSecretStoreID() string
- func (m *Cassandra) GetTags() Tags
- func (m *Cassandra) SetBindInterface(v string)
- func (m *Cassandra) SetEgressFilter(v string)
- func (m *Cassandra) SetName(v string)
- func (m *Cassandra) SetSecretStoreID(v string)
- func (m *Cassandra) SetTags(v Tags)
- type Citus
- func (m *Citus) GetBindInterface() string
- func (m *Citus) GetEgressFilter() string
- func (m *Citus) GetID() string
- func (m *Citus) GetName() string
- func (m *Citus) GetSecretStoreID() string
- func (m *Citus) GetTags() Tags
- func (m *Citus) SetBindInterface(v string)
- func (m *Citus) SetEgressFilter(v string)
- func (m *Citus) SetName(v string)
- func (m *Citus) SetSecretStoreID(v string)
- func (m *Citus) SetTags(v Tags)
- type Client
- func (c *Client) AccountAttachments() *AccountAttachments
- func (c *Client) AccountGrants() *AccountGrants
- func (c *Client) Accounts() *Accounts
- func (c *Client) ControlPanel() *ControlPanel
- func (c *Client) Nodes() *Nodes
- func (c *Client) RemoteIdentities() *RemoteIdentities
- func (c *Client) RemoteIdentityGroups() *RemoteIdentityGroups
- func (c *Client) Resources() *Resources
- func (c *Client) RoleAttachments() *RoleAttachmentsdeprecated
- func (c *Client) RoleGrants() *RoleGrantsdeprecated
- func (c *Client) Roles() *Roles
- func (c *Client) SecretStores() *SecretStores
- func (c *Client) Sign(methodName string, message []byte) string
- type ClientOption
- type Clustrix
- func (m *Clustrix) GetBindInterface() string
- func (m *Clustrix) GetEgressFilter() string
- func (m *Clustrix) GetID() string
- func (m *Clustrix) GetName() string
- func (m *Clustrix) GetSecretStoreID() string
- func (m *Clustrix) GetTags() Tags
- func (m *Clustrix) SetBindInterface(v string)
- func (m *Clustrix) SetEgressFilter(v string)
- func (m *Clustrix) SetName(v string)
- func (m *Clustrix) SetSecretStoreID(v string)
- func (m *Clustrix) SetTags(v Tags)
- type Cockroach
- func (m *Cockroach) GetBindInterface() string
- func (m *Cockroach) GetEgressFilter() string
- func (m *Cockroach) GetID() string
- func (m *Cockroach) GetName() string
- func (m *Cockroach) GetSecretStoreID() string
- func (m *Cockroach) GetTags() Tags
- func (m *Cockroach) SetBindInterface(v string)
- func (m *Cockroach) SetEgressFilter(v string)
- func (m *Cockroach) SetName(v string)
- func (m *Cockroach) SetSecretStoreID(v string)
- func (m *Cockroach) SetTags(v Tags)
- type ContextCanceledError
- type ControlPanel
- type ControlPanelGetSSHCAPublicKeyResponse
- type ControlPanelVerifyJWTResponse
- type CreateResponseMetadata
- type DB2I
- func (m *DB2I) GetBindInterface() string
- func (m *DB2I) GetEgressFilter() string
- func (m *DB2I) GetID() string
- func (m *DB2I) GetName() string
- func (m *DB2I) GetSecretStoreID() string
- func (m *DB2I) GetTags() Tags
- func (m *DB2I) SetBindInterface(v string)
- func (m *DB2I) SetEgressFilter(v string)
- func (m *DB2I) SetName(v string)
- func (m *DB2I) SetSecretStoreID(v string)
- func (m *DB2I) SetTags(v Tags)
- type DB2LUW
- func (m *DB2LUW) GetBindInterface() string
- func (m *DB2LUW) GetEgressFilter() string
- func (m *DB2LUW) GetID() string
- func (m *DB2LUW) GetName() string
- func (m *DB2LUW) GetSecretStoreID() string
- func (m *DB2LUW) GetTags() Tags
- func (m *DB2LUW) SetBindInterface(v string)
- func (m *DB2LUW) SetEgressFilter(v string)
- func (m *DB2LUW) SetName(v string)
- func (m *DB2LUW) SetSecretStoreID(v string)
- func (m *DB2LUW) SetTags(v Tags)
- type DeadlineExceededError
- type DeleteResponseMetadata
- type DocumentDBHost
- func (m *DocumentDBHost) GetBindInterface() string
- func (m *DocumentDBHost) GetEgressFilter() string
- func (m *DocumentDBHost) GetID() string
- func (m *DocumentDBHost) GetName() string
- func (m *DocumentDBHost) GetSecretStoreID() string
- func (m *DocumentDBHost) GetTags() Tags
- func (m *DocumentDBHost) SetBindInterface(v string)
- func (m *DocumentDBHost) SetEgressFilter(v string)
- func (m *DocumentDBHost) SetName(v string)
- func (m *DocumentDBHost) SetSecretStoreID(v string)
- func (m *DocumentDBHost) SetTags(v Tags)
- type DocumentDBReplicaSet
- func (m *DocumentDBReplicaSet) GetBindInterface() string
- func (m *DocumentDBReplicaSet) GetEgressFilter() string
- func (m *DocumentDBReplicaSet) GetID() string
- func (m *DocumentDBReplicaSet) GetName() string
- func (m *DocumentDBReplicaSet) GetSecretStoreID() string
- func (m *DocumentDBReplicaSet) GetTags() Tags
- func (m *DocumentDBReplicaSet) SetBindInterface(v string)
- func (m *DocumentDBReplicaSet) SetEgressFilter(v string)
- func (m *DocumentDBReplicaSet) SetName(v string)
- func (m *DocumentDBReplicaSet) SetSecretStoreID(v string)
- func (m *DocumentDBReplicaSet) SetTags(v Tags)
- type Druid
- func (m *Druid) GetBindInterface() string
- func (m *Druid) GetEgressFilter() string
- func (m *Druid) GetID() string
- func (m *Druid) GetName() string
- func (m *Druid) GetSecretStoreID() string
- func (m *Druid) GetTags() Tags
- func (m *Druid) SetBindInterface(v string)
- func (m *Druid) SetEgressFilter(v string)
- func (m *Druid) SetName(v string)
- func (m *Druid) SetSecretStoreID(v string)
- func (m *Druid) SetTags(v Tags)
- type DynamoDB
- func (m *DynamoDB) GetBindInterface() string
- func (m *DynamoDB) GetEgressFilter() string
- func (m *DynamoDB) GetID() string
- func (m *DynamoDB) GetName() string
- func (m *DynamoDB) GetSecretStoreID() string
- func (m *DynamoDB) GetTags() Tags
- func (m *DynamoDB) SetBindInterface(v string)
- func (m *DynamoDB) SetEgressFilter(v string)
- func (m *DynamoDB) SetName(v string)
- func (m *DynamoDB) SetSecretStoreID(v string)
- func (m *DynamoDB) SetTags(v Tags)
- type Elastic
- func (m *Elastic) GetBindInterface() string
- func (m *Elastic) GetEgressFilter() string
- func (m *Elastic) GetID() string
- func (m *Elastic) GetName() string
- func (m *Elastic) GetSecretStoreID() string
- func (m *Elastic) GetTags() Tags
- func (m *Elastic) SetBindInterface(v string)
- func (m *Elastic) SetEgressFilter(v string)
- func (m *Elastic) SetName(v string)
- func (m *Elastic) SetSecretStoreID(v string)
- func (m *Elastic) SetTags(v Tags)
- type ElasticacheRedis
- func (m *ElasticacheRedis) GetBindInterface() string
- func (m *ElasticacheRedis) GetEgressFilter() string
- func (m *ElasticacheRedis) GetID() string
- func (m *ElasticacheRedis) GetName() string
- func (m *ElasticacheRedis) GetSecretStoreID() string
- func (m *ElasticacheRedis) GetTags() Tags
- func (m *ElasticacheRedis) SetBindInterface(v string)
- func (m *ElasticacheRedis) SetEgressFilter(v string)
- func (m *ElasticacheRedis) SetName(v string)
- func (m *ElasticacheRedis) SetSecretStoreID(v string)
- func (m *ElasticacheRedis) SetTags(v Tags)
- type Error
- type GCP
- func (m *GCP) GetBindInterface() string
- func (m *GCP) GetEgressFilter() string
- func (m *GCP) GetID() string
- func (m *GCP) GetName() string
- func (m *GCP) GetSecretStoreID() string
- func (m *GCP) GetTags() Tags
- func (m *GCP) SetBindInterface(v string)
- func (m *GCP) SetEgressFilter(v string)
- func (m *GCP) SetName(v string)
- func (m *GCP) SetSecretStoreID(v string)
- func (m *GCP) SetTags(v Tags)
- type GCPStore
- type Gateway
- type GetResponseMetadata
- type GoogleGKE
- func (m *GoogleGKE) GetBindInterface() string
- func (m *GoogleGKE) GetEgressFilter() string
- func (m *GoogleGKE) GetID() string
- func (m *GoogleGKE) GetName() string
- func (m *GoogleGKE) GetSecretStoreID() string
- func (m *GoogleGKE) GetTags() Tags
- func (m *GoogleGKE) SetBindInterface(v string)
- func (m *GoogleGKE) SetEgressFilter(v string)
- func (m *GoogleGKE) SetName(v string)
- func (m *GoogleGKE) SetSecretStoreID(v string)
- func (m *GoogleGKE) SetTags(v Tags)
- type GoogleGKEUserImpersonation
- func (m *GoogleGKEUserImpersonation) GetBindInterface() string
- func (m *GoogleGKEUserImpersonation) GetEgressFilter() string
- func (m *GoogleGKEUserImpersonation) GetID() string
- func (m *GoogleGKEUserImpersonation) GetName() string
- func (m *GoogleGKEUserImpersonation) GetSecretStoreID() string
- func (m *GoogleGKEUserImpersonation) GetTags() Tags
- func (m *GoogleGKEUserImpersonation) SetBindInterface(v string)
- func (m *GoogleGKEUserImpersonation) SetEgressFilter(v string)
- func (m *GoogleGKEUserImpersonation) SetName(v string)
- func (m *GoogleGKEUserImpersonation) SetSecretStoreID(v string)
- func (m *GoogleGKEUserImpersonation) SetTags(v Tags)
- type Greenplum
- func (m *Greenplum) GetBindInterface() string
- func (m *Greenplum) GetEgressFilter() string
- func (m *Greenplum) GetID() string
- func (m *Greenplum) GetName() string
- func (m *Greenplum) GetSecretStoreID() string
- func (m *Greenplum) GetTags() Tags
- func (m *Greenplum) SetBindInterface(v string)
- func (m *Greenplum) SetEgressFilter(v string)
- func (m *Greenplum) SetName(v string)
- func (m *Greenplum) SetSecretStoreID(v string)
- func (m *Greenplum) SetTags(v Tags)
- type HTTPAuth
- func (m *HTTPAuth) GetBindInterface() string
- func (m *HTTPAuth) GetEgressFilter() string
- func (m *HTTPAuth) GetID() string
- func (m *HTTPAuth) GetName() string
- func (m *HTTPAuth) GetSecretStoreID() string
- func (m *HTTPAuth) GetTags() Tags
- func (m *HTTPAuth) SetBindInterface(v string)
- func (m *HTTPAuth) SetEgressFilter(v string)
- func (m *HTTPAuth) SetName(v string)
- func (m *HTTPAuth) SetSecretStoreID(v string)
- func (m *HTTPAuth) SetTags(v Tags)
- type HTTPBasicAuth
- func (m *HTTPBasicAuth) GetBindInterface() string
- func (m *HTTPBasicAuth) GetEgressFilter() string
- func (m *HTTPBasicAuth) GetID() string
- func (m *HTTPBasicAuth) GetName() string
- func (m *HTTPBasicAuth) GetSecretStoreID() string
- func (m *HTTPBasicAuth) GetTags() Tags
- func (m *HTTPBasicAuth) SetBindInterface(v string)
- func (m *HTTPBasicAuth) SetEgressFilter(v string)
- func (m *HTTPBasicAuth) SetName(v string)
- func (m *HTTPBasicAuth) SetSecretStoreID(v string)
- func (m *HTTPBasicAuth) SetTags(v Tags)
- type HTTPNoAuth
- func (m *HTTPNoAuth) GetBindInterface() string
- func (m *HTTPNoAuth) GetEgressFilter() string
- func (m *HTTPNoAuth) GetID() string
- func (m *HTTPNoAuth) GetName() string
- func (m *HTTPNoAuth) GetSecretStoreID() string
- func (m *HTTPNoAuth) GetTags() Tags
- func (m *HTTPNoAuth) SetBindInterface(v string)
- func (m *HTTPNoAuth) SetEgressFilter(v string)
- func (m *HTTPNoAuth) SetName(v string)
- func (m *HTTPNoAuth) SetSecretStoreID(v string)
- func (m *HTTPNoAuth) SetTags(v Tags)
- type InternalError
- type Kubernetes
- func (m *Kubernetes) GetBindInterface() string
- func (m *Kubernetes) GetEgressFilter() string
- func (m *Kubernetes) GetID() string
- func (m *Kubernetes) GetName() string
- func (m *Kubernetes) GetSecretStoreID() string
- func (m *Kubernetes) GetTags() Tags
- func (m *Kubernetes) SetBindInterface(v string)
- func (m *Kubernetes) SetEgressFilter(v string)
- func (m *Kubernetes) SetName(v string)
- func (m *Kubernetes) SetSecretStoreID(v string)
- func (m *Kubernetes) SetTags(v Tags)
- type KubernetesBasicAuth
- func (m *KubernetesBasicAuth) GetBindInterface() string
- func (m *KubernetesBasicAuth) GetEgressFilter() string
- func (m *KubernetesBasicAuth) GetID() string
- func (m *KubernetesBasicAuth) GetName() string
- func (m *KubernetesBasicAuth) GetSecretStoreID() string
- func (m *KubernetesBasicAuth) GetTags() Tags
- func (m *KubernetesBasicAuth) SetBindInterface(v string)
- func (m *KubernetesBasicAuth) SetEgressFilter(v string)
- func (m *KubernetesBasicAuth) SetName(v string)
- func (m *KubernetesBasicAuth) SetSecretStoreID(v string)
- func (m *KubernetesBasicAuth) SetTags(v Tags)
- type KubernetesServiceAccount
- func (m *KubernetesServiceAccount) GetBindInterface() string
- func (m *KubernetesServiceAccount) GetEgressFilter() string
- func (m *KubernetesServiceAccount) GetID() string
- func (m *KubernetesServiceAccount) GetName() string
- func (m *KubernetesServiceAccount) GetSecretStoreID() string
- func (m *KubernetesServiceAccount) GetTags() Tags
- func (m *KubernetesServiceAccount) SetBindInterface(v string)
- func (m *KubernetesServiceAccount) SetEgressFilter(v string)
- func (m *KubernetesServiceAccount) SetName(v string)
- func (m *KubernetesServiceAccount) SetSecretStoreID(v string)
- func (m *KubernetesServiceAccount) SetTags(v Tags)
- type KubernetesServiceAccountUserImpersonation
- func (m *KubernetesServiceAccountUserImpersonation) GetBindInterface() string
- func (m *KubernetesServiceAccountUserImpersonation) GetEgressFilter() string
- func (m *KubernetesServiceAccountUserImpersonation) GetID() string
- func (m *KubernetesServiceAccountUserImpersonation) GetName() string
- func (m *KubernetesServiceAccountUserImpersonation) GetSecretStoreID() string
- func (m *KubernetesServiceAccountUserImpersonation) GetTags() Tags
- func (m *KubernetesServiceAccountUserImpersonation) SetBindInterface(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetEgressFilter(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetName(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetSecretStoreID(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetTags(v Tags)
- type KubernetesUserImpersonation
- func (m *KubernetesUserImpersonation) GetBindInterface() string
- func (m *KubernetesUserImpersonation) GetEgressFilter() string
- func (m *KubernetesUserImpersonation) GetID() string
- func (m *KubernetesUserImpersonation) GetName() string
- func (m *KubernetesUserImpersonation) GetSecretStoreID() string
- func (m *KubernetesUserImpersonation) GetTags() Tags
- func (m *KubernetesUserImpersonation) SetBindInterface(v string)
- func (m *KubernetesUserImpersonation) SetEgressFilter(v string)
- func (m *KubernetesUserImpersonation) SetName(v string)
- func (m *KubernetesUserImpersonation) SetSecretStoreID(v string)
- func (m *KubernetesUserImpersonation) SetTags(v Tags)
- type MTLSMysql
- func (m *MTLSMysql) GetBindInterface() string
- func (m *MTLSMysql) GetEgressFilter() string
- func (m *MTLSMysql) GetID() string
- func (m *MTLSMysql) GetName() string
- func (m *MTLSMysql) GetSecretStoreID() string
- func (m *MTLSMysql) GetTags() Tags
- func (m *MTLSMysql) SetBindInterface(v string)
- func (m *MTLSMysql) SetEgressFilter(v string)
- func (m *MTLSMysql) SetName(v string)
- func (m *MTLSMysql) SetSecretStoreID(v string)
- func (m *MTLSMysql) SetTags(v Tags)
- type MTLSPostgres
- func (m *MTLSPostgres) GetBindInterface() string
- func (m *MTLSPostgres) GetEgressFilter() string
- func (m *MTLSPostgres) GetID() string
- func (m *MTLSPostgres) GetName() string
- func (m *MTLSPostgres) GetSecretStoreID() string
- func (m *MTLSPostgres) GetTags() Tags
- func (m *MTLSPostgres) SetBindInterface(v string)
- func (m *MTLSPostgres) SetEgressFilter(v string)
- func (m *MTLSPostgres) SetName(v string)
- func (m *MTLSPostgres) SetSecretStoreID(v string)
- func (m *MTLSPostgres) SetTags(v Tags)
- type Maria
- func (m *Maria) GetBindInterface() string
- func (m *Maria) GetEgressFilter() string
- func (m *Maria) GetID() string
- func (m *Maria) GetName() string
- func (m *Maria) GetSecretStoreID() string
- func (m *Maria) GetTags() Tags
- func (m *Maria) SetBindInterface(v string)
- func (m *Maria) SetEgressFilter(v string)
- func (m *Maria) SetName(v string)
- func (m *Maria) SetSecretStoreID(v string)
- func (m *Maria) SetTags(v Tags)
- type Memcached
- func (m *Memcached) GetBindInterface() string
- func (m *Memcached) GetEgressFilter() string
- func (m *Memcached) GetID() string
- func (m *Memcached) GetName() string
- func (m *Memcached) GetSecretStoreID() string
- func (m *Memcached) GetTags() Tags
- func (m *Memcached) SetBindInterface(v string)
- func (m *Memcached) SetEgressFilter(v string)
- func (m *Memcached) SetName(v string)
- func (m *Memcached) SetSecretStoreID(v string)
- func (m *Memcached) SetTags(v Tags)
- type Memsql
- func (m *Memsql) GetBindInterface() string
- func (m *Memsql) GetEgressFilter() string
- func (m *Memsql) GetID() string
- func (m *Memsql) GetName() string
- func (m *Memsql) GetSecretStoreID() string
- func (m *Memsql) GetTags() Tags
- func (m *Memsql) SetBindInterface(v string)
- func (m *Memsql) SetEgressFilter(v string)
- func (m *Memsql) SetName(v string)
- func (m *Memsql) SetSecretStoreID(v string)
- func (m *Memsql) SetTags(v Tags)
- type MongoHost
- func (m *MongoHost) GetBindInterface() string
- func (m *MongoHost) GetEgressFilter() string
- func (m *MongoHost) GetID() string
- func (m *MongoHost) GetName() string
- func (m *MongoHost) GetSecretStoreID() string
- func (m *MongoHost) GetTags() Tags
- func (m *MongoHost) SetBindInterface(v string)
- func (m *MongoHost) SetEgressFilter(v string)
- func (m *MongoHost) SetName(v string)
- func (m *MongoHost) SetSecretStoreID(v string)
- func (m *MongoHost) SetTags(v Tags)
- type MongoLegacyHost
- func (m *MongoLegacyHost) GetBindInterface() string
- func (m *MongoLegacyHost) GetEgressFilter() string
- func (m *MongoLegacyHost) GetID() string
- func (m *MongoLegacyHost) GetName() string
- func (m *MongoLegacyHost) GetSecretStoreID() string
- func (m *MongoLegacyHost) GetTags() Tags
- func (m *MongoLegacyHost) SetBindInterface(v string)
- func (m *MongoLegacyHost) SetEgressFilter(v string)
- func (m *MongoLegacyHost) SetName(v string)
- func (m *MongoLegacyHost) SetSecretStoreID(v string)
- func (m *MongoLegacyHost) SetTags(v Tags)
- type MongoLegacyReplicaset
- func (m *MongoLegacyReplicaset) GetBindInterface() string
- func (m *MongoLegacyReplicaset) GetEgressFilter() string
- func (m *MongoLegacyReplicaset) GetID() string
- func (m *MongoLegacyReplicaset) GetName() string
- func (m *MongoLegacyReplicaset) GetSecretStoreID() string
- func (m *MongoLegacyReplicaset) GetTags() Tags
- func (m *MongoLegacyReplicaset) SetBindInterface(v string)
- func (m *MongoLegacyReplicaset) SetEgressFilter(v string)
- func (m *MongoLegacyReplicaset) SetName(v string)
- func (m *MongoLegacyReplicaset) SetSecretStoreID(v string)
- func (m *MongoLegacyReplicaset) SetTags(v Tags)
- type MongoReplicaSet
- func (m *MongoReplicaSet) GetBindInterface() string
- func (m *MongoReplicaSet) GetEgressFilter() string
- func (m *MongoReplicaSet) GetID() string
- func (m *MongoReplicaSet) GetName() string
- func (m *MongoReplicaSet) GetSecretStoreID() string
- func (m *MongoReplicaSet) GetTags() Tags
- func (m *MongoReplicaSet) SetBindInterface(v string)
- func (m *MongoReplicaSet) SetEgressFilter(v string)
- func (m *MongoReplicaSet) SetName(v string)
- func (m *MongoReplicaSet) SetSecretStoreID(v string)
- func (m *MongoReplicaSet) SetTags(v Tags)
- type MongoShardedCluster
- func (m *MongoShardedCluster) GetBindInterface() string
- func (m *MongoShardedCluster) GetEgressFilter() string
- func (m *MongoShardedCluster) GetID() string
- func (m *MongoShardedCluster) GetName() string
- func (m *MongoShardedCluster) GetSecretStoreID() string
- func (m *MongoShardedCluster) GetTags() Tags
- func (m *MongoShardedCluster) SetBindInterface(v string)
- func (m *MongoShardedCluster) SetEgressFilter(v string)
- func (m *MongoShardedCluster) SetName(v string)
- func (m *MongoShardedCluster) SetSecretStoreID(v string)
- func (m *MongoShardedCluster) SetTags(v Tags)
- type Mysql
- func (m *Mysql) GetBindInterface() string
- func (m *Mysql) GetEgressFilter() string
- func (m *Mysql) GetID() string
- func (m *Mysql) GetName() string
- func (m *Mysql) GetSecretStoreID() string
- func (m *Mysql) GetTags() Tags
- func (m *Mysql) SetBindInterface(v string)
- func (m *Mysql) SetEgressFilter(v string)
- func (m *Mysql) SetName(v string)
- func (m *Mysql) SetSecretStoreID(v string)
- func (m *Mysql) SetTags(v Tags)
- type Neptune
- func (m *Neptune) GetBindInterface() string
- func (m *Neptune) GetEgressFilter() string
- func (m *Neptune) GetID() string
- func (m *Neptune) GetName() string
- func (m *Neptune) GetSecretStoreID() string
- func (m *Neptune) GetTags() Tags
- func (m *Neptune) SetBindInterface(v string)
- func (m *Neptune) SetEgressFilter(v string)
- func (m *Neptune) SetName(v string)
- func (m *Neptune) SetSecretStoreID(v string)
- func (m *Neptune) SetTags(v Tags)
- type NeptuneIAM
- func (m *NeptuneIAM) GetBindInterface() string
- func (m *NeptuneIAM) GetEgressFilter() string
- func (m *NeptuneIAM) GetID() string
- func (m *NeptuneIAM) GetName() string
- func (m *NeptuneIAM) GetSecretStoreID() string
- func (m *NeptuneIAM) GetTags() Tags
- func (m *NeptuneIAM) SetBindInterface(v string)
- func (m *NeptuneIAM) SetEgressFilter(v string)
- func (m *NeptuneIAM) SetName(v string)
- func (m *NeptuneIAM) SetSecretStoreID(v string)
- func (m *NeptuneIAM) SetTags(v Tags)
- type Node
- type NodeCreateResponse
- type NodeDeleteResponse
- type NodeGetResponse
- type NodeIterator
- type NodeUpdateResponse
- type Nodes
- func (svc *Nodes) Create(ctx context.Context, node Node) (*NodeCreateResponse, error)
- func (svc *Nodes) Delete(ctx context.Context, id string) (*NodeDeleteResponse, error)
- func (svc *Nodes) Get(ctx context.Context, id string) (*NodeGetResponse, error)
- func (svc *Nodes) List(ctx context.Context, filter string, args ...interface{}) (NodeIterator, error)
- func (svc *Nodes) Update(ctx context.Context, node Node) (*NodeUpdateResponse, error)
- type NotFoundError
- type Oracle
- func (m *Oracle) GetBindInterface() string
- func (m *Oracle) GetEgressFilter() string
- func (m *Oracle) GetID() string
- func (m *Oracle) GetName() string
- func (m *Oracle) GetSecretStoreID() string
- func (m *Oracle) GetTags() Tags
- func (m *Oracle) SetBindInterface(v string)
- func (m *Oracle) SetEgressFilter(v string)
- func (m *Oracle) SetName(v string)
- func (m *Oracle) SetSecretStoreID(v string)
- func (m *Oracle) SetTags(v Tags)
- type PermissionError
- type Postgres
- func (m *Postgres) GetBindInterface() string
- func (m *Postgres) GetEgressFilter() string
- func (m *Postgres) GetID() string
- func (m *Postgres) GetName() string
- func (m *Postgres) GetSecretStoreID() string
- func (m *Postgres) GetTags() Tags
- func (m *Postgres) SetBindInterface(v string)
- func (m *Postgres) SetEgressFilter(v string)
- func (m *Postgres) SetName(v string)
- func (m *Postgres) SetSecretStoreID(v string)
- func (m *Postgres) SetTags(v Tags)
- type Presto
- func (m *Presto) GetBindInterface() string
- func (m *Presto) GetEgressFilter() string
- func (m *Presto) GetID() string
- func (m *Presto) GetName() string
- func (m *Presto) GetSecretStoreID() string
- func (m *Presto) GetTags() Tags
- func (m *Presto) SetBindInterface(v string)
- func (m *Presto) SetEgressFilter(v string)
- func (m *Presto) SetName(v string)
- func (m *Presto) SetSecretStoreID(v string)
- func (m *Presto) SetTags(v Tags)
- type RDP
- func (m *RDP) GetBindInterface() string
- func (m *RDP) GetEgressFilter() string
- func (m *RDP) GetID() string
- func (m *RDP) GetName() string
- func (m *RDP) GetSecretStoreID() string
- func (m *RDP) GetTags() Tags
- func (m *RDP) SetBindInterface(v string)
- func (m *RDP) SetEgressFilter(v string)
- func (m *RDP) SetName(v string)
- func (m *RDP) SetSecretStoreID(v string)
- func (m *RDP) SetTags(v Tags)
- type RabbitMQAMQP091
- func (m *RabbitMQAMQP091) GetBindInterface() string
- func (m *RabbitMQAMQP091) GetEgressFilter() string
- func (m *RabbitMQAMQP091) GetID() string
- func (m *RabbitMQAMQP091) GetName() string
- func (m *RabbitMQAMQP091) GetSecretStoreID() string
- func (m *RabbitMQAMQP091) GetTags() Tags
- func (m *RabbitMQAMQP091) SetBindInterface(v string)
- func (m *RabbitMQAMQP091) SetEgressFilter(v string)
- func (m *RabbitMQAMQP091) SetName(v string)
- func (m *RabbitMQAMQP091) SetSecretStoreID(v string)
- func (m *RabbitMQAMQP091) SetTags(v Tags)
- type RateLimitError
- type RateLimitMetadata
- type RawTCP
- func (m *RawTCP) GetBindInterface() string
- func (m *RawTCP) GetEgressFilter() string
- func (m *RawTCP) GetID() string
- func (m *RawTCP) GetName() string
- func (m *RawTCP) GetSecretStoreID() string
- func (m *RawTCP) GetTags() Tags
- func (m *RawTCP) SetBindInterface(v string)
- func (m *RawTCP) SetEgressFilter(v string)
- func (m *RawTCP) SetName(v string)
- func (m *RawTCP) SetSecretStoreID(v string)
- func (m *RawTCP) SetTags(v Tags)
- type Redis
- func (m *Redis) GetBindInterface() string
- func (m *Redis) GetEgressFilter() string
- func (m *Redis) GetID() string
- func (m *Redis) GetName() string
- func (m *Redis) GetSecretStoreID() string
- func (m *Redis) GetTags() Tags
- func (m *Redis) SetBindInterface(v string)
- func (m *Redis) SetEgressFilter(v string)
- func (m *Redis) SetName(v string)
- func (m *Redis) SetSecretStoreID(v string)
- func (m *Redis) SetTags(v Tags)
- type Redshift
- func (m *Redshift) GetBindInterface() string
- func (m *Redshift) GetEgressFilter() string
- func (m *Redshift) GetID() string
- func (m *Redshift) GetName() string
- func (m *Redshift) GetSecretStoreID() string
- func (m *Redshift) GetTags() Tags
- func (m *Redshift) SetBindInterface(v string)
- func (m *Redshift) SetEgressFilter(v string)
- func (m *Redshift) SetName(v string)
- func (m *Redshift) SetSecretStoreID(v string)
- func (m *Redshift) SetTags(v Tags)
- type Relay
- type RemoteIdentities
- func (svc *RemoteIdentities) Create(ctx context.Context, remoteIdentity *RemoteIdentity) (*RemoteIdentityCreateResponse, error)
- func (svc *RemoteIdentities) Delete(ctx context.Context, id string) (*RemoteIdentityDeleteResponse, error)
- func (svc *RemoteIdentities) Get(ctx context.Context, id string) (*RemoteIdentityGetResponse, error)
- func (svc *RemoteIdentities) List(ctx context.Context, filter string, args ...interface{}) (RemoteIdentityIterator, error)
- func (svc *RemoteIdentities) Update(ctx context.Context, remoteIdentity *RemoteIdentity) (*RemoteIdentityUpdateResponse, error)
- type RemoteIdentity
- type RemoteIdentityCreateResponse
- type RemoteIdentityDeleteResponse
- type RemoteIdentityGetResponse
- type RemoteIdentityGroup
- type RemoteIdentityGroupGetResponse
- type RemoteIdentityGroupIterator
- type RemoteIdentityGroups
- type RemoteIdentityIterator
- type RemoteIdentityUpdateResponse
- type Resource
- type ResourceCreateResponse
- type ResourceDeleteResponse
- type ResourceGetResponse
- type ResourceIterator
- type ResourceUpdateResponse
- type Resources
- func (svc *Resources) Create(ctx context.Context, resource Resource) (*ResourceCreateResponse, error)
- func (svc *Resources) Delete(ctx context.Context, id string) (*ResourceDeleteResponse, error)
- func (svc *Resources) EnumerateTags(ctx context.Context, filter string, args ...interface{}) (TagIterator, error)
- func (svc *Resources) Get(ctx context.Context, id string) (*ResourceGetResponse, error)
- func (svc *Resources) List(ctx context.Context, filter string, args ...interface{}) (ResourceIterator, error)
- func (svc *Resources) Update(ctx context.Context, resource Resource) (*ResourceUpdateResponse, error)
- type Role
- type RoleAttachmentdeprecated
- type RoleAttachmentCreateResponsedeprecated
- type RoleAttachmentDeleteResponsedeprecated
- type RoleAttachmentGetResponsedeprecated
- type RoleAttachmentIterator
- type RoleAttachmentsdeprecated
- func (svc *RoleAttachments) Create(ctx context.Context, roleAttachment *RoleAttachment) (*RoleAttachmentCreateResponse, error)deprecated
- func (svc *RoleAttachments) Delete(ctx context.Context, id string) (*RoleAttachmentDeleteResponse, error)deprecated
- func (svc *RoleAttachments) Get(ctx context.Context, id string) (*RoleAttachmentGetResponse, error)deprecated
- func (svc *RoleAttachments) List(ctx context.Context, filter string, args ...interface{}) (RoleAttachmentIterator, error)deprecated
- type RoleCreateResponse
- type RoleDeleteResponse
- type RoleGetResponse
- type RoleGrantdeprecated
- type RoleGrantCreateResponsedeprecated
- type RoleGrantDeleteResponsedeprecated
- type RoleGrantGetResponsedeprecated
- type RoleGrantIterator
- type RoleGrantsdeprecated
- func (svc *RoleGrants) Create(ctx context.Context, roleGrant *RoleGrant) (*RoleGrantCreateResponse, error)deprecated
- func (svc *RoleGrants) Delete(ctx context.Context, id string) (*RoleGrantDeleteResponse, error)deprecated
- func (svc *RoleGrants) Get(ctx context.Context, id string) (*RoleGrantGetResponse, error)deprecated
- func (svc *RoleGrants) List(ctx context.Context, filter string, args ...interface{}) (RoleGrantIterator, error)deprecated
- type RoleIterator
- type RoleUpdateResponse
- type Roles
- func (svc *Roles) Create(ctx context.Context, role *Role) (*RoleCreateResponse, error)
- func (svc *Roles) Delete(ctx context.Context, id string) (*RoleDeleteResponse, error)
- func (svc *Roles) Get(ctx context.Context, id string) (*RoleGetResponse, error)
- func (svc *Roles) List(ctx context.Context, filter string, args ...interface{}) (RoleIterator, error)
- func (svc *Roles) Update(ctx context.Context, role *Role) (*RoleUpdateResponse, error)
- type SQLServer
- func (m *SQLServer) GetBindInterface() string
- func (m *SQLServer) GetEgressFilter() string
- func (m *SQLServer) GetID() string
- func (m *SQLServer) GetName() string
- func (m *SQLServer) GetSecretStoreID() string
- func (m *SQLServer) GetTags() Tags
- func (m *SQLServer) SetBindInterface(v string)
- func (m *SQLServer) SetEgressFilter(v string)
- func (m *SQLServer) SetName(v string)
- func (m *SQLServer) SetSecretStoreID(v string)
- func (m *SQLServer) SetTags(v Tags)
- type SSH
- func (m *SSH) GetBindInterface() string
- func (m *SSH) GetEgressFilter() string
- func (m *SSH) GetID() string
- func (m *SSH) GetName() string
- func (m *SSH) GetSecretStoreID() string
- func (m *SSH) GetTags() Tags
- func (m *SSH) SetBindInterface(v string)
- func (m *SSH) SetEgressFilter(v string)
- func (m *SSH) SetName(v string)
- func (m *SSH) SetSecretStoreID(v string)
- func (m *SSH) SetTags(v Tags)
- type SSHCert
- func (m *SSHCert) GetBindInterface() string
- func (m *SSHCert) GetEgressFilter() string
- func (m *SSHCert) GetID() string
- func (m *SSHCert) GetName() string
- func (m *SSHCert) GetSecretStoreID() string
- func (m *SSHCert) GetTags() Tags
- func (m *SSHCert) SetBindInterface(v string)
- func (m *SSHCert) SetEgressFilter(v string)
- func (m *SSHCert) SetName(v string)
- func (m *SSHCert) SetSecretStoreID(v string)
- func (m *SSHCert) SetTags(v Tags)
- type SSHCustomerKey
- func (m *SSHCustomerKey) GetBindInterface() string
- func (m *SSHCustomerKey) GetEgressFilter() string
- func (m *SSHCustomerKey) GetID() string
- func (m *SSHCustomerKey) GetName() string
- func (m *SSHCustomerKey) GetSecretStoreID() string
- func (m *SSHCustomerKey) GetTags() Tags
- func (m *SSHCustomerKey) SetBindInterface(v string)
- func (m *SSHCustomerKey) SetEgressFilter(v string)
- func (m *SSHCustomerKey) SetName(v string)
- func (m *SSHCustomerKey) SetSecretStoreID(v string)
- func (m *SSHCustomerKey) SetTags(v Tags)
- type SecretStore
- type SecretStoreCreateResponse
- type SecretStoreDeleteResponse
- type SecretStoreGetResponse
- type SecretStoreIterator
- type SecretStoreUpdateResponse
- type SecretStores
- func (svc *SecretStores) Create(ctx context.Context, secretStore SecretStore) (*SecretStoreCreateResponse, error)
- func (svc *SecretStores) Delete(ctx context.Context, id string) (*SecretStoreDeleteResponse, error)
- func (svc *SecretStores) Get(ctx context.Context, id string) (*SecretStoreGetResponse, error)
- func (svc *SecretStores) List(ctx context.Context, filter string, args ...interface{}) (SecretStoreIterator, error)
- func (svc *SecretStores) Update(ctx context.Context, secretStore SecretStore) (*SecretStoreUpdateResponse, error)
- type Service
- type SingleStore
- func (m *SingleStore) GetBindInterface() string
- func (m *SingleStore) GetEgressFilter() string
- func (m *SingleStore) GetID() string
- func (m *SingleStore) GetName() string
- func (m *SingleStore) GetSecretStoreID() string
- func (m *SingleStore) GetTags() Tags
- func (m *SingleStore) SetBindInterface(v string)
- func (m *SingleStore) SetEgressFilter(v string)
- func (m *SingleStore) SetName(v string)
- func (m *SingleStore) SetSecretStoreID(v string)
- func (m *SingleStore) SetTags(v Tags)
- type Snowflake
- func (m *Snowflake) GetBindInterface() string
- func (m *Snowflake) GetEgressFilter() string
- func (m *Snowflake) GetID() string
- func (m *Snowflake) GetName() string
- func (m *Snowflake) GetSecretStoreID() string
- func (m *Snowflake) GetTags() Tags
- func (m *Snowflake) SetBindInterface(v string)
- func (m *Snowflake) SetEgressFilter(v string)
- func (m *Snowflake) SetName(v string)
- func (m *Snowflake) SetSecretStoreID(v string)
- func (m *Snowflake) SetTags(v Tags)
- type Sybase
- func (m *Sybase) GetBindInterface() string
- func (m *Sybase) GetEgressFilter() string
- func (m *Sybase) GetID() string
- func (m *Sybase) GetName() string
- func (m *Sybase) GetSecretStoreID() string
- func (m *Sybase) GetTags() Tags
- func (m *Sybase) SetBindInterface(v string)
- func (m *Sybase) SetEgressFilter(v string)
- func (m *Sybase) SetName(v string)
- func (m *Sybase) SetSecretStoreID(v string)
- func (m *Sybase) SetTags(v Tags)
- type SybaseIQ
- func (m *SybaseIQ) GetBindInterface() string
- func (m *SybaseIQ) GetEgressFilter() string
- func (m *SybaseIQ) GetID() string
- func (m *SybaseIQ) GetName() string
- func (m *SybaseIQ) GetSecretStoreID() string
- func (m *SybaseIQ) GetTags() Tags
- func (m *SybaseIQ) SetBindInterface(v string)
- func (m *SybaseIQ) SetEgressFilter(v string)
- func (m *SybaseIQ) SetName(v string)
- func (m *SybaseIQ) SetSecretStoreID(v string)
- func (m *SybaseIQ) SetTags(v Tags)
- type Tag
- type TagIterator
- type Tags
- type Teradata
- func (m *Teradata) GetBindInterface() string
- func (m *Teradata) GetEgressFilter() string
- func (m *Teradata) GetID() string
- func (m *Teradata) GetName() string
- func (m *Teradata) GetSecretStoreID() string
- func (m *Teradata) GetTags() Tags
- func (m *Teradata) SetBindInterface(v string)
- func (m *Teradata) SetEgressFilter(v string)
- func (m *Teradata) SetName(v string)
- func (m *Teradata) SetSecretStoreID(v string)
- func (m *Teradata) SetTags(v Tags)
- type UnknownError
- type UpdateResponseMetadata
- type User
- type VaultAppRoleStore
- type VaultTLSStore
- type VaultTokenStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKS ¶
type AKS struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AKS) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the AKS.
func (*AKS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AKS.
func (*AKS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AKS.
func (*AKS) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the AKS.
func (*AKS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AKS.
func (*AKS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AKS.
type AKSBasicAuth ¶
type AKSBasicAuth struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*AKSBasicAuth) GetBindInterface ¶ added in v2.3.0
func (m *AKSBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSBasicAuth.
func (*AKSBasicAuth) GetEgressFilter ¶
func (m *AKSBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSBasicAuth.
func (*AKSBasicAuth) GetID ¶
func (m *AKSBasicAuth) GetID() string
GetID returns the unique identifier of the AKSBasicAuth.
func (*AKSBasicAuth) GetName ¶
func (m *AKSBasicAuth) GetName() string
GetName returns the name of the AKSBasicAuth.
func (*AKSBasicAuth) GetSecretStoreID ¶
func (m *AKSBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSBasicAuth.
func (*AKSBasicAuth) GetTags ¶
func (m *AKSBasicAuth) GetTags() Tags
GetTags returns the tags of the AKSBasicAuth.
func (*AKSBasicAuth) SetBindInterface ¶ added in v2.3.0
func (m *AKSBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSBasicAuth.
func (*AKSBasicAuth) SetEgressFilter ¶
func (m *AKSBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSBasicAuth.
func (*AKSBasicAuth) SetName ¶
func (m *AKSBasicAuth) SetName(v string)
SetName sets the name of the AKSBasicAuth.
func (*AKSBasicAuth) SetSecretStoreID ¶
func (m *AKSBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSBasicAuth.
func (*AKSBasicAuth) SetTags ¶
func (m *AKSBasicAuth) SetTags(v Tags)
SetTags sets the tags of the AKSBasicAuth.
type AKSServiceAccount ¶
type AKSServiceAccount struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Token string `json:"token"` }
func (*AKSServiceAccount) GetBindInterface ¶ added in v2.3.0
func (m *AKSServiceAccount) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSServiceAccount.
func (*AKSServiceAccount) GetEgressFilter ¶
func (m *AKSServiceAccount) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSServiceAccount.
func (*AKSServiceAccount) GetID ¶
func (m *AKSServiceAccount) GetID() string
GetID returns the unique identifier of the AKSServiceAccount.
func (*AKSServiceAccount) GetName ¶
func (m *AKSServiceAccount) GetName() string
GetName returns the name of the AKSServiceAccount.
func (*AKSServiceAccount) GetSecretStoreID ¶
func (m *AKSServiceAccount) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSServiceAccount.
func (*AKSServiceAccount) GetTags ¶
func (m *AKSServiceAccount) GetTags() Tags
GetTags returns the tags of the AKSServiceAccount.
func (*AKSServiceAccount) SetBindInterface ¶ added in v2.3.0
func (m *AKSServiceAccount) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSServiceAccount.
func (*AKSServiceAccount) SetEgressFilter ¶
func (m *AKSServiceAccount) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSServiceAccount.
func (*AKSServiceAccount) SetName ¶
func (m *AKSServiceAccount) SetName(v string)
SetName sets the name of the AKSServiceAccount.
func (*AKSServiceAccount) SetSecretStoreID ¶
func (m *AKSServiceAccount) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSServiceAccount.
func (*AKSServiceAccount) SetTags ¶
func (m *AKSServiceAccount) SetTags(v Tags)
SetTags sets the tags of the AKSServiceAccount.
type AKSServiceAccountUserImpersonation ¶
type AKSServiceAccountUserImpersonation struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Token string `json:"token"` }
func (*AKSServiceAccountUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *AKSServiceAccountUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetEgressFilter ¶
func (m *AKSServiceAccountUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetID ¶
func (m *AKSServiceAccountUserImpersonation) GetID() string
GetID returns the unique identifier of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetName ¶
func (m *AKSServiceAccountUserImpersonation) GetName() string
GetName returns the name of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetSecretStoreID ¶
func (m *AKSServiceAccountUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetTags ¶
func (m *AKSServiceAccountUserImpersonation) GetTags() Tags
GetTags returns the tags of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *AKSServiceAccountUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetEgressFilter ¶
func (m *AKSServiceAccountUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetName ¶
func (m *AKSServiceAccountUserImpersonation) SetName(v string)
SetName sets the name of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetSecretStoreID ¶
func (m *AKSServiceAccountUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetTags ¶
func (m *AKSServiceAccountUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AKSServiceAccountUserImpersonation.
type AKSUserImpersonation ¶
type AKSUserImpersonation struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AKSUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *AKSUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetEgressFilter ¶
func (m *AKSUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetID ¶
func (m *AKSUserImpersonation) GetID() string
GetID returns the unique identifier of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetName ¶
func (m *AKSUserImpersonation) GetName() string
GetName returns the name of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetSecretStoreID ¶
func (m *AKSUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetTags ¶
func (m *AKSUserImpersonation) GetTags() Tags
GetTags returns the tags of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *AKSUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetEgressFilter ¶
func (m *AKSUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetName ¶
func (m *AKSUserImpersonation) SetName(v string)
SetName sets the name of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetSecretStoreID ¶
func (m *AKSUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetTags ¶
func (m *AKSUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AKSUserImpersonation.
type AWS ¶
type AWS struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` HealthcheckRegion string `json:"healthcheckRegion"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AWS) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the AWS.
func (*AWS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AWS.
func (*AWS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AWS.
func (*AWS) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the AWS.
func (*AWS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AWS.
func (*AWS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AWS.
type AWSStore ¶
type AWSStore struct { // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` Region string `json:"region"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
type AccessRule ¶
type AccessRule struct { // IDs is a list of Resource IDs granted by this AccessRule. If this field // is set, the rule is a static access rule. No other fields can be set on a // static access rule. IDs []string `json:"ids,omitempty"` // Type specifies a Resource type. You can set this field by itself to grant // access to all Resources of a certain type. You can also use it in // conjunction with the Tags field to further narrow down the scope of // Resources granted. // // See the following link for a list of possible values for this field: // https://www.strongdm.com/docs/automation/getting-started/filters#h-potentialresourcetypevalues Type string `json:"type,omitempty"` // Tags specifies a list of key/value pairs. You can set this field by // itself to grant access to all Resources which have all the given tags. // You can also use it in conjunction with the Type field to further narrow // down the scope of Resources granted. Tags Tags `json:"tags,omitempty"` }
An AccessRule grants access to a set of Resources. There are two kinds of AccessRules:
- Dynamic: a rule which identifies Resources based on their type or tags - Static: a rule which contains an explicit list of Resource IDs
type AccessRules ¶
type AccessRules []AccessRule
AccessRules define which Resources can be accessed by members of a Role.
func ParseAccessRulesJSON ¶
func ParseAccessRulesJSON(data string) (AccessRules, error)
ParseAccessRulesJSON parses the given access rules JSON string.
type Account ¶
type Account interface { // GetID returns the unique identifier of the Account. GetID() string // IsSuspended returns whether the Account is suspended. IsSuspended() bool // SetSuspended sets the suspended of the Account. SetSuspended(bool) // GetTags returns the tags of the Account. GetTags() Tags // SetTags sets the tags of the Account. SetTags(Tags) // contains filtered or unexported methods }
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token.
type AccountAttachment ¶
type AccountAttachment struct { // The id of the account of this AccountAttachment. AccountID string `json:"accountId"` // Unique identifier of the AccountAttachment. ID string `json:"id"` // The id of the attached role of this AccountAttachment. RoleID string `json:"roleId"` }
AccountAttachments assign an account to a role.
type AccountAttachmentCreateResponse ¶
type AccountAttachmentCreateResponse struct { // The created AccountAttachment. AccountAttachment *AccountAttachment `json:"accountAttachment"` // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
type AccountAttachmentDeleteResponse ¶
type AccountAttachmentDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountAttachmentDeleteResponse returns information about a AccountAttachment that was deleted.
type AccountAttachmentGetResponse ¶
type AccountAttachmentGetResponse struct { // The requested AccountAttachment. AccountAttachment *AccountAttachment `json:"accountAttachment"` // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountAttachmentGetResponse returns a requested AccountAttachment.
type AccountAttachmentIterator ¶
type AccountAttachmentIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *AccountAttachment // Err returns the first error encountered during iteration, if any. Err() error }
AccountAttachmentIterator provides read access to a list of AccountAttachment. Use it like so:
for iterator.Next() { accountAttachment := iterator.Value() // ... }
type AccountAttachments ¶
type AccountAttachments struct {
// contains filtered or unexported fields
}
AccountAttachments assign an account to a role.
func (*AccountAttachments) Create ¶
func (svc *AccountAttachments) Create( ctx context.Context, accountAttachment *AccountAttachment) ( *AccountAttachmentCreateResponse, error)
Create registers a new AccountAttachment.
func (*AccountAttachments) Delete ¶
func (svc *AccountAttachments) Delete( ctx context.Context, id string) ( *AccountAttachmentDeleteResponse, error)
Delete removes a AccountAttachment by ID.
func (*AccountAttachments) Get ¶
func (svc *AccountAttachments) Get( ctx context.Context, id string) ( *AccountAttachmentGetResponse, error)
Get reads one AccountAttachment by ID.
func (*AccountAttachments) List ¶
func (svc *AccountAttachments) List( ctx context.Context, filter string, args ...interface{}) ( AccountAttachmentIterator, error)
List gets a list of AccountAttachments matching a given set of criteria.
type AccountCreateResponse ¶
type AccountCreateResponse struct { // The created Account. Account Account `json:"account"` // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The auth token generated for the Account. The Account will use this token to // authenticate with the strongDM API. Token string `json:"token"` }
AccountCreateResponse reports how the Accounts were created in the system.
type AccountDeleteResponse ¶
type AccountDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountDeleteResponse returns information about a Account that was deleted.
type AccountGetResponse ¶
type AccountGetResponse struct { // The requested Account. Account Account `json:"account"` // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountGetResponse returns a requested Account.
type AccountGrant ¶
type AccountGrant struct { // The account id of this AccountGrant. AccountID string `json:"accountId"` // Unique identifier of the AccountGrant. ID string `json:"id"` // The resource id of this AccountGrant. ResourceID string `json:"resourceId"` // The timestamp when the resource will be granted. Optional. Both start_at // and end_at must be defined together, or not defined at all. StartFrom time.Time `json:"startFrom"` // The timestamp when the resource grant will expire. Optional. Both // start_at and end_at must be defined together, or not defined at all. ValidUntil time.Time `json:"validUntil"` }
AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
type AccountGrantCreateResponse ¶
type AccountGrantCreateResponse struct { // The created AccountGrant. AccountGrant *AccountGrant `json:"accountGrant"` // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountGrantCreateResponse reports how the AccountGrants were created in the system.
type AccountGrantDeleteResponse ¶
type AccountGrantDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountGrantDeleteResponse returns information about a AccountGrant that was deleted.
type AccountGrantGetResponse ¶
type AccountGrantGetResponse struct { // The requested AccountGrant. AccountGrant *AccountGrant `json:"accountGrant"` // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountGrantGetResponse returns a requested AccountGrant.
type AccountGrantIterator ¶
type AccountGrantIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *AccountGrant // Err returns the first error encountered during iteration, if any. Err() error }
AccountGrantIterator provides read access to a list of AccountGrant. Use it like so:
for iterator.Next() { accountGrant := iterator.Value() // ... }
type AccountGrants ¶
type AccountGrants struct {
// contains filtered or unexported fields
}
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*AccountGrants) Create ¶
func (svc *AccountGrants) Create( ctx context.Context, accountGrant *AccountGrant) ( *AccountGrantCreateResponse, error)
Create registers a new AccountGrant.
func (*AccountGrants) Delete ¶
func (svc *AccountGrants) Delete( ctx context.Context, id string) ( *AccountGrantDeleteResponse, error)
Delete removes a AccountGrant by ID.
func (*AccountGrants) Get ¶
func (svc *AccountGrants) Get( ctx context.Context, id string) ( *AccountGrantGetResponse, error)
Get reads one AccountGrant by ID.
func (*AccountGrants) List ¶
func (svc *AccountGrants) List( ctx context.Context, filter string, args ...interface{}) ( AccountGrantIterator, error)
List gets a list of AccountGrants matching a given set of criteria.
type AccountIterator ¶
type AccountIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() Account // Err returns the first error encountered during iteration, if any. Err() error }
AccountIterator provides read access to a list of Account. Use it like so:
for iterator.Next() { account := iterator.Value() // ... }
type AccountUpdateResponse ¶
type AccountUpdateResponse struct { // The updated Account. Account Account `json:"account"` // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
AccountUpdateResponse returns the fields of a Account after it has been updated by a AccountUpdateRequest.
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token.
type AlreadyExistsError ¶
type AlreadyExistsError struct {
Message string
}
AlreadyExistsError is used when an entity already exists in the system
func (AlreadyExistsError) Code ¶
func (e AlreadyExistsError) Code() int
func (AlreadyExistsError) Error ¶
func (e AlreadyExistsError) Error() string
type AmazonEKS ¶
type AmazonEKS struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClusterName string `json:"clusterName"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Region string `json:"region"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AmazonEKS) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the AmazonEKS.
func (*AmazonEKS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AmazonEKS.
func (*AmazonEKS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AmazonEKS.
func (*AmazonEKS) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the AmazonEKS.
func (*AmazonEKS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AmazonEKS.
func (*AmazonEKS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AmazonEKS.
type AmazonEKSUserImpersonation ¶
type AmazonEKSUserImpersonation struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClusterName string `json:"clusterName"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Region string `json:"region"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AmazonEKSUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *AmazonEKSUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetEgressFilter ¶
func (m *AmazonEKSUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetID ¶
func (m *AmazonEKSUserImpersonation) GetID() string
GetID returns the unique identifier of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetName ¶
func (m *AmazonEKSUserImpersonation) GetName() string
GetName returns the name of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetSecretStoreID ¶
func (m *AmazonEKSUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetTags ¶
func (m *AmazonEKSUserImpersonation) GetTags() Tags
GetTags returns the tags of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *AmazonEKSUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetEgressFilter ¶
func (m *AmazonEKSUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetName ¶
func (m *AmazonEKSUserImpersonation) SetName(v string)
SetName sets the name of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetSecretStoreID ¶
func (m *AmazonEKSUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetTags ¶
func (m *AmazonEKSUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AmazonEKSUserImpersonation.
type AmazonES ¶
type AmazonES struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` PortOverride int32 `json:"portOverride"` Region string `json:"region"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*AmazonES) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the AmazonES.
func (*AmazonES) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AmazonES.
func (*AmazonES) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AmazonES.
func (*AmazonES) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the AmazonES.
func (*AmazonES) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AmazonES.
func (*AmazonES) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AmazonES.
type AmazonMQAMQP091 ¶
type AmazonMQAMQP091 struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*AmazonMQAMQP091) GetBindInterface ¶ added in v2.3.0
func (m *AmazonMQAMQP091) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetEgressFilter ¶
func (m *AmazonMQAMQP091) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetID ¶
func (m *AmazonMQAMQP091) GetID() string
GetID returns the unique identifier of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetName ¶
func (m *AmazonMQAMQP091) GetName() string
GetName returns the name of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetSecretStoreID ¶
func (m *AmazonMQAMQP091) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetTags ¶
func (m *AmazonMQAMQP091) GetTags() Tags
GetTags returns the tags of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetBindInterface ¶ added in v2.3.0
func (m *AmazonMQAMQP091) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetEgressFilter ¶
func (m *AmazonMQAMQP091) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetName ¶
func (m *AmazonMQAMQP091) SetName(v string)
SetName sets the name of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetSecretStoreID ¶
func (m *AmazonMQAMQP091) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetTags ¶
func (m *AmazonMQAMQP091) SetTags(v Tags)
SetTags sets the tags of the AmazonMQAMQP091.
type Athena ¶
type Athena struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Output string `json:"output"` PortOverride int32 `json:"portOverride"` Region string `json:"region"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*Athena) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Athena.
func (*Athena) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Athena.
func (*Athena) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Athena.
func (*Athena) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Athena.
func (*Athena) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Athena.
func (*Athena) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Athena.
type AuroraMysql ¶
type AuroraMysql struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*AuroraMysql) GetBindInterface ¶ added in v2.3.0
func (m *AuroraMysql) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraMysql.
func (*AuroraMysql) GetEgressFilter ¶
func (m *AuroraMysql) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraMysql.
func (*AuroraMysql) GetID ¶
func (m *AuroraMysql) GetID() string
GetID returns the unique identifier of the AuroraMysql.
func (*AuroraMysql) GetName ¶
func (m *AuroraMysql) GetName() string
GetName returns the name of the AuroraMysql.
func (*AuroraMysql) GetSecretStoreID ¶
func (m *AuroraMysql) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraMysql.
func (*AuroraMysql) GetTags ¶
func (m *AuroraMysql) GetTags() Tags
GetTags returns the tags of the AuroraMysql.
func (*AuroraMysql) SetBindInterface ¶ added in v2.3.0
func (m *AuroraMysql) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraMysql.
func (*AuroraMysql) SetEgressFilter ¶
func (m *AuroraMysql) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraMysql.
func (*AuroraMysql) SetName ¶
func (m *AuroraMysql) SetName(v string)
SetName sets the name of the AuroraMysql.
func (*AuroraMysql) SetSecretStoreID ¶
func (m *AuroraMysql) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraMysql.
func (*AuroraMysql) SetTags ¶
func (m *AuroraMysql) SetTags(v Tags)
SetTags sets the tags of the AuroraMysql.
type AuroraPostgres ¶
type AuroraPostgres struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*AuroraPostgres) GetBindInterface ¶ added in v2.3.0
func (m *AuroraPostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraPostgres.
func (*AuroraPostgres) GetEgressFilter ¶
func (m *AuroraPostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraPostgres.
func (*AuroraPostgres) GetID ¶
func (m *AuroraPostgres) GetID() string
GetID returns the unique identifier of the AuroraPostgres.
func (*AuroraPostgres) GetName ¶
func (m *AuroraPostgres) GetName() string
GetName returns the name of the AuroraPostgres.
func (*AuroraPostgres) GetSecretStoreID ¶
func (m *AuroraPostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraPostgres.
func (*AuroraPostgres) GetTags ¶
func (m *AuroraPostgres) GetTags() Tags
GetTags returns the tags of the AuroraPostgres.
func (*AuroraPostgres) SetBindInterface ¶ added in v2.3.0
func (m *AuroraPostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraPostgres.
func (*AuroraPostgres) SetEgressFilter ¶
func (m *AuroraPostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraPostgres.
func (*AuroraPostgres) SetName ¶
func (m *AuroraPostgres) SetName(v string)
SetName sets the name of the AuroraPostgres.
func (*AuroraPostgres) SetSecretStoreID ¶
func (m *AuroraPostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraPostgres.
func (*AuroraPostgres) SetTags ¶
func (m *AuroraPostgres) SetTags(v Tags)
SetTags sets the tags of the AuroraPostgres.
type AuthenticationError ¶
type AuthenticationError struct {
Message string
}
AuthenticationError is used to specify an authentication failure condition
func (AuthenticationError) Code ¶
func (e AuthenticationError) Code() int
func (AuthenticationError) Error ¶
func (e AuthenticationError) Error() string
type Azure ¶
type Azure struct { AppID string `json:"appId"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TenantID string `json:"tenantId"` }
func (*Azure) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Azure.
func (*Azure) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Azure.
func (*Azure) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Azure.
func (*Azure) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Azure.
func (*Azure) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Azure.
func (*Azure) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Azure.
type AzureCertificate ¶
type AzureCertificate struct { AppID string `json:"appId"` // Bind interface BindInterface string `json:"bindInterface"` ClientCertificate string `json:"clientCertificate"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TenantID string `json:"tenantId"` }
func (*AzureCertificate) GetBindInterface ¶ added in v2.3.0
func (m *AzureCertificate) GetBindInterface() string
GetBindInterface returns the bind interface of the AzureCertificate.
func (*AzureCertificate) GetEgressFilter ¶
func (m *AzureCertificate) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzureCertificate.
func (*AzureCertificate) GetID ¶
func (m *AzureCertificate) GetID() string
GetID returns the unique identifier of the AzureCertificate.
func (*AzureCertificate) GetName ¶
func (m *AzureCertificate) GetName() string
GetName returns the name of the AzureCertificate.
func (*AzureCertificate) GetSecretStoreID ¶
func (m *AzureCertificate) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzureCertificate.
func (*AzureCertificate) GetTags ¶
func (m *AzureCertificate) GetTags() Tags
GetTags returns the tags of the AzureCertificate.
func (*AzureCertificate) SetBindInterface ¶ added in v2.3.0
func (m *AzureCertificate) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzureCertificate.
func (*AzureCertificate) SetEgressFilter ¶
func (m *AzureCertificate) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzureCertificate.
func (*AzureCertificate) SetName ¶
func (m *AzureCertificate) SetName(v string)
SetName sets the name of the AzureCertificate.
func (*AzureCertificate) SetSecretStoreID ¶
func (m *AzureCertificate) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzureCertificate.
func (*AzureCertificate) SetTags ¶
func (m *AzureCertificate) SetTags(v Tags)
SetTags sets the tags of the AzureCertificate.
type AzurePostgres ¶
type AzurePostgres struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*AzurePostgres) GetBindInterface ¶ added in v2.3.0
func (m *AzurePostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the AzurePostgres.
func (*AzurePostgres) GetEgressFilter ¶
func (m *AzurePostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzurePostgres.
func (*AzurePostgres) GetID ¶
func (m *AzurePostgres) GetID() string
GetID returns the unique identifier of the AzurePostgres.
func (*AzurePostgres) GetName ¶
func (m *AzurePostgres) GetName() string
GetName returns the name of the AzurePostgres.
func (*AzurePostgres) GetSecretStoreID ¶
func (m *AzurePostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzurePostgres.
func (*AzurePostgres) GetTags ¶
func (m *AzurePostgres) GetTags() Tags
GetTags returns the tags of the AzurePostgres.
func (*AzurePostgres) SetBindInterface ¶ added in v2.3.0
func (m *AzurePostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzurePostgres.
func (*AzurePostgres) SetEgressFilter ¶
func (m *AzurePostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzurePostgres.
func (*AzurePostgres) SetName ¶
func (m *AzurePostgres) SetName(v string)
SetName sets the name of the AzurePostgres.
func (*AzurePostgres) SetSecretStoreID ¶
func (m *AzurePostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzurePostgres.
func (*AzurePostgres) SetTags ¶
func (m *AzurePostgres) SetTags(v Tags)
SetTags sets the tags of the AzurePostgres.
type AzureStore ¶
type AzureStore struct { // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` VaultUri string `json:"vaultUri"` }
func (*AzureStore) GetID ¶
func (m *AzureStore) GetID() string
GetID returns the unique identifier of the AzureStore.
func (*AzureStore) GetName ¶
func (m *AzureStore) GetName() string
GetName returns the name of the AzureStore.
func (*AzureStore) GetTags ¶
func (m *AzureStore) GetTags() Tags
GetTags returns the tags of the AzureStore.
func (*AzureStore) SetName ¶
func (m *AzureStore) SetName(v string)
SetName sets the name of the AzureStore.
func (*AzureStore) SetTags ¶
func (m *AzureStore) SetTags(v Tags)
SetTags sets the tags of the AzureStore.
type BadRequestError ¶
type BadRequestError struct {
Message string
}
BadRequestError identifies a bad request sent by the client
func (BadRequestError) Code ¶
func (e BadRequestError) Code() int
func (BadRequestError) Error ¶
func (e BadRequestError) Error() string
type BigQuery ¶
type BigQuery struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` PortOverride int32 `json:"portOverride"` PrivateKey string `json:"privateKey"` Project string `json:"project"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*BigQuery) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the BigQuery.
func (*BigQuery) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the BigQuery.
func (*BigQuery) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the BigQuery.
func (*BigQuery) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the BigQuery.
func (*BigQuery) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the BigQuery.
func (*BigQuery) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the BigQuery.
type Cassandra ¶
type Cassandra struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*Cassandra) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Cassandra.
func (*Cassandra) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Cassandra.
func (*Cassandra) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Cassandra.
func (*Cassandra) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Cassandra.
func (*Cassandra) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Cassandra.
func (*Cassandra) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Cassandra.
type Citus ¶
type Citus struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Citus) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Citus.
func (*Citus) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Citus.
func (*Citus) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Citus.
func (*Citus) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Citus.
func (*Citus) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Citus.
func (*Citus) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Citus.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the strongDM API client implementation.
func New ¶
func New(token, secret string, opts ...ClientOption) (*Client, error)
New creates a new strongDM API client.
func (*Client) AccountAttachments ¶
func (c *Client) AccountAttachments() *AccountAttachments
AccountAttachments assign an account to a role.
func (*Client) AccountGrants ¶
func (c *Client) AccountGrants() *AccountGrants
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*Client) Accounts ¶
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token.
func (*Client) ControlPanel ¶
func (c *Client) ControlPanel() *ControlPanel
ControlPanel contains all administrative controls.
func (*Client) Nodes ¶
Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes: - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers. - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
func (*Client) RemoteIdentities ¶ added in v2.6.0
func (c *Client) RemoteIdentities() *RemoteIdentities
RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*Client) RemoteIdentityGroups ¶ added in v2.6.0
func (c *Client) RemoteIdentityGroups() *RemoteIdentityGroups
A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts. An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
func (*Client) Resources ¶
Resources are databases, servers, clusters, websites, or clouds that strongDM delegates access to.
func (*Client) RoleAttachments
deprecated
func (c *Client) RoleAttachments() *RoleAttachments
RoleAttachments represent relationships between composite roles and the roles that make up those composite roles. When a composite role is attached to another role, the permissions granted to members of the composite role are augmented to include the permissions granted to members of the attached role.
Deprecated: use multi-role via AccountAttachments instead.
func (*Client) RoleGrants
deprecated
func (c *Client) RoleGrants() *RoleGrants
RoleGrants represent relationships between composite roles and the roles that make up those composite roles. When a composite role is attached to another role, the permissions granted to members of the composite role are augmented to include the permissions granted to members of the attached role.
Deprecated: use Role access rules instead.
func (*Client) Roles ¶
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
func (*Client) SecretStores ¶
func (c *Client) SecretStores() *SecretStores
SecretStores are servers where resource secrets (passwords, keys) are stored.
type ClientOption ¶
type ClientOption func(c *Client)
A ClientOption is an optional argument to New that can override the created client's default behavior.
func WithHost ¶
func WithHost(host string) ClientOption
WithHost causes a Client to make it's calls against the provided host instead of against api.strongdm.com.
func WithInsecure ¶
func WithInsecure() ClientOption
WithInsecure enables a Client to talk to an http server instead of an https server. This is potentially useful when communicating through a proxy, but should be used with care.
func WithRateLimitRetries ¶ added in v2.2.0
func WithRateLimitRetries(enabled bool) ClientOption
WithRateLimitRetries configures whether encountered rate limit errors should cause this client to sleep and retry (if enabled), or whether those errors should be exposed to the code using this client (if disabled). By default, it is enabled.
func WithUserAgentExtra ¶
func WithUserAgentExtra(userAgentExtra string) ClientOption
WithUserAgentExtra modifies the user agent string to include additional identifying information for server-side analytics. The intended use is by extension libraries, like a terraform provider wrapping this client.
type Clustrix ¶
type Clustrix struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Clustrix) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Clustrix.
func (*Clustrix) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Clustrix.
func (*Clustrix) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Clustrix.
func (*Clustrix) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Clustrix.
func (*Clustrix) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Clustrix.
func (*Clustrix) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Clustrix.
type Cockroach ¶
type Cockroach struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Cockroach) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Cockroach.
func (*Cockroach) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Cockroach.
func (*Cockroach) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Cockroach.
func (*Cockroach) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Cockroach.
func (*Cockroach) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Cockroach.
func (*Cockroach) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Cockroach.
type ContextCanceledError ¶
type ContextCanceledError struct {
Wrapped error
}
ContextCanceledError indicates an operation was canceled.
func (*ContextCanceledError) Code ¶
func (e *ContextCanceledError) Code() int
func (*ContextCanceledError) Error ¶
func (e *ContextCanceledError) Error() string
func (*ContextCanceledError) Unwrap ¶
func (e *ContextCanceledError) Unwrap() error
type ControlPanel ¶
type ControlPanel struct {
// contains filtered or unexported fields
}
ControlPanel contains all administrative controls.
func (*ControlPanel) GetSSHCAPublicKey ¶
func (svc *ControlPanel) GetSSHCAPublicKey( ctx context.Context) ( *ControlPanelGetSSHCAPublicKeyResponse, error)
GetSSHCAPublicKey retrieves the SSH CA public key.
func (*ControlPanel) VerifyJWT ¶
func (svc *ControlPanel) VerifyJWT( ctx context.Context, token string) ( *ControlPanelVerifyJWTResponse, error)
VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
type ControlPanelGetSSHCAPublicKeyResponse ¶
type ControlPanelGetSSHCAPublicKeyResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // The public key of the SSH Certificate Authority, in OpenSSH RSA public // key format. PublicKey string `json:"publicKey"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
ControlPanelGetSSHCAPublicKeyResponse represents a request for an organization's SSH Certificate Authority public key.
type ControlPanelVerifyJWTResponse ¶
type ControlPanelVerifyJWTResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // Reports if the given token is valid. ValID bool `json:"valid"` }
ControlPanelVerifyJWTResponse reports whether x-sdm-token is valid.
type CreateResponseMetadata ¶
type CreateResponseMetadata struct { }
CreateResponseMetadata is reserved for future use.
type DB2I ¶
type DB2I struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*DB2I) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the DB2I.
func (*DB2I) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DB2I.
func (*DB2I) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DB2I.
func (*DB2I) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the DB2I.
func (*DB2I) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DB2I.
func (*DB2I) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DB2I.
type DB2LUW ¶
type DB2LUW struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*DB2LUW) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the DB2LUW.
func (*DB2LUW) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DB2LUW.
func (*DB2LUW) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DB2LUW.
func (*DB2LUW) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the DB2LUW.
func (*DB2LUW) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DB2LUW.
func (*DB2LUW) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DB2LUW.
type DeadlineExceededError ¶
type DeadlineExceededError struct {
Wrapped error
}
DeadlineExceededError indicates a timeout occurred.
func (*DeadlineExceededError) Code ¶
func (e *DeadlineExceededError) Code() int
func (*DeadlineExceededError) Error ¶
func (e *DeadlineExceededError) Error() string
func (*DeadlineExceededError) Unwrap ¶
func (e *DeadlineExceededError) Unwrap() error
type DeleteResponseMetadata ¶
type DeleteResponseMetadata struct { }
DeleteResponseMetadata is reserved for future use.
type DocumentDBHost ¶
type DocumentDBHost struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*DocumentDBHost) GetBindInterface ¶ added in v2.3.0
func (m *DocumentDBHost) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBHost.
func (*DocumentDBHost) GetEgressFilter ¶
func (m *DocumentDBHost) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBHost.
func (*DocumentDBHost) GetID ¶
func (m *DocumentDBHost) GetID() string
GetID returns the unique identifier of the DocumentDBHost.
func (*DocumentDBHost) GetName ¶
func (m *DocumentDBHost) GetName() string
GetName returns the name of the DocumentDBHost.
func (*DocumentDBHost) GetSecretStoreID ¶
func (m *DocumentDBHost) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBHost.
func (*DocumentDBHost) GetTags ¶
func (m *DocumentDBHost) GetTags() Tags
GetTags returns the tags of the DocumentDBHost.
func (*DocumentDBHost) SetBindInterface ¶ added in v2.3.0
func (m *DocumentDBHost) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBHost.
func (*DocumentDBHost) SetEgressFilter ¶
func (m *DocumentDBHost) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBHost.
func (*DocumentDBHost) SetName ¶
func (m *DocumentDBHost) SetName(v string)
SetName sets the name of the DocumentDBHost.
func (*DocumentDBHost) SetSecretStoreID ¶
func (m *DocumentDBHost) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBHost.
func (*DocumentDBHost) SetTags ¶
func (m *DocumentDBHost) SetTags(v Tags)
SetTags sets the tags of the DocumentDBHost.
type DocumentDBReplicaSet ¶
type DocumentDBReplicaSet struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` ConnectToReplica bool `json:"connectToReplica"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Hostname must contain the hostname/port pairs of all instances in the replica set separated by commas. Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` PortOverride int32 `json:"portOverride"` ReplicaSet string `json:"replicaSet"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*DocumentDBReplicaSet) GetBindInterface ¶ added in v2.3.0
func (m *DocumentDBReplicaSet) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetEgressFilter ¶
func (m *DocumentDBReplicaSet) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetID ¶
func (m *DocumentDBReplicaSet) GetID() string
GetID returns the unique identifier of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetName ¶
func (m *DocumentDBReplicaSet) GetName() string
GetName returns the name of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetSecretStoreID ¶
func (m *DocumentDBReplicaSet) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetTags ¶
func (m *DocumentDBReplicaSet) GetTags() Tags
GetTags returns the tags of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetBindInterface ¶ added in v2.3.0
func (m *DocumentDBReplicaSet) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetEgressFilter ¶
func (m *DocumentDBReplicaSet) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetName ¶
func (m *DocumentDBReplicaSet) SetName(v string)
SetName sets the name of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetSecretStoreID ¶
func (m *DocumentDBReplicaSet) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetTags ¶
func (m *DocumentDBReplicaSet) SetTags(v Tags)
SetTags sets the tags of the DocumentDBReplicaSet.
type Druid ¶
type Druid struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Druid) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Druid.
func (*Druid) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Druid.
func (*Druid) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Druid.
func (*Druid) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Druid.
func (*Druid) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Druid.
func (*Druid) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Druid.
type DynamoDB ¶
type DynamoDB struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` PortOverride int32 `json:"portOverride"` Region string `json:"region"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*DynamoDB) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the DynamoDB.
func (*DynamoDB) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DynamoDB.
func (*DynamoDB) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DynamoDB.
func (*DynamoDB) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the DynamoDB.
func (*DynamoDB) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DynamoDB.
func (*DynamoDB) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DynamoDB.
type Elastic ¶
type Elastic struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*Elastic) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Elastic.
func (*Elastic) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Elastic.
func (*Elastic) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Elastic.
func (*Elastic) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Elastic.
func (*Elastic) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Elastic.
func (*Elastic) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Elastic.
type ElasticacheRedis ¶
type ElasticacheRedis struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` }
func (*ElasticacheRedis) GetBindInterface ¶ added in v2.3.0
func (m *ElasticacheRedis) GetBindInterface() string
GetBindInterface returns the bind interface of the ElasticacheRedis.
func (*ElasticacheRedis) GetEgressFilter ¶
func (m *ElasticacheRedis) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ElasticacheRedis.
func (*ElasticacheRedis) GetID ¶
func (m *ElasticacheRedis) GetID() string
GetID returns the unique identifier of the ElasticacheRedis.
func (*ElasticacheRedis) GetName ¶
func (m *ElasticacheRedis) GetName() string
GetName returns the name of the ElasticacheRedis.
func (*ElasticacheRedis) GetSecretStoreID ¶
func (m *ElasticacheRedis) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ElasticacheRedis.
func (*ElasticacheRedis) GetTags ¶
func (m *ElasticacheRedis) GetTags() Tags
GetTags returns the tags of the ElasticacheRedis.
func (*ElasticacheRedis) SetBindInterface ¶ added in v2.3.0
func (m *ElasticacheRedis) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ElasticacheRedis.
func (*ElasticacheRedis) SetEgressFilter ¶
func (m *ElasticacheRedis) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ElasticacheRedis.
func (*ElasticacheRedis) SetName ¶
func (m *ElasticacheRedis) SetName(v string)
SetName sets the name of the ElasticacheRedis.
func (*ElasticacheRedis) SetSecretStoreID ¶
func (m *ElasticacheRedis) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ElasticacheRedis.
func (*ElasticacheRedis) SetTags ¶
func (m *ElasticacheRedis) SetTags(v Tags)
SetTags sets the tags of the ElasticacheRedis.
type Error ¶
Error is a generic RPC error indicating something went wrong at the transport layer. Use Code() and Unwrap() to inspect the actual failed condition.
type GCP ¶
type GCP struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` Keyfile string `json:"keyfile"` // Unique human-readable name of the Resource. Name string `json:"name"` Scopes string `json:"scopes"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*GCP) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the GCP.
func (*GCP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the GCP.
func (*GCP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the GCP.
func (*GCP) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the GCP.
func (*GCP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the GCP.
func (*GCP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the GCP.
type GCPStore ¶
type GCPStore struct { // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` ProjectID string `json:"projectId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
type Gateway ¶
type Gateway struct { // The hostname/port tuple which the gateway daemon will bind to. // If not provided on create, set to "0.0.0.0:listen_address_port". BindAddress string `json:"bindAddress"` // GatewayFilter can be used to restrict the peering between relays and // gateways. GatewayFilter string `json:"gatewayFilter"` // Unique identifier of the Gateway. ID string `json:"id"` // The public hostname/port tuple at which the gateway will be accessible to clients. ListenAddress string `json:"listenAddress"` // Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. Name string `json:"name"` // The current state of the gateway. One of: "new", "verifying_restart", // "restarting", "started", "stopped", "dead", "unknown" State string `json:"state"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
Gateway represents a StrongDM CLI installation running in gateway mode.
type GetResponseMetadata ¶
type GetResponseMetadata struct { }
GetResponseMetadata is reserved for future use.
type GoogleGKE ¶
type GoogleGKE struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` ServiceAccountKey string `json:"serviceAccountKey"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*GoogleGKE) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the GoogleGKE.
func (*GoogleGKE) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the GoogleGKE.
func (*GoogleGKE) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the GoogleGKE.
func (*GoogleGKE) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the GoogleGKE.
func (*GoogleGKE) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the GoogleGKE.
func (*GoogleGKE) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the GoogleGKE.
type GoogleGKEUserImpersonation ¶
type GoogleGKEUserImpersonation struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` ServiceAccountKey string `json:"serviceAccountKey"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*GoogleGKEUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *GoogleGKEUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetEgressFilter ¶
func (m *GoogleGKEUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetID ¶
func (m *GoogleGKEUserImpersonation) GetID() string
GetID returns the unique identifier of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetName ¶
func (m *GoogleGKEUserImpersonation) GetName() string
GetName returns the name of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetSecretStoreID ¶
func (m *GoogleGKEUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetTags ¶
func (m *GoogleGKEUserImpersonation) GetTags() Tags
GetTags returns the tags of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *GoogleGKEUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetEgressFilter ¶
func (m *GoogleGKEUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetName ¶
func (m *GoogleGKEUserImpersonation) SetName(v string)
SetName sets the name of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetSecretStoreID ¶
func (m *GoogleGKEUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetTags ¶
func (m *GoogleGKEUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the GoogleGKEUserImpersonation.
type Greenplum ¶
type Greenplum struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Greenplum) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Greenplum.
func (*Greenplum) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Greenplum.
func (*Greenplum) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Greenplum.
func (*Greenplum) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Greenplum.
func (*Greenplum) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Greenplum.
func (*Greenplum) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Greenplum.
type HTTPAuth ¶
type HTTPAuth struct { AuthHeader string `json:"authHeader"` // Bind interface BindInterface string `json:"bindInterface"` DefaultPath string `json:"defaultPath"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` HeadersBlacklist string `json:"headersBlacklist"` HealthcheckPath string `json:"healthcheckPath"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` Subdomain string `json:"subdomain"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Url string `json:"url"` }
func (*HTTPAuth) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the HTTPAuth.
func (*HTTPAuth) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the HTTPAuth.
func (*HTTPAuth) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the HTTPAuth.
func (*HTTPAuth) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the HTTPAuth.
func (*HTTPAuth) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the HTTPAuth.
func (*HTTPAuth) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the HTTPAuth.
type HTTPBasicAuth ¶
type HTTPBasicAuth struct { // Bind interface BindInterface string `json:"bindInterface"` DefaultPath string `json:"defaultPath"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` HeadersBlacklist string `json:"headersBlacklist"` HealthcheckPath string `json:"healthcheckPath"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` Subdomain string `json:"subdomain"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Url string `json:"url"` Username string `json:"username"` }
func (*HTTPBasicAuth) GetBindInterface ¶ added in v2.3.0
func (m *HTTPBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetEgressFilter ¶
func (m *HTTPBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetID ¶
func (m *HTTPBasicAuth) GetID() string
GetID returns the unique identifier of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetName ¶
func (m *HTTPBasicAuth) GetName() string
GetName returns the name of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetSecretStoreID ¶
func (m *HTTPBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetTags ¶
func (m *HTTPBasicAuth) GetTags() Tags
GetTags returns the tags of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetBindInterface ¶ added in v2.3.0
func (m *HTTPBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetEgressFilter ¶
func (m *HTTPBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetName ¶
func (m *HTTPBasicAuth) SetName(v string)
SetName sets the name of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetSecretStoreID ¶
func (m *HTTPBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetTags ¶
func (m *HTTPBasicAuth) SetTags(v Tags)
SetTags sets the tags of the HTTPBasicAuth.
type HTTPNoAuth ¶
type HTTPNoAuth struct { // Bind interface BindInterface string `json:"bindInterface"` DefaultPath string `json:"defaultPath"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` HeadersBlacklist string `json:"headersBlacklist"` HealthcheckPath string `json:"healthcheckPath"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` Subdomain string `json:"subdomain"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Url string `json:"url"` }
func (*HTTPNoAuth) GetBindInterface ¶ added in v2.3.0
func (m *HTTPNoAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the HTTPNoAuth.
func (*HTTPNoAuth) GetEgressFilter ¶
func (m *HTTPNoAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the HTTPNoAuth.
func (*HTTPNoAuth) GetID ¶
func (m *HTTPNoAuth) GetID() string
GetID returns the unique identifier of the HTTPNoAuth.
func (*HTTPNoAuth) GetName ¶
func (m *HTTPNoAuth) GetName() string
GetName returns the name of the HTTPNoAuth.
func (*HTTPNoAuth) GetSecretStoreID ¶
func (m *HTTPNoAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the HTTPNoAuth.
func (*HTTPNoAuth) GetTags ¶
func (m *HTTPNoAuth) GetTags() Tags
GetTags returns the tags of the HTTPNoAuth.
func (*HTTPNoAuth) SetBindInterface ¶ added in v2.3.0
func (m *HTTPNoAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the HTTPNoAuth.
func (*HTTPNoAuth) SetEgressFilter ¶
func (m *HTTPNoAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the HTTPNoAuth.
func (*HTTPNoAuth) SetName ¶
func (m *HTTPNoAuth) SetName(v string)
SetName sets the name of the HTTPNoAuth.
func (*HTTPNoAuth) SetSecretStoreID ¶
func (m *HTTPNoAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the HTTPNoAuth.
func (*HTTPNoAuth) SetTags ¶
func (m *HTTPNoAuth) SetTags(v Tags)
SetTags sets the tags of the HTTPNoAuth.
type InternalError ¶
type InternalError struct {
Message string
}
InternalError is used to specify an internal system error
func (InternalError) Code ¶
func (e InternalError) Code() int
func (InternalError) Error ¶
func (e InternalError) Error() string
type Kubernetes ¶
type Kubernetes struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*Kubernetes) GetBindInterface ¶ added in v2.3.0
func (m *Kubernetes) GetBindInterface() string
GetBindInterface returns the bind interface of the Kubernetes.
func (*Kubernetes) GetEgressFilter ¶
func (m *Kubernetes) GetEgressFilter() string
GetEgressFilter returns the egress filter of the Kubernetes.
func (*Kubernetes) GetID ¶
func (m *Kubernetes) GetID() string
GetID returns the unique identifier of the Kubernetes.
func (*Kubernetes) GetName ¶
func (m *Kubernetes) GetName() string
GetName returns the name of the Kubernetes.
func (*Kubernetes) GetSecretStoreID ¶
func (m *Kubernetes) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the Kubernetes.
func (*Kubernetes) GetTags ¶
func (m *Kubernetes) GetTags() Tags
GetTags returns the tags of the Kubernetes.
func (*Kubernetes) SetBindInterface ¶ added in v2.3.0
func (m *Kubernetes) SetBindInterface(v string)
SetBindInterface sets the bind interface of the Kubernetes.
func (*Kubernetes) SetEgressFilter ¶
func (m *Kubernetes) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the Kubernetes.
func (*Kubernetes) SetName ¶
func (m *Kubernetes) SetName(v string)
SetName sets the name of the Kubernetes.
func (*Kubernetes) SetSecretStoreID ¶
func (m *Kubernetes) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the Kubernetes.
func (*Kubernetes) SetTags ¶
func (m *Kubernetes) SetTags(v Tags)
SetTags sets the tags of the Kubernetes.
type KubernetesBasicAuth ¶
type KubernetesBasicAuth struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*KubernetesBasicAuth) GetBindInterface ¶ added in v2.3.0
func (m *KubernetesBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetEgressFilter ¶
func (m *KubernetesBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetID ¶
func (m *KubernetesBasicAuth) GetID() string
GetID returns the unique identifier of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetName ¶
func (m *KubernetesBasicAuth) GetName() string
GetName returns the name of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetSecretStoreID ¶
func (m *KubernetesBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetTags ¶
func (m *KubernetesBasicAuth) GetTags() Tags
GetTags returns the tags of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetBindInterface ¶ added in v2.3.0
func (m *KubernetesBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetEgressFilter ¶
func (m *KubernetesBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetName ¶
func (m *KubernetesBasicAuth) SetName(v string)
SetName sets the name of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetSecretStoreID ¶
func (m *KubernetesBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetTags ¶
func (m *KubernetesBasicAuth) SetTags(v Tags)
SetTags sets the tags of the KubernetesBasicAuth.
type KubernetesServiceAccount ¶
type KubernetesServiceAccount struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Token string `json:"token"` }
func (*KubernetesServiceAccount) GetBindInterface ¶ added in v2.3.0
func (m *KubernetesServiceAccount) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetEgressFilter ¶
func (m *KubernetesServiceAccount) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetID ¶
func (m *KubernetesServiceAccount) GetID() string
GetID returns the unique identifier of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetName ¶
func (m *KubernetesServiceAccount) GetName() string
GetName returns the name of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetSecretStoreID ¶
func (m *KubernetesServiceAccount) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetTags ¶
func (m *KubernetesServiceAccount) GetTags() Tags
GetTags returns the tags of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetBindInterface ¶ added in v2.3.0
func (m *KubernetesServiceAccount) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetEgressFilter ¶
func (m *KubernetesServiceAccount) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetName ¶
func (m *KubernetesServiceAccount) SetName(v string)
SetName sets the name of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetSecretStoreID ¶
func (m *KubernetesServiceAccount) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetTags ¶
func (m *KubernetesServiceAccount) SetTags(v Tags)
SetTags sets the tags of the KubernetesServiceAccount.
type KubernetesServiceAccountUserImpersonation ¶
type KubernetesServiceAccountUserImpersonation struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Token string `json:"token"` }
func (*KubernetesServiceAccountUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *KubernetesServiceAccountUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetEgressFilter ¶
func (m *KubernetesServiceAccountUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetID ¶
func (m *KubernetesServiceAccountUserImpersonation) GetID() string
GetID returns the unique identifier of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetName ¶
func (m *KubernetesServiceAccountUserImpersonation) GetName() string
GetName returns the name of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetSecretStoreID ¶
func (m *KubernetesServiceAccountUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetTags ¶
func (m *KubernetesServiceAccountUserImpersonation) GetTags() Tags
GetTags returns the tags of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *KubernetesServiceAccountUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetEgressFilter ¶
func (m *KubernetesServiceAccountUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetName ¶
func (m *KubernetesServiceAccountUserImpersonation) SetName(v string)
SetName sets the name of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetSecretStoreID ¶
func (m *KubernetesServiceAccountUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetTags ¶
func (m *KubernetesServiceAccountUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the KubernetesServiceAccountUserImpersonation.
type KubernetesUserImpersonation ¶
type KubernetesUserImpersonation struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // The path used to check the health of your connection. Defaults to `default`. HealthcheckNamespace string `json:"healthcheckNamespace"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*KubernetesUserImpersonation) GetBindInterface ¶ added in v2.3.0
func (m *KubernetesUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetEgressFilter ¶
func (m *KubernetesUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetID ¶
func (m *KubernetesUserImpersonation) GetID() string
GetID returns the unique identifier of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetName ¶
func (m *KubernetesUserImpersonation) GetName() string
GetName returns the name of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetSecretStoreID ¶
func (m *KubernetesUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetTags ¶
func (m *KubernetesUserImpersonation) GetTags() Tags
GetTags returns the tags of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetBindInterface ¶ added in v2.3.0
func (m *KubernetesUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetEgressFilter ¶
func (m *KubernetesUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetName ¶
func (m *KubernetesUserImpersonation) SetName(v string)
SetName sets the name of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetSecretStoreID ¶
func (m *KubernetesUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetTags ¶
func (m *KubernetesUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the KubernetesUserImpersonation.
type MTLSMysql ¶ added in v2.1.0
type MTLSMysql struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` ServerName string `json:"serverName"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*MTLSMysql) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the MTLSMysql.
func (*MTLSMysql) GetEgressFilter ¶ added in v2.1.0
GetEgressFilter returns the egress filter of the MTLSMysql.
func (*MTLSMysql) GetSecretStoreID ¶ added in v2.1.0
GetSecretStoreID returns the secret store id of the MTLSMysql.
func (*MTLSMysql) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the MTLSMysql.
func (*MTLSMysql) SetEgressFilter ¶ added in v2.1.0
SetEgressFilter sets the egress filter of the MTLSMysql.
func (*MTLSMysql) SetSecretStoreID ¶ added in v2.1.0
SetSecretStoreID sets the secret store id of the MTLSMysql.
type MTLSPostgres ¶
type MTLSPostgres struct { // Bind interface BindInterface string `json:"bindInterface"` CertificateAuthority string `json:"certificateAuthority"` ClientCertificate string `json:"clientCertificate"` ClientKey string `json:"clientKey"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` ServerName string `json:"serverName"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*MTLSPostgres) GetBindInterface ¶ added in v2.3.0
func (m *MTLSPostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the MTLSPostgres.
func (*MTLSPostgres) GetEgressFilter ¶
func (m *MTLSPostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MTLSPostgres.
func (*MTLSPostgres) GetID ¶
func (m *MTLSPostgres) GetID() string
GetID returns the unique identifier of the MTLSPostgres.
func (*MTLSPostgres) GetName ¶
func (m *MTLSPostgres) GetName() string
GetName returns the name of the MTLSPostgres.
func (*MTLSPostgres) GetSecretStoreID ¶
func (m *MTLSPostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MTLSPostgres.
func (*MTLSPostgres) GetTags ¶
func (m *MTLSPostgres) GetTags() Tags
GetTags returns the tags of the MTLSPostgres.
func (*MTLSPostgres) SetBindInterface ¶ added in v2.3.0
func (m *MTLSPostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MTLSPostgres.
func (*MTLSPostgres) SetEgressFilter ¶
func (m *MTLSPostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MTLSPostgres.
func (*MTLSPostgres) SetName ¶
func (m *MTLSPostgres) SetName(v string)
SetName sets the name of the MTLSPostgres.
func (*MTLSPostgres) SetSecretStoreID ¶
func (m *MTLSPostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MTLSPostgres.
func (*MTLSPostgres) SetTags ¶
func (m *MTLSPostgres) SetTags(v Tags)
SetTags sets the tags of the MTLSPostgres.
type Maria ¶
type Maria struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Maria) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Maria.
func (*Maria) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Maria.
func (*Maria) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Maria.
func (*Maria) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Maria.
func (*Maria) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Maria.
func (*Maria) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Maria.
type Memcached ¶
type Memcached struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*Memcached) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Memcached.
func (*Memcached) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Memcached.
func (*Memcached) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Memcached.
func (*Memcached) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Memcached.
func (*Memcached) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Memcached.
func (*Memcached) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Memcached.
type Memsql ¶
type Memsql struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Memsql) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Memsql.
func (*Memsql) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Memsql.
func (*Memsql) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Memsql.
func (*Memsql) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Memsql.
func (*Memsql) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Memsql.
func (*Memsql) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Memsql.
type MongoHost ¶
type MongoHost struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*MongoHost) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the MongoHost.
func (*MongoHost) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the MongoHost.
func (*MongoHost) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the MongoHost.
func (*MongoHost) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the MongoHost.
func (*MongoHost) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the MongoHost.
func (*MongoHost) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the MongoHost.
type MongoLegacyHost ¶
type MongoLegacyHost struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` ReplicaSet string `json:"replicaSet"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*MongoLegacyHost) GetBindInterface ¶ added in v2.3.0
func (m *MongoLegacyHost) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoLegacyHost.
func (*MongoLegacyHost) GetEgressFilter ¶
func (m *MongoLegacyHost) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoLegacyHost.
func (*MongoLegacyHost) GetID ¶
func (m *MongoLegacyHost) GetID() string
GetID returns the unique identifier of the MongoLegacyHost.
func (*MongoLegacyHost) GetName ¶
func (m *MongoLegacyHost) GetName() string
GetName returns the name of the MongoLegacyHost.
func (*MongoLegacyHost) GetSecretStoreID ¶
func (m *MongoLegacyHost) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoLegacyHost.
func (*MongoLegacyHost) GetTags ¶
func (m *MongoLegacyHost) GetTags() Tags
GetTags returns the tags of the MongoLegacyHost.
func (*MongoLegacyHost) SetBindInterface ¶ added in v2.3.0
func (m *MongoLegacyHost) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoLegacyHost.
func (*MongoLegacyHost) SetEgressFilter ¶
func (m *MongoLegacyHost) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoLegacyHost.
func (*MongoLegacyHost) SetName ¶
func (m *MongoLegacyHost) SetName(v string)
SetName sets the name of the MongoLegacyHost.
func (*MongoLegacyHost) SetSecretStoreID ¶
func (m *MongoLegacyHost) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoLegacyHost.
func (*MongoLegacyHost) SetTags ¶
func (m *MongoLegacyHost) SetTags(v Tags)
SetTags sets the tags of the MongoLegacyHost.
type MongoLegacyReplicaset ¶
type MongoLegacyReplicaset struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` ConnectToReplica bool `json:"connectToReplica"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` ReplicaSet string `json:"replicaSet"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*MongoLegacyReplicaset) GetBindInterface ¶ added in v2.3.0
func (m *MongoLegacyReplicaset) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetEgressFilter ¶
func (m *MongoLegacyReplicaset) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetID ¶
func (m *MongoLegacyReplicaset) GetID() string
GetID returns the unique identifier of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetName ¶
func (m *MongoLegacyReplicaset) GetName() string
GetName returns the name of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetSecretStoreID ¶
func (m *MongoLegacyReplicaset) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetTags ¶
func (m *MongoLegacyReplicaset) GetTags() Tags
GetTags returns the tags of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetBindInterface ¶ added in v2.3.0
func (m *MongoLegacyReplicaset) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetEgressFilter ¶
func (m *MongoLegacyReplicaset) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetName ¶
func (m *MongoLegacyReplicaset) SetName(v string)
SetName sets the name of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetSecretStoreID ¶
func (m *MongoLegacyReplicaset) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetTags ¶
func (m *MongoLegacyReplicaset) SetTags(v Tags)
SetTags sets the tags of the MongoLegacyReplicaset.
type MongoReplicaSet ¶
type MongoReplicaSet struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` ConnectToReplica bool `json:"connectToReplica"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` ReplicaSet string `json:"replicaSet"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*MongoReplicaSet) GetBindInterface ¶ added in v2.3.0
func (m *MongoReplicaSet) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoReplicaSet.
func (*MongoReplicaSet) GetEgressFilter ¶
func (m *MongoReplicaSet) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoReplicaSet.
func (*MongoReplicaSet) GetID ¶
func (m *MongoReplicaSet) GetID() string
GetID returns the unique identifier of the MongoReplicaSet.
func (*MongoReplicaSet) GetName ¶
func (m *MongoReplicaSet) GetName() string
GetName returns the name of the MongoReplicaSet.
func (*MongoReplicaSet) GetSecretStoreID ¶
func (m *MongoReplicaSet) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoReplicaSet.
func (*MongoReplicaSet) GetTags ¶
func (m *MongoReplicaSet) GetTags() Tags
GetTags returns the tags of the MongoReplicaSet.
func (*MongoReplicaSet) SetBindInterface ¶ added in v2.3.0
func (m *MongoReplicaSet) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoReplicaSet.
func (*MongoReplicaSet) SetEgressFilter ¶
func (m *MongoReplicaSet) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoReplicaSet.
func (*MongoReplicaSet) SetName ¶
func (m *MongoReplicaSet) SetName(v string)
SetName sets the name of the MongoReplicaSet.
func (*MongoReplicaSet) SetSecretStoreID ¶
func (m *MongoReplicaSet) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoReplicaSet.
func (*MongoReplicaSet) SetTags ¶
func (m *MongoReplicaSet) SetTags(v Tags)
SetTags sets the tags of the MongoReplicaSet.
type MongoShardedCluster ¶
type MongoShardedCluster struct { AuthDatabase string `json:"authDatabase"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*MongoShardedCluster) GetBindInterface ¶ added in v2.3.0
func (m *MongoShardedCluster) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoShardedCluster.
func (*MongoShardedCluster) GetEgressFilter ¶
func (m *MongoShardedCluster) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoShardedCluster.
func (*MongoShardedCluster) GetID ¶
func (m *MongoShardedCluster) GetID() string
GetID returns the unique identifier of the MongoShardedCluster.
func (*MongoShardedCluster) GetName ¶
func (m *MongoShardedCluster) GetName() string
GetName returns the name of the MongoShardedCluster.
func (*MongoShardedCluster) GetSecretStoreID ¶
func (m *MongoShardedCluster) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoShardedCluster.
func (*MongoShardedCluster) GetTags ¶
func (m *MongoShardedCluster) GetTags() Tags
GetTags returns the tags of the MongoShardedCluster.
func (*MongoShardedCluster) SetBindInterface ¶ added in v2.3.0
func (m *MongoShardedCluster) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoShardedCluster.
func (*MongoShardedCluster) SetEgressFilter ¶
func (m *MongoShardedCluster) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoShardedCluster.
func (*MongoShardedCluster) SetName ¶
func (m *MongoShardedCluster) SetName(v string)
SetName sets the name of the MongoShardedCluster.
func (*MongoShardedCluster) SetSecretStoreID ¶
func (m *MongoShardedCluster) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoShardedCluster.
func (*MongoShardedCluster) SetTags ¶
func (m *MongoShardedCluster) SetTags(v Tags)
SetTags sets the tags of the MongoShardedCluster.
type Mysql ¶
type Mysql struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Mysql) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Mysql.
func (*Mysql) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Mysql.
func (*Mysql) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Mysql.
func (*Mysql) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Mysql.
func (*Mysql) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Mysql.
func (*Mysql) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Mysql.
type Neptune ¶
type Neptune struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*Neptune) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Neptune.
func (*Neptune) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Neptune.
func (*Neptune) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Neptune.
func (*Neptune) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Neptune.
func (*Neptune) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Neptune.
func (*Neptune) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Neptune.
type NeptuneIAM ¶
type NeptuneIAM struct { AccessKey string `json:"accessKey"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` Endpoint string `json:"endpoint"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` Region string `json:"region"` RoleArn string `json:"roleArn"` RoleExternalID string `json:"roleExternalId"` SecretAccessKey string `json:"secretAccessKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*NeptuneIAM) GetBindInterface ¶ added in v2.3.0
func (m *NeptuneIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the NeptuneIAM.
func (*NeptuneIAM) GetEgressFilter ¶
func (m *NeptuneIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the NeptuneIAM.
func (*NeptuneIAM) GetID ¶
func (m *NeptuneIAM) GetID() string
GetID returns the unique identifier of the NeptuneIAM.
func (*NeptuneIAM) GetName ¶
func (m *NeptuneIAM) GetName() string
GetName returns the name of the NeptuneIAM.
func (*NeptuneIAM) GetSecretStoreID ¶
func (m *NeptuneIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the NeptuneIAM.
func (*NeptuneIAM) GetTags ¶
func (m *NeptuneIAM) GetTags() Tags
GetTags returns the tags of the NeptuneIAM.
func (*NeptuneIAM) SetBindInterface ¶ added in v2.3.0
func (m *NeptuneIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the NeptuneIAM.
func (*NeptuneIAM) SetEgressFilter ¶
func (m *NeptuneIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the NeptuneIAM.
func (*NeptuneIAM) SetName ¶
func (m *NeptuneIAM) SetName(v string)
SetName sets the name of the NeptuneIAM.
func (*NeptuneIAM) SetSecretStoreID ¶
func (m *NeptuneIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the NeptuneIAM.
func (*NeptuneIAM) SetTags ¶
func (m *NeptuneIAM) SetTags(v Tags)
SetTags sets the tags of the NeptuneIAM.
type Node ¶
type Node interface { // GetID returns the unique identifier of the Node. GetID() string // GetTags returns the tags of the Node. GetTags() Tags // SetTags sets the tags of the Node. SetTags(Tags) // GetName returns the name of the Node. GetName() string // SetName sets the name of the Node. SetName(string) // contains filtered or unexported methods }
Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes: 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall 1. **Gateways:** a relay that also listens for connections from strongDM clients
type NodeCreateResponse ¶
type NodeCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // The created Node. Node Node `json:"node"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The auth token generated for the Node. The Node will use this token to // authenticate with the strongDM API. Token string `json:"token"` }
NodeCreateResponse reports how the Nodes were created in the system.
type NodeDeleteResponse ¶
type NodeDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
NodeDeleteResponse returns information about a Node that was deleted.
type NodeGetResponse ¶
type NodeGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // The requested Node. Node Node `json:"node"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
NodeGetResponse returns a requested Node.
type NodeIterator ¶
type NodeIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() Node // Err returns the first error encountered during iteration, if any. Err() error }
NodeIterator provides read access to a list of Node. Use it like so:
for iterator.Next() { node := iterator.Value() // ... }
type NodeUpdateResponse ¶
type NodeUpdateResponse struct { // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // The updated Node. Node Node `json:"node"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
NodeUpdateResponse returns the fields of a Node after it has been updated by a NodeUpdateRequest.
type Nodes ¶
type Nodes struct {
// contains filtered or unexported fields
}
Nodes make up the strongDM network, and allow your users to connect securely to your resources. There are two types of nodes: - **Gateways** are the entry points into network. They listen for connection from the strongDM client, and provide access to databases and servers. - **Relays** are used to extend the strongDM network into segmented subnets. They provide access to databases and servers but do not listen for incoming connections.
type NotFoundError ¶
type NotFoundError struct {
Message string
}
NotFoundError is used when an entity does not exist in the system
func (NotFoundError) Code ¶
func (e NotFoundError) Code() int
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type Oracle ¶
type Oracle struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*Oracle) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Oracle.
func (*Oracle) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Oracle.
func (*Oracle) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Oracle.
func (*Oracle) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Oracle.
func (*Oracle) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Oracle.
func (*Oracle) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Oracle.
type PermissionError ¶
type PermissionError struct {
Message string
}
PermissionError is used to specify a permissions violation
func (PermissionError) Code ¶
func (e PermissionError) Code() int
func (PermissionError) Error ¶
func (e PermissionError) Error() string
type Postgres ¶
type Postgres struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Postgres) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Postgres.
func (*Postgres) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Postgres.
func (*Postgres) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Postgres.
func (*Postgres) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Postgres.
func (*Postgres) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Postgres.
func (*Postgres) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Postgres.
type Presto ¶
type Presto struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*Presto) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Presto.
func (*Presto) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Presto.
func (*Presto) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Presto.
func (*Presto) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Presto.
func (*Presto) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Presto.
func (*Presto) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Presto.
type RDP ¶
type RDP struct { // Bind interface BindInterface string `json:"bindInterface"` DowngradeNlaConnections bool `json:"downgradeNlaConnections"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*RDP) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the RDP.
func (*RDP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the RDP.
func (*RDP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the RDP.
func (*RDP) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the RDP.
func (*RDP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the RDP.
func (*RDP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the RDP.
type RabbitMQAMQP091 ¶
type RabbitMQAMQP091 struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` TlsRequired bool `json:"tlsRequired"` Username string `json:"username"` }
func (*RabbitMQAMQP091) GetBindInterface ¶ added in v2.3.0
func (m *RabbitMQAMQP091) GetBindInterface() string
GetBindInterface returns the bind interface of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetEgressFilter ¶
func (m *RabbitMQAMQP091) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetID ¶
func (m *RabbitMQAMQP091) GetID() string
GetID returns the unique identifier of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetName ¶
func (m *RabbitMQAMQP091) GetName() string
GetName returns the name of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetSecretStoreID ¶
func (m *RabbitMQAMQP091) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetTags ¶
func (m *RabbitMQAMQP091) GetTags() Tags
GetTags returns the tags of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetBindInterface ¶ added in v2.3.0
func (m *RabbitMQAMQP091) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetEgressFilter ¶
func (m *RabbitMQAMQP091) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetName ¶
func (m *RabbitMQAMQP091) SetName(v string)
SetName sets the name of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetSecretStoreID ¶
func (m *RabbitMQAMQP091) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetTags ¶
func (m *RabbitMQAMQP091) SetTags(v Tags)
SetTags sets the tags of the RabbitMQAMQP091.
type RateLimitError ¶
type RateLimitError struct { Message string RateLimit *RateLimitMetadata }
RateLimitError is used for rate limit excess condition
func (RateLimitError) Code ¶
func (e RateLimitError) Code() int
func (RateLimitError) Error ¶
func (e RateLimitError) Error() string
type RateLimitMetadata ¶
type RateLimitMetadata struct { // The bucket this user/token is associated with, which may be shared between // multiple users/tokens. Bucket string `json:"bucket"` // How many total requests the user/token is authorized to make before being // rate limited. Limit int64 `json:"limit"` // How many remaining requests out of the limit are still avaialable. Remaining int64 `json:"remaining"` // The time when remaining will be reset to limit. ResetAt time.Time `json:"resetAt"` }
RateLimitMetadata contains information about remaining requests avaialable to the user over some timeframe.
type RawTCP ¶
type RawTCP struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*RawTCP) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the RawTCP.
func (*RawTCP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the RawTCP.
func (*RawTCP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the RawTCP.
func (*RawTCP) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the RawTCP.
func (*RawTCP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the RawTCP.
func (*RawTCP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the RawTCP.
type Redis ¶
type Redis struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*Redis) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Redis.
func (*Redis) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Redis.
func (*Redis) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Redis.
func (*Redis) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Redis.
func (*Redis) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Redis.
func (*Redis) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Redis.
type Redshift ¶
type Redshift struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Redshift) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Redshift.
func (*Redshift) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Redshift.
func (*Redshift) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Redshift.
func (*Redshift) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Redshift.
func (*Redshift) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Redshift.
func (*Redshift) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Redshift.
type Relay ¶
type Relay struct { // GatewayFilter can be used to restrict the peering between relays and // gateways. GatewayFilter string `json:"gatewayFilter"` // Unique identifier of the Relay. ID string `json:"id"` // Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create. Name string `json:"name"` // The current state of the relay. One of: "new", "verifying_restart", // "awaiting_restart", "restarting", "started", "stopped", "dead", // "unknown". State string `json:"state"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
Relay represents a StrongDM CLI installation running in relay mode.
type RemoteIdentities ¶ added in v2.6.0
type RemoteIdentities struct {
// contains filtered or unexported fields
}
RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*RemoteIdentities) Create ¶ added in v2.6.0
func (svc *RemoteIdentities) Create( ctx context.Context, remoteIdentity *RemoteIdentity) ( *RemoteIdentityCreateResponse, error)
Create registers a new RemoteIdentity.
func (*RemoteIdentities) Delete ¶ added in v2.6.0
func (svc *RemoteIdentities) Delete( ctx context.Context, id string) ( *RemoteIdentityDeleteResponse, error)
Delete removes a RemoteIdentity by ID.
func (*RemoteIdentities) Get ¶ added in v2.6.0
func (svc *RemoteIdentities) Get( ctx context.Context, id string) ( *RemoteIdentityGetResponse, error)
Get reads one RemoteIdentity by ID.
func (*RemoteIdentities) List ¶ added in v2.6.0
func (svc *RemoteIdentities) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityIterator, error)
List gets a list of RemoteIdentities matching a given set of criteria.
func (*RemoteIdentities) Update ¶ added in v2.6.0
func (svc *RemoteIdentities) Update( ctx context.Context, remoteIdentity *RemoteIdentity) ( *RemoteIdentityUpdateResponse, error)
Update replaces all the fields of a RemoteIdentity by ID.
type RemoteIdentity ¶ added in v2.6.0
type RemoteIdentity struct { // The account for this remote identity. AccountID string `json:"accountId"` // Unique identifier of the RemoteIdentity. ID string `json:"id"` // The remote identity group. RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` // The username to be used as the remote identity for this account. Username string `json:"username"` }
RemoteIdentities define the username to be used for a specific account when connecting to a remote resource using that group.
type RemoteIdentityCreateResponse ¶ added in v2.6.0
type RemoteIdentityCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created RemoteIdentity. RemoteIdentity *RemoteIdentity `json:"remoteIdentity"` }
RemoteIdentityCreateResponse reports how the RemoteIdentities were created in the system.
type RemoteIdentityDeleteResponse ¶ added in v2.6.0
type RemoteIdentityDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
RemoteIdentityDeleteResponse returns information about a RemoteIdentity that was deleted.
type RemoteIdentityGetResponse ¶ added in v2.6.0
type RemoteIdentityGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested RemoteIdentity. RemoteIdentity *RemoteIdentity `json:"remoteIdentity"` }
RemoteIdentityGetResponse returns a requested RemoteIdentity.
type RemoteIdentityGroup ¶ added in v2.6.0
type RemoteIdentityGroup struct { // Unique identifier of the RemoteIdentityGroup. ID string `json:"id"` // Unique human-readable name of the RemoteIdentityGroup. Name string `json:"name"` }
A RemoteIdentityGroup defines a group of remote identities.
type RemoteIdentityGroupGetResponse ¶ added in v2.6.0
type RemoteIdentityGroupGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested RemoteIdentityGroup. RemoteIdentityGroup *RemoteIdentityGroup `json:"remoteIdentityGroup"` }
RemoteIdentityGroupGetResponse returns a requested RemoteIdentityGroup.
type RemoteIdentityGroupIterator ¶ added in v2.6.0
type RemoteIdentityGroupIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *RemoteIdentityGroup // Err returns the first error encountered during iteration, if any. Err() error }
RemoteIdentityGroupIterator provides read access to a list of RemoteIdentityGroup. Use it like so:
for iterator.Next() { remoteIdentityGroup := iterator.Value() // ... }
type RemoteIdentityGroups ¶ added in v2.6.0
type RemoteIdentityGroups struct {
// contains filtered or unexported fields
}
A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts. An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
func (*RemoteIdentityGroups) Get ¶ added in v2.6.0
func (svc *RemoteIdentityGroups) Get( ctx context.Context, id string) ( *RemoteIdentityGroupGetResponse, error)
Get reads one RemoteIdentityGroup by ID.
func (*RemoteIdentityGroups) List ¶ added in v2.6.0
func (svc *RemoteIdentityGroups) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityGroupIterator, error)
List gets a list of RemoteIdentityGroups matching a given set of criteria.
type RemoteIdentityIterator ¶ added in v2.6.0
type RemoteIdentityIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *RemoteIdentity // Err returns the first error encountered during iteration, if any. Err() error }
RemoteIdentityIterator provides read access to a list of RemoteIdentity. Use it like so:
for iterator.Next() { remoteIdentity := iterator.Value() // ... }
type RemoteIdentityUpdateResponse ¶ added in v2.6.0
type RemoteIdentityUpdateResponse struct { // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The updated RemoteIdentity. RemoteIdentity *RemoteIdentity `json:"remoteIdentity"` }
RemoteIdentityUpdateResponse returns the fields of a RemoteIdentity after it has been updated by a RemoteIdentityUpdateRequest.
type Resource ¶
type Resource interface { // GetID returns the unique identifier of the Resource. GetID() string // GetName returns the name of the Resource. GetName() string // SetName sets the name of the Resource. SetName(string) // GetTags returns the tags of the Resource. GetTags() Tags // SetTags sets the tags of the Resource. SetTags(Tags) // GetSecretStoreID returns the secret store id of the Resource. GetSecretStoreID() string // SetSecretStoreID sets the secret store id of the Resource. SetSecretStoreID(string) // GetEgressFilter returns the egress filter of the Resource. GetEgressFilter() string // SetEgressFilter sets the egress filter of the Resource. SetEgressFilter(string) // GetBindInterface returns the bind interface of the Resource. GetBindInterface() string // SetBindInterface sets the bind interface of the Resource. SetBindInterface(string) // contains filtered or unexported methods }
A Resource is a database, server, cluster, website, or cloud that strongDM delegates access to.
type ResourceCreateResponse ¶
type ResourceCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created Resource. Resource Resource `json:"resource"` }
ResourceCreateResponse reports how the Resources were created in the system.
type ResourceDeleteResponse ¶
type ResourceDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
ResourceDeleteResponse returns information about a Resource that was deleted.
type ResourceGetResponse ¶
type ResourceGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested Resource. Resource Resource `json:"resource"` }
ResourceGetResponse returns a requested Resource.
type ResourceIterator ¶
type ResourceIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() Resource // Err returns the first error encountered during iteration, if any. Err() error }
ResourceIterator provides read access to a list of Resource. Use it like so:
for iterator.Next() { resource := iterator.Value() // ... }
type ResourceUpdateResponse ¶
type ResourceUpdateResponse struct { // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The updated Resource. Resource Resource `json:"resource"` }
ResourceUpdateResponse returns the fields of a Resource after it has been updated by a ResourceUpdateRequest.
type Resources ¶
type Resources struct {
// contains filtered or unexported fields
}
Resources are databases, servers, clusters, websites, or clouds that strongDM delegates access to.
func (*Resources) Create ¶
func (svc *Resources) Create( ctx context.Context, resource Resource) ( *ResourceCreateResponse, error)
Create registers a new Resource.
func (*Resources) EnumerateTags ¶
func (svc *Resources) EnumerateTags( ctx context.Context, filter string, args ...interface{}) ( TagIterator, error)
EnumerateTags gets a list of the filter matching tags.
type Role ¶
type Role struct { // AccessRules is a list of access rules defining the resources this Role has access to. AccessRules AccessRules `json:"accessRules"` // Composite is true if the Role is a composite role. // // Deprecated: composite roles are deprecated, use multi-role via // AccountAttachments instead. Composite bool `json:"composite"` // Unique identifier of the Role. ID string `json:"id"` // Unique human-readable name of the Role. Name string `json:"name"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
type RoleAttachment
deprecated
type RoleAttachment struct { // The id of the attached role of this RoleAttachment. AttachedRoleID string `json:"attachedRoleId"` // The id of the composite role of this RoleAttachment. CompositeRoleID string `json:"compositeRoleId"` // Unique identifier of the RoleAttachment. ID string `json:"id"` }
A RoleAttachment assigns a role to a composite role.
Deprecated: use multi-role via AccountAttachments instead.
type RoleAttachmentCreateResponse
deprecated
type RoleAttachmentCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created RoleAttachment. RoleAttachment *RoleAttachment `json:"roleAttachment"` }
RoleAttachmentCreateResponse reports how the RoleAttachments were created in the system.
Deprecated: use multi-role via AccountAttachments instead.
type RoleAttachmentDeleteResponse
deprecated
type RoleAttachmentDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
RoleAttachmentDeleteResponse returns information about a RoleAttachment that was deleted.
Deprecated: use multi-role via AccountAttachments instead.
type RoleAttachmentGetResponse
deprecated
type RoleAttachmentGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested RoleAttachment. RoleAttachment *RoleAttachment `json:"roleAttachment"` }
RoleAttachmentGetResponse returns a requested RoleAttachment.
Deprecated: use multi-role via AccountAttachments instead.
type RoleAttachmentIterator ¶
type RoleAttachmentIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *RoleAttachment // Err returns the first error encountered during iteration, if any. Err() error }
RoleAttachmentIterator provides read access to a list of RoleAttachment. Use it like so:
for iterator.Next() { roleAttachment := iterator.Value() // ... }
type RoleAttachments
deprecated
type RoleAttachments struct {
// contains filtered or unexported fields
}
RoleAttachments represent relationships between composite roles and the roles that make up those composite roles. When a composite role is attached to another role, the permissions granted to members of the composite role are augmented to include the permissions granted to members of the attached role.
Deprecated: use multi-role via AccountAttachments instead.
func (*RoleAttachments) Create
deprecated
func (svc *RoleAttachments) Create( ctx context.Context, roleAttachment *RoleAttachment) ( *RoleAttachmentCreateResponse, error)
Create registers a new RoleAttachment.
Deprecated: use multi-role via AccountAttachments instead.
func (*RoleAttachments) Delete
deprecated
func (svc *RoleAttachments) Delete( ctx context.Context, id string) ( *RoleAttachmentDeleteResponse, error)
Delete removes a RoleAttachment by ID.
Deprecated: use multi-role via AccountAttachments instead.
func (*RoleAttachments) Get
deprecated
func (svc *RoleAttachments) Get( ctx context.Context, id string) ( *RoleAttachmentGetResponse, error)
Get reads one RoleAttachment by ID.
Deprecated: use multi-role via AccountAttachments instead.
func (*RoleAttachments) List
deprecated
func (svc *RoleAttachments) List( ctx context.Context, filter string, args ...interface{}) ( RoleAttachmentIterator, error)
List gets a list of RoleAttachments matching a given set of criteria.
Deprecated: use multi-role via AccountAttachments instead.
type RoleCreateResponse ¶
type RoleCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created Role. Role *Role `json:"role"` }
RoleCreateResponse reports how the Roles were created in the system. It can communicate partial successes or failures.
type RoleDeleteResponse ¶
type RoleDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
RoleDeleteResponse returns information about a Role that was deleted.
type RoleGetResponse ¶
type RoleGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested Role. Role *Role `json:"role"` }
RoleGetResponse returns a requested Role.
type RoleGrant
deprecated
type RoleGrant struct { // Unique identifier of the RoleGrant. ID string `json:"id"` // The id of the resource of this RoleGrant. ResourceID string `json:"resourceId"` // The id of the attached role of this RoleGrant. RoleID string `json:"roleId"` }
A RoleGrant connects a resource to a role, granting members of the role access to that resource.
Deprecated: use Role access rules instead.
type RoleGrantCreateResponse
deprecated
type RoleGrantCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created RoleGrant. RoleGrant *RoleGrant `json:"roleGrant"` }
RoleGrantCreateResponse reports how the RoleGrants were created in the system.
Deprecated: use Role access rules instead.
type RoleGrantDeleteResponse
deprecated
type RoleGrantDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
RoleGrantDeleteResponse returns information about a RoleGrant that was deleted.
Deprecated: use Role access rules instead.
type RoleGrantGetResponse
deprecated
type RoleGrantGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested RoleGrant. RoleGrant *RoleGrant `json:"roleGrant"` }
RoleGrantGetResponse returns a requested RoleGrant.
Deprecated: use Role access rules instead.
type RoleGrantIterator ¶
type RoleGrantIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *RoleGrant // Err returns the first error encountered during iteration, if any. Err() error }
RoleGrantIterator provides read access to a list of RoleGrant. Use it like so:
for iterator.Next() { roleGrant := iterator.Value() // ... }
type RoleGrants
deprecated
type RoleGrants struct {
// contains filtered or unexported fields
}
RoleGrants represent relationships between composite roles and the roles that make up those composite roles. When a composite role is attached to another role, the permissions granted to members of the composite role are augmented to include the permissions granted to members of the attached role.
Deprecated: use Role access rules instead.
func (*RoleGrants) Create
deprecated
func (svc *RoleGrants) Create( ctx context.Context, roleGrant *RoleGrant) ( *RoleGrantCreateResponse, error)
Create registers a new RoleGrant.
Deprecated: use Role access rules instead.
func (*RoleGrants) Delete
deprecated
func (svc *RoleGrants) Delete( ctx context.Context, id string) ( *RoleGrantDeleteResponse, error)
Delete removes a RoleGrant by ID.
Deprecated: use Role access rules instead.
func (*RoleGrants) Get
deprecated
func (svc *RoleGrants) Get( ctx context.Context, id string) ( *RoleGrantGetResponse, error)
Get reads one RoleGrant by ID.
Deprecated: use Role access rules instead.
func (*RoleGrants) List
deprecated
func (svc *RoleGrants) List( ctx context.Context, filter string, args ...interface{}) ( RoleGrantIterator, error)
List gets a list of RoleGrants matching a given set of criteria.
Deprecated: use Role access rules instead.
type RoleIterator ¶
type RoleIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *Role // Err returns the first error encountered during iteration, if any. Err() error }
RoleIterator provides read access to a list of Role. Use it like so:
for iterator.Next() { role := iterator.Value() // ... }
type RoleUpdateResponse ¶
type RoleUpdateResponse struct { // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The updated Role. Role *Role `json:"role"` }
RoleUpdateResponse returns the fields of a Role after it has been updated by a RoleUpdateRequest.
type Roles ¶
type Roles struct {
// contains filtered or unexported fields
}
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
type SQLServer ¶
type SQLServer struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` OverrideDatabase bool `json:"overrideDatabase"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` Schema string `json:"schema"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SQLServer) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the SQLServer.
func (*SQLServer) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SQLServer.
func (*SQLServer) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SQLServer.
func (*SQLServer) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the SQLServer.
func (*SQLServer) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SQLServer.
func (*SQLServer) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SQLServer.
type SSH ¶
type SSH struct { AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` KeyType string `json:"keyType"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortForwarding bool `json:"portForwarding"` PortOverride int32 `json:"portOverride"` PublicKey string `json:"publicKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SSH) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the SSH.
func (*SSH) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SSH.
func (*SSH) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SSH.
func (*SSH) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the SSH.
func (*SSH) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SSH.
func (*SSH) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SSH.
type SSHCert ¶
type SSHCert struct { AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortForwarding bool `json:"portForwarding"` PortOverride int32 `json:"portOverride"` RemoteIdentityGroupID string `json:"remoteIdentityGroupId"` RemoteIdentityHealthcheckUsername string `json:"remoteIdentityHealthcheckUsername"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SSHCert) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the SSHCert.
func (*SSHCert) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SSHCert.
func (*SSHCert) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SSHCert.
func (*SSHCert) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the SSHCert.
func (*SSHCert) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SSHCert.
func (*SSHCert) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SSHCert.
type SSHCustomerKey ¶
type SSHCustomerKey struct { AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"` // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Port int32 `json:"port"` PortForwarding bool `json:"portForwarding"` PortOverride int32 `json:"portOverride"` PrivateKey string `json:"privateKey"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SSHCustomerKey) GetBindInterface ¶ added in v2.3.0
func (m *SSHCustomerKey) GetBindInterface() string
GetBindInterface returns the bind interface of the SSHCustomerKey.
func (*SSHCustomerKey) GetEgressFilter ¶
func (m *SSHCustomerKey) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SSHCustomerKey.
func (*SSHCustomerKey) GetID ¶
func (m *SSHCustomerKey) GetID() string
GetID returns the unique identifier of the SSHCustomerKey.
func (*SSHCustomerKey) GetName ¶
func (m *SSHCustomerKey) GetName() string
GetName returns the name of the SSHCustomerKey.
func (*SSHCustomerKey) GetSecretStoreID ¶
func (m *SSHCustomerKey) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SSHCustomerKey.
func (*SSHCustomerKey) GetTags ¶
func (m *SSHCustomerKey) GetTags() Tags
GetTags returns the tags of the SSHCustomerKey.
func (*SSHCustomerKey) SetBindInterface ¶ added in v2.3.0
func (m *SSHCustomerKey) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SSHCustomerKey.
func (*SSHCustomerKey) SetEgressFilter ¶
func (m *SSHCustomerKey) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SSHCustomerKey.
func (*SSHCustomerKey) SetName ¶
func (m *SSHCustomerKey) SetName(v string)
SetName sets the name of the SSHCustomerKey.
func (*SSHCustomerKey) SetSecretStoreID ¶
func (m *SSHCustomerKey) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SSHCustomerKey.
func (*SSHCustomerKey) SetTags ¶
func (m *SSHCustomerKey) SetTags(v Tags)
SetTags sets the tags of the SSHCustomerKey.
type SecretStore ¶
type SecretStore interface { // GetID returns the unique identifier of the SecretStore. GetID() string // GetTags returns the tags of the SecretStore. GetTags() Tags // SetTags sets the tags of the SecretStore. SetTags(Tags) // GetName returns the name of the SecretStore. GetName() string // SetName sets the name of the SecretStore. SetName(string) // contains filtered or unexported methods }
A SecretStore is a server where resource secrets (passwords, keys) are stored. Coming soon support for HashiCorp Vault and AWS Secret Store. Contact support@strongdm.com to request access to the beta.
type SecretStoreCreateResponse ¶
type SecretStoreCreateResponse struct { // Reserved for future use. Meta *CreateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The created SecretStore. SecretStore SecretStore `json:"secretStore"` }
SecretStoreCreateResponse reports how the SecretStores were created in the system.
type SecretStoreDeleteResponse ¶
type SecretStoreDeleteResponse struct { // Reserved for future use. Meta *DeleteResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` }
SecretStoreDeleteResponse returns information about a SecretStore that was deleted.
type SecretStoreGetResponse ¶
type SecretStoreGetResponse struct { // Reserved for future use. Meta *GetResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The requested SecretStore. SecretStore SecretStore `json:"secretStore"` }
SecretStoreGetResponse returns a requested SecretStore.
type SecretStoreIterator ¶
type SecretStoreIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() SecretStore // Err returns the first error encountered during iteration, if any. Err() error }
SecretStoreIterator provides read access to a list of SecretStore. Use it like so:
for iterator.Next() { secretStore := iterator.Value() // ... }
type SecretStoreUpdateResponse ¶
type SecretStoreUpdateResponse struct { // Reserved for future use. Meta *UpdateResponseMetadata `json:"meta"` // Rate limit information. RateLimit *RateLimitMetadata `json:"rateLimit"` // The updated SecretStore. SecretStore SecretStore `json:"secretStore"` }
SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by a SecretStoreUpdateRequest.
type SecretStores ¶
type SecretStores struct {
// contains filtered or unexported fields
}
SecretStores are servers where resource secrets (passwords, keys) are stored.
func (*SecretStores) Create ¶
func (svc *SecretStores) Create( ctx context.Context, secretStore SecretStore) ( *SecretStoreCreateResponse, error)
func (*SecretStores) Delete ¶
func (svc *SecretStores) Delete( ctx context.Context, id string) ( *SecretStoreDeleteResponse, error)
Delete removes a SecretStore by ID.
func (*SecretStores) Get ¶
func (svc *SecretStores) Get( ctx context.Context, id string) ( *SecretStoreGetResponse, error)
Get reads one SecretStore by ID.
func (*SecretStores) List ¶
func (svc *SecretStores) List( ctx context.Context, filter string, args ...interface{}) ( SecretStoreIterator, error)
List gets a list of SecretStores matching a given set of criteria.
func (*SecretStores) Update ¶
func (svc *SecretStores) Update( ctx context.Context, secretStore SecretStore) ( *SecretStoreUpdateResponse, error)
Update replaces all the fields of a SecretStore by ID.
type Service ¶
type Service struct { // Unique identifier of the Service. ID string `json:"id"` // Unique human-readable name of the Service. Name string `json:"name"` // The Service's suspended state. Suspended bool `json:"suspended"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
func (*Service) IsSuspended ¶
IsSuspended returns whether the Service is suspended.
func (*Service) SetSuspended ¶
SetSuspended sets the suspended of the Service.
type SingleStore ¶
type SingleStore struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SingleStore) GetBindInterface ¶ added in v2.3.0
func (m *SingleStore) GetBindInterface() string
GetBindInterface returns the bind interface of the SingleStore.
func (*SingleStore) GetEgressFilter ¶
func (m *SingleStore) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SingleStore.
func (*SingleStore) GetID ¶
func (m *SingleStore) GetID() string
GetID returns the unique identifier of the SingleStore.
func (*SingleStore) GetName ¶
func (m *SingleStore) GetName() string
GetName returns the name of the SingleStore.
func (*SingleStore) GetSecretStoreID ¶
func (m *SingleStore) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SingleStore.
func (*SingleStore) GetTags ¶
func (m *SingleStore) GetTags() Tags
GetTags returns the tags of the SingleStore.
func (*SingleStore) SetBindInterface ¶ added in v2.3.0
func (m *SingleStore) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SingleStore.
func (*SingleStore) SetEgressFilter ¶
func (m *SingleStore) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SingleStore.
func (*SingleStore) SetName ¶
func (m *SingleStore) SetName(v string)
SetName sets the name of the SingleStore.
func (*SingleStore) SetSecretStoreID ¶
func (m *SingleStore) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SingleStore.
func (*SingleStore) SetTags ¶
func (m *SingleStore) SetTags(v Tags)
SetTags sets the tags of the SingleStore.
type Snowflake ¶
type Snowflake struct { // Bind interface BindInterface string `json:"bindInterface"` Database string `json:"database"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` PortOverride int32 `json:"portOverride"` Schema string `json:"schema"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Snowflake) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Snowflake.
func (*Snowflake) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Snowflake.
func (*Snowflake) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Snowflake.
func (*Snowflake) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Snowflake.
func (*Snowflake) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Snowflake.
func (*Snowflake) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Snowflake.
type Sybase ¶
type Sybase struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Sybase) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Sybase.
func (*Sybase) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Sybase.
func (*Sybase) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Sybase.
func (*Sybase) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Sybase.
func (*Sybase) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Sybase.
func (*Sybase) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Sybase.
type SybaseIQ ¶
type SybaseIQ struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*SybaseIQ) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the SybaseIQ.
func (*SybaseIQ) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SybaseIQ.
func (*SybaseIQ) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SybaseIQ.
func (*SybaseIQ) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the SybaseIQ.
func (*SybaseIQ) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SybaseIQ.
func (*SybaseIQ) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SybaseIQ.
type TagIterator ¶
type TagIterator interface { // Next advances the iterator to the next item in the list. It returns // true if an item is available to retrieve via the `Value()` function. Next() bool // Value returns the current item, if one is available. Value() *Tag // Err returns the first error encountered during iteration, if any. Err() error }
TagIterator provides read access to a list of Tag. Use it like so:
for iterator.Next() { tag := iterator.Value() // ... }
type Teradata ¶
type Teradata struct { // Bind interface BindInterface string `json:"bindInterface"` // A filter applied to the routing logic to pin datasource to nodes. EgressFilter string `json:"egressFilter"` // True if the datasource is reachable and the credentials are valid. Healthy bool `json:"healthy"` Hostname string `json:"hostname"` // Unique identifier of the Resource. ID string `json:"id"` // Unique human-readable name of the Resource. Name string `json:"name"` Password string `json:"password"` Port int32 `json:"port"` PortOverride int32 `json:"portOverride"` // ID of the secret store containing credentials for this resource, if any. SecretStoreID string `json:"secretStoreId"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` Username string `json:"username"` }
func (*Teradata) GetBindInterface ¶ added in v2.3.0
GetBindInterface returns the bind interface of the Teradata.
func (*Teradata) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Teradata.
func (*Teradata) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Teradata.
func (*Teradata) SetBindInterface ¶ added in v2.3.0
SetBindInterface sets the bind interface of the Teradata.
func (*Teradata) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Teradata.
func (*Teradata) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Teradata.
type UnknownError ¶
type UnknownError struct {
Wrapped error
}
UnknownError is a generic wrapper that indicates an unknown internal error in the SDK.
func (*UnknownError) Code ¶
func (e *UnknownError) Code() int
func (*UnknownError) Error ¶
func (e *UnknownError) Error() string
func (*UnknownError) Unwrap ¶
func (e *UnknownError) Unwrap() error
type UpdateResponseMetadata ¶
type UpdateResponseMetadata struct { }
UpdateResponseMetadata is reserved for future use.
type User ¶
type User struct { // The User's email address. Must be unique. Email string `json:"email"` // The User's first name. FirstName string `json:"firstName"` // Unique identifier of the User. ID string `json:"id"` // The User's last name. LastName string `json:"lastName"` // The User's suspended state. Suspended bool `json:"suspended"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
A User can connect to resources they are granted directly, or granted via roles.
func (*User) IsSuspended ¶
IsSuspended returns whether the User is suspended.
func (*User) SetSuspended ¶
SetSuspended sets the suspended of the User.
type VaultAppRoleStore ¶
type VaultAppRoleStore struct { // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` Namespace string `json:"namespace"` ServerAddress string `json:"serverAddress"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*VaultAppRoleStore) GetID ¶
func (m *VaultAppRoleStore) GetID() string
GetID returns the unique identifier of the VaultAppRoleStore.
func (*VaultAppRoleStore) GetName ¶
func (m *VaultAppRoleStore) GetName() string
GetName returns the name of the VaultAppRoleStore.
func (*VaultAppRoleStore) GetTags ¶
func (m *VaultAppRoleStore) GetTags() Tags
GetTags returns the tags of the VaultAppRoleStore.
func (*VaultAppRoleStore) SetName ¶
func (m *VaultAppRoleStore) SetName(v string)
SetName sets the name of the VaultAppRoleStore.
func (*VaultAppRoleStore) SetTags ¶
func (m *VaultAppRoleStore) SetTags(v Tags)
SetTags sets the tags of the VaultAppRoleStore.
type VaultTLSStore ¶
type VaultTLSStore struct { CACertPath string `json:"caCertPath"` ClientCertPath string `json:"clientCertPath"` ClientKeyPath string `json:"clientKeyPath"` // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` Namespace string `json:"namespace"` ServerAddress string `json:"serverAddress"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*VaultTLSStore) GetID ¶
func (m *VaultTLSStore) GetID() string
GetID returns the unique identifier of the VaultTLSStore.
func (*VaultTLSStore) GetName ¶
func (m *VaultTLSStore) GetName() string
GetName returns the name of the VaultTLSStore.
func (*VaultTLSStore) GetTags ¶
func (m *VaultTLSStore) GetTags() Tags
GetTags returns the tags of the VaultTLSStore.
func (*VaultTLSStore) SetName ¶
func (m *VaultTLSStore) SetName(v string)
SetName sets the name of the VaultTLSStore.
func (*VaultTLSStore) SetTags ¶
func (m *VaultTLSStore) SetTags(v Tags)
SetTags sets the tags of the VaultTLSStore.
type VaultTokenStore ¶
type VaultTokenStore struct { // Unique identifier of the SecretStore. ID string `json:"id"` // Unique human-readable name of the SecretStore. Name string `json:"name"` Namespace string `json:"namespace"` ServerAddress string `json:"serverAddress"` // Tags is a map of key, value pairs. Tags Tags `json:"tags"` }
func (*VaultTokenStore) GetID ¶
func (m *VaultTokenStore) GetID() string
GetID returns the unique identifier of the VaultTokenStore.
func (*VaultTokenStore) GetName ¶
func (m *VaultTokenStore) GetName() string
GetName returns the name of the VaultTokenStore.
func (*VaultTokenStore) GetTags ¶
func (m *VaultTokenStore) GetTags() Tags
GetTags returns the tags of the VaultTokenStore.
func (*VaultTokenStore) SetName ¶
func (m *VaultTokenStore) SetName(v string)
SetName sets the name of the VaultTokenStore.
func (*VaultTokenStore) SetTags ¶
func (m *VaultTokenStore) SetTags(v Tags)
SetTags sets the tags of the VaultTokenStore.