MCPcopy Create free account

hub / github.com/belak/gitdir / types & classes

Types & classes25 in github.com/belak/gitdir

↓ 5 callersTypeAliascontextKey
context.go:14
↓ 2 callersTypeAliasRepoType
RepoType represents the different types of repositories that can be accessed.
repo.go:11
↓ 1 callersTypeAliasAccessLevel
AccessLevel represents the level of access being requested and the level of access a user has.
repo_perms.go:12
StructAdminConfig
AdminConfig is the config.yml that comes from the admin repo.
models/admin_config.go:8
StructAdminConfigOptions
AdminConfigOptions contains all the server level settings which can be changed at runtime.
models/admin_config.go:36
StructAdminConfigUser
AdminConfigUser defines additional fields which main be loaded from the admin config.
models/admin_config.go:19
StructConfig
Config represents the config which has been loaded from all repos.
config.go:13
StructConfig
Config stores all the server-level settings. These cannot be changed at runtime. They are only used by the binary and are passed to the proper places.
cmd/gitdir/config.go:21
StructEnsureOptions
EnsureOptions are optional settings when using Node.EnsureKey.
internal/yaml/operations.go:25
StructNode
Node is a simple wrapper around the lower level yaml Node.
internal/yaml/node.go:8
StructOrgConfig
OrgConfig represents the values under orgs in the main admin config or the contents of the config file in the org config repo.
models/org_config.go:9
InterfacePrivateKey
PrivateKey is a wrapper to make dealing with private keys easier to deal with.
models/private_key.go:17
StructPublicKey
PublicKey is a wrapper around gossh.PublicKey to also store the comment. Note when using that pk.Marshal() handles the wire format, not the authorized
models/public_key.go:13
StructRepoConfig
RepoConfig represents the values under repos in the main admin config, any org configs, or any user configs.
models/repo_config.go:5
StructRepoLookup
RepoLookup represents a repository that has been confirmed in the config and the access level the given user has.
repo.go:46
StructRepository
Repository is a fairly lightweight wrapper designed to attach a worktree to a git repository so we don't have to muck about with the raw git objects.
internal/git/repository.go:26
TypeAliasScalarTag
ScalarTag represents the type hints used by yaml. These come from the yaml source.
internal/yaml/node.go:28
StructServer
Server represents a gitdir server.
ssh_server.go:18
StructUser
User is the internal representation of a user. This data is copied from the loaded config file.
user.go:13
StructUserConfig
UserConfig represents the values under users in the main admin config or the contents of the config file in the user config repo. This type contains v
models/user_config.go:10
StructallImplicitAccessLevels
repo_test.go:272
StructallRepoAccessLevels
repo_test.go:263
Structed25519PrivateKey
models/private_key.go:23
StructmultiError
utils.go:17
StructrsaPrivateKey
models/private_key.go:75