MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

↓ 1 callersMethodUpdate
Update update a user info by the user identifier.
internal/apiserver/controller/v1/user/update.go:19
↓ 1 callersMethodUpdate
(ctx context.Context, policy *v1.Policy, opts metav1.UpdateOptions)
internal/apiserver/service/v1/policy.go:21
↓ 1 callersMethodUpdate
(ctx context.Context, secret *v1.Secret, opts metav1.UpdateOptions)
internal/apiserver/service/v1/secret.go:21
↓ 1 callersMethodUpdate
(ctx context.Context, user *v1.User, opts metav1.UpdateOptions)
internal/apiserver/service/v1/user.go:181
↓ 1 callersFunctionUsageErrorf
UsageErrorf returns error with command path.
internal/iamctl/cmd/util/helpers.go:190
↓ 1 callersFunctionUseOptionsTemplates
(cmd *cobra.Command)
internal/iamctl/util/templates/templater.go:42
↓ 1 callersMethodUsers
()
internal/apiserver/service/v1/service.go:29
↓ 1 callersMethodV
V returns an InfoLogger value for a specific verbosity level. A higher verbosity level means a log message is less important. It's illegal to pass a
pkg/log/log.go:77
↓ 1 callersMethodValidate
Validate validate the options fields.
pkg/log/options.go:74
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/policy/policy_delete.go:92
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/policy/policy_list.go:91
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/policy/policy_get.go:92
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/policy/policy_create.go:109
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/policy/policy_update.go:107
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/user/user_list.go:88
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/user/user_create.go:121
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/user/user_get.go:89
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/user/user_delete.go:91
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/user/user_update.go:103
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/new/new.go:563
↓ 1 callersMethodValidate
Validate validates the provided options.
internal/iamctl/cmd/version/version.go:94
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/set/set_db.go:105
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/color/color.go:228
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/validate/validate.go:76
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/secret/secret_list.go:88
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/secret/secret_get.go:91
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/secret/secret_delete.go:92
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/secret/secret_create.go:117
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/secret/secret_update.go:104
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/jwt/jwt_verify.go:92
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/jwt/jwt_sign.go:129
↓ 1 callersMethodValidate
Validate makes sure there is no discrepency in command options.
internal/iamctl/cmd/jwt/jwt_show.go:87
↓ 1 callersFunctionValidation
Validation make sure users have the right resource permission and operation.
internal/pkg/middleware/user_validation.go:20
↓ 1 callersMethodWithDeprecatedPasswordFlag
WithDeprecatedPasswordFlag enables the username and password config flags.
pkg/cli/genericclioptions/config_flags.go:200
↓ 1 callersMethodWithDeprecatedSecretFlag
WithDeprecatedSecretFlag enables the secretID and secretKey config flags.
pkg/cli/genericclioptions/config_flags.go:208
↓ 1 callersMethodWithValues
WithValues adds some key-value pairs of context to a logger. See Info for documentation on how key/value pairs work.
pkg/log/log.go:82
↓ 1 callersMethodWrite
(lvl zapcore.Level, msg string, fields []zap.Field, caller *runtime.Frame)
pkg/log/logrus/hook.go:66
↓ 1 callersMethodWriteData
(context.Context, []interface{})
internal/pump/pumps/pump.go:19
↓ 1 callersFunctionaddCmdTemplate
(cmd *cobra.Command, namedFlagSets cliflag.NamedFlagSets)
pkg/app/app.go:297
↓ 1 callersFunctionaddConfigFlag
addConfigFlag adds flags for a specific server to the specified FlagSet object.
pkg/app/config.go:32
↓ 1 callersFunctionaddHelpCommandFlag
addHelpCommandFlag adds flags for a specific command of application to the specified FlagSet object.
pkg/app/help.go:50
↓ 1 callersMethodaddPackage
addPackage adds a type checked Package and its syntax files to the generator.
tools/codegen/codegen.go:219
↓ 1 callersFunctionaddProfilingFlags
(flags *pflag.FlagSet)
internal/iamctl/cmd/profiling.go:21
↓ 1 callersMethodaddWatchers
()
internal/watcher/watcher.go:56
↓ 1 callersMethodapplyOptionRules
()
pkg/app/app.go:274
↓ 1 callersFunctionauthenticator
()
internal/apiserver/auth.go:99
↓ 1 callersFunctionauthorizator
()
internal/apiserver/auth.go:206
↓ 1 callersFunctionbindUser
()
examples/error/main.go:55
↓ 1 callersMethodbuildCommand
()
pkg/app/app.go:172
↓ 1 callersFunctionbuildExtraConfig
nolint: unparam
internal/apiserver/server.go:171
↓ 1 callersFunctionbuildGenericConfig
(cfg *config.Config)
internal/authzserver/server.go:107
↓ 1 callersFunctionbuildGenericConfig
(cfg *config.Config)
internal/apiserver/server.go:149
↓ 1 callersMethodbuildStorageConfig
()
internal/authzserver/server.go:128
↓ 1 callersMethodcapCollection
()
internal/pump/pumps/mongo.go:285
↓ 1 callersMethodcheckMatchingServerVersion
()
internal/iamctl/cmd/util/iam_match_version.go:37
↓ 1 callersFunctioncleanDatabase
cleanDatabase tear downs the database tables. nolint:unused // may be reused in the feature, or just show a migrate usage.
internal/apiserver/store/mysql/mysql.go:97
↓ 1 callersMethodclone
nolint:predeclared
pkg/log/log.go:569
↓ 1 callersMethodcluster
()
pkg/storage/redis_cluster.go:258
↓ 1 callersFunctionclusterConnectionIsOpen
(cluster RedisCluster)
pkg/storage/redis_cluster.go:121
↓ 1 callersMethodcmdGroups
(c *cobra.Command, all []*cobra.Command)
internal/iamctl/util/templates/templater.go:131
↓ 1 callersMethodcobraCommand
()
pkg/app/cmd.go:76
↓ 1 callersMethodcollectionExists
collectionExists checks to see if a collection name exists in the db.
internal/pump/pumps/mongo.go:336
↓ 1 callersMethodcomplete
Complete fills in any fields not set that are required to have valid data and can be derived from other fields.
internal/apiserver/server.go:117
↓ 1 callersFunctionconnectSingleton
nolint: unparam
pkg/storage/redis_cluster.go:98
↓ 1 callersFunctioncreateAPIServer
(cfg *config.Config)
internal/apiserver/server.go:48
↓ 1 callersFunctioncreateAuthzServer
func createAuthzServer(cfg *config.Config) (*authzServer, error) {.
internal/authzserver/server.go:43
↓ 1 callersFunctioncreateJWTToken
(algorithm string, timeout time.Duration, secretID, secretKey string)
tools/gentoken/main.go:55
↓ 1 callersFunctioncreatePumpServer
(cfg *config.Config)
internal/pump/server.go:42
↓ 1 callersFunctioncreateWatcherServer
(cfg *config.Config)
internal/watcher/server.go:32
↓ 1 callersFunctiondefaultMiddlewares
()
internal/pkg/middleware/middleware.go:56
↓ 1 callersMethodensureConnection
()
internal/pump/storage/redis/redis.go:338
↓ 1 callersMethodensureIndexes
()
internal/pump/pumps/mongo.go:356
↓ 1 callersMethodensureSchema
()
internal/iamctl/cmd/set/set_db.go:152
↓ 1 callersFunctionexecPumpWriting
(wg *sync.WaitGroup, pmp pumps.Pump, keys *[]interface{}, purgeDelay int)
internal/pump/server.go:199
↓ 1 callersMethodfailover
()
pkg/storage/redis_cluster.go:324
↓ 1 callersFunctionfilter
(cmds []*cobra.Command, names ...string)
internal/iamctl/util/templates/templater.go:267
↓ 1 callersFunctionfilterData
(pump pumps.Pump, keys []interface{})
internal/pump/server.go:174
↓ 1 callersFunctionfindString
findString return true if target in slice, return false if not.
internal/pkg/util/reflect/reflect.go:122
↓ 1 callersFunctionflushProfiling
()
internal/iamctl/cmd/profiling.go:62
↓ 1 callersFunctionformat
nolint: unparam
internal/pkg/logger/sql_test.go:39
↓ 1 callersMethodformat
format returns the gofmt-ed contents of the Generator's buffer.
tools/codegen/codegen.go:293
↓ 1 callersFunctiongenFlagResult
(flags *pflag.FlagSet)
cmd/genyaml/gen_iamctl_yaml.go:72
↓ 1 callersFunctiongenMarkdown
(command *cobra.Command, parent, docsDir string)
cmd/genman/gen_iam_man.go:139
↓ 1 callersFunctiongenYaml
(command *cobra.Command, parent, docsDir string)
cmd/genyaml/gen_iamctl_yaml.go:100
↓ 1 callersMethodgenerate
()
tools/geniptables/main.go:205
↓ 1 callersMethodgenerate
generate produces the register calls for the named type.
tools/codegen/codegen.go:236
↓ 1 callersMethodgenerateDocs
generateDocs produces error code markdown document for the named type.
tools/codegen/codegen.go:262
↓ 1 callersFunctiongetIndexName
(esConf *ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:198
↓ 1 callersFunctiongetMapping
(datum analytics.AnalyticsRecord)
internal/pump/pumps/elasticsearch.go:210
↓ 1 callersFunctiongetOperator
(ctx context.Context, conf ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:80
↓ 1 callersFunctiongetRedisAddrs
(config *Config)
pkg/storage/redis_cluster.go:239
↓ 1 callersFunctiongetSecretFunc
()
internal/authzserver/jwt.go:19
↓ 1 callersFunctiongetUser
()
examples/error/main.go:64
↓ 1 callersFunctiongetUser
(name string)
examples/code/main.go:35
↓ 1 callersMethodgrantLease
(ctx context.Context, ttlSeconds int64)
internal/apiserver/store/etcd/etcd.go:218
↓ 1 callersFunctionhandleRedisEvent
(v interface{}, handled func(NotificationCommand), reloaded func())
internal/authzserver/load/redis_signals.go:45
↓ 1 callersMethodhashKey
(in string)
internal/pump/storage/redis/redis.go:254
↓ 1 callersFunctionhelpCommand
(name string)
pkg/app/help.go:21
↓ 1 callersMethodheredoc
()
internal/iamctl/util/templates/normalizers.go:70
↓ 1 callersMethodindent
()
internal/iamctl/util/templates/normalizers.go:80
← previousnext →501–600 of 1,506, ranked by callers