MCPcopy Create free account

hub / github.com/crc-org/crc-cloud / functions

Functions96 in github.com/crc-org/crc-cloud

↓ 9 callersFunctionGetTags
()
pkg/manager/context/context.go:32
↓ 6 callersFunctionCreateParams
(provider Provider)
pkg/manager/manager.go:14
↓ 6 callersFunctionDefaultTimeouts
()
pkg/util/command/command.go:67
↓ 4 callersFunctiongetProvider
(provider Provider)
pkg/manager/providers.go:21
↓ 3 callersFunctionCreate
(projectName, backerURL, outputFoler string, provider Provider, providerArgs map[string]string, ocpPullSecre
pkg/manager/manager.go:65
↓ 3 callersFunctionCreatePassword
nolint
pkg/util/password.go:10
↓ 3 callersMethodGetPlugin
Plugin information, required to dynamically install the plugin for the specific provider
pkg/manager/provider/api/types.go:27
↓ 3 callersFunctionSetup
(ctx *pulumi.Context, publicIP, privateKey *pulumi.StringOutput, data Data)
pkg/bundle/setup/clustersetup.go:73
↓ 3 callersFunctionSwapKeys
Switch the fixed initial key with self created one
pkg/bundle/setup/clustersetup.go:30
↓ 2 callersFunctionCreate
(projectName string, tags map[string]string)
pkg/manager/context/context.go:22
↓ 2 callersFunctionWriteTempFile
(content string)
pkg/util/file.go:11
↓ 2 callersFunctiondestroyStack
(targetStack providerAPI.Stack)
pkg/manager/util.go:40
↓ 2 callersFunctiongetStack
this function gets our stack ready for update/destroy by prepping the workspace, init/selecting the stack and doing a refresh to make sure state and c
pkg/manager/util.go:53
↓ 2 callersFunctionrunPostrun
()
cmd/cmd/root.go:78
↓ 2 callersFunctionupStack
(targetStack providerAPI.Stack)
pkg/manager/util.go:33
↓ 2 callersFunctionwriteOutputs
(stackResult auto.UpResult, destinationFolder string, results map[string]string)
pkg/manager/util.go:92
↓ 1 callersFunctionConvert
(source map[X]Y, convertX func(x X) Z, convertY func(y Y) V)
pkg/util/maps/maps.go:3
↓ 1 callersFunctionCopyFileWithDependencies
(ctx *pulumi.Context, resourceName string, host pulumi.StringInput, username, privateKey pulumi.StringPtrInpu
pkg/util/command/command.go:21
↓ 1 callersFunctionCreate
(ctx *pulumi.Context, rules []IngressRule, name, description string)
pkg/provider/aws/sg/sg.go:13
↓ 1 callersFunctionCreateDependingPassword
(ctx *pulumi.Context, name string, dependecies []pulumi.Resource)
pkg/util/password.go:14
↓ 1 callersMethodCreateParams
Set of params tied to provider to customize the create operation
pkg/manager/provider/api/types.go:34
↓ 1 callersMethodCreateParamsMandatory
Subset of create params which are mandatory
pkg/manager/provider/api/types.go:36
↓ 1 callersMethodCreateRunFunc
Creates all resources for the specific provider required on the create operation
pkg/manager/provider/api/types.go:38
↓ 1 callersFunctionDestroy
(projectName, backedURL string, provider Provider)
pkg/manager/manager.go:106
↓ 1 callersFunctionExecute
()
cmd/cmd/root.go:49
↓ 1 callersFunctionGetCreateCmd
()
cmd/cmd/create/create.go:15
↓ 1 callersFunctionGetDescription
Bundle name format contains the version number we are managing this function will return a description having that versioning info in it if bundle nam
pkg/bundle/bundle.go:25
↓ 1 callersFunctionGetProvider
()
pkg/provider/gcp/gcp.go:10
↓ 1 callersFunctionGetProvider
()
pkg/provider/openstack/openstack.go:10
↓ 1 callersFunctionGetProvider
()
pkg/provider/aws/aws.go:10
↓ 1 callersFunctionImport
(projectName, backerURL, outputFoler string, bundleDownloadURL, shasumfileDownloadURL string, provider Provid
pkg/manager/manager.go:19
↓ 1 callersMethodImportImageRunFunc
Manage all the image import process for the specific provider
pkg/manager/provider/api/types.go:30
↓ 1 callersFunctionRemoteExecWithDependencies
(ctx *pulumi.Context, resourceName string, host pulumi.StringInput, username, privateKey pulumi.StringPtrInpu
pkg/util/command/command.go:47
↓ 1 callersFunctionaddCommonTags
()
pkg/manager/context/context.go:40
↓ 1 callersFunctionattachMiddleware
(names []string, cmd *cobra.Command)
cmd/cmd/root.go:60
↓ 1 callersFunctioncreateKey
(ctx *pulumi.Context)
pkg/provider/aws/create-instance.go:121
↓ 1 callersFunctioncreateTempBlobStorageContainer
This function creates a temporary bucket to upload the disk image to be imported As a temporary bucket bucket name is not set so a s
pkg/provider/azure/image-import.go:45
↓ 1 callersFunctioncreateTempBucket
This function creates a temporary bucket to upload the disk image to be imported It returns the bucket resource, the generated bucket name and error i
pkg/provider/aws/image-import.go:96
↓ 1 callersFunctioncreateVMIEmportExportRole
https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html
pkg/provider/aws/image-import.go:198
↓ 1 callersFunctionexecuteWithLogging
(_ string, input func(cmd *cobra.Command, args []string) error)
cmd/cmd/root.go:72
↓ 1 callersFunctionfillCreateRequest
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/gcp/create-instance.go:26
↓ 1 callersFunctionfillCreateRequest
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/openstack/create-instance.go:30
↓ 1 callersFunctionfillCreateRequest
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/aws/create-instance.go:29
↓ 1 callersFunctionfillImportRequest
(projectName, bundleDownloadURL, shasumfileDownloadURL string)
pkg/provider/azure/image-import.go:20
↓ 1 callersFunctionfillImportRequest
(projectName, bundleDownloadURL, shasumfileDownloadURL string)
pkg/provider/aws/image-import.go:31
↓ 1 callersFunctiongetAWSProviderCmd
()
cmd/cmd/create/aws.go:19
↓ 1 callersFunctiongetGCPProviderCmd
()
cmd/cmd/create/gcp.go:19
↓ 1 callersFunctiongetOpenStackProviderCmd
()
cmd/cmd/create/openstack.go:19
↓ 1 callersFunctiongetOpts
(target providerAPI.Stack)
pkg/manager/util.go:68
↓ 1 callersFunctiongetSecurityGroupIngressArray
(rules []IngressRule)
pkg/provider/aws/sg/sg.go:36
↓ 1 callersFunctionmanageCreateResults
(stackResult auto.UpResult, destinationFolder string)
pkg/manager/manager.go:120
↓ 1 callersFunctionmanageImageImportResults
(stackResult auto.UpResult, destinationFolder string)
pkg/manager/manager.go:55
↓ 1 callersFunctionpostStack
(ctx context.Context, target providerAPI.Stack, stack *auto.Stack)
pkg/manager/util.go:82
↓ 1 callersFunctionrandomID
random name for temporary assets required for importing the image
pkg/provider/aws/image-import.go:88
↓ 1 callersFunctionregisterAMI
from an image as a raw on a s3 bucket this function will import it as a snapshot and the register the snapshot as an AMI
pkg/provider/aws/image-import.go:149
↓ 1 callersFunctionrolePolicyContent
TODO review s3 actions
pkg/provider/aws/image-import.go:254
↓ 1 callersFunctionrunPrerun
(_ *cobra.Command)
cmd/cmd/root.go:41
↓ 1 callersFunctionrunRoot
()
cmd/cmd/root.go:45
↓ 1 callersFunctionsecurityGroupsIDs
(ctx *pulumi.Context)
pkg/provider/aws/create-instance.go:109
↓ 1 callersFunctiontrustPolicyContent
()
pkg/provider/aws/image-import.go:227
↓ 1 callersFunctionuploadDisk
pulumi s3.NewBucketObject is really slow, we take advangate of aws cli to run this as a cmd as cli defaults upload with multipart 10
pkg/provider/aws/image-import.go:132
↓ 1 callersFunctionvalidateParams
(args map[string]string, required []string)
pkg/manager/util.go:18
↓ 1 callersFunctionwriteOutput
(stackResult auto.UpResult, outputkey, destinationFolder, destinationFilename string)
pkg/manager/util.go:102
FunctionCopyFile
(ctx *pulumi.Context, resourceName string, host pulumi.StringInput, username, privateKey pulumi.StringPtrInpu
pkg/util/command/command.go:13
FunctionCreateKey
(ctx *pulumi.Context)
pkg/util/tls/tls.go:8
MethodCreateParams
()
pkg/provider/gcp/gcp.go:24
MethodCreateParams
()
pkg/provider/openstack/openstack.go:24
MethodCreateParams
()
pkg/provider/aws/aws.go:28
MethodCreateParamsMandatory
()
pkg/provider/gcp/gcp.go:32
MethodCreateParamsMandatory
()
pkg/provider/openstack/openstack.go:33
MethodCreateParamsMandatory
()
pkg/provider/aws/aws.go:36
MethodCreateRunFunc
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/gcp/gcp.go:36
MethodCreateRunFunc
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/openstack/openstack.go:37
MethodCreateRunFunc
(projectName, bootingPrivateKeyFilePath, ocpPullSecretFilePath string, args map[string]string)
pkg/provider/aws/aws.go:40
FunctionExtract
(ctx *pulumi.Context, bundleDownloadURL, shasumfileDownloadURL string)
pkg/bundle/extract/extract.go:21
FunctionGetName
()
pkg/manager/context/context.go:36
MethodGetPlugin
()
pkg/provider/gcp/gcp.go:14
MethodGetPlugin
()
pkg/provider/azure/azure.go:19
MethodGetPlugin
()
pkg/provider/openstack/openstack.go:14
MethodGetPlugin
()
pkg/provider/aws/aws.go:14
FunctionGetProvider
()
pkg/provider/azure/azure.go:15
MethodImportImageRunFunc
(_, _, _ string)
pkg/provider/gcp/gcp.go:20
MethodImportImageRunFunc
(projectName, bundleDownloadURL, shasumfileDownloadURL string)
pkg/provider/azure/azure.go:25
MethodImportImageRunFunc
(_, _, _ string)
pkg/provider/openstack/openstack.go:20
MethodImportImageRunFunc
(projectName, bundleDownloadURL, shasumfileDownloadURL string)
pkg/provider/aws/aws.go:20
FunctionRemoteExec
(ctx *pulumi.Context, resourceName string, host pulumi.StringInput, username, privateKey pulumi.StringPtrInpu
pkg/util/command/command.go:39
FunctionTemplate
(data any, templateName, templateContent string)
pkg/util/file.go:21
Functioninit
()
cmd/cmd/destroy.go:19
Functioninit
()
cmd/cmd/import.go:19
Functioninit
()
cmd/cmd/root.go:36
Functionmain
()
cmd/main.go:5
MethodrunFunc
(ctx *pulumi.Context)
pkg/provider/gcp/create-instance.go:53
MethodrunFunc
(ctx *pulumi.Context)
pkg/provider/azure/image-import.go:28
MethodrunFunc
(ctx *pulumi.Context)
pkg/provider/openstack/create-instance.go:62
MethodrunFunc
(ctx *pulumi.Context)
pkg/provider/aws/image-import.go:39
MethodrunFunc
(ctx *pulumi.Context)
pkg/provider/aws/create-instance.go:56