Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminClient ¶ added in v0.8.5
type AdminClient interface { Tables(ctx context.Context) ([]string, error) TableInfo(ctx context.Context, table string) (*bigtable.TableInfo, error) }
AdminClient is an interface for *bigtable.AdminClient
type Config ¶
type Config struct { ProjectID string `mapstructure:"project_id" validate:"required"` ServiceAccountBase64 string `mapstructure:"service_account_base64"` // contains filtered or unexported fields }
Config holds the configurations for the bigtable extractor
type Extractor ¶
type Extractor struct { plugins.BaseExtractor // contains filtered or unexported fields }
Extractor used to extract bigtable metadata
func New ¶
func New(logger log.Logger, newClient NewClientFunc, newAdminClient NewAdminClientFunc) *Extractor
type InstanceAdminClient ¶ added in v0.8.5
type InstanceAdminClient interface {
Instances(ctx context.Context) ([]*bigtable.InstanceInfo, error)
}
InstanceAdminClient is an interface for *bigtable.InstanceAdminClient
type InstancesFetcher ¶
type InstancesFetcher interface {
Instances(context.Context) ([]*bigtable.InstanceInfo, error)
}
InstancesFetcher is an interface for fetching instances
type NewAdminClientFunc ¶ added in v0.8.5
type NewClientFunc ¶ added in v0.8.5
type NewClientFunc func(ctx context.Context, cfg Config) (InstanceAdminClient, error)
Click to show internal directories.
Click to hide internal directories.