Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeRepoProvider ¶ added in v0.3.0
type CodeRepoProvider struct { // Code repo provider name in tenant k8s Name string }
type ProductMeta ¶
type ProductMeta struct { // Product ID ID string // The ID of the git code repo that records product information MetaID string }
ProductMeta record product meta data
type ProductProvider ¶
type ProductProvider interface { GetProducts() ([]nautescrd.Product, error) GetProductMeta(ctx context.Context, ID string) (ProductMeta, error) GetCodeRepoProvider(ctx context.Context) (CodeRepoProvider, error) }
ProductProvider is an object used to obtain product information from the product database
type ProductProviderSyncer ¶
type ProductProviderSyncer interface { // Sync create|update|remove product resource by product provider Sync(context.Context, nautescrd.ProductProvider) error }
type ProductSyncer ¶
Click to show internal directories.
Click to hide internal directories.