Documentation
¶
Index ¶
- Constants
- func ConfigKeys(configs []Config) []string
- func GroupNames(groups []Group) []string
- func StrategyNames(strategies []Strategy) []string
- type Account
- type Config
- type Data
- type DiffDetails
- type DiffResult
- type Domain
- type DomainDetails
- type Group
- type RepositoryData
- type Settings
- type Snapshot
- type Strategy
Constants ¶
View Source
const ( StatusPending = "Pending" StatusSynced = "Synced" StatusOutSync = "OutSync" StatusError = "Error" )
View Source
const ( MessageSyncingUp = "Syncing up..." MessageSynced = "Synced successfully" )
View Source
const (
CollectionName = "accounts"
)
View Source
const (
FilePath = "resources/"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigKeys ¶
func GroupNames ¶
func StrategyNames ¶
Types ¶
type Config ¶
type Config struct { Key string `json:"key,omitempty"` Description string `json:"description,omitempty"` Activated *bool `json:"activated,omitempty"` Strategies []Strategy `json:"strategies,omitempty"` Components []string `json:"components,omitempty"` }
func GetConfigByKey ¶
type DiffDetails ¶
type DiffResult ¶
type DiffResult struct { Environment string `json:"environment,omitempty"` Changes []DiffDetails `json:"changes"` }
type DomainDetails ¶
type Group ¶
type Group struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Activated *bool `json:"activated,omitempty"` Config []Config `json:"config,omitempty"` }
func GetGroupByName ¶
type RepositoryData ¶
Click to show internal directories.
Click to hide internal directories.