Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OverloadBlitz/cloudcent-cli
/ functions
Functions
368 in github.com/OverloadBlitz/cloudcent-cli
⨍
Functions
368
◇
Types & classes
75
↓ 1 callers
Function
listPulumiStackNames
(dir, stackConfigDir string)
cmd/pulumi.go:556
↓ 1 callers
Function
loadPulumiStackConfig
(dir string, project *pulumiworkspace.Project, stack string)
cmd/pulumi.go:591
↓ 1 callers
Function
lookupAttrCaseInsensitive
(attrs map[string]*api.AttrValue, key string)
internal/estimate/estimator.go:573
↓ 1 callers
Function
main
()
scripts/render_comment.py:21
↓ 1 callers
Function
mockedOS
mockedOS returns the collector-inferred OS from MockedProperties ("linux" or "windows").
internal/pulumi/resources/aws/ec2.go:30
↓ 1 callers
Function
normalizeCPUArch
normalizeCPUArch normalises the cpuArchitecture value to the form expected by the pricing API (e.g. "X86_64" → "X86_64", "ARM64" → "ARM64"). Returns "
internal/pulumi/resources/aws/ecs.go:411
↓ 1 callers
Function
normalizeNA
(s string)
internal/tui/views/pricing.go:760
↓ 1 callers
Function
normalizeVMSize
normalizeVMSize converts an Azure VM size name to the instanceType key used by the pricing API, mirroring the pipeline's normalization: Standard_A1_
internal/pulumi/resources/azure/vm.go:19
↓ 1 callers
Function
parseModelFlags
parseModelFlags parses --model flags into a map of resource name → ModelSelector. Format: [resource-name=]Model[:PurchaseOption[:Term]] Examples: -
cmd/pulumi.go:1517
↓ 1 callers
Function
parsePEP621Deps
(content string)
cmd/pulumi.go:1116
↓ 1 callers
Function
parsePoetryDeps
(content string)
cmd/pulumi.go:1135
↓ 1 callers
Function
parseUsageFlags
parseUsageFlags parses --usage name=quantity flags into a map. Each entry must be in the form "resource-name=number", e.g. "my-api=5000000". Invalid e
cmd/pulumi.go:1484
↓ 1 callers
Function
poetryVerToPip
poetryVerToPip converts a Poetry version specifier to a pip-compatible one. e.g. "^3.228.0" → "pulumi>=3.228.0", "==3.228.0" → "pulumi==3.228.0"
cmd/pulumi.go:1173
↓ 1 callers
Function
prependPath
prependPath returns a copy of env with the given directory prepended to PATH.
cmd/pulumi.go:1229
↓ 1 callers
Function
prependPythonPath
prependPythonPath returns a copy of env with the given directory prepended to PYTHONPATH.
cmd/pulumi.go:1245
↓ 1 callers
Function
priceMatch
(item PricingDisplayItem, priceTags []string)
internal/tui/views/pricing.go:611
↓ 1 callers
Function
printGuardrailVerdict
printGuardrailVerdict writes a coloured pass/fail summary to stderr, keeping stdout reserved for the estimate tables.
cmd/pulumi.go:437
↓ 1 callers
Function
protoValueToProperty
(v *structpb.Value)
internal/pulumi/mock_resource_collector.go:1032
↓ 1 callers
Function
protocolToEndpointType
protocolToEndpointType maps a Pulumi SNS subscription protocol to the AWS pricing endpointType attribute used in the "Message Delivery" product family
internal/pulumi/resources/aws/sns.go:118
↓ 1 callers
Function
provisionedReadCapacity
provisionedReadCapacity returns the readCapacity value from inputs, defaulting to 1.
internal/pulumi/resources/aws/dynamodb.go:46
↓ 1 callers
Function
provisionedWriteCapacity
provisionedWriteCapacity returns the writeCapacity value from inputs, defaulting to 1.
internal/pulumi/resources/aws/dynamodb.go:56
↓ 1 callers
Function
pulumiStackPath
(dir, stackConfigDir, stack string)
cmd/pulumi.go:625
↓ 1 callers
Function
readBaselineMonthlyTotal
readBaselineMonthlyTotal extracts totals.monthly_total from a previously saved estimate JSON document (the output of `pulumi estimate -o json`).
cmd/pulumi.go:412
↓ 1 callers
Method
renderCommand
(active bool)
internal/tui/views/pricing.go:872
↓ 1 callers
Function
renderFlatPricesTable
renderFlatPricesTable renders the standard single-rate pricing table, hiding Purchase Option / Term / Upfront columns when all values are empty.
internal/estimate/print.go:421
↓ 1 callers
Method
renderHeader
(active bool, version string)
internal/tui/views/pricing.go:867
↓ 1 callers
Method
renderHelp
()
internal/tui/views/pricing.go:1418
↓ 1 callers
Method
renderInitAuth
()
internal/tui/app.go:496
↓ 1 callers
Method
renderPriceDetails
()
internal/tui/views/pricing.go:1385
↓ 1 callers
Method
renderResults
(active bool, minHeight int)
internal/tui/views/pricing.go:1076
↓ 1 callers
Method
renderSuggestions
(active bool)
internal/tui/views/pricing.go:961
↓ 1 callers
Function
renderTieredPricesTable
renderTieredPricesTable renders volume-tiered pricing with one row per tier. usageQty > 0 causes all tiers that the usage quantity touches to be highl
internal/estimate/print.go:506
↓ 1 callers
Function
renderTotalsTable
renderTotalsTable renders a summary table in the style of the design mockup: each billable resource gets one row (name + sub_label left, pulumi type m
internal/estimate/print.go:693
↓ 1 callers
Function
repeat
(s string, n int)
cmd/history.go:60
↓ 1 callers
Function
resolveNodeEntry
resolveNodeEntry finds the TypeScript/JavaScript entry point for a Node.js Pulumi project. It checks package.json "main" first, then falls back to ind
cmd/pulumi.go:1198
↓ 1 callers
Function
resolvePulumiStackName
(dir, stackConfigDir string)
cmd/pulumi.go:529
↓ 1 callers
Function
resolveTaskDefinition
resolveTaskDefinition attempts to find a TaskDefinition record that matches the given reference string. The reference may be: - an exact resource name
internal/pulumi/mock_resource_collector.go:129
↓ 1 callers
Function
runTUI
()
cmd/tui.go:19
↓ 1 callers
Function
s3BucketProps
s3BucketProps builds the common display props for an S3 bucket resource.
internal/pulumi/resources/aws/s3.go:58
↓ 1 callers
Function
scanRequiredConfigKeys
scanRequiredConfigKeys scans source files in the project directory for config.require(...) / config.require_secret(...) calls and returns the fully-qu
cmd/pulumi.go:1298
↓ 1 callers
Function
snsBaseProps
snsBaseProps builds the common display props for an SNS topic.
internal/pulumi/resources/aws/sns.go:34
↓ 1 callers
Function
storageClassToVolumeType
storageClassToVolumeType maps a Pulumi S3 storageClass input value to the AWS pricing volumeType attribute used in the "Storage" product family.
internal/pulumi/resources/aws/s3.go:35
↓ 1 callers
Function
storageMediaForType
storageMediaForType returns the AWS pricing storageMedia value for a volume type.
internal/pulumi/resources/aws/ebs.go:164
↓ 1 callers
Function
styleFocused
(text string)
internal/tui/views/pricing.go:797
↓ 1 callers
Function
termToHours
termToHours converts a term string to the number of hours in that term. Returns 0 for unknown terms.
internal/estimate/estimator.go:117
Function
AddAPIGatewayV2ProtocolType
AddAPIGatewayV2ProtocolType price for pulumi: aws:apigatewayv2/api:Api and aws:apigateway/restApi:RestApi drawio: mxgraph.aws2.app_services.api_gatewa
internal/pulumi/resources/aws/apigateway.go:11
Function
AddEventRuleInvocationType
AddEventRuleInvocationType sets the invocation attr to "Scheduled Invocation" when the rule uses a scheduleExpression, leaving it unset for event-patt
internal/pulumi/resources/aws/eventbridge.go:42
Function
AddLogSubscriptionFilterDestination
AddLogSubscriptionFilterDestination infers the logsDestination attr from the destinationArn input.
internal/pulumi/resources/aws/cloudwatch.go:185
Function
AddMetricAlarmType
AddMetricAlarmType determines the alarm type from inputs and writes alarmType into both attrs (for API matching) and props (for display). Types: Stand
internal/pulumi/resources/aws/cloudwatch.go:149
Function
AddMockedOS
AddMockedOS overrides the operatingSystem attr with the collector-inferred value from MockedProperties. If the collector didn't resolve an OS, the att
internal/pulumi/resources/aws/ec2.go:46
Function
ApplyValueMap
ApplyValueMap translates a raw value using the provided map. Lookup is case-insensitive; if no mapping matches the original value is returned.
internal/pulumi/resources/aws/util.go:60
Method
Call
Call handles method calls on resources — return empty.
internal/pulumi/mock_resource_collector.go:891
Method
ClearErrorLogs
ClearErrorLogs resets the captured error logs (used between retries).
internal/pulumi/mock_resource_collector.go:956
Function
DecodeApiCache
DecodeApiCache decodes an AppSync ApiCache resource. The cache instance type maps to a cachememorysize pricing attribute.
internal/pulumi/resources/aws/appsync.go:82
Function
DecodeAppSyncApi
DecodeAppSyncApi decodes an AppSync Event API (aws:appsync/api:Api) resource. The Event API produces 4 pricing dimensions: - GraphQL Notifications (r
internal/pulumi/resources/aws/appsync.go:111
Function
DecodeClassicELB
DecodeClassicELB decodes aws:elb/loadBalancer:LoadBalancer (Classic ELB) into two SubLabel pricing queries: - "Hourly" — load balancer instance
internal/pulumi/resources/aws/lb.go:110
Function
DecodeContributorInsightRule
DecodeContributorInsightRule decodes a CloudWatch Contributor Insight Rule. Produces two billable resources: the rule itself and matched events. Parse
internal/pulumi/resources/aws/cloudwatch.go:68
Function
DecodeEBSVolume
DecodeEBSVolume splits an aws:ebs/volume:Volume into multiple pricing queries: - Storage (always) - System Operation / IOPS (io1, io2, gp3 with provis
internal/pulumi/resources/aws/ebs.go:25
Function
DecodeECSCapacityProvider
--------------------------------------------------------------------------- CapacityProvider ---------------------------------------------------------
internal/pulumi/resources/aws/ecs.go:57
Function
DecodeECSExpressGatewayService
--------------------------------------------------------------------------- ExpressGatewayService ----------------------------------------------------
internal/pulumi/resources/aws/ecs.go:359
Function
DecodeECSService
--------------------------------------------------------------------------- Service ------------------------------------------------------------------
internal/pulumi/resources/aws/ecs.go:139
Function
DecodeEventArchive
DecodeEventArchive produces two billable resources: archived events and storage.
internal/pulumi/resources/aws/eventbridge.go:8
Function
DecodeFreeResource
DecodeFreeResource creates a no-pricing DecodedResource for free resource types.
internal/pulumi/resources/aws/util.go:146
Function
DecodeGSI
DecodeGSI decodes a DynamoDB Global Secondary Index. The GSI inherits billingMode from its parent table via MockedProperties["billingMode"]. tableClas
internal/pulumi/resources/aws/dynamodb.go:213
Function
DecodeGlobalTable
DecodeGlobalTable decodes a DynamoDB GlobalTable (TableReplicas resource). Produces one replicated-write query per replica region.
internal/pulumi/resources/aws/dynamodb.go:250
Function
DecodeGraphQLApi
DecodeGraphQLApi decodes an AppSync GraphQL API resource. Produces a single pricing query for GraphQL invocations.
internal/pulumi/resources/aws/appsync.go:35
Function
DecodeInternetMonitor
DecodeInternetMonitor decodes a CloudWatch Internet Monitor. Produces two billable resources: monitored resources and city-networks.
internal/pulumi/resources/aws/cloudwatch.go:114
Function
DecodeKinesisStreamingDestination
DecodeKinesisStreamingDestination decodes a DynamoDB Kinesis Streaming Destination. Produces a single Kinesis data capture query.
internal/pulumi/resources/aws/dynamodb.go:288
Function
DecodeLBLoadBalancer
DecodeLBLoadBalancer decodes aws:lb/loadBalancer:LoadBalancer and aws:alb/loadBalancer:LoadBalancer into two SubLabel pricing queries: - "Hourly" — l
internal/pulumi/resources/aws/lb.go:52
Function
DecodeLambda
DecodeLambda splits a Lambda function into multiple pricing queries: - Requests (always) - Duration (always) - Ephemeral Storage Duration (when epheme
internal/pulumi/resources/aws/lambda.go:17
Function
DecodeLogGroup
DecodeLogGroup splits a CloudWatch Log Group into: - Ingestion (Data Payload / PutLogEvents) - Storage (Storage Snapshot) — skipped for DELIVERY class
internal/pulumi/resources/aws/cloudwatch.go:14
Function
DecodeS3Bucket
DecodeS3Bucket splits an S3 Bucket (aws:s3/bucket:Bucket or aws:s3/bucketV2:BucketV2) into three pricing queries: - Storage (Standard by default; Inte
internal/pulumi/resources/aws/s3.go:74
Function
DecodeS3BucketObject
DecodeS3BucketObject maps an S3 BucketObject / BucketObjectv2 to a single Storage pricing query. The storageClass input determines the volumeType.
internal/pulumi/resources/aws/s3.go:106
Function
DecodeS3DirectoryBucket
DecodeS3DirectoryBucket maps an S3 Express DirectoryBucket to a Storage pricing query using the "High Performance" storageClass.
internal/pulumi/resources/aws/s3.go:135
Function
DecodeS3TableBucket
DecodeS3TableBucket maps an S3 Tables TableBucket to a Storage pricing query.
internal/pulumi/resources/aws/s3.go:155
Function
DecodeS3VectorBucket
DecodeS3VectorBucket maps an S3 Vectors VectorBucket to a Storage pricing query.
internal/pulumi/resources/aws/s3.go:173
Function
DecodeSNSTopic
DecodeSNSTopic splits an SNS Topic into multiple pricing queries: - API Requests (always) — Standard uses SNS-Requests-Tier1, FIFO uses SNS-FIFO-Requ
internal/pulumi/resources/aws/sns.go:60
Function
DecodeSNSTopicSubscription
DecodeSNSTopicSubscription maps an SNS TopicSubscription to a Message Delivery pricing query. The endpoint type is derived from the subscription's pro
internal/pulumi/resources/aws/sns.go:143
Function
DecodeTable
DecodeTable splits a DynamoDB Table into multiple pricing queries based on billingMode, tableClass, and optional features (PITR, streams, replicas, et
internal/pulumi/resources/aws/dynamodb.go:130
Function
DecodeTableExport
DecodeTableExport decodes a DynamoDB Table Export. Produces one query for full exports and one for incremental exports.
internal/pulumi/resources/aws/dynamodb.go:306
Function
DecodeVirtualMachine
DecodeVirtualMachine decodes an azure-native:compute:VirtualMachine resource.
internal/pulumi/resources/azure/vm.go:36
Method
Error
()
cmd/pulumi.go:456
Method
ErrorLogs
ErrorLogs returns all captured ERROR-level log messages.
internal/pulumi/mock_resource_collector.go:947
Method
FetchPricingBatch
(req api.BatchPricingRequest)
internal/estimate/estimator_test.go:17
Method
FetchPricingBatch
(requests BatchPricingRequest)
internal/api/client.go:167
Method
GetRootResource
(_ context.Context, _ *pulumirpc.GetRootResourceRequest)
internal/pulumi/mock_resource_collector.go:962
Method
HandleKey
(key string)
internal/tui/views/pricing.go:202
Method
HandleKey
(key string)
internal/tui/views/settings.go:42
Method
HandleKey
(key string)
internal/tui/views/history.go:69
Function
InferOSFromPattern
InferOSFromPattern infers "linux" or "windows" from an AMI name pattern or SSM path. TODO: how to find other OS and software
internal/pulumi/resources/aws/ec2.go:12
Method
Init
Init implements tea.Model.
internal/tui/app.go:132
Function
InputsToProps
InputsToProps converts a resource's inputs to a flat string map for display.
internal/pulumi/resources/aws/util.go:124
Method
Invoke
Invoke handles data lookups like ec2.LookupAmi — return mock outputs so the program can continue without hitting any cloud provider.
internal/pulumi/mock_resource_collector.go:343
Method
JSONValue
JSONValue returns the raw JSON as a string (for numeric/general use).
internal/api/models.go:69
Method
Log
(_ context.Context, req *pulumirpc.LogRequest)
internal/pulumi/mock_resource_collector.go:934
Method
MarshalJSON
()
internal/api/models.go:15
Function
NewPulumiView
(width, height int)
internal/tui/views/pulumi.go:34
Function
PrintResultsJSON
PrintResultsJSON writes the estimate results as a JSON document to stdout. It mirrors the same data as PrintResults but in a machine-readable format.
internal/estimate/print.go:102
Method
ReadResource
ReadResource — return empty state, we don't need existing resource state.
internal/pulumi/mock_resource_collector.go:897
Method
RegisterPackage
RegisterPackage — return a dummy ref.
internal/pulumi/mock_resource_collector.go:916
← previous
next →
201–300 of 368, ranked by callers