sync

package
v0.0.0-...-059d9f2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(sync *SyncCmd, f *cmdutil.Factory) *cobra.Command

func Run

func Run(cmdFac *SyncCmd) error

func SyncLocalResources

func SyncLocalResources(f *cmdutil.Factory, info contracts.SyncOpts, synch *SyncCmd) error

func WriteManifest

func WriteManifest(manifest *contracts.ManifestV4, pathMan string) error

Types

type SyncCmd

type SyncCmd struct {
	Io                    *iostreams.IOStreams
	GetAzionJsonContent   func(confPath string) (*contracts.AzionApplicationOptions, error)
	WriteAzionJsonContent func(conf *contracts.AzionApplicationOptions, confPath string) error
	F                     *cmdutil.Factory
	SyncResources         func(f *cmdutil.Factory, info contracts.SyncOpts, synch *SyncCmd) error
	EnvPath               string
	ReadEnv               func(filenames ...string) (envMap map[string]string, err error)
	WriteManifest         func(manifest *contracts.ManifestV4, pathMan string) error
	CommandRunInteractive func(f *cmdutil.Factory, comm string) error
	IaC                   bool
	IaCFormat             string
	ProjectConf           string
}

func NewSyncCmd

func NewSyncCmd(f *cmdutil.Factory) *SyncCmd

type SyncState

type SyncState struct {
	F    *cmdutil.Factory
	Info contracts.SyncOpts
	Sync *SyncCmd

	// Manifest is produced by the read step and consumed by the ones that
	// reconcile against it.
	Manifest *contracts.ManifestV4
}

SyncState is what the v4 sync steps read and write.

type V4SyncPipeline

type V4SyncPipeline struct{}

V4SyncPipeline is the sync flow for the v4 API.

func (V4SyncPipeline) Name

func (V4SyncPipeline) Name() string

func (V4SyncPipeline) Steps

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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