updatekhulnasoft

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFinder

type ConfigFinder interface {
	Finds(wd, configFilePath string) []string
}

type Controller

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

func New

func (*Controller) UpdateKhulnasoft

func (ctrl *Controller) UpdateKhulnasoft(ctx context.Context, logE *logrus.Entry, param *config.Param) error

type KhulnasoftInstaller

type KhulnasoftInstaller interface {
	InstallKhulnasoft(ctx context.Context, logE *logrus.Entry, version string) error
}

type RepositoriesService

type RepositoriesService interface {
	GetLatestRelease(ctx context.Context, repoOwner, repoName string) (*github.RepositoryRelease, *github.Response, error)
}

Jump to

Keyboard shortcuts

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