handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dockerfile added in v0.2.0

type Dockerfile struct {
	// contains filtered or unexported fields
}

func NewDockerfile added in v0.2.0

func NewDockerfile(wc *component.WarnCondition) *Dockerfile

func (*Dockerfile) Handle added in v0.2.0

func (h *Dockerfile) Handle(ctx context.Context, path string)

func (*Dockerfile) LookUp added in v0.2.0

func (h *Dockerfile) LookUp(path string) ([]component.Component, error)

type GoMod

type GoMod struct {
	// contains filtered or unexported fields
}

func NewGoMod

func NewGoMod(gcli *github.Client, wc *component.WarnCondition) *GoMod

func (*GoMod) Handle

func (h *GoMod) Handle(ctx context.Context, path string)

func (*GoMod) LookUp

func (h *GoMod) LookUp(path string) ([]component.Component, error)

type Handler

type Handler interface {
	Handle(ctx context.Context, path string)
	LookUp(path string) ([]component.Component, error)
}

type PackageJSON

type PackageJSON struct {
	// contains filtered or unexported fields
}

func NewPackageJSON

func NewPackageJSON(gcli *github.Client, wc *component.WarnCondition) *PackageJSON

func (*PackageJSON) Handle

func (h *PackageJSON) Handle(ctx context.Context, path string)

func (*PackageJSON) LookUp

func (h *PackageJSON) LookUp(path string) ([]component.Component, error)

Jump to

Keyboard shortcuts

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