Documentation
¶
Overview ¶
Manage raid profiles.
Index ¶
- func Add(profile Profile) error
- func AddAll(profiles []Profile) error
- func Contains(name string) bool
- func CreateRepoConfigs(repos []RepoDraft)
- func Remove(name string) error
- func Set(name string) error
- func Validate(path string) error
- func WriteFile(draft ProfileDraft, path string) error
- type Profile
- type ProfileDraft
- type Repo
- type RepoDraft
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepoConfigs ¶
func CreateRepoConfigs(repos []RepoDraft)
CreateRepoConfigs writes a raid.yaml stub into each repository's local directory.
func WriteFile ¶
func WriteFile(draft ProfileDraft, path string) error
WriteFile serializes draft to path as a YAML profile file.
Types ¶
type ProfileDraft ¶
type ProfileDraft = lib.ProfileDraft
Click to show internal directories.
Click to hide internal directories.