Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmsConfig ¶
type AmsConfig struct { TermsAndConditionsEventCode string `json:"termsAndConditionsEventCode"` TermsAndConditionsSiteCode string `json:"termsAndConditionsSiteCode"` InstanceQuotaID string `json:"quotaProductId"` TrialProductQuotaID string `json:"trialQuotaProductId"` LongLivedQuotaProductID string `json:"longLivedQuotaProductId"` ResourceName string `json:"resourceName"` EnterpriseProductQuotaID string `json:"enterpriseProductQuotaId"` }
AmsConfig is a struct that contains the AMS configuration
type DynamicServiceConstants ¶
type DynamicServiceConstants struct { Version int `json:"version"` Kafka struct { Ams AmsConfig `json:"ams"` } `json:"kafka"` ServiceRegistry struct { Ams AmsConfig `json:"ams"` } `json:"serviceRegistry"` }
DynamicServiceConstants is a struct that contains the remote service constants
func GetRemoteServiceConstants ¶
func GetRemoteServiceConstants(context context.Context, logger logging.Logger) (error, *DynamicServiceConstants)
Fetch service constants that can be reused by multiple commands
Click to show internal directories.
Click to hide internal directories.