MCPcopy Create free account
hub / github.com/crc-org/crc-cloud / CopyFile

Function CopyFile

pkg/util/command/command.go:13–19  ·  view source on GitHub ↗
(ctx *pulumi.Context, resourceName string,
	host pulumi.StringInput, username, privateKey pulumi.StringPtrInput, port pulumi.Float64PtrInput,
	localPath, remotePath string)

Source from the content-addressed store, hash-verified

11)
12
13func CopyFile(ctx *pulumi.Context, resourceName string,
14 host pulumi.StringInput, username, privateKey pulumi.StringPtrInput, port pulumi.Float64PtrInput,
15 localPath, remotePath string) (*remote.CopyFile, error) {
16 return CopyFileWithDependencies(ctx, resourceName,
17 host, username, privateKey, port,
18 localPath, remotePath, []pulumi.Resource{})
19}
20
21func CopyFileWithDependencies(ctx *pulumi.Context, resourceName string,
22 host pulumi.StringInput, username, privateKey pulumi.StringPtrInput, port pulumi.Float64PtrInput,

Callers

nothing calls this directly

Calls 1

CopyFileWithDependenciesFunction · 0.85

Tested by

no test coverage detected