product

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextKeyNautesConfig nautesctx.ContextKey = "product.nautes.config"
)

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