coderepoprovider

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 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 added in v0.3.0

type NewProductProviderCoderRepo func(token string, codeRepoProvider nautescrd.CodeRepoProvider, cfg nautescfg.Config) (baseinterface.ProductProvider, error)

type ProductProviderCodeRepo added in v0.3.0

type ProductProviderCodeRepo struct {
	ProviderFactory map[string]NewProductProviderCoderRepo
}

ProductProviderCodeRepo is used to generate the coderepo type of product provider.

func NewProductProviderCodeRepo added in v0.3.0

func NewProductProviderCodeRepo() *ProductProviderCodeRepo

func (*ProductProviderCodeRepo) GetProvider added in v0.3.0

func (p *ProductProviderCodeRepo) GetProvider(ctx context.Context, codeRepoProviderName 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