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.
Click to show internal directories.
Click to hide internal directories.