MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

↓ 1 callersFunctioninitConfigs
Set default values if they are not explicitly given and perform validation.
internal/pump/pumps/syslog.go:87
↓ 1 callersFunctioninitGenericAPIServer
(s *GenericAPIServer)
internal/pkg/server/genericapiserver.go:49
↓ 1 callersFunctioninitProfiling
()
internal/iamctl/cmd/profiling.go:31
↓ 1 callersMethodinitRedisStore
()
internal/apiserver/server.go:181
↓ 1 callersFunctioninitRouter
(g *gin.Engine)
internal/authzserver/router.go:18
↓ 1 callersFunctioninitRouter
(g *gin.Engine)
internal/apiserver/router.go:24
↓ 1 callersFunctioninitWriter
(s *SyslogPump)
internal/pump/pumps/syslog.go:69
↓ 1 callersMethodinitialize
()
internal/pump/server.go:131
↓ 1 callersMethodinitialize
()
internal/authzserver/server.go:146
↓ 1 callersMethodinsertAdministrator
(db *gorm.DB)
internal/iamctl/cmd/set/set_db.go:179
↓ 1 callersFunctioninstallController
(g *gin.Engine)
internal/authzserver/router.go:26
↓ 1 callersFunctioninstallController
(g *gin.Engine)
internal/apiserver/router.go:32
↓ 1 callersFunctioninstallMiddleware
(g *gin.Engine)
internal/authzserver/router.go:23
↓ 1 callersFunctioninstallMiddleware
(g *gin.Engine)
internal/apiserver/router.go:29
↓ 1 callersFunctionisAdmin
isAdmin make sure the user is administrator. It returns a `github.com/marmotedu/errors.withCode` error.
internal/pkg/middleware/user_validation.go:50
↓ 1 callersFunctionisDirectory
isDirectory reports whether the named file is a directory.
tools/codegen/codegen.go:156
↓ 1 callersFunctionisPrintable
(s []byte)
internal/pkg/logger/sql.go:20
↓ 1 callersMethodisRootCmd
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:163
↓ 1 callersFunctionloadCertificateAndKeyFromFile
(path string)
internal/pump/pumps/mongo.go:80
↓ 1 callersFunctionloginResponse
()
internal/apiserver/auth.go:182
↓ 1 callersFunctionmain
()
cmd/geniamdocs/gen_iam_docs.go:21
↓ 1 callersMethodmarkdown
()
internal/iamctl/util/templates/normalizers.go:59
↓ 1 callersFunctionmigrateDatabase
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 callersFunctionmongoDialInfo
nolint: gocognit
internal/pump/pumps/mongo.go:147
↓ 1 callersFunctionmongoType
(session *mgo.Session)
internal/pump/pumps/mongo.go:131
↓ 1 callersFunctionnewAutoAuth
()
internal/apiserver/auth.go:95
↓ 1 callersFunctionnewBasicAuth
()
internal/apiserver/auth.go:39
↓ 1 callersFunctionnewCacheAuth
()
internal/authzserver/jwt.go:15
↓ 1 callersFunctionnewHook
(logger *zap.Logger)
pkg/log/logrus/hook.go:75
↓ 1 callersFunctionnewPolicies
(ds *datastore)
internal/authzserver/store/apiserver/policy.go:24
↓ 1 callersFunctionnewPolicyAudits
(ds *datastore)
internal/apiserver/store/etcd/policy_audit.go:15
↓ 1 callersFunctionnewPolicyAudits
(ds *datastore)
internal/apiserver/store/mysql/policy_audit.go:18
↓ 1 callersFunctionnewPolicyAudits
(ds *datastore)
internal/apiserver/store/fake/policy_audit.go:15
↓ 1 callersFunctionnewSecrets
(ds *datastore)
internal/authzserver/store/apiserver/secret.go:22
↓ 1 callersFunctionnewSecrets
(ds *datastore)
internal/apiserver/store/etcd/secret.go:22
↓ 1 callersFunctionnewSecrets
(ds *datastore)
internal/apiserver/store/mysql/secret.go:24
↓ 1 callersFunctionnewSecrets
(ds *datastore)
internal/apiserver/store/fake/secret.go:26
↓ 1 callersFunctionnewUsers
(ds *datastore)
internal/apiserver/store/etcd/user.go:22
↓ 1 callersFunctionnewUsers
(ds *datastore)
internal/apiserver/store/mysql/user.go:24
↓ 1 callersFunctionnewUsers
(ds *datastore)
internal/apiserver/store/fake/user.go:26
↓ 1 callersFunctionnewWatchJob
(redisOptions *genericoptions.RedisOptions, watcherOptions *options.WatcherOptions)
internal/watcher/watcher.go:33
↓ 1 callersFunctionnotify
(ctx context.Context, method string, command load.NotificationCommand)
internal/pkg/middleware/publish.go:50
↓ 1 callersMethodparents
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:167
↓ 1 callersMethodparsePackage
parsePackage analyzes the single package constructed from the patterns and tags. parsePackage exits if there is an error.
tools/codegen/codegen.go:199
↓ 1 callersFunctionparsePrivateKey
(der []byte)
internal/pump/pumps/mongo.go:112
↓ 1 callersFunctionparseTagSetting
(tags reflect.StructTag)
internal/pkg/util/reflect/reflect.go:41
↓ 1 callersFunctionparseWithBody
(c *gin.Context)
internal/apiserver/auth.go:162
↓ 1 callersFunctionparseWithHeader
(c *gin.Context)
internal/apiserver/auth.go:134
↓ 1 callersFunctionpayloadFunc
()
internal/apiserver/auth.go:191
↓ 1 callersMethodping
ping pings the http server to make sure the router is working.
internal/pkg/server/genericapiserver.go:212
↓ 1 callersFunctionpirntString
(ctx context.Context, str string)
pkg/log/example/context/main.go:56
↓ 1 callersFunctionpreamble
(out *bytes.Buffer, name, short, long string)
cmd/genman/gen_iam_man.go:91
↓ 1 callersFunctionprintFlags
(out io.Writer, flags *pflag.FlagSet)
cmd/genman/gen_iam_man.go:104
↓ 1 callersFunctionprintOptions
(out io.Writer, command *cobra.Command)
cmd/genman/gen_iam_man.go:124
↓ 1 callersFunctionprintWorkingDir
()
pkg/app/app.go:292
↓ 1 callersMethodprocessData
(ctx context.Context, data []interface{}, esConf *ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:55
↓ 1 callersMethodpump
pump get authorization log from redis and write to pumps.
internal/pump/server.go:92
↓ 1 callersFunctionqueryDatabase
()
examples/error/main.go:73
↓ 1 callersFunctionqueryDatabase
(name string)
examples/code/main.go:43
↓ 1 callersMethodrecordWorker
()
internal/authzserver/analytics/analytics.go:127
↓ 1 callersFunctionrefreshResponse
()
internal/apiserver/auth.go:173
↓ 1 callersFunctionregister
nolint: unparam
internal/pkg/code/code.go:58
↓ 1 callersMethodreloadLoop
(complete ...func())
internal/authzserver/load/load.go:81
↓ 1 callersMethodreloadQueueLoop
(cb ...func())
internal/authzserver/load/load.go:122
↓ 1 callersFunctionrpad
(s string, padding int)
internal/iamctl/util/templates/templater.go:234
↓ 1 callersFunctionrun
(opts *options.Options)
internal/authzserver/app.go:38
↓ 1 callersFunctionrun
(opts *options.Options)
internal/watcher/app.go:35
↓ 1 callersFunctionrun
(opts *options.Options)
internal/apiserver/app.go:36
↓ 1 callersFunctionshouldConnect
()
pkg/storage/redis_cluster.go:64
↓ 1 callersFunctionshouldReload
shouldReload returns true if we should perform any reload. Reloads happens if we have reload callback queued.
internal/authzserver/load/load.go:69
↓ 1 callersMethodsimple
()
pkg/storage/redis_cluster.go:292
↓ 1 callersFunctionstartPubSubLoop
()
internal/authzserver/load/load.go:48
↓ 1 callersFunctionstringInSlice
(a string, list []string)
internal/pump/analytics/analytics_filters.go:34
↓ 1 callersMethodtoRawIAMPersistentConfigLoader
toRawIAMPersistentConfigLoader binds config flag values to config overrides Returns a persistent clientConfig for propagation.
pkg/cli/genericclioptions/config_flags.go:111
↓ 1 callersMethodwrite
(ctx context.Context, messages []kafka.Message)
internal/pump/pumps/kafka.go:193
↓ 1 callersFunctionwriteToPumps
(keys []interface{}, purgeDelay int)
internal/pump/server.go:160
FunctionAddCleanFlags
AddCleanFlags add clean flags.
internal/iamctl/cmd/util/helpers.go:273
MethodAddCommands
AddCommands adds multiple sub commands to the current command.
pkg/app/cmd.go:72
MethodAddCommands
AddCommands adds multiple sub commands to the application.
pkg/app/cmd.go:117
MethodAddFlags
AddFlags binds client configuration flags to a given flagset.
pkg/cli/genericclioptions/config_flags.go:123
MethodAddFlags
AddFlags adds flags related to ClientCertAuthenticationOptions for a specific server to the specified FlagSet.
internal/pkg/options/authentication.go:44
MethodAddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/grpc.go:51
MethodAddFlags
AddFlags adds flags related to mysql storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/mysql_options.go:50
MethodAddFlags
AddFlags adds flags for a specific APIServer to the specified FlagSet.
internal/pkg/options/server_run_options.go:48
MethodAddFlags
AddFlags adds flags related to redis storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/etcd_options.go:59
MethodAddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/feature.go:45
MethodAddFlags
AddFlags adds flags related to redis storage for a specific APIServer to the specified FlagSet.
internal/pkg/options/redis_options.go:55
MethodAddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/insecure_serving.go:62
MethodAddFlags
AddFlags adds flags related to HTTPS server for a specific APIServer to the specified FlagSet.
internal/pkg/options/secure_serving.go:105
MethodAddShutdownCallback
AddShutdownCallback adds a ShutdownCallback that will be called when shutdown is requested. You can provide anything that implements ShutdownCallback
pkg/shutdown/shutdown.go:263
MethodAddShutdownCallback
(shutdownCallback shutdown.ShutdownCallback)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:24
MethodAddToSet
(string, string)
pkg/storage/storage.go:50
MethodAddToSet
AddToSet add value to key set.
pkg/storage/redis_cluster.go:1114
MethodAddToSortedSet
(string, string, float64)
pkg/storage/storage.go:55
MethodAddToSortedSet
AddToSortedSet adds value with given score to sorted set identified by keyName.
pkg/storage/redis_cluster.go:1290
MethodAppendToSet
(string, string)
pkg/storage/storage.go:60
MethodAppendToSet
AppendToSet append a value to the key set.
pkg/storage/redis_cluster.go:978
MethodAppendToSetPipelined
AppendToSetPipelined append values to redis pipeline.
pkg/storage/redis_cluster.go:1059
MethodApplyFlags
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
pkg/app/options.go:25
MethodApplyTo
ApplyTo applies the run options to the method receiver and returns self.
internal/pkg/options/server_run_options.go:32
← previousnext →601–700 of 1,506, ranked by callers