Documentation ¶
Index ¶
Constants ¶
View Source
const RegionLabel = "region"
RegionLabel label for the label repository indicating region
Variables ¶
This section is empty.
Functions ¶
func NewSelfRegisterManager ¶
func NewSelfRegisterManager(cfg config.SelfRegConfig, provider ExternalSvcCallerProvider, appTemplateProductLabel string) (*selfRegisterManager, error)
NewSelfRegisterManager creates a new SelfRegisterManager which is responsible for doing preparation/clean-up during self-registration of runtimes configured with values from cfg.
Types ¶
type CallerProvider ¶
type CallerProvider struct{}
CallerProvider is used to provide ExternalSvcCaller to call external services with given authentication
func (*CallerProvider) GetCaller ¶
func (c *CallerProvider) GetCaller(config config.SelfRegConfig, region string) (ExternalSvcCaller, error)
GetCaller provides ExternalSvcCaller to call external services with given authentication
type ExternalSvcCaller ¶
ExternalSvcCaller is used to call external services with given authentication
type ExternalSvcCallerProvider ¶
type ExternalSvcCallerProvider interface {
GetCaller(config.SelfRegConfig, string) (ExternalSvcCaller, error)
}
ExternalSvcCallerProvider provides ExternalSvcCaller based on the provided SelfRegConfig and region
Click to show internal directories.
Click to hide internal directories.