product

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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONTEXT_KEY_NAUTES_CONFIG nautesctx.ContextKey = "product.nautes.config"
	RESOURCE_NAME_CODE_REPO   string               = "repo-%s"
)

Variables

This section is empty.

Functions

func FromConfigContext

func FromConfigContext(ctx context.Context) (*nautescfg.Config, error)

func NewConfigContext

func NewConfigContext(ctx context.Context, cfg nautescfg.Config) context.Context

Types

type ProductSyncer

type ProductSyncer struct {
	NautesConfig nautescfg.NautesConfigs
	Rest         *rest.Config
	// contains filtered or unexported fields
}

func (*ProductSyncer) Delete

func (s *ProductSyncer) Delete(ctx context.Context, product nautescrd.Product) error

func (*ProductSyncer) Setup

func (s *ProductSyncer) Setup() error

func (*ProductSyncer) Sync

func (s *ProductSyncer) Sync(ctx context.Context, product nautescrd.Product) error

Jump to

Keyboard shortcuts

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