Documentation ¶
Index ¶
- Constants
- type AddConnection
- type AuthorizationGroup
- type AuthorizationGroupUser
- type BqTestDiagnostic
- type BqTestErrors
- type BqTestWarnings
- type CreateOrUpdateAuthorizationGroup
- type CreateOrUpdateComparisonRule
- type CreateOrUpdateDomain
- type CreateOrUpdateServiceApiToken
- type DatabaseTestDiagnostic
- type DeleteAccessToken
- type DeleteAuthorizationGroup
- type DeleteDomain
- type GetAuthorizationGroups
- type GetDomain
- type GetTables
- type GetTablesEdge
- type GetTokenMetadata
- type GetUsersInAccount
- type GetWarehouse
- type JSONString
- type MonteCarloClient
- type RemoveConnection
- type SetWarehouseName
- type TagKeyValuePairInput
- type TagKeyValuePairOutput
- type TagPair
- type TestBqCredentialsV2
- type TestDatabaseCredentials
- type TokenMetadata
- type UUID
- type UpdateCredentials
- type UpdateCredentialsV2
- type UpdateUserAuthorizationGroupMembership
- type User
Constants ¶
View Source
const BqConnectionType = "bigquery"
View Source
const BqConnectionTypeResponse = "BIGQUERY"
View Source
const GetDomainQuery string = "" /* 126-byte string literal not displayed */
View Source
const GetWarehouseQuery string = "" /* 133-byte string literal not displayed */
View Source
const TrxConnectionType = "transactional-db"
View Source
const TrxConnectionTypeResponse = "TRANSACTIONAL_DB"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddConnection ¶
type AuthorizationGroup ¶
type AuthorizationGroupUser ¶
type BqTestDiagnostic ¶
type BqTestErrors ¶
type BqTestErrors []BqTestDiagnostic
type BqTestWarnings ¶
type BqTestWarnings []BqTestDiagnostic
type CreateOrUpdateAuthorizationGroup ¶
type CreateOrUpdateAuthorizationGroup struct { CreateOrUpdateAuthorizationGroup struct { AuthorizationGroup AuthorizationGroup } `` /* 178-byte string literal not displayed */ }
type CreateOrUpdateComparisonRule ¶
type CreateOrUpdateComparisonRule struct { CreateOrUpdateComparisonRule struct { CustomRule struct { Uuid string AccountUuid string Projects []string Datasets []string Description string Notes string Labels []string IsTemplateManaged bool Namespace string Severity string RuleType string WarehouseUuid string Comparisons []struct { ComparisonType string FullTableId string FullTableIds []string Field string Metric string Operator string Threshold float64 } } } `` /* 391-byte string literal not displayed */ }
type CreateOrUpdateDomain ¶
type CreateOrUpdateDomain struct { CreateOrUpdateDomain struct { Domain struct { Assignments []string Tags []TagKeyValuePairOutput Name string Description string Uuid string } } `graphql:"createOrUpdateDomain(assignments: $assignments, tags: $tags, name: $name, description: $description, uuid: $uuid)"` }
type CreateOrUpdateServiceApiToken ¶ added in v0.4.1
type DatabaseTestDiagnostic ¶
type DeleteAccessToken ¶ added in v0.4.1
type DeleteAccessToken struct { DeleteAccessToken struct { Success bool } `graphql:"deleteAccessToken(tokenId: $tokenId)"` }
type DeleteAuthorizationGroup ¶
type DeleteAuthorizationGroup struct { DeleteAuthorizationGroup struct { Deleted int } `graphql:"deleteAuthorizationGroup(name: $name)"` }
type DeleteDomain ¶
type DeleteDomain struct { DeleteDomain struct { Deleted int } `graphql:"deleteDomain(uuid: $uuid)"` }
type GetAuthorizationGroups ¶
type GetAuthorizationGroups struct {
GetAuthorizationGroups []AuthorizationGroup `graphql:"getAuthorizationGroups"`
}
type GetTables ¶
type GetTables struct { GetTables struct { Edges []GetTablesEdge PageInfo struct { StartCursor string EndCursor string HasNextPage bool } } `graphql:"getTables(dwId: $dwId, first: $first, after: $after, isDeleted: $isDeleted, isExcluded: $isExcluded)"` }
type GetTablesEdge ¶
type GetTokenMetadata ¶ added in v0.4.1
type GetTokenMetadata struct {
GetTokenMetadata []TokenMetadata `graphql:"getTokenMetadata(index: $index, isServiceApiToken: $isServiceApiToken)"`
}
type GetUsersInAccount ¶
type GetWarehouse ¶
type GetWarehouse struct { GetWarehouse *struct { Name string `json:"name"` Connections []struct { Uuid string `json:"uuid"` Type string `json:"type"` CreatedOn string `json:"createdOn"` UpdatedOn string `json:"updatedOn"` } `json:"connections"` DataCollector struct { Uuid string `json:"uuid"` } `json:"dataCollector"` } `json:"getWarehouse"` }
type JSONString ¶
type JSONString string
type MonteCarloClient ¶
type MonteCarloClient interface { Mutate(ctx context.Context, m interface{}, variables map[string]interface{}, options ...graphql.Option) error Query(ctx context.Context, q interface{}, variables map[string]interface{}, options ...graphql.Option) error ExecRaw(ctx context.Context, query string, variables map[string]interface{}, options ...graphql.Option) ([]byte, error) }
client interface
func NewMonteCarloClient ¶
type RemoveConnection ¶
type RemoveConnection struct { RemoveConnection struct { Success bool } `graphql:"removeConnection(connectionId: $connectionId)"` }
type SetWarehouseName ¶
type TagKeyValuePairInput ¶
type TagKeyValuePairInput TagPair
type TagKeyValuePairOutput ¶
type TagKeyValuePairOutput TagPair
type TestBqCredentialsV2 ¶
type TestBqCredentialsV2 struct { TestBqCredentialsV2 struct { Key string ValidationResult struct { Success bool Warnings BqTestWarnings Errors BqTestErrors } } `graphql:"testBqCredentialsV2(validationName: $validationName, connectionDetails: $connectionDetails)"` }
type TestDatabaseCredentials ¶
type TestDatabaseCredentials struct { TestDatabaseCredentials struct { Key string Success bool Warnings []DatabaseTestDiagnostic Validations []DatabaseTestDiagnostic } `` /* 160-byte string literal not displayed */ }
type TokenMetadata ¶ added in v0.4.1
type UpdateCredentials ¶
type UpdateCredentialsV2 ¶
type UpdateUserAuthorizationGroupMembership ¶
type UpdateUserAuthorizationGroupMembership struct { UpdateUserAuthorizationGroupMembership struct { AddedToGroups []struct { Name string Label string Description string } RemovedFromGroups []struct { Name string Label string Description string } } `graphql:"updateUserAuthorizationGroupMembership(memberUserId: $memberUserId, groupNames: $groupNames)"` }
Click to show internal directories.
Click to hide internal directories.