util

package
v0.1.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerInterface

type HandlerInterface interface {
	Healthz(w http.ResponseWriter, r *http.Request)
	ApiV1GetScan(w http.ResponseWriter, r *http.Request, imageId generated.ImageID)
}

type S3Interface

type S3Interface interface {
	FetchFromS3(string) ([]byte, error)
	PutToS3(string, string, string, io.ReadSeeker) error
}

type SSHInterface

type SSHInterface interface {
	CopyFromRemoteServer(srcPath, dstPath, filename string) (*os.File, error)
	SSHClose() error
	SFTPClose() error
}

type VaultInterface

type VaultInterface interface {
	Fetch(mountPath, secretPath, data string) ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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