MCPcopy Index your code

hub / github.com/dineshgowda24/alfred-gcp-workflow / functions

Functions324 in github.com/dineshgowda24/alfred-gcp-workflow

↓ 48 callersMethodIcon
()
services/service.go:48
↓ 34 callersMethodGetRegionName
()
gcloud/config.go:26
↓ 33 callersFunctionrunGCloudCmd
(cfg *Config, cmd string, extraArgs ...string)
gcloud/cmd.go:14
↓ 26 callersMethodBuild
Build fetches the resources from gcloud or loads them from the cache and renders them to the alfred. If the cache exists and is not expired, it loads
workflow/resource/resource.go:86
↓ 26 callersFunctionNewBuilder
( key string, wf *aw.Workflow, cfg *gc.Config, q *parser.Result, fetch Fetcher[T], render Renderer[T], )
workflow/resource/resource.go:68
↓ 26 callersFunctionNewItem
(wf *aw.Workflow, config *gcloud.Config, item Displayable, icon *aw.Icon)
workflow/resource/item.go:14
↓ 25 callersMethodSubtitle
()
workflow/resource/item.go:10
↓ 17 callersFunctionDebug
(msg string, args ...interface{})
workflow/log/log.go:26
↓ 13 callersMethodAutocomplete
()
services/service.go:40
↓ 12 callersMethodSendFeedback
()
orchestrator/context.go:57
↓ 11 callersFunctionError
(msg string, args ...interface{})
workflow/log/log.go:46
↓ 9 callersFunctionFormatLocalTime
(t time.Time)
util/time.go:12
↓ 9 callersFunctionFormatTime
(t time.Time)
util/time.go:5
↓ 8 callersMethodHandle
(ctx *Context)
orchestrator/orchestrator.go:19
↓ 7 callersMethodMatch
()
services/service.go:86
↓ 6 callersFunctionisComputeRegionSupported
(config *Config)
gcloud/compute.go:140
↓ 5 callersMethoderrKey
()
workflow/resource/resource.go:133
↓ 4 callersFunctionDebugf
(msg string, args ...interface{})
workflow/log/log.go:32
↓ 4 callersMethodUrl
(config *gcloud.Config)
services/service.go:54
↓ 4 callersFunctionbuildAutocomplete
(ctx *Context, service *services.Service)
orchestrator/util.go:14
↓ 4 callersMethodcacheKey
()
workflow/resource/resource.go:137
↓ 4 callersFunctionemptyResultItem
(wf *aw.Workflow, title string)
orchestrator/util.go:59
↓ 3 callersFunctionErrorf
(msg string, args ...interface{})
workflow/log/log.go:50
↓ 3 callersFunctionGetConfigFile
GetConfigFile returns the loaded config singleton.
workflow/config/config.go:27
↓ 3 callersMethodIsChild
()
services/service.go:94
↓ 3 callersMethodTitle
()
workflow/resource/item.go:9
↓ 2 callersMethodCacheKey
CacheKey returns a unique cache key for the config. We use the prefix combined with the project name to avoid collisions. Note: We intentionally avoid
gcloud/config.go:38
↓ 2 callersMethodExists
(parent, child *Service)
services/service.go:16
↓ 2 callersFunctionGetAllConfigs
GetAllConfigs lazy loads all gcloud configs subsequent calls will return the cached configs
gcloud/config.go:98
↓ 2 callersFunctionGetAllRegions
()
gcloud/region.go:47
↓ 2 callersFunctionGetDefaultRegistry
GetDefaultRegistry returns a default registry with all the searchers registered.
searchers/searcher.go:55
↓ 2 callersMethodHasIntent
()
parser/query.go:42
↓ 2 callersMethodID
()
searchers/monitoring/dto.go:28
↓ 2 callersFunctionInfo
(msg string, args ...interface{})
workflow/log/log.go:38
↓ 2 callersMethodIsIntentQuery
()
orchestrator/context.go:53
↓ 2 callersMethodIsSubServiceQuery
()
orchestrator/context.go:49
↓ 2 callersFunctionaddContributingItem
(wf *aw.Workflow, title string)
orchestrator/util.go:66
↓ 2 callersFunctionbuildServiceMap
(svcList []services.Service)
parser/query.go:167
↓ 2 callersFunctionconfigPath
(wf *aw.Workflow)
workflow/config/config.go:92
↓ 2 callersMethoddelCacheKey
()
workflow/resource/resource.go:240
↓ 2 callersFunctiongetGCloudConfigPath
()
gcloud/config.go:75
↓ 2 callersMethodhandleErr
()
orchestrator/orchestrator.go:135
↓ 2 callersMethodkey
(parent, child *services.Service)
searchers/searcher.go:45
↓ 2 callersFunctionloadConfig
(path string)
gcloud/config.go:80
↓ 2 callersMethodloadJSONCache
()
workflow/resource/resource.go:227
↓ 2 callersMethodrunBackgroundJob
()
workflow/resource/resource.go:270
↓ 2 callersMethodsend
(ctx *Context)
orchestrator/service.go:66
↓ 2 callersFunctionwrite
(wf *aw.Workflow, cfg *ConfigFile)
workflow/config/config.go:73
↓ 1 callersFunctionCacheTTLDuration
(defaultTTL time.Duration)
workflow/env/env.go:11
↓ 1 callersMethodCheck
(wf *aw.Workflow, result *parser.Result)
orchestrator/preflight.go:15
↓ 1 callersFunctionFromGCloudCloudRouter
(router *gcloud.CloudRouter)
searchers/netconnectivity/dto.go:153
↓ 1 callersFunctionFromGCloudCloudRunFunction
(gcf *gc.CloudRunFunction)
searchers/cloudrun/dto.go:99
↓ 1 callersFunctionFromGCloudCloudRunService
(gcs *gc.CloudRunService)
searchers/cloudrun/dto.go:35
↓ 1 callersFunctionFromGCloudCloudTaskQueue
(gctq *gcloud.CloudTaskQueue)
searchers/cloudtask/dto.go:41
↓ 1 callersFunctionFromGCloudCluster
(cluster *gcloud.K8sCluster)
searchers/k8s/dto.go:52
↓ 1 callersFunctionFromGCloudComputeDisk
(disk *gcloud.ComputeDisk)
searchers/compute/dto.go:79
↓ 1 callersFunctionFromGCloudComputeImage
(image *gcloud.ComputeImage)
searchers/compute/dto.go:151
↓ 1 callersFunctionFromGCloudComputeInstance
(instance *gcloud.ComputeInstance)
searchers/compute/dto.go:21
↓ 1 callersFunctionFromGCloudComputeInstanceTemplate
(template *gcloud.ComputeInstanceTemplate)
searchers/compute/dto.go:207
↓ 1 callersFunctionFromGCloudComputeMachineImage
(image *gcloud.ComputeMachineImage)
searchers/compute/dto.go:268
↓ 1 callersFunctionFromGCloudComputeSnapshot
(snapshot *gcloud.ComputeSnapshot)
searchers/compute/dto.go:331
↓ 1 callersFunctionFromGCloudDNSZone
(zone *gc.DNSZone)
searchers/netservices/dto.go:41
↓ 1 callersFunctionFromGCloudIAMRoles
(roles *gcloud.IAMRole)
searchers/iam/dto.go:37
↓ 1 callersFunctionFromGCloudIAMServiceAccount
(account *gcloud.IAMServiceAccount)
searchers/iam/dto.go:67
↓ 1 callersFunctionFromGCloudInstance
(instance *gcloud.FilestoreInstance)
searchers/filestore/dto.go:53
↓ 1 callersFunctionFromGCloudMonitoringDashboard
(board *gcloud.Dashboard)
searchers/monitoring/dto.go:33
↓ 1 callersFunctionFromGCloudNetwork
(network *gc.VPCNetwork)
searchers/vpc/dto.go:32
↓ 1 callersFunctionFromGCloudRedisInstance
(instance *gcloud.RedisInstance)
searchers/memorystore/dto.go:51
↓ 1 callersFunctionFromGCloudRepository
(repo *gcloud.ArtifactRepository)
searchers/artifactregistry/dto.go:34
↓ 1 callersFunctionFromGCloudRoute
(route *gc.VPCRoute)
searchers/vpc/dto.go:67
↓ 1 callersFunctionFromGCloudSQLInstance
(instance *gcloud.SQLInstance)
searchers/sql/dto.go:19
↓ 1 callersFunctionFromGCloudStorageBucket
(bucket *gcloud.Bucket)
searchers/storage/dto.go:32
↓ 1 callersFunctionFromGCloudSubscription
(sub *gcloud.PubSubSubscription)
searchers/pubsub/dto.go:44
↓ 1 callersFunctionFromGCloudTopic
(topic *gcloud.PubSubTopic)
searchers/pubsub/dto.go:14
↓ 1 callersFunctionFromGCloudVPNGateway
(gateway *gcloud.VPNGateway)
searchers/netconnectivity/dto.go:97
↓ 1 callersFunctionFromGCloudVPNTunnel
(tunnel *gcloud.VPNTunnel)
searchers/netconnectivity/dto.go:47
↓ 1 callersMethodGet
(parent, child *services.Service)
searchers/searcher.go:36
↓ 1 callersFunctionGetActiveConfig
GetActiveConfig lazy loads the active gcloud config subsequent calls will return the cached config
gcloud/config.go:49
↓ 1 callersFunctionGetAllComputeRegions
(config *Config)
gcloud/compute.go:122
↓ 1 callersFunctionGetGCloudConfigPath
GetGCloudConfigPath returns the gcloud config path from the config file.
workflow/config/config.go:38
↓ 1 callersFunctionGetGCloudInfo
(binPath string)
gcloud/info.go:39
↓ 1 callersFunctionGetGCloudPath
GetGCloudPath returns the gcloud binary path from the config file.
workflow/config/config.go:32
↓ 1 callersMethodGetSearcher
(parent, child *services.Service)
orchestrator/context.go:66
↓ 1 callersMethodHasServiceOnly
()
parser/query.go:34
↓ 1 callersMethodHasSubService
()
parser/query.go:38
↓ 1 callersMethodID
()
searchers/iam/dto.go:33
↓ 1 callersFunctionInit
Init initializes the logger with the given version and workflow. It sets the log flags and prefix for the logger. If the workflow is in debug mode, it
workflow/log/log.go:17
↓ 1 callersFunctionInit
Init loads the singleton config instance. Must be called once on workflow startup.
workflow/config/config.go:22
↓ 1 callersFunctionInitRegions
InitRegions initializes the regions list from the embedded file system. This function should be called only once, typically at the start of the progra
gcloud/region.go:23
↓ 1 callersMethodIsConfigActive
()
orchestrator/context.go:33
↓ 1 callersMethodIsConfigQuery
()
orchestrator/context.go:29
↓ 1 callersMethodIsHomeQuery
()
orchestrator/context.go:25
↓ 1 callersMethodIsParent
()
services/service.go:90
↓ 1 callersMethodIsRegionActive
()
orchestrator/context.go:41
↓ 1 callersMethodIsRegionQuery
()
orchestrator/context.go:37
↓ 1 callersMethodIsRegionSupported
(config *gc.Config)
workflow/resource/resource.go:48
↓ 1 callersMethodIsServiceQuery
()
orchestrator/context.go:45
↓ 1 callersFunctionLoad
Load reads the services from an embedded YAML file
services/service.go:99
↓ 1 callersFunctionNewOrchestrator
( config, intent, home, region, service, subService, fallback, err Handler, preflight *PreFlight, servicesFS
orchestrator/orchestrator.go:51
↓ 1 callersFunctionNewRunner
(wf *aw.Workflow, servicesFS embed.FS)
cmd/runner.go:34
next →1–100 of 324, ranked by callers