Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.0.29 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Behavior added in v1.0.17

type Behavior struct {
	NonInteractive bool `mapstructure:"non_interactive"`
}

type Configuration

type Configuration struct {
	Mappings        []Map            `mapstructure:"mappings"`
	MagentoBaseUrls []MagentoBaseUrl `mapstructure:"magento_base_urls"`
	Login           Login            `mapstructure:"login"`
	Sync            Sync             `mapstructure:"sync"`
	Context         ContextDefaults  `mapstructure:"context"`
	Behavior        Behavior         `mapstructure:"behavior"`
}

type ContextDefaults added in v1.0.17

type ContextDefaults struct {
	OrgID    string `mapstructure:"org_id"`
	SiteID   string `mapstructure:"site_id"`
	ServerID string `mapstructure:"server_id"`
}

type Login

type Login struct {
	Username    string `mapstructure:"username"`
	Password    string `mapstructure:"password"`
	Scope       string `mapstructure:"scope"`
	AuthMethod  string `mapstructure:"auth_method"`
	InstanceUrl string `mapstructure:"instance_url"`
}

type MagentoBaseUrl

type MagentoBaseUrl struct {
	StoreCode string `mapstructure:"store_code"`
	RunType   string `mapstructure:"run_type"`
	Url       string
}

type Map

type Map struct {
	From string `mapstructure:"from"`
	To   string `mapstructure:"to"`
}

type Sync added in v1.0.16

type Sync struct {
	Files    SyncFiles    `mapstructure:"files"`
	Database SyncDatabase `mapstructure:"database"`
}

type SyncDatabase added in v1.0.23

type SyncDatabase struct {
	TargetSSH SyncDatabaseTargetSSH `mapstructure:"target_ssh"`
}

type SyncDatabaseTargetSSH added in v1.0.23

type SyncDatabaseTargetSSH struct {
	Host string `mapstructure:"host"`
	User string `mapstructure:"user"`
	Port int    `mapstructure:"port"`
}

type SyncFileItem added in v1.0.16

type SyncFileItem struct {
	Source  string   `mapstructure:"source"`
	Target  string   `mapstructure:"target"`
	Exclude []string `mapstructure:"exclude"`
}

type SyncFiles added in v1.0.16

type SyncFiles struct {
	Items []SyncFileItem `mapstructure:"items"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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