Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProductProviderCodeRepoFactory = map[string]NewProductProviderCoderRepo{}
Functions ¶
This section is empty.
Types ¶
type NewProductProviderCoderRepo ¶
type NewProductProviderCoderRepo func(token string, codeRepoProvider nautescrd.CodeRepoProvider, cfg nautescfg.Config) (baseinterface.ProductProvider, error)
type ProductProviderCodeRepo ¶
type ProductProviderCodeRepo struct {
ProviderFactory map[string]NewProductProviderCoderRepo
}
ProductProviderCodeRepo is used to generate the coderepo type of product provider.
func NewProductProviderCodeRepo ¶
func NewProductProviderCodeRepo() *ProductProviderCodeRepo
func (*ProductProviderCodeRepo) GetProvider ¶
func (p *ProductProviderCodeRepo) GetProvider(ctx context.Context, providerName string, k8sClient client.Client, cfg nautescfg.Config) (baseinterface.ProductProvider, error)
Click to show internal directories.
Click to hide internal directories.