MCPcopy Create free account
hub / github.com/aptly-dev/aptly / AptlyContext

Struct AptlyContext

context/context.go:39–60  ·  view source on GitHub ↗

AptlyContext is a common context shared by all commands

Source from the content-addressed store, hash-verified

37
38// AptlyContext is a common context shared by all commands
39type AptlyContext struct {
40 sync.Mutex
41
42 gocontext.Context
43
44 flags, globalFlags *flag.FlagSet
45 configLoaded bool
46
47 progress aptly.Progress
48 downloader aptly.Downloader
49 taskList *task.List
50 database database.Storage
51 packagePool aptly.PackagePool
52 publishedStorages map[string]aptly.PublishedStorage
53 dependencyOptions int
54 architecturesList []string
55 structuredLogging bool
56 // Debug features
57 fileCPUProfile *os.File
58 fileMemProfile *os.File
59 fileMemStats *os.File
60}
61
62// Check interface
63var _ aptly.PublishedStorageProvider = &AptlyContext{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected