Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/marmotedu/iam
/ functions
Functions
1,506 in github.com/marmotedu/iam
⨍
Functions
1,506
◇
Types & classes
336
↓ 1 callers
Function
initConfigs
Set default values if they are not explicitly given and perform validation.
internal/pump/pumps/syslog.go:87
↓ 1 callers
Function
initGenericAPIServer
(s *GenericAPIServer)
internal/pkg/server/genericapiserver.go:49
↓ 1 callers
Function
initProfiling
()
internal/iamctl/cmd/profiling.go:31
↓ 1 callers
Method
initRedisStore
()
internal/apiserver/server.go:181
↓ 1 callers
Function
initRouter
(g *gin.Engine)
internal/authzserver/router.go:18
↓ 1 callers
Function
initRouter
(g *gin.Engine)
internal/apiserver/router.go:24
↓ 1 callers
Function
initWriter
(s *SyslogPump)
internal/pump/pumps/syslog.go:69
↓ 1 callers
Method
initialize
()
internal/pump/server.go:131
↓ 1 callers
Method
initialize
()
internal/authzserver/server.go:146
↓ 1 callers
Method
insertAdministrator
(db *gorm.DB)
internal/iamctl/cmd/set/set_db.go:179
↓ 1 callers
Function
installController
(g *gin.Engine)
internal/authzserver/router.go:26
↓ 1 callers
Function
installController
(g *gin.Engine)
internal/apiserver/router.go:32
↓ 1 callers
Function
installMiddleware
(g *gin.Engine)
internal/authzserver/router.go:23
↓ 1 callers
Function
installMiddleware
(g *gin.Engine)
internal/apiserver/router.go:29
↓ 1 callers
Function
isAdmin
isAdmin make sure the user is administrator. It returns a `github.com/marmotedu/errors.withCode` error.
internal/pkg/middleware/user_validation.go:50
↓ 1 callers
Function
isDirectory
isDirectory reports whether the named file is a directory.
tools/codegen/codegen.go:156
↓ 1 callers
Function
isPrintable
(s []byte)
internal/pkg/logger/sql.go:20
↓ 1 callers
Method
isRootCmd
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:163
↓ 1 callers
Function
loadCertificateAndKeyFromFile
(path string)
internal/pump/pumps/mongo.go:80
↓ 1 callers
Function
loginResponse
()
internal/apiserver/auth.go:182
↓ 1 callers
Function
main
()
cmd/geniamdocs/gen_iam_docs.go:21
↓ 1 callers
Method
markdown
()
internal/iamctl/util/templates/normalizers.go:59
↓ 1 callers
Function
migrateDatabase
migrateDatabase run auto migration for given models, will only add missing fields, won't delete/change current data. nolint:unused // may be reused in
internal/apiserver/store/mysql/mysql.go:114
↓ 1 callers
Function
mongoDialInfo
nolint: gocognit
internal/pump/pumps/mongo.go:147
↓ 1 callers
Function
mongoType
(session *mgo.Session)
internal/pump/pumps/mongo.go:131
↓ 1 callers
Function
newAutoAuth
()
internal/apiserver/auth.go:95
↓ 1 callers
Function
newBasicAuth
()
internal/apiserver/auth.go:39
↓ 1 callers
Function
newCacheAuth
()
internal/authzserver/jwt.go:15
↓ 1 callers
Function
newHook
(logger *zap.Logger)
pkg/log/logrus/hook.go:75
↓ 1 callers
Function
newPolicies
(ds *datastore)
internal/authzserver/store/apiserver/policy.go:24
↓ 1 callers
Function
newPolicyAudits
(ds *datastore)
internal/apiserver/store/etcd/policy_audit.go:15
↓ 1 callers
Function
newPolicyAudits
(ds *datastore)
internal/apiserver/store/mysql/policy_audit.go:18
↓ 1 callers
Function
newPolicyAudits
(ds *datastore)
internal/apiserver/store/fake/policy_audit.go:15
↓ 1 callers
Function
newSecrets
(ds *datastore)
internal/authzserver/store/apiserver/secret.go:22
↓ 1 callers
Function
newSecrets
(ds *datastore)
internal/apiserver/store/etcd/secret.go:22
↓ 1 callers
Function
newSecrets
(ds *datastore)
internal/apiserver/store/mysql/secret.go:24
↓ 1 callers
Function
newSecrets
(ds *datastore)
internal/apiserver/store/fake/secret.go:26
↓ 1 callers
Function
newUsers
(ds *datastore)
internal/apiserver/store/etcd/user.go:22
↓ 1 callers
Function
newUsers
(ds *datastore)
internal/apiserver/store/mysql/user.go:24
↓ 1 callers
Function
newUsers
(ds *datastore)
internal/apiserver/store/fake/user.go:26
↓ 1 callers
Function
newWatchJob
(redisOptions *genericoptions.RedisOptions, watcherOptions *options.WatcherOptions)
internal/watcher/watcher.go:33
↓ 1 callers
Function
notify
(ctx context.Context, method string, command load.NotificationCommand)
internal/pkg/middleware/publish.go:50
↓ 1 callers
Method
parents
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:167
↓ 1 callers
Method
parsePackage
parsePackage analyzes the single package constructed from the patterns and tags. parsePackage exits if there is an error.
tools/codegen/codegen.go:199
↓ 1 callers
Function
parsePrivateKey
(der []byte)
internal/pump/pumps/mongo.go:112
↓ 1 callers
Function
parseTagSetting
(tags reflect.StructTag)
internal/pkg/util/reflect/reflect.go:41
↓ 1 callers
Function
parseWithBody
(c *gin.Context)
internal/apiserver/auth.go:162
↓ 1 callers
Function
parseWithHeader
(c *gin.Context)
internal/apiserver/auth.go:134
↓ 1 callers
Function
payloadFunc
()
internal/apiserver/auth.go:191
↓ 1 callers
Method
ping
ping pings the http server to make sure the router is working.
internal/pkg/server/genericapiserver.go:212
↓ 1 callers
Function
pirntString
(ctx context.Context, str string)
pkg/log/example/context/main.go:56
↓ 1 callers
Function
preamble
(out *bytes.Buffer, name, short, long string)
cmd/genman/gen_iam_man.go:91
↓ 1 callers
Function
printFlags
(out io.Writer, flags *pflag.FlagSet)
cmd/genman/gen_iam_man.go:104
↓ 1 callers
Function
printOptions
(out io.Writer, command *cobra.Command)
cmd/genman/gen_iam_man.go:124
↓ 1 callers
Function
printWorkingDir
()
pkg/app/app.go:292
↓ 1 callers
Method
processData
(ctx context.Context, data []interface{}, esConf *ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:55
↓ 1 callers
Method
pump
pump get authorization log from redis and write to pumps.
internal/pump/server.go:92
↓ 1 callers
Function
queryDatabase
()
examples/error/main.go:73
↓ 1 callers
Function
queryDatabase
(name string)
examples/code/main.go:43
↓ 1 callers
Method
recordWorker
()
internal/authzserver/analytics/analytics.go:127
↓ 1 callers
Function
refreshResponse
()
internal/apiserver/auth.go:173
↓ 1 callers
Function
register
nolint: unparam
internal/pkg/code/code.go:58
↓ 1 callers
Method
reloadLoop
(complete ...func())
internal/authzserver/load/load.go:81
↓ 1 callers
Method
reloadQueueLoop
(cb ...func())
internal/authzserver/load/load.go:122
↓ 1 callers
Function
rpad
(s string, padding int)
internal/iamctl/util/templates/templater.go:234
↓ 1 callers
Function
run
(opts *options.Options)
internal/authzserver/app.go:38
↓ 1 callers
Function
run
(opts *options.Options)
internal/watcher/app.go:35
↓ 1 callers
Function
run
(opts *options.Options)
internal/apiserver/app.go:36
↓ 1 callers
Function
shouldConnect
()
pkg/storage/redis_cluster.go:64
↓ 1 callers
Function
shouldReload
shouldReload returns true if we should perform any reload. Reloads happens if we have reload callback queued.
internal/authzserver/load/load.go:69
↓ 1 callers
Method
simple
()
pkg/storage/redis_cluster.go:292
↓ 1 callers
Function
startPubSubLoop
()
internal/authzserver/load/load.go:48
↓ 1 callers
Function
stringInSlice
(a string, list []string)
internal/pump/analytics/analytics_filters.go:34
↓ 1 callers
Method
toRawIAMPersistentConfigLoader
toRawIAMPersistentConfigLoader binds config flag values to config overrides Returns a persistent clientConfig for propagation.
pkg/cli/genericclioptions/config_flags.go:111
↓ 1 callers
Method
write
(ctx context.Context, messages []kafka.Message)
internal/pump/pumps/kafka.go:193
↓ 1 callers
Function
writeToPumps
(keys []interface{}, purgeDelay int)
internal/pump/server.go:160
Function
AddCleanFlags
AddCleanFlags add clean flags.
internal/iamctl/cmd/util/helpers.go:273
Method
AddCommands
AddCommands adds multiple sub commands to the current command.
pkg/app/cmd.go:72
Method
AddCommands
AddCommands adds multiple sub commands to the application.
pkg/app/cmd.go:117
Method
AddFlags
AddFlags binds client configuration flags to a given flagset.
pkg/cli/genericclioptions/config_flags.go:123
Method
AddFlags
AddFlags adds flags related to ClientCertAuthenticationOptions for a specific server to the specified FlagSet.
internal/pkg/options/authentication.go:44
Method
AddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/grpc.go:51
Method
AddFlags
AddFlags adds flags related to mysql storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/mysql_options.go:50
Method
AddFlags
AddFlags adds flags for a specific APIServer to the specified FlagSet.
internal/pkg/options/server_run_options.go:48
Method
AddFlags
AddFlags adds flags related to redis storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/etcd_options.go:59
Method
AddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/feature.go:45
Method
AddFlags
AddFlags adds flags related to redis storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/redis_options.go:55
Method
AddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/insecure_serving.go:62
Method
AddFlags
AddFlags adds flags related to HTTPS server for a specific APIServer to the specified FlagSet.
internal/pkg/options/secure_serving.go:105
Method
AddShutdownCallback
AddShutdownCallback adds a ShutdownCallback that will be called when shutdown is requested. You can provide anything that implements ShutdownCallback
pkg/shutdown/shutdown.go:263
Method
AddShutdownCallback
(shutdownCallback shutdown.ShutdownCallback)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:24
Method
AddToSet
(string, string)
pkg/storage/storage.go:50
Method
AddToSet
AddToSet add value to key set.
pkg/storage/redis_cluster.go:1114
Method
AddToSortedSet
(string, string, float64)
pkg/storage/storage.go:55
Method
AddToSortedSet
AddToSortedSet adds value with given score to sorted set identified by keyName.
pkg/storage/redis_cluster.go:1290
Method
AppendToSet
(string, string)
pkg/storage/storage.go:60
Method
AppendToSet
AppendToSet append a value to the key set.
pkg/storage/redis_cluster.go:978
Method
AppendToSetPipelined
AppendToSetPipelined append values to redis pipeline.
pkg/storage/redis_cluster.go:1059
Method
ApplyFlags
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
pkg/app/options.go:25
Method
ApplyTo
ApplyTo applies the run options to the method receiver and returns self.
internal/pkg/options/server_run_options.go:32
← previous
next →
601–700 of 1,506, ranked by callers