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, proto.MailInfo, 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, proto.MailInfo, 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, proto.MailInfo, error)
}
func NodeSightNew ¶ added in v0.5.0
func NodeSightNew(_ context.Context, cfg *NodeSightConfig) NodeSight
type NodeSightConfig ¶ added in v0.5.0
func DefaultNodeSightConfig ¶ added in v0.5.0
func DefaultNodeSightConfig() *NodeSightConfig
Click to show internal directories.
Click to hide internal directories.