Documentation ¶
Index ¶
- Constants
- func ConnectToBigQuery(configMap *config.ConfigMap, ctx context.Context) (*bigquery.Client, error)
- func GetDataSourceMetaData(_ context.Context) (*ds.MetaData, error)
- func GetResourceIds(ctx context.Context, configMap *config.ConfigMap) ([]string, error)
- type AccessSyncer
- func (a *AccessSyncer) SyncAccessAsCodeToTarget(ctx context.Context, accessProviders *importer.AccessProviderImport, ...) error
- func (a *AccessSyncer) SyncAccessProviderToTarget(ctx context.Context, accessProviders *importer.AccessProviderImport, ...) error
- func (a *AccessSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, ...) error
- type BQEntity
- type BQInformationSchemaEntity
- type BQReferencedTable
- type BigQueryRepository
- func (r *BigQueryRepository) GetDataSets(ctx context.Context, configMap *config.ConfigMap) ([]BQEntity, error)
- func (r *BigQueryRepository) GetDataUsage(ctx context.Context, configMap *config.ConfigMap) ([]BQInformationSchemaEntity, error)
- func (r *BigQueryRepository) GetTables(ctx context.Context, configMap *config.ConfigMap, parent BQEntity) ([]BQEntity, error)
- type DataSourceSyncer
- type DataUsageSyncer
- type GroupEntity
- type IdentityStoreSyncer
- type UserEntity
Constants ¶
View Source
const ( BqExcludedDatasets = "bq-excluded-datasets" BqIncludeHiddenDatasets = "bq-include-hidden-datasets" BqDataUsageWindow = "bq-data-usage-window" )
Variables ¶
This section is empty.
Functions ¶
func ConnectToBigQuery ¶
func GetDataSourceMetaData ¶ added in v0.0.12
Types ¶
type AccessSyncer ¶
type AccessSyncer struct {
// contains filtered or unexported fields
}
func NewDataAccessSyncer ¶
func NewDataAccessSyncer() *AccessSyncer
func (*AccessSyncer) SyncAccessAsCodeToTarget ¶
func (a *AccessSyncer) SyncAccessAsCodeToTarget(ctx context.Context, accessProviders *importer.AccessProviderImport, prefix string, configMap *config.ConfigMap) error
func (*AccessSyncer) SyncAccessProviderToTarget ¶
func (a *AccessSyncer) SyncAccessProviderToTarget(ctx context.Context, accessProviders *importer.AccessProviderImport, accessProviderFeedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error
func (*AccessSyncer) SyncAccessProvidersFromTarget ¶
func (a *AccessSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, configMap *config.ConfigMap) error
type BQReferencedTable ¶ added in v0.0.2
type BigQueryRepository ¶
type BigQueryRepository struct { }
func (*BigQueryRepository) GetDataSets ¶
func (*BigQueryRepository) GetDataUsage ¶
func (r *BigQueryRepository) GetDataUsage(ctx context.Context, configMap *config.ConfigMap) ([]BQInformationSchemaEntity, error)
type DataSourceSyncer ¶
type DataSourceSyncer struct {
// contains filtered or unexported fields
}
func NewDataSourceSyncer ¶
func NewDataSourceSyncer() *DataSourceSyncer
func (*DataSourceSyncer) GetDataSourceMetaData ¶
func (*DataSourceSyncer) SyncDataSource ¶
func (s *DataSourceSyncer) SyncDataSource(ctx context.Context, dataSourceHandler wrappers.DataSourceObjectHandler, configMap *config.ConfigMap) error
type DataUsageSyncer ¶
type DataUsageSyncer struct {
// contains filtered or unexported fields
}
func NewDataUsageSyncer ¶
func NewDataUsageSyncer() *DataUsageSyncer
func (*DataUsageSyncer) SyncDataUsage ¶
func (s *DataUsageSyncer) SyncDataUsage(ctx context.Context, fileCreator wrappers.DataUsageStatementHandler, configParams *config.ConfigMap) error
type GroupEntity ¶
type IdentityStoreSyncer ¶
type IdentityStoreSyncer struct {
// contains filtered or unexported fields
}
func NewIdentityStoreSyncer ¶
func NewIdentityStoreSyncer() *IdentityStoreSyncer
func (*IdentityStoreSyncer) GetIdentityStoreMetaData ¶
func (*IdentityStoreSyncer) SyncIdentityStore ¶
func (s *IdentityStoreSyncer) SyncIdentityStore(ctx context.Context, identityHandler wrappers.IdentityStoreIdentityHandler, configMap *config.ConfigMap) error
type UserEntity ¶
Click to show internal directories.
Click to hide internal directories.