MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

↓ 142 callersMethodError
(msg string, fields ...Field)
pkg/log/log.go:64
↓ 94 callersMethodErrorf
(format string, v ...interface{})
pkg/log/log.go:65
↓ 48 callersFunctionErrorf
Errorf method output error level log.
pkg/log/log.go:476
↓ 41 callersMethodRun
()
internal/apiserver/grpc.go:20
↓ 39 callersMethodGet
(ctx context.Context, username string, opts metav1.GetOptions)
internal/apiserver/store/user.go:20
↓ 38 callersMethodInfo
Info logs a non-error message with the given key/value pairs as context. The msg argument should be used to add some constant description to the log
pkg/log/log.go:42
↓ 37 callersMethodNew
()
internal/pump/pumps/pump.go:17
↓ 36 callersMethodString
()
pkg/app/options.go:35
↓ 34 callersMethodsingleton
()
pkg/storage/redis_cluster.go:361
↓ 32 callersFunctionDebug
Debug method output debug level log.
pkg/log/log.go:386
↓ 32 callersFunctionDebugf
Debugf method output debug level log.
pkg/log/log.go:395
↓ 29 callersMethodup
()
pkg/storage/redis_cluster.go:382
↓ 28 callersFunctionL
L method output with specified context value.
pkg/log/log.go:548
↓ 27 callersFunctionExamples
Examples normalizes a command's examples to follow the conventions.
internal/iamctl/util/templates/normalizers.go:26
↓ 27 callersMethodFlags
AddFlags adds flags to the specified FlagSet object. AddFlags(fs *pflag.FlagSet)
pkg/app/options.go:16
↓ 26 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apiserver/service/v1/mock_service.go:39
↓ 26 callersFunctionInfof
Infof method output info level log.
pkg/log/log.go:422
↓ 24 callersFunctionFatalf
Fatalf method output fatal level log.
pkg/log/log.go:530
↓ 23 callersMethodUsers
()
internal/apiserver/store/store.go:13
↓ 22 callersMethodClose
()
internal/apiserver/store/store.go:17
↓ 22 callersMethodfixKey
(keyName string)
pkg/storage/redis_cluster.go:374
↓ 21 callersMethodDelete
(ctx context.Context, username string, opts metav1.DeleteOptions)
internal/apiserver/store/user.go:18
↓ 21 callersMethodfw
(out io.Writer, text ...[]byte)
internal/iamctl/util/templates/markdown.go:135
↓ 19 callersMethodCreate
(ctx context.Context, user *v1.User, opts metav1.CreateOptions)
internal/apiserver/store/user.go:16
↓ 17 callersMethodWrite
(p []byte)
pkg/log/log.go:78
↓ 16 callersMethodFatal
(msg string, fields ...Field)
pkg/log/log.go:70
↓ 16 callersMethodList
(ctx context.Context, opts metav1.ListOptions)
internal/apiserver/store/user.go:21
↓ 16 callersMethodSet
Set sets the value of ArgList.
internal/iamctl/cmd/jwt/args.go:25
↓ 15 callersMethodName
Name returns the name of trace plugin.
pkg/db/plugin.go:25
↓ 15 callersMethodRun
Run start to run AuthzServer.
internal/authzserver/server.go:78
↓ 14 callersFunctionInfo
Info method output info level log.
pkg/log/log.go:413
↓ 14 callersFunctionNewMockAuthorizationInterface
NewMockAuthorizationInterface creates a new mock instance.
internal/authzserver/authorization/mock_authorization.go:30
↓ 14 callersMethodPolicies
()
internal/apiserver/store/store.go:15
↓ 14 callersMethodPrintf
(string, ...interface{})
internal/pkg/logger/logger.go:48
↓ 14 callersMethodSecrets
()
internal/apiserver/store/store.go:14
↓ 13 callersMethodAdd
(c *cobra.Command)
internal/iamctl/util/templates/command_groups.go:18
↓ 13 callersFunctionError
Error method output error level log.
pkg/log/log.go:467
↓ 13 callersFunctionLongDesc
LongDesc normalizes a command's long description to follow the conventions.
internal/iamctl/util/templates/normalizers.go:18
↓ 13 callersFunctionNew
New initializes GracefulShutdown.
pkg/shutdown/shutdown.go:229
↓ 13 callersMethodNext
Next returns the new terminal size after the terminal has been resized. It returns nil when monitoring has been stopped.
internal/iamctl/util/term/resize.go:21
↓ 13 callersMethodValidate
()
pkg/app/options.go:17
↓ 12 callersMethodIAMClient
IAMClient gives you back an external iamclient
internal/iamctl/cmd/util/factory.go:29
↓ 12 callersFunctionNewMockFactory
NewMockFactory creates a new mock instance.
internal/apiserver/store/mock_store.go:32
↓ 11 callersMethodUpdate
(ctx context.Context, user *v1.User, opts metav1.UpdateOptions)
internal/apiserver/store/user.go:17
↓ 10 callersMethodAddShutdownCallback
(shutdownCallback ShutdownCallback)
pkg/shutdown/shutdown.go:217
↓ 10 callersMethodFatalf
(format string, v ...interface{})
pkg/log/log.go:71
↓ 10 callersFunctionFlush
Flush calls the underlying Core's Sync method, flushing any buffered log entries. Applications should take care to call Sync before exiting.
pkg/log/log.go:349
↓ 10 callersMethodPrintln
Println logs a message at level Print on the compatibleLogger.
pkg/log/distribution/logger.go:53
↓ 10 callersMethodType
Type returns the type name of ArgList.
internal/iamctl/cmd/jwt/args.go:36
↓ 10 callersFunctionWarnf
Warnf method output warning level log.
pkg/log/log.go:449
↓ 9 callersMethodDebug
(msg string, fields ...Field)
pkg/log/log.go:58
↓ 9 callersMethodPolicies
()
internal/apiserver/service/v1/service.go:15
↓ 9 callersFunctionUnpointer
Unpointer fill LimitAndOffset with default values if offset/limit is nil or it will be filled with the passed value.
internal/pkg/util/gormutil/gorm.go:19
↓ 9 callersMethodUsers
()
internal/apiserver/service/v1/service.go:13
↓ 9 callersFunctionWarn
Warn method output warning level log.
pkg/log/log.go:440
↓ 9 callersMethodWarn
(msg string, fields ...Field)
pkg/log/log.go:61
↓ 8 callersMethodPut
(ctx context.Context, key string, val string)
internal/apiserver/store/etcd/etcd.go:210
↓ 8 callersMethodRun
Run is used to launch the application.
pkg/app/app.go:222
↓ 8 callersMethodStartShutdown
(sm ShutdownManager)
pkg/shutdown/shutdown.go:215
↓ 7 callersMethodAddCommand
AddCommand adds sub command to the current command.
pkg/app/cmd.go:67
↓ 7 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apiserver/service/v1/mock_service.go:104
↓ 7 callersMethodInfow
(msg string, keysAndValues ...interface{})
pkg/log/log.go:44
↓ 7 callersFunctionNewOptions
NewOptions creates an Options object with default parameters.
pkg/log/options.go:60
↓ 7 callersFunctionOutDir
OutDir creates the absolute path name from path and checks path exists. Returns absolute path including trailing '/' or error if path does not exist.
pkg/util/genutil/genutil.go:15
↓ 7 callersMethodSecrets
()
internal/apiserver/service/v1/service.go:14
↓ 7 callersMethodStart
(gs GSInterface)
pkg/shutdown/shutdown.go:191
↓ 6 callersFunctionGetMySQLFactoryOr
GetMySQLFactoryOr create mysql factory with the given config.
internal/apiserver/store/mysql/mysql.go:60
↓ 6 callersMethodInfof
(format string, v ...interface{})
pkg/log/log.go:43
↓ 6 callersFunctionInit
Init initializes logger with specified options.
pkg/log/log.go:208
↓ 6 callersMethodStop
Stop stop the analytics service.
internal/authzserver/analytics/analytics.go:102
↓ 6 callersMethodToRESTConfig
ToRESTConfig returns restconfig
pkg/cli/genericclioptions/config_flags.go:44
↓ 6 callersMethodUpdate
(ctx context.Context, user *v1.User, opts metav1.UpdateOptions)
internal/apiserver/service/v1/user.go:24
↓ 6 callersMethodgetKey
(key string)
internal/apiserver/store/etcd/etcd.go:202
↓ 6 callersMethodgetKey
(username string, name string)
internal/apiserver/store/etcd/policy.go:28
↓ 5 callersMethodAddShutdownManager
AddShutdownManager adds a ShutdownManager that will listen to shutdown requests.
pkg/shutdown/shutdown.go:250
↓ 5 callersMethodComplete
()
pkg/app/options.go:30
↓ 5 callersMethodDebugf
(format string, v ...interface{})
pkg/log/log.go:59
↓ 5 callersMethodErrorw
(msg string, keysAndValues ...interface{})
pkg/log/log.go:66
↓ 5 callersFunctionFatal
Fatal method output fatal level log.
pkg/log/log.go:521
↓ 5 callersMethodHeader
(out *bytes.Buffer, text func() bool, level int, id string)
internal/iamctl/util/templates/markdown.go:96
↓ 5 callersFunctionNewAuditLogger
NewAuditLogger creates a AuditLogger with default parameters.
internal/authzserver/authorization/logger.go:19
↓ 5 callersMethodNewClient
NewClient create mysql store with the given config.
internal/pkg/options/mysql_options.go:77
↓ 5 callersFunctionNewPosixSignalManager
NewPosixSignalManager initializes the PosixSignalManager. As arguments you can provide os.Signal-s to listen to, if none are given, it will default to
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal.go:32
↓ 5 callersMethodPanic
(msg string, fields ...Field)
pkg/log/log.go:67
↓ 5 callersMethodgetKey
(username string, secretID string)
internal/apiserver/store/etcd/secret.go:28
↓ 5 callersMethodgetKey
(name string)
internal/apiserver/store/etcd/user.go:28
↓ 4 callersMethodCreate
(ctx context.Context, user *v1.User, opts metav1.CreateOptions)
internal/apiserver/service/v1/user.go:23
↓ 4 callersMethodDelete
(ctx context.Context, username string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/user.go:25
↓ 4 callersMethodDeleteCollection
(ctx context.Context, usernames []string, opts metav1.DeleteOptions)
internal/apiserver/service/v1/user.go:26
↓ 4 callersMethodDeleteCollection
(ctx context.Context, usernames []string, opts metav1.DeleteOptions)
internal/apiserver/store/user.go:19
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/authzserver/authorization/mock_authorization.go:37
↓ 4 callersFunctionFakeUsers
FakeUsers returns fake user data.
internal/apiserver/store/fake/fake.go:72
↓ 4 callersMethodGet
(ctx context.Context, username string, opts metav1.GetOptions)
internal/apiserver/service/v1/user.go:27
↓ 4 callersFunctionGetFakeFactoryOr
GetFakeFactoryOr create fake store.
internal/apiserver/store/fake/fake.go:55
↓ 4 callersMethodList
(username string)
internal/authzserver/authorization/types.go:20
↓ 4 callersMethodList
(ctx context.Context, opts metav1.ListOptions)
internal/apiserver/service/v1/user.go:28
↓ 4 callersFunctionNewApp
NewApp creates a new application instance based on the given application name, binary name, and other options.
pkg/app/app.go:157
↓ 4 callersFunctionNewDefaultIAMCtlCommand
NewDefaultIAMCtlCommand creates the `iamctl` command with default arguments.
internal/iamctl/cmd/cmd.go:36
↓ 4 callersFunctionNewPolicyManager
NewPolicyManager initializes a new PolicyManager for given apimachinery api client.
internal/authzserver/authorization/manager.go:20
↓ 4 callersFunctionPanicf
Panicf method output panic level log and shutdown application.
pkg/log/log.go:503
next →1–100 of 1,506, ranked by callers