common

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GcpSAFileLocation              = "gcp-serviceaccount-json-location"
	GcpOrgId                       = "gcp-organization-id"
	GcpProjectId                   = "gcp-project-id"
	GsuiteIdentityStoreSync        = "gsuite-identity-store-sync"
	GsuiteImpersonateSubject       = "gsuite-impersonate-subject"
	GsuiteCustomerId               = "gsuite-customer-id"
	ExcludeNonAplicablePermissions = "skip-non-applicable-permissions"
	GcpRolesToGroupByIdentity      = "gcp-roles-to-group-by-identity"
	GcpMaskedReader                = "gcp-masked-reader"

	BqExcludedDatasets      = "bq-excluded-datasets"
	BqIncludeHiddenDatasets = "bq-include-hidden-datasets"
	BqDataUsageWindow       = "bq-data-usage-window"
	BqCatalogEnabled        = "bq-catalog-enabled"
)
View Source
const CONTEXT_TIMEOUT = 10 * time.Second

Variables

View Source
var Logger hclog.Logger

Functions

func IsGoogle400Error added in v0.9.4

func IsGoogle400Error(err error) bool

func ShouldGoInto added in v0.8.1

func ShouldGoInto(fullName string, config *data_source.DataSourceSyncConfig) (ret bool)

ShouldGoInto checks if we need to go deeper into this data object or not.

func ShouldHandle added in v0.8.1

func ShouldHandle(fullName string, config *data_source.DataSourceSyncConfig) (ret bool)

ShouldHandle determines if this data object needs to be handled by the syncer or not. It does this by looking at the configuration options to only sync a part.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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