apisyncer

package
v0.19.921 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(apiClient nuon.Client, appID, cliVersion string, cfg *config.AppConfig) sync.Syncer

New creates a new API-based syncer that communicates with ctl-api over HTTP. This is the original sync implementation used by the CLI.

Parameters:

  • apiClient: nuon SDK client for making API calls
  • appID: ID of the app to sync
  • cliVersion: version of the CLI performing the sync (for tracking)
  • cfg: parsed app configuration to sync

Returns a sync.Syncer interface that can be used to perform the sync operation.

Types

type SyncComponentConfigResponse

type SyncComponentConfigResponse struct {
	CfgID, RequestChecksum string
}

Jump to

Keyboard shortcuts

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