MCPcopy
hub / github.com/cortexlabs/cortex / getInfoOperatorResponse

Function getInfoOperatorResponse

cli/cmd/cluster.go:984–991  ·  view source on GitHub ↗
(operatorEndpoint string)

Source from the content-addressed store, hash-verified

982}
983
984func getInfoOperatorResponse(operatorEndpoint string) (*schema.InfoResponse, error) {
985 operatorConfig := cluster.OperatorConfig{
986 Telemetry: isTelemetryEnabled(),
987 ClientID: clientID(),
988 OperatorEndpoint: operatorEndpoint,
989 }
990 return cluster.Info(operatorConfig)
991}
992
993func printInfoPricing(infoResponse *schema.InfoResponse, clusterConfig clusterconfig.Config) {
994 eksPrice := awslib.EKSPrices[clusterConfig.Region]

Callers 2

cmdInfoFunction · 0.85

Calls 3

InfoFunction · 0.92
isTelemetryEnabledFunction · 0.85
clientIDFunction · 0.85

Tested by

no test coverage detected