Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canonical/snapd
/ types & classes
Types & classes
2,178 in github.com/canonical/snapd
⨍
Functions
15,449
◇
Types & classes
2,178
↓ 55 callers
Struct
Client
A Client knows how to talk to the snappy daemon.
client/client.go:80
↓ 33 callers
TypeAlias
errorKind
daemon/response.go:148
↓ 24 callers
TypeAlias
myString
testutil/containschecker_test.go:94
↓ 18 callers
TypeAlias
Size
Size describes the size of a structure item or an offset within the structure.
gadget/gadget.go:808
↓ 14 callers
TypeAlias
attrerObject
asserts/ifacedecls_test.go:46
↓ 9 callers
Struct
state
state holds the atomically updated control state of the runner with sequences of repairs and their states.
cmd/snap-repair/runner.go:518
↓ 6 callers
TypeAlias
Timeout
Timeout is a time.Duration that knows how to roundtrip to json and yaml
timeout/timeout.go:28
↓ 6 callers
TypeAlias
byOriginAndMagicDir
byOriginAndMagicDir allows sorting an array of entries by the source of mount entry (overname, layout, content) and lexically by mount point name. Aut
cmd/snap-update-ns/sorting.go:31
↓ 6 callers
TypeAlias
byPlugSnapAndName
interfaces/sorting.go:36
↓ 6 callers
TypeAlias
byReadyTime
byReadyTime sorts a list of tasks by their "ready" time
overlord/managers_test.go:3564
↓ 6 callers
TypeAlias
bySlotSnapAndName
interfaces/sorting.go:50
↓ 6 callers
FuncType
fakeBusObject
fakeBusObject is a dbus.BusObject implementation that forwards Call invocations
xdgopenproxy/xdgopenproxy_test.go:139
↓ 5 callers
Class
stat
cmd/snap-confine/udev-support.c:256
↓ 4 callers
TypeAlias
RefSlice
asserts/snap_asserts_test.go:1895
↓ 4 callers
TypeAlias
byConnRef
interfaces/sorting.go:28
↓ 4 callers
TypeAlias
byInterfaceName
interfaces/sorting.go:100
↓ 4 callers
Class
stat
cmd/snap-confine/mount-support.c:138
↓ 4 callers
TypeAlias
stringList
a stringList is something that can be deserialized from a JSON []string or a string, like the values of the "extra" documents in error responses
store/auth.go:51
↓ 3 callers
TypeAlias
HealthStatus
overlord/healthstate/healthstate.go:64
↓ 3 callers
TypeAlias
VersionInfo
VersionInfo represents information about the seccomp compiler
sandbox/seccomp/compiler.go:116
↓ 3 callers
TypeAlias
fileResponse
A fileResponse 's ServeHTTP method serves the file
daemon/response.go:285
↓ 3 callers
TypeAlias
inUseByErr
overlord/snapstate/policy/errors.go:40
↓ 2 callers
TypeAlias
GroupID
GroupID is the type of the system's group identifiers (in C, gid_t).
osutil/sys/syscall.go:40
↓ 2 callers
TypeAlias
UserID
UserID is the type of the system's user identifiers (in C, uid_t). We give it its own explicit type so you don't have to remember that it's a uint32
osutil/sys/syscall.go:37
↓ 2 callers
TypeAlias
byAlias
overlord/snapstate/backend_test.go:1014
↓ 2 callers
TypeAlias
byCrefConnJSON
daemon/api_connections.go:234
↓ 2 callers
TypeAlias
byLastAdded
overlord/state/warning.go:209
↓ 2 callers
TypeAlias
byStartOffset
gadget/layout.go:84
↓ 2 callers
TypeAlias
debugflag
httputil/logger.go:32
↓ 2 callers
TypeAlias
errorKind
usersession/agent/response.go:93
↓ 2 callers
TypeAlias
mountedTree
mountedTree represents a mounted file-system tree or a bind-mounted directory.
snap/validate.go:713
↓ 2 callers
FuncType
opine
func() bool
overlord/standby/standby_test.go:115
↓ 2 callers
TypeAlias
patch2Flags
overlord/patch/patch2.go:50
↓ 2 callers
Class
sigaction
cmd/libsnap-confine-private/locking.c:57
↓ 2 callers
TypeAlias
snapsByName
cmd/snap/cmd_list.go:61
↓ 1 callers
TypeAlias
ArchitectureType
ArchitectureType is the type for a supported snappy architecture
arch/arch.go:30
↓ 1 callers
TypeAlias
AtomicWriteFlags
AtomicWriteFlags are a bitfield of flags for AtomicWriteFile
osutil/io.go:36
↓ 1 callers
TypeAlias
BySnapApp
BySnapApp sorts apps by (snap name, app name)
cmd/snapinfo.go:115
↓ 1 callers
Class
Client
tests/lib/snaps/test-snapd-portal-client/client.py:11
↓ 1 callers
TypeAlias
ConfinementType
ConfinementType represents the kind of confinement supported by the snap (devmode only, or strict confinement)
snap/types.go:99
↓ 1 callers
Class
DBusProvider
tests/lib/snaps/test-snapd-location-control-provider/provider.py:15
↓ 1 callers
Class
DBusProvider
tests/lib/snaps/test-snapd-dbus-provider/provider.py:12
↓ 1 callers
Class
DBusProvider
tests/lib/snaps/test-snapd-autopilot-consumer/provider.py:12
↓ 1 callers
Class
DBusProvider
tests/lib/snaps/test-snapd-network-status-provider/provider.py:15
↓ 1 callers
Class
DocPortal
tests/main/document-portal-activation/fake-document-portal.py:15
↓ 1 callers
Class
GithubLabelsParser
check-pr-skip-spread.py:13
↓ 1 callers
Class
GithubTitleParser
check-pr-title.py:15
↓ 1 callers
TypeAlias
InvalidAuthDataError
InvalidAuthDataError signals that the authentication data didn't pass validation.
store/errors.go:113
↓ 1 callers
Class
InvalidPRTitle
check-pr-title.py:10
↓ 1 callers
TypeAlias
KObjAction
osutil/udev/netlink/uevent.go:27
↓ 1 callers
TypeAlias
ModelGrade
ModelGrade characterizes the security of the model which then controls related policy.
asserts/model.go:327
↓ 1 callers
Class
NetplanApplyService
tests/main/fake-netplan-apply/fake-netplan-service.py:13
↓ 1 callers
TypeAlias
OpenFlags
OpenFlags instructs open how to alter its behavior.
bootloader/ubootenv/env.go:79
↓ 1 callers
TypeAlias
PasswordPolicyError
PasswordPolicyError is returned in a few corner cases, most notably when the password has been force-reset.
store/errors.go:93
↓ 1 callers
Class
PortalImpl
tests/lib/fakeportalui/portalui.py:18
↓ 1 callers
TypeAlias
SnapdFeature
SnapdFeature is a named feature that may be on or off.
features/features.go:31
↓ 1 callers
TypeAlias
Type
Type represents the kind of snap (app, core, gadget, os, kernel, snapd)
snap/types.go:28
↓ 1 callers
TypeAlias
assertTypeName
cmd/snap/complete.go:167
↓ 1 callers
TypeAlias
auxSnap
client/packages.go:94
↓ 1 callers
TypeAlias
byApp
overlord/hookstate/ctlcmd/services.go:53
↓ 1 callers
TypeAlias
byChangeID
cmd/snap/cmd_debug_state.go:57
↓ 1 callers
TypeAlias
byConfigPath
cmd/snap/cmd_get.go:94
↓ 1 callers
TypeAlias
byConnectionData
cmd/snap/cmd_connections.go:103
↓ 1 callers
TypeAlias
byContentStartOffset
gadget/layout.go:240
↓ 1 callers
TypeAlias
byID
overlord/snapshotstate/backend/helpers.go:86
↓ 1 callers
TypeAlias
byIfaceName
interfaces/builtin/all.go:132
↓ 1 callers
TypeAlias
byLaneAndWaitTaskChain
cmd/snap/cmd_debug_state.go:89
↓ 1 callers
TypeAlias
byPlugRef
interfaces/sorting_test.go:105
↓ 1 callers
TypeAlias
byPlugRef
daemon/api_connections.go:84
↓ 1 callers
TypeAlias
byReadyTime
overlord/state/change.go:133
↓ 1 callers
TypeAlias
bySlotRef
interfaces/sorting_test.go:78
↓ 1 callers
TypeAlias
bySlotRef
daemon/api_connections.go:76
↓ 1 callers
TypeAlias
bySnap
overlord/snapshotstate/backend/helpers.go:80
↓ 1 callers
TypeAlias
byTagAndSnippet
interfaces/udev/spec.go:98
↓ 1 callers
TypeAlias
changesByMtime
changesByMtime sorts by the mtime of files
store/cache.go:60
↓ 1 callers
TypeAlias
changesByTime
cmd/snap/cmd_changes.go:65
↓ 1 callers
Interface
command
overlord/hookstate/ctlcmd/ctlcmd.go:68
↓ 1 callers
TypeAlias
editionNumber
gadget/gadget.go:790
↓ 1 callers
TypeAlias
installedSnapName
cmd/snap/complete.go:38
↓ 1 callers
TypeAlias
licenseExceptionID
spdx/parser.go:54
↓ 1 callers
TypeAlias
licenseID
spdx/parser.go:39
↓ 1 callers
FuncType
mockRestartBehavior
func(state.RestartType)
overlord/overlord.go:610
↓ 1 callers
TypeAlias
mountedFile
mountedFile represents a bind-mounted file.
snap/validate.go:721
↓ 1 callers
Struct
parser
spdx/parser.go:65
↓ 1 callers
TypeAlias
patch4Flags
overlord/patch/patch4.go:35
↓ 1 callers
Interface
policy
seed/seedwriter/writer.go:185
↓ 1 callers
TypeAlias
remoteSnapName
cmd/snap/complete.go:98
↓ 1 callers
TypeAlias
snapshotID
cmd/snap/complete.go:490
↓ 1 callers
Class
stat
cmd/snap-confine/seccomp-support.c:50
↓ 1 callers
Class
stat
cmd/snap-confine/snap-confine.c:65
↓ 1 callers
Class
statfs
cmd/snap-confine/ns-support-test.c:143
↓ 1 callers
Class
statfs
cmd/libsnap-confine-private/cgroup-support.c:83
↓ 1 callers
TypeAlias
symlinkFile
symlinkFile represents a layout using symbolic link.
snap/validate.go:729
↓ 1 callers
TypeAlias
testConstraint
snap/validate_test.go:665
Struct
ANSIMeter
ANSIMeter is a progress.Meter that uses ANSI escape codes to make better use of the available horizontal space.
progress/ansimeter.go:38
Struct
Account
Account holds an account assertion, which ties a name for an account to its identifier and provides the authority's confidence in the name's validity.
asserts/account.go:35
Struct
AccountControlSuite
interfaces/builtin/account_control_test.go:37
Struct
AccountKey
AccountKey holds an account-key assertion, asserting a public key belonging to the account.
asserts/account_key.go:32
Struct
AccountKeyRequest
AccountKeyRequest holds an account-key-request assertion, which is a self-signed request to prove that the requester holds the private key and wishes
asserts/account_key.go:188
Struct
AccountsServiceInterfaceSuite
interfaces/builtin/accounts_service_test.go:32
next →
1–100 of 2,178, ranked by callers