Documentation
¶
Index ¶
- func GetAvailableProviders() []string
- func GetEnabledProviders() []string
- type Config
- type Manager
- func (m *Manager) GetConfig() *Config
- func (m *Manager) Sync(dryRun, force bool) ([]SyncResult, error)
- func (m *Manager) SyncFromProvider(sourceProvider string, destinations []string, dryRun, force bool) ([]SyncResult, error)
- func (m *Manager) SyncProviders(providers []string, dryRun, force bool) ([]SyncResult, error)
- type SyncResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableProviders ¶ added in v0.1.1
func GetAvailableProviders() []string
GetAvailableProviders returns the list of all available providers from registry
func GetEnabledProviders ¶ added in v0.1.1
func GetEnabledProviders() []string
GetEnabledProviders returns the list of enabled providers from registry
Types ¶
type Config ¶
type Config struct {
ProjectOverview string
CommonInstructions string
ProviderOverrides map[string]string
Providers []string
}
Config represents parsed RIZOME.md configuration
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles synchronization of RIZOME.md with provider files
func (*Manager) Sync ¶
func (m *Manager) Sync(dryRun, force bool) ([]SyncResult, error)
Sync performs the synchronization operation for all providers
func (*Manager) SyncFromProvider ¶ added in v0.1.1
func (m *Manager) SyncFromProvider(sourceProvider string, destinations []string, dryRun, force bool) ([]SyncResult, error)
SyncFromProvider performs sync from a provider file to other files
func (*Manager) SyncProviders ¶
func (m *Manager) SyncProviders(providers []string, dryRun, force bool) ([]SyncResult, error)
SyncProviders performs the synchronization operation for specific providers
Click to show internal directories.
Click to hide internal directories.