transformer

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...CodeqlTransformerOption) (*codeqlTransformer, error)

New returns a new codeql transformer.

Types

type CodeqlTransformerOption

type CodeqlTransformerOption func(g *codeqlTransformer) error

CodeqlTransformerOption allows customising the transformer.

func CodeqlRawOutDirGlob

func CodeqlRawOutDirGlob(glob string) CodeqlTransformerOption

CodeqlRawOutFilePath allows customising the underlying raw out file path.

func CodeqlTransformerWithClock

func CodeqlTransformerWithClock(clock clockwork.Clock) CodeqlTransformerOption

CodeqlTransformerWithClock allows customising the underlying clock.

func CodeqlTransformerWithTarget

func CodeqlTransformerWithTarget(target TargetType) CodeqlTransformerOption

CodeqlTransformerWithTarget allows customising the underlying target type.

type TargetType

type TargetType string

TargetType represents the target type.

const TargetTypeRepository TargetType = "repository"

func (TargetType) String

func (tt TargetType) String() string

Jump to

Keyboard shortcuts

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