MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

↓ 2 callersMethodconnect
()
internal/pump/pumps/influx.go:65
↓ 2 callersMethodconnect
()
internal/pump/pumps/mongo.go:398
↓ 2 callersMethodconnect
(ctx context.Context)
internal/pump/pumps/elasticsearch.go:172
↓ 2 callersFunctionconvertToString
(r *ladon.Request, p ladon.Policies, d ladon.Policies)
internal/authzserver/authorization/authorizer/authorizer.go:126
↓ 2 callersMethodfailover
()
internal/pump/storage/redis/redis.go:187
↓ 2 callersFunctionforceMultiLine
Temporary workaround for yaml lib generating incorrect yaml with long strings that do not contain \n.
cmd/genyaml/gen_iamctl_yaml.go:64
↓ 2 callersFunctiongetRedisAddrs
(config genericoptions.RedisOptions)
internal/pump/storage/redis/redis.go:103
↓ 2 callersFunctionhandleFields
handleFields converts a bunch of arbitrary key-value pairs into Zap fields. It takes additional pre-converted Zap fields, for use with automatically
pkg/log/log.go:154
↓ 2 callersFunctionhashFunction
(algorithm string)
pkg/storage/storage.go:140
↓ 2 callersMethodhashKey
(in string)
pkg/storage/redis_cluster.go:365
↓ 2 callersFunctionjoinPoliciesNames
(policies ladon.Policies)
internal/authzserver/authorization/authorizer/authorizer.go:117
↓ 2 callersFunctionmessageForError
messageForError returns the string representing the error.
internal/iamctl/cmd/util/helpers.go:181
↓ 2 callersFunctionnewJWTAuth
()
internal/apiserver/auth.go:59
↓ 2 callersFunctionprintJSON
printJSON print a json object in accordance with the prophecy (or the command line options).
internal/iamctl/cmd/jwt/jwt_show.go:119
↓ 2 callersMethodput
(ctx context.Context, key string, val string, session bool)
internal/apiserver/store/etcd/etcd.go:250
↓ 2 callersMethodrootCmd
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:176
↓ 2 callersFunctionrun
(opts *options.Options)
internal/pump/app.go:35
↓ 2 callersFunctionsetHeader
setHeader set headers for user commands.
internal/iamctl/cmd/user/user.go:42
↓ 2 callersFunctionsetHeader
setHeader set headers for secret commands.
internal/iamctl/cmd/secret/secret.go:42
↓ 2 callersMethodsimple
()
internal/pump/storage/redis/redis.go:155
↓ 2 callersMethodstartSession
()
internal/apiserver/store/etcd/etcd.go:154
↓ 2 callersMethodtemplateFuncs
(exposedFlags ...string)
internal/iamctl/util/templates/templater.go:99
↓ 2 callersMethodtoRawIAMConfigLoader
()
pkg/cli/genericclioptions/config_flags.go:100
↓ 2 callersMethodtrim
()
internal/iamctl/util/templates/normalizers.go:75
↓ 2 callersFunctionwaitSig
(t *testing.T, c <-chan int)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:27
↓ 1 callersMethodAccumulateSet
AccumulateSet accumulate data.
internal/pump/pumps/mongo.go:458
↓ 1 callersFunctionActsAsRootCommand
(cmd *cobra.Command, filters []string, groups ...CommandGroup)
internal/iamctl/util/templates/templater.go:24
↓ 1 callersFunctionAddAdditionalCommands
(g CommandGroups, message string, cmds []*cobra.Command)
internal/iamctl/util/templates/command_groups.go:35
↓ 1 callersMethodAddCommand
AddCommand adds sub command to the application.
pkg/app/cmd.go:112
↓ 1 callersMethodAddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pump/analytics/analytics_options.go:39
↓ 1 callersMethodAddFlags
AddFlags adds flags related to features for a specific api server to the specified FlagSet.
internal/pkg/options/jwt.go:63
↓ 1 callersMethodAddFlags
(flags *pflag.FlagSet)
internal/iamctl/cmd/util/iam_match_version.go:99
↓ 1 callersMethodAddress
Address join host IP address and host port number into a address string, like: 0.0.0.0:8443.
internal/pkg/server/config.go:58
↓ 1 callersMethodAppendToSetPipelined
(string, [][]byte)
pkg/storage/storage.go:67
↓ 1 callersMethodApplyTo
ApplyTo applies the run options to the method receiver and returns self.
internal/authzserver/options/options.go:49
↓ 1 callersMethodApplyTo
ApplyTo applies the run options to the method receiver and returns self.
internal/apiserver/options/options.go:49
↓ 1 callersMethodAuthFunc
AuthFunc execute resource authentication.
internal/pkg/middleware/auth.go:27
↓ 1 callersMethodBuild
Build constructs a global zap logger from the Config and Options.
pkg/log/options.go:117
↓ 1 callersMethodCancel
Cancel cancel etcd client.
internal/apiserver/store/etcd/etcd.go:316
↓ 1 callersMethodChangePassword
ChangePassword change the user's password by the user identifier.
internal/apiserver/controller/v1/user/change_password.go:30
↓ 1 callersMethodChangePassword
(ctx context.Context, user *v1.User)
internal/apiserver/service/v1/user.go:189
↓ 1 callersMethodClearOutdated
(ctx context.Context, maxReserveDays int)
internal/apiserver/store/policy_audit.go:13
↓ 1 callersMethodClose
Close clsoe the etcdStore clinet.
internal/apiserver/store/etcd/etcd.go:69
↓ 1 callersMethodClose
Close executes all the notification handlers if they have not yet been executed.
internal/iamctl/util/interrupt/interrupt.go:51
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/policy/policy_delete.go:74
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/policy/policy_list.go:79
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/policy/policy_get.go:74
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/policy/policy_create.go:77
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/policy/policy_update.go:77
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/user/user_list.go:76
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/user/user_create.go:88
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/user/user_get.go:72
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/user/user_delete.go:74
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/user/user_update.go:87
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/new/new.go:547
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/version/version.go:79
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/set/set_db.go:93
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/color/color.go:213
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/validate/validate.go:71
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/secret/secret_list.go:77
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/secret/secret_get.go:74
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/secret/secret_delete.go:75
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/secret/secret_create.go:91
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/secret/secret_update.go:81
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/jwt/jwt_verify.go:87
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/jwt/jwt_sign.go:124
↓ 1 callersMethodComplete
Complete completes all the required options.
internal/iamctl/cmd/jwt/jwt_show.go:82
↓ 1 callersMethodConnect
Connect will establish a connection this is always true because we are dynamically using redis.
pkg/storage/redis_cluster.go:357
↓ 1 callersMethodConnect
()
internal/pump/storage/store.go:12
↓ 1 callersFunctionConnected
Connected returns true if we are connected to redis.
pkg/storage/redis_cluster.go:73
↓ 1 callersFunctionContext
Context is a middleware that injects common prefix fields to gin.Context.
internal/pkg/middleware/context.go:17
↓ 1 callersFunctionCopyObj
(from interface{}, to interface{}, fields []string)
internal/pkg/util/reflect/reflect.go:93
↓ 1 callersFunctionCors
Cors add cors headers.
internal/pkg/middleware/cors.go:19
↓ 1 callersMethodCreate
Create persists the policy.
internal/authzserver/authorization/manager.go:27
↓ 1 callersMethodCreate
Create add new user to the storage.
internal/apiserver/controller/v1/user/create.go:22
↓ 1 callersMethodCreate
(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions)
internal/apiserver/service/v1/policy.go:20
↓ 1 callersMethodCreate
(ctx context.Context, policy *v1.Policy, opts metav1.CreateOptions)
internal/apiserver/service/v1/policy.go:38
↓ 1 callersMethodCreate
(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions)
internal/apiserver/service/v1/secret.go:20
↓ 1 callersMethodCreate
(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions)
internal/apiserver/service/v1/secret.go:38
↓ 1 callersMethodCreate
(ctx context.Context, user *v1.User, opts metav1.CreateOptions)
internal/apiserver/service/v1/user.go:144
↓ 1 callersMethodCreateCommand
CreateCommand create the command with options.
internal/iamctl/cmd/new/new.go:577
↓ 1 callersMethodCreateCommandWithSubCommands
CreateCommandWithSubCommands create sub commands with options.
internal/iamctl/cmd/new/new.go:582
↓ 1 callersFunctionCreateConfigFromOptions
CreateConfigFromOptions creates a running configuration instance based on a given IAM pump command line or configuration file option.
internal/authzserver/config/config.go:16
↓ 1 callersFunctionCreateConfigFromOptions
CreateConfigFromOptions creates a running configuration instance based on a given IAM pump command line or configuration file option.
internal/apiserver/config/config.go:16
↓ 1 callersMethodDebugError
()
internal/iamctl/cmd/util/helpers.go:34
↓ 1 callersMethodDelete
Delete removes a policy.
internal/authzserver/authorization/manager.go:42
↓ 1 callersMethodDelete
Delete delete an user by the user identifier. Only administrator can call this function.
internal/apiserver/controller/v1/user/delete.go:17
↓ 1 callersMethodDelete
(ctx context.Context, username string, name string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/policy.go:22
↓ 1 callersMethodDelete
(ctx context.Context, username, secretID string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/secret.go:22
↓ 1 callersMethodDelete
(ctx context.Context, username string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/user.go:164
↓ 1 callersMethodDeleteByUser
DeleteByUser deletes policies by username.
internal/apiserver/store/etcd/policy.go:52
↓ 1 callersMethodDeleteByUser
DeleteByUser deletes policies by username.
internal/apiserver/store/mysql/policy.go:53
↓ 1 callersMethodDeleteByUser
(ctx context.Context, username string, opts metav1.DeleteOptions)
internal/apiserver/store/fake/policy.go:107
↓ 1 callersMethodDeleteCollection
DeleteCollection batch delete users by multiple usernames. Only administrator can call this function.
internal/apiserver/controller/v1/user/delete_collection.go:17
↓ 1 callersMethodDeleteCollection
(ctx context.Context, username string, names []string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/policy.go:23
↓ 1 callersMethodDeleteCollection
(ctx context.Context, username string, secretIDs []string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/secret.go:23
↓ 1 callersMethodDeleteCollection
(ctx context.Context, usernames []string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/user.go:156
↓ 1 callersMethodDeleteCollectionByUser
DeleteCollectionByUser batch deletes policies usernames.
internal/apiserver/store/etcd/policy.go:71
↓ 1 callersMethodDeleteCollectionByUser
DeleteCollectionByUser batch deletes policies usernames.
internal/apiserver/store/mysql/policy.go:76
↓ 1 callersMethodDeleteCollectionByUser
DeleteCollectionByUser batch deletes policies usernames.
internal/apiserver/store/fake/policy.go:125
← previousnext →201–300 of 1,506, ranked by callers