Documentation
¶
Index ¶
- type BQExtractorFunc
- type BQUpstreamIdentifier
- type EvalFunc
- type ExtractorFunc
- type MaxcomputeUpstreamIdentifier
- type ParserFunc
- type UpstreamIdentifier
- type UpstreamIdentifierFactory
- func (u *UpstreamIdentifierFactory) GetBQUpstreamIdentifier(ctx context.Context, svcAcc string, evaluators ...evaluator.Evaluator) (UpstreamIdentifier, error)
- func (u *UpstreamIdentifierFactory) GetMaxcomputeUpstreamIdentifier(_ context.Context, svcAcc string, evaluators ...evaluator.Evaluator) (UpstreamIdentifier, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BQExtractorFunc ¶
type BQExtractorFunc func(context.Context, []bigquery.ResourceURN) (map[bigquery.ResourceURN]string, error)
type BQUpstreamIdentifier ¶
type BQUpstreamIdentifier struct {
// contains filtered or unexported fields
}
func NewBQUpstreamIdentifier ¶
func NewBQUpstreamIdentifier(logger log.Logger, parserFunc ParserFunc, bqExtractorFunc BQExtractorFunc, evaluatorFuncs ...EvalFunc) (*BQUpstreamIdentifier, error)
func (BQUpstreamIdentifier) IdentifyResources ¶
type ExtractorFunc ¶ added in v0.19.0
ExtractorFunc extracts the ddl from the given resource urns
type MaxcomputeUpstreamIdentifier ¶ added in v0.19.0
type MaxcomputeUpstreamIdentifier struct {
// contains filtered or unexported fields
}
func NewMaxcomputeUpstreamIdentifier ¶ added in v0.19.0
func NewMaxcomputeUpstreamIdentifier(logger log.Logger, parserFunc ParserFunc, extractorFunc ExtractorFunc, evaluatorFuncs ...EvalFunc) (*MaxcomputeUpstreamIdentifier, error)
func (MaxcomputeUpstreamIdentifier) IdentifyResources ¶ added in v0.19.0
type ParserFunc ¶
ParserFunc parses given raw and return list of resource urns
type UpstreamIdentifier ¶
type UpstreamIdentifierFactory ¶
type UpstreamIdentifierFactory struct {
// contains filtered or unexported fields
}
func NewUpstreamIdentifierFactory ¶
func NewUpstreamIdentifierFactory(logger log.Logger) (*UpstreamIdentifierFactory, error)
func (*UpstreamIdentifierFactory) GetBQUpstreamIdentifier ¶
func (u *UpstreamIdentifierFactory) GetBQUpstreamIdentifier(ctx context.Context, svcAcc string, evaluators ...evaluator.Evaluator) (UpstreamIdentifier, error)
func (*UpstreamIdentifierFactory) GetMaxcomputeUpstreamIdentifier ¶ added in v0.19.0
func (u *UpstreamIdentifierFactory) GetMaxcomputeUpstreamIdentifier(_ context.Context, svcAcc string, evaluators ...evaluator.Evaluator) (UpstreamIdentifier, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.