sights

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildSight

type BuildSight interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context, *proto.BuildTrigger) ([]proto.BuildInfo, error)
}

func BuildSightNew

func BuildSightNew(_ context.Context, cfg *BuildSightConfig) BuildSight

type BuildSightConfig

type BuildSightConfig struct {
	Config config.Config
	Logger hclog.Logger
	Gpt    gpt.Gpt
	Repo   repo.Repo
	Review review.Review
}

func DefaultBuildSightConfig

func DefaultBuildSightConfig() *BuildSightConfig

type CodeSight

type CodeSight interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context, *proto.CodeTrigger) (proto.CodeInfo, error)
}

func CodeSightNew

func CodeSightNew(_ context.Context, cfg *CodeSightConfig) CodeSight

type CodeSightConfig

type CodeSightConfig struct {
	Config config.Config
	Logger hclog.Logger
	Gpt    gpt.Gpt
	Repo   repo.Repo
	Review review.Review
}

func DefaultCodeSightConfig

func DefaultCodeSightConfig() *CodeSightConfig

type NodeSight added in v0.5.0

type NodeSight interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context, *proto.NodeTrigger) (proto.NodeInfo, error)
}

func NodeSightNew added in v0.5.0

func NodeSightNew(_ context.Context, cfg *NodeSightConfig) NodeSight

type NodeSightConfig added in v0.5.0

type NodeSightConfig struct {
	Config config.Config
	Logger hclog.Logger
	Gpt    gpt.Gpt
	Ssh    ssh.Ssh
}

func DefaultNodeSightConfig added in v0.5.0

func DefaultNodeSightConfig() *NodeSightConfig

Jump to

Keyboard shortcuts

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