coderepoprovider

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

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