components

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenFunctionDir    = ".ofn"
	RecordFileNameTmpl = "%s-inventory.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorExecutor

type OperatorExecutor interface {
	Exec(cmd string) (string, string, error)
	DownloadDaprClient(version string, inRegionCN bool) error
	KubectlExec(ctx context.Context, cmd string, wait bool) error
	RecordInventory(ctx context.Context, inventoryMap map[string]string) error
	GetInventoryRecord(ctx context.Context) (*inventory.Record, error)
	DownloadKind(ctx context.Context) error
	GetNodeIP(ctx context.Context) (string, error)
	CurlOpenFunction(ctx context.Context, endPoint string) (string, error)
}

OperatorExecutor is an executor abstraction that guides the implementation of executors under different operating systems.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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