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
NewDeleteOptions
NewDeleteOptions returns an initialized DeleteOptions instance.
internal/iamctl/cmd/secret/secret_delete.go:45
↓ 1 callers
Function
NewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/policy/policy_get.go:44
↓ 1 callers
Function
NewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/user/user_get.go:42
↓ 1 callers
Function
NewGetOptions
NewGetOptions returns an initialized GetOptions instance.
internal/iamctl/cmd/secret/secret_get.go:44
↓ 1 callers
Function
NewInfoOptions
NewInfoOptions returns an initialized InfoOptions instance.
internal/iamctl/cmd/info/info.go:42
↓ 1 callers
Function
NewJWTStrategy
NewJWTStrategy create jwt bearer strategy with GinJWTMiddleware.
internal/pkg/middleware/auth/jwt.go:25
↓ 1 callers
Function
NewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/policy/policy_list.go:44
↓ 1 callers
Function
NewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/user/user_list.go:41
↓ 1 callers
Function
NewListOptions
NewListOptions returns an initialized ListOptions instance.
internal/iamctl/cmd/secret/secret_list.go:42
↓ 1 callers
Function
NewLoader
NewLoader return a loader with a loader implement.
internal/authzserver/load/load.go:30
↓ 1 callers
Function
NewLogger
NewLogger create a logger which implement `github.com/robfig/cron.Logger`.
pkg/log/cronlog/log.go:18
↓ 1 callers
Function
NewMaxWidthWriter
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 callers
Function
NewMockUserStore
NewMockUserStore creates a new mock instance.
internal/apiserver/store/mock_store.go:125
↓ 1 callers
Function
NewNewOptions
NewNewOptions returns an initialized NewOptions instance.
internal/iamctl/cmd/new/new.go:511
↓ 1 callers
Function
NewOptions
NewOptions creates a new Options object with default parameters.
internal/authzserver/options/options.go:32
↓ 1 callers
Function
NewOptions
NewOptions creates a new Options object with default parameters.
internal/apiserver/options/options.go:32
↓ 1 callers
Function
NewOptions
NewOptions returns initialized Options.
internal/iamctl/cmd/version/version.go:45
↓ 1 callers
Function
NewPolicyController
NewPolicyController creates a policy handler.
internal/apiserver/controller/v1/policy/policy.go:18
↓ 1 callers
Function
NewRedisClusterPool
NewRedisClusterPool create a redis cluster pool.
pkg/storage/redis_cluster.go:187
↓ 1 callers
Function
NewRedisClusterPool
NewRedisClusterPool returns a redis cluster client.
internal/pump/storage/redis/redis.go:40
↓ 1 callers
Function
NewSecretController
NewSecretController creates a secret handler.
internal/apiserver/controller/v1/secret/secret.go:18
↓ 1 callers
Function
NewService
NewService returns Service interface.
internal/apiserver/service/v1/service.go:23
↓ 1 callers
Function
NewShowOptions
NewShowOptions returns an initialized ShowOptions instance.
internal/iamctl/cmd/jwt/jwt_show.go:40
↓ 1 callers
Function
NewSignOptions
NewSignOptions returns an initialized SignOptions instance.
internal/iamctl/cmd/jwt/jwt_sign.go:56
↓ 1 callers
Function
NewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/policy/policy_update.go:47
↓ 1 callers
Function
NewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/user/user_update.go:53
↓ 1 callers
Function
NewUpdateOptions
NewUpdateOptions returns an initialized UpdateOptions instance.
internal/iamctl/cmd/secret/secret_update.go:48
↓ 1 callers
Function
NewValidateOptions
NewValidateOptions returns an initialized ValidateOptions instance.
internal/iamctl/cmd/validate/validate.go:41
↓ 1 callers
Function
NewVerifyOptions
NewVerifyOptions returns an initialized VerifyOptions instance.
internal/iamctl/cmd/jwt/jwt_verify.go:43
↓ 1 callers
Function
Normalize
Normalize perform all required normalizations on a given command.
internal/iamctl/util/templates/normalizers.go:34
↓ 1 callers
Method
OnError
(err error)
pkg/shutdown/shutdown.go:199
↓ 1 callers
Method
OnShutdown
(string)
pkg/shutdown/shutdown.go:171
↓ 1 callers
Function
OptionsHelpTemplate
OptionsHelpTemplate if the template for 'help' used by the 'options' command.
internal/iamctl/util/templates/templates.go:84
↓ 1 callers
Function
OptionsUsageTemplate
OptionsUsageTemplate if the template for 'usage' used by the 'options' command.
internal/iamctl/util/templates/templates.go:89
↓ 1 callers
Method
Policies
()
internal/apiserver/service/v1/service.go:37
↓ 1 callers
Method
PolicyAudits
()
internal/apiserver/store/store.go:16
↓ 1 callers
Method
PrepareRun
()
internal/pump/server.go:67
↓ 1 callers
Method
PrepareRun
()
internal/authzserver/server.go:69
↓ 1 callers
Method
PrepareRun
PrepareRun prepares the server to run, by setting up the server instance.
internal/watcher/server.go:47
↓ 1 callers
Method
PrepareRun
()
internal/apiserver/server.go:81
↓ 1 callers
Method
Print
Print logs a message at level Print on the compatibleLogger.
pkg/log/distribution/logger.go:48
↓ 1 callers
Function
Publish
Publish publish a redis event to specified redis channel when some action occurred.
internal/pkg/middleware/publish.go:21
↓ 1 callers
Method
RESTClient
Returns a RESTClient for accessing IAM resources or an error.
internal/iamctl/cmd/util/factory.go:32
↓ 1 callers
Method
Reload
()
internal/authzserver/load/load.go:19
↓ 1 callers
Method
ReportError
(err error)
pkg/shutdown/shutdown.go:216
↓ 1 callers
Method
ReportError
ReportError is a function that can be used to report errors to ErrorHandler. It is used in ShutdownManagers.
pkg/shutdown/shutdown.go:303
↓ 1 callers
Function
RequireNoArguments
RequireNoArguments exits with a usage error if extra arguments are provided.
internal/iamctl/cmd/util/helpers.go:307
↓ 1 callers
Function
Run
Run runs the specified pump server. This should never exit.
internal/pump/run.go:13
↓ 1 callers
Function
Run
Run runs the specified AuthzServer. This should never exit.
internal/authzserver/run.go:12
↓ 1 callers
Function
Run
Run runs the specified pump server. This should never exit.
internal/watcher/run.go:13
↓ 1 callers
Function
Run
Run runs the specified APIServer. This should never exit.
internal/apiserver/run.go:10
↓ 1 callers
Method
Run
* // 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 callers
Method
Run
()
internal/watcher/server.go:62
↓ 1 callers
Method
Run
Run runs the watcher job.
internal/watcher/watcher/task/watcher.go:27
↓ 1 callers
Method
Run
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/policy/policy_delete.go:97
↓ 1 callers
Method
Run
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/policy/policy_list.go:96
↓ 1 callers
Method
Run
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/policy/policy_get.go:97
↓ 1 callers
Method
Run
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/policy/policy_create.go:118
↓ 1 callers
Method
Run
Run executes a update subcommand using the specified options.
internal/iamctl/cmd/policy/policy_update.go:112
↓ 1 callers
Method
Run
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/user/user_list.go:93
↓ 1 callers
Method
Run
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/user/user_create.go:130
↓ 1 callers
Method
Run
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/user/user_get.go:94
↓ 1 callers
Method
Run
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/user/user_delete.go:96
↓ 1 callers
Method
Run
Run executes an update subcommand using the specified options.
internal/iamctl/cmd/user/user_update.go:108
↓ 1 callers
Method
Run
Run executes a new sub command using the specified options.
internal/iamctl/cmd/new/new.go:568
↓ 1 callers
Method
Run
Run executes version command.
internal/iamctl/cmd/version/version.go:103
↓ 1 callers
Method
Run
Run executes a db sub command using the specified options.
internal/iamctl/cmd/set/set_db.go:110
↓ 1 callers
Method
Run
Run executes a color subcommand using the specified options.
internal/iamctl/cmd/color/color.go:239
↓ 1 callers
Method
Run
Run executes an info sub command using the specified options.
internal/iamctl/cmd/info/info.go:69
↓ 1 callers
Method
Run
Run executes a validate sub command using the specified options.
internal/iamctl/cmd/validate/validate.go:81
↓ 1 callers
Method
Run
Run executes a list subcommand using the specified options.
internal/iamctl/cmd/secret/secret_list.go:93
↓ 1 callers
Method
Run
Run executes a get subcommand using the specified options.
internal/iamctl/cmd/secret/secret_get.go:96
↓ 1 callers
Method
Run
Run executes a delete subcommand using the specified options.
internal/iamctl/cmd/secret/secret_delete.go:97
↓ 1 callers
Method
Run
Run executes a create subcommand using the specified options.
internal/iamctl/cmd/secret/secret_create.go:126
↓ 1 callers
Method
Run
Run executes a update subcommand using the specified options.
internal/iamctl/cmd/secret/secret_update.go:109
↓ 1 callers
Method
Run
Run executes a verify subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_verify.go:97
↓ 1 callers
Method
Run
Run executes a sign subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_sign.go:140
↓ 1 callers
Method
Run
Run executes a show subcommand using the specified options.
internal/iamctl/cmd/jwt/jwt_show.go:92
↓ 1 callers
Function
RunCompletion
RunCompletion checks given arguments and executes command.
internal/iamctl/cmd/completion/completion.go:95
↓ 1 callers
Method
Secrets
()
internal/apiserver/service/v1/service.go:33
↓ 1 callers
Function
SetClient
SetClient set the iam store client.
internal/apiserver/store/store.go:26
↓ 1 callers
Method
SetExp
SetExp set expiry of the given key.
pkg/storage/redis_cluster.go:510
↓ 1 callers
Method
SetExp
SetExp is used to set the expiry of a key.
internal/pump/storage/redis/redis.go:329
↓ 1 callers
Method
SetFilters
(analytics.AnalyticsFilters)
internal/pump/pumps/pump.go:20
↓ 1 callers
Method
SetOmitDetailedRecording
(bool)
internal/pump/pumps/pump.go:24
↓ 1 callers
Method
SetStrategy
SetStrategy used to set to another authentication strategy.
internal/pkg/middleware/auth.go:22
↓ 1 callers
Method
SetTimeout
(timeout int)
internal/pump/pumps/pump.go:22
↓ 1 callers
Method
Setup
Setup do some setup work for gin engine.
internal/pkg/server/genericapiserver.go:84
↓ 1 callers
Method
ShutdownFinish
()
pkg/shutdown/shutdown.go:193
↓ 1 callers
Method
ShutdownStart
()
pkg/shutdown/shutdown.go:192
↓ 1 callers
Method
Sign
Sign sign Notification with SHA256 algorithm.
internal/authzserver/load/redis_signals.go:39
↓ 1 callers
Method
Signal
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 callers
Method
Spec
()
internal/watcher/watcher/registry.go:19
↓ 1 callers
Method
Start
Start start the analytics service.
internal/authzserver/analytics/analytics.go:90
↓ 1 callers
Method
StartPubSubHandler
StartPubSubHandler will listen for a signal and run the callback for every subscription and message event.
pkg/storage/redis_cluster.go:897
↓ 1 callers
Function
StdInfoLogger
StdInfoLogger returns logger of standard library which writes to supplied zap logger at info level.
pkg/log/log.go:297
↓ 1 callers
Function
SugaredLogger
SugaredLogger returns global sugared logger.
pkg/log/log.go:278
↓ 1 callers
Method
ToRawIAMConfigLoader
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 callers
Function
TokenHashAlgo
TokenHashAlgo ...
pkg/storage/storage.go:100
↓ 1 callers
Method
Update
Update updates an existing policy.
internal/authzserver/authorization/manager.go:32
← previous
next →
401–500 of 1,506, ranked by callers