MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

↓ 1 callersFunctionNewDeleteOptions
NewDeleteOptions returns an initialized DeleteOptions instance.
internal/iamctl/cmd/secret/secret_delete.go:45
↓ 1 callersFunctionNewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/policy/policy_get.go:44
↓ 1 callersFunctionNewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/user/user_get.go:42
↓ 1 callersFunctionNewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/secret/secret_get.go:44
↓ 1 callersFunctionNewInfoOptions
NewInfoOptions returns an initialized InfoOptions instance.
internal/iamctl/cmd/info/info.go:42
↓ 1 callersFunctionNewJWTStrategy
NewJWTStrategy create jwt bearer strategy with GinJWTMiddleware.
internal/pkg/middleware/auth/jwt.go:25
↓ 1 callersFunctionNewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/policy/policy_list.go:44
↓ 1 callersFunctionNewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/user/user_list.go:41
↓ 1 callersFunctionNewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/secret/secret_list.go:42
↓ 1 callersFunctionNewLoader
NewLoader return a loader with a loader implement.
internal/authzserver/load/load.go:30
↓ 1 callersFunctionNewLogger
NewLogger create a logger which implement `github.com/robfig/cron.Logger`.
pkg/log/cronlog/log.go:18
↓ 1 callersFunctionNewMaxWidthWriter
NewMaxWidthWriter is a Writer that supports a limit of characters on every line, but doesn't do any word wrapping automatically.
internal/iamctl/util/term/term_writer.go:88
↓ 1 callersFunctionNewMockUserStore
NewMockUserStore creates a new mock instance.
internal/apiserver/store/mock_store.go:125
↓ 1 callersFunctionNewNewOptions
NewNewOptions returns an initialized NewOptions instance.
internal/iamctl/cmd/new/new.go:511
↓ 1 callersFunctionNewOptions
NewOptions creates a new Options object with default parameters.
internal/authzserver/options/options.go:32
↓ 1 callersFunctionNewOptions
NewOptions creates a new Options object with default parameters.
internal/apiserver/options/options.go:32
↓ 1 callersFunctionNewOptions
NewOptions returns initialized Options.
internal/iamctl/cmd/version/version.go:45
↓ 1 callersFunctionNewPolicyController
NewPolicyController creates a policy handler.
internal/apiserver/controller/v1/policy/policy.go:18
↓ 1 callersFunctionNewRedisClusterPool
NewRedisClusterPool create a redis cluster pool.
pkg/storage/redis_cluster.go:187
↓ 1 callersFunctionNewRedisClusterPool
NewRedisClusterPool returns a redis cluster client.
internal/pump/storage/redis/redis.go:40
↓ 1 callersFunctionNewSecretController
NewSecretController creates a secret handler.
internal/apiserver/controller/v1/secret/secret.go:18
↓ 1 callersFunctionNewService
NewService returns Service interface.
internal/apiserver/service/v1/service.go:23
↓ 1 callersFunctionNewShowOptions
NewShowOptions returns an initialized ShowOptions instance.
internal/iamctl/cmd/jwt/jwt_show.go:40
↓ 1 callersFunctionNewSignOptions
NewSignOptions returns an initialized SignOptions instance.
internal/iamctl/cmd/jwt/jwt_sign.go:56
↓ 1 callersFunctionNewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/policy/policy_update.go:47
↓ 1 callersFunctionNewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/user/user_update.go:53
↓ 1 callersFunctionNewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/secret/secret_update.go:48
↓ 1 callersFunctionNewValidateOptions
NewValidateOptions returns an initialized ValidateOptions instance.
internal/iamctl/cmd/validate/validate.go:41
↓ 1 callersFunctionNewVerifyOptions
NewVerifyOptions returns an initialized VerifyOptions instance.
internal/iamctl/cmd/jwt/jwt_verify.go:43
↓ 1 callersFunctionNormalize
Normalize perform all required normalizations on a given command.
internal/iamctl/util/templates/normalizers.go:34
↓ 1 callersMethodOnError
(err error)
pkg/shutdown/shutdown.go:199
↓ 1 callersMethodOnShutdown
(string)
pkg/shutdown/shutdown.go:171
↓ 1 callersFunctionOptionsHelpTemplate
OptionsHelpTemplate if the template for 'help' used by the 'options' command.
internal/iamctl/util/templates/templates.go:84
↓ 1 callersFunctionOptionsUsageTemplate
OptionsUsageTemplate if the template for 'usage' used by the 'options' command.
internal/iamctl/util/templates/templates.go:89
↓ 1 callersMethodPolicies
()
internal/apiserver/service/v1/service.go:37
↓ 1 callersMethodPolicyAudits
()
internal/apiserver/store/store.go:16
↓ 1 callersMethodPrepareRun
()
internal/pump/server.go:67
↓ 1 callersMethodPrepareRun
()
internal/authzserver/server.go:69
↓ 1 callersMethodPrepareRun
PrepareRun prepares the server to run, by setting up the server instance.
internal/watcher/server.go:47
↓ 1 callersMethodPrepareRun
()
internal/apiserver/server.go:81
↓ 1 callersMethodPrint
Print logs a message at level Print on the compatibleLogger.
pkg/log/distribution/logger.go:48
↓ 1 callersFunctionPublish
Publish publish a redis event to specified redis channel when some action occurred.
internal/pkg/middleware/publish.go:21
↓ 1 callersMethodRESTClient
Returns a RESTClient for accessing IAM resources or an error.
internal/iamctl/cmd/util/factory.go:32
↓ 1 callersMethodReload
()
internal/authzserver/load/load.go:19
↓ 1 callersMethodReportError
(err error)
pkg/shutdown/shutdown.go:216
↓ 1 callersMethodReportError
ReportError is a function that can be used to report errors to ErrorHandler. It is used in ShutdownManagers.
pkg/shutdown/shutdown.go:303
↓ 1 callersFunctionRequireNoArguments
RequireNoArguments exits with a usage error if extra arguments are provided.
internal/iamctl/cmd/util/helpers.go:307
↓ 1 callersFunctionRun
Run runs the specified pump server. This should never exit.
internal/pump/run.go:13
↓ 1 callersFunctionRun
Run runs the specified AuthzServer. This should never exit.
internal/authzserver/run.go:12
↓ 1 callersFunctionRun
Run runs the specified pump server. This should never exit.
internal/watcher/run.go:13
↓ 1 callersFunctionRun
Run runs the specified APIServer. This should never exit.
internal/apiserver/run.go:10
↓ 1 callersMethodRun
* // preparedGenericAPIServer is a private wrapper that enforces a call of PrepareRun() before Run can be invoked. type preparedGenericAPIServer struc
internal/pkg/server/genericapiserver.go:122
↓ 1 callersMethodRun
()
internal/watcher/server.go:62
↓ 1 callersMethodRun
Run runs the watcher job.
internal/watcher/watcher/task/watcher.go:27
↓ 1 callersMethodRun
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/policy/policy_delete.go:97
↓ 1 callersMethodRun
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/policy/policy_list.go:96
↓ 1 callersMethodRun
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/policy/policy_get.go:97
↓ 1 callersMethodRun
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/policy/policy_create.go:118
↓ 1 callersMethodRun
Run executes a update subcommand using the specified options.
internal/iamctl/cmd/policy/policy_update.go:112
↓ 1 callersMethodRun
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/user/user_list.go:93
↓ 1 callersMethodRun
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/user/user_create.go:130
↓ 1 callersMethodRun
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/user/user_get.go:94
↓ 1 callersMethodRun
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/user/user_delete.go:96
↓ 1 callersMethodRun
Run executes an update subcommand using the specified options.
internal/iamctl/cmd/user/user_update.go:108
↓ 1 callersMethodRun
Run executes a new sub command using the specified options.
internal/iamctl/cmd/new/new.go:568
↓ 1 callersMethodRun
Run executes version command.
internal/iamctl/cmd/version/version.go:103
↓ 1 callersMethodRun
Run executes a db sub command using the specified options.
internal/iamctl/cmd/set/set_db.go:110
↓ 1 callersMethodRun
Run executes a color subcommand using the specified options.
internal/iamctl/cmd/color/color.go:239
↓ 1 callersMethodRun
Run executes an info sub command using the specified options.
internal/iamctl/cmd/info/info.go:69
↓ 1 callersMethodRun
Run executes a validate sub command using the specified options.
internal/iamctl/cmd/validate/validate.go:81
↓ 1 callersMethodRun
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/secret/secret_list.go:93
↓ 1 callersMethodRun
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/secret/secret_get.go:96
↓ 1 callersMethodRun
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/secret/secret_delete.go:97
↓ 1 callersMethodRun
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/secret/secret_create.go:126
↓ 1 callersMethodRun
Run executes a update subcommand using the specified options.
internal/iamctl/cmd/secret/secret_update.go:109
↓ 1 callersMethodRun
Run executes a verify subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_verify.go:97
↓ 1 callersMethodRun
Run executes a sign subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_sign.go:140
↓ 1 callersMethodRun
Run executes a show subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_show.go:92
↓ 1 callersFunctionRunCompletion
RunCompletion checks given arguments and executes command.
internal/iamctl/cmd/completion/completion.go:95
↓ 1 callersMethodSecrets
()
internal/apiserver/service/v1/service.go:33
↓ 1 callersFunctionSetClient
SetClient set the iam store client.
internal/apiserver/store/store.go:26
↓ 1 callersMethodSetExp
SetExp set expiry of the given key.
pkg/storage/redis_cluster.go:510
↓ 1 callersMethodSetExp
SetExp is used to set the expiry of a key.
internal/pump/storage/redis/redis.go:329
↓ 1 callersMethodSetFilters
(analytics.AnalyticsFilters)
internal/pump/pumps/pump.go:20
↓ 1 callersMethodSetOmitDetailedRecording
(bool)
internal/pump/pumps/pump.go:24
↓ 1 callersMethodSetStrategy
SetStrategy used to set to another authentication strategy.
internal/pkg/middleware/auth.go:22
↓ 1 callersMethodSetTimeout
(timeout int)
internal/pump/pumps/pump.go:22
↓ 1 callersMethodSetup
Setup do some setup work for gin engine.
internal/pkg/server/genericapiserver.go:84
↓ 1 callersMethodShutdownFinish
()
pkg/shutdown/shutdown.go:193
↓ 1 callersMethodShutdownStart
()
pkg/shutdown/shutdown.go:192
↓ 1 callersMethodSign
Sign sign Notification with SHA256 algorithm.
internal/authzserver/load/redis_signals.go:39
↓ 1 callersMethodSignal
Signal is called when an os.Signal is received, and guarantees that all notifications are executed, then the final handler is executed. This function
internal/iamctl/util/interrupt/interrupt.go:62
↓ 1 callersMethodSpec
()
internal/watcher/watcher/registry.go:19
↓ 1 callersMethodStart
Start start the analytics service.
internal/authzserver/analytics/analytics.go:90
↓ 1 callersMethodStartPubSubHandler
StartPubSubHandler will listen for a signal and run the callback for every subscription and message event.
pkg/storage/redis_cluster.go:897
↓ 1 callersFunctionStdInfoLogger
StdInfoLogger returns logger of standard library which writes to supplied zap logger at info level.
pkg/log/log.go:297
↓ 1 callersFunctionSugaredLogger
SugaredLogger returns global sugared logger.
pkg/log/log.go:278
↓ 1 callersMethodToRawIAMConfigLoader
ToRawIAMConfigLoader binds config flag values to config overrides Returns an interactive clientConfig if the password flag is enabled, or a non-intera
pkg/cli/genericclioptions/config_flags.go:92
↓ 1 callersFunctionTokenHashAlgo
TokenHashAlgo ...
pkg/storage/storage.go:100
↓ 1 callersMethodUpdate
Update updates an existing policy.
internal/authzserver/authorization/manager.go:32
← previousnext →401–500 of 1,506, ranked by callers