driver

package
v0.0.0-...-38689a3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrpcClientKeyEnv  = "GRPC_CLIENT_KEY"
	GrpcClientCertEnv = "GRPC_CLIENT_CERT"
	GrpcServerCaEnv   = "GRPC_SERVER_CA"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	Run() error
	Cleanup()
}

func NewDriver

func NewDriver(opt *DriverOption) (Driver, error)

type DriverOption

type DriverOption struct {
	Context      context.Context
	JobNamespace string
	JobName      string
	GrpcService  string
	GrpcPort     int
	OutputPath   string
	Logger       logr.Logger
	Args         []string
}

Jump to

Keyboard shortcuts

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