Versions in this module Expand all Collapse all v1 v1.18.0 Aug 2, 2026 Changes in this version + type ApplyResult struct + ProfileNames []string + ProfilesCreated int + ProfilesUpdated int + func Apply(cfg *profile.Config, plan *SetupPlan) (*ApplyResult, error) + type CoverageSummary struct + NotAvailableNow []string + ProtectedNow []string + SkippedIntentionally []string + Warnings []string + type DiscoveredSource struct + DisplayName string + DriveName string + FsType string + Identity string + MountPoint string + PathID string + Portable bool + SourceURI string + func DiscoverSources(_ context.Context) ([]DiscoveredSource, error) + type FolderCandidate struct + Category string + Key string + Label string + Path string + Selected bool + type ProfileDraft struct + Action string + DisplayLabel string + Name string + Selected bool + SourceURI string + StoreRef string + Tags []string + type SetupOption func(*setupOptions) + func WithDryRun() SetupOption + func WithProfiles(cfg *profile.Config) SetupOption + func WithStoreRef(name string) SetupOption + type SetupPlan struct + Coverage CoverageSummary + Folders []FolderCandidate + Hostname string + PortableSources []DiscoveredSource + Profiles []ProfileDraft + StoreAction string + StoreRef string + func Plan(ctx context.Context, opts ...SetupOption) (*SetupPlan, error) + type SetupResult struct + Applied *ApplyResult + Plan *SetupPlan + func Setup(ctx context.Context, opts ...SetupOption) (*SetupResult, error)