remote

package
v0.54.0-alpha4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL