remote

package
v0.53.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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"`
}

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