Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagSources = "source" FlagDestinations = "destination" FlagPromotables = "promotable" FlagLogLevel = "loglevel" FlagLogFormat = "logformat" FlagDryRun = "dry-run" )
Variables ¶
Functions ¶
func NewPromoteCommand ¶
func NewPromoteCommand() *cli.Command
Types ¶
type PromoteConfig ¶
type PromoteConfig struct { Promotables []string Sources []string Destinations []string Sync SyncFunc // contains filtered or unexported fields }
func (*PromoteConfig) ExecuteContext ¶
func (c *PromoteConfig) ExecuteContext(ctx context.Context) error
func (*PromoteConfig) Promote ¶
func (c *PromoteConfig) Promote(dst, src string) error
func (*PromoteConfig) Validate ¶
func (c *PromoteConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.