MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

MethodInfo
(_ string, _ ...Field)
pkg/log/log.go:105
MethodInfo
(msg string, fields ...Field)
pkg/log/log.go:125
MethodInfo
(msg string, fields ...Field)
pkg/log/log.go:417
MethodInfo
Info logs a message at level Info on the compatibleLogger.
pkg/log/distribution/logger.go:93
MethodInfo
(msg string, args ...interface{})
pkg/log/cronlog/log.go:22
MethodInfo
Info print info.
internal/pkg/logger/logger.go:112
MethodInfof
(_ string, _ ...interface{})
pkg/log/log.go:106
MethodInfof
(format string, args ...interface{})
pkg/log/log.go:131
MethodInfof
(format string, v ...interface{})
pkg/log/log.go:426
MethodInfof
Infof logs a message at level Info on the compatibleLogger.
pkg/log/distribution/logger.go:103
MethodInfoln
Infoln logs a message at level Info on the compatibleLogger.
pkg/log/distribution/logger.go:98
MethodInfow
(_ string, _ ...interface{})
pkg/log/log.go:107
MethodInfow
(msg string, keysAndValues ...interface{})
pkg/log/log.go:137
MethodInfow
(msg string, keysAndValues ...interface{})
pkg/log/log.go:435
MethodInit
(config interface{})
internal/pump/storage/store.go:10
MethodInit
Init initialize the redis cluster storage manager.
internal/pump/storage/redis/redis.go:225
MethodInit
Init initialize the influx pump instance.
internal/pump/pumps/influx.go:51
MethodInit
Init initialize the csv pump instance.
internal/pump/pumps/csv.go:47
MethodInit
Init initialize the mongo pump instance.
internal/pump/pumps/mongo.go:240
MethodInit
Init initialize the elasticsearch pump instance.
internal/pump/pumps/elasticsearch.go:138
MethodInit
Init initialize the prometheus pump instance.
internal/pump/pumps/prometheus.go:58
MethodInit
Init initialize the kafka pump instance.
internal/pump/pumps/kafka.go:66
MethodInit
Init initialize the syslog pump instance.
internal/pump/pumps/syslog.go:50
MethodInit
Init initialize the dummy pump instance.
internal/pump/pumps/dummy.go:31
MethodInit
Init initializes the watcher for later execution.
internal/watcher/watcher/task/watcher.go:71
MethodInit
Init initializes the watcher for later execution.
internal/watcher/watcher/clean/watcher.go:58
FunctionInitFlags
InitFlags normalizes, parses, then logs the command line flags.
pkg/util/flag/flag.go:42
MethodInitialize
Initialize initialize the trace plugin.
pkg/db/plugin.go:30
FunctionIsFilenameSliceEmpty
IsFilenameSliceEmpty checkes where filenames and directory are both zero value.
internal/iamctl/cmd/util/helpers.go:196
MethodIsMemberOfSet
IsMemberOfSet return whether the given value belong to key set.
pkg/storage/redis_cluster.go:1142
FunctionIsSiblingCommandExists
IsSiblingCommandExists receives a pointer to a cobra command and a target string. Returns true if the target string is found in the list of sibling co
internal/iamctl/cmd/util/helpers.go:285
MethodLevels
()
pkg/log/logrus/hook.go:33
FunctionLimit
Limit drops (HTTP status 429) the request if the limit is reached.
internal/pkg/middleware/limit.go:18
MethodLineBreak
(out *bytes.Buffer)
internal/iamctl/util/templates/markdown.go:94
MethodLink
(out *bytes.Buffer, link []byte, title []byte, content []byte)
internal/iamctl/util/templates/markdown.go:126
MethodList
()
internal/authzserver/store/policy.go:11
MethodList
List(ctx context.Context, username string, opts metav1.ListOptions) (*v1.SecretList, error)
internal/authzserver/store/secret.go:12
MethodList
List mocks base method.
internal/authzserver/store/mock_store.go:94
MethodList
List indicates an expected call of List.
internal/authzserver/store/mock_store.go:103
MethodList
List mocks base method.
internal/authzserver/store/mock_store.go:132
MethodList
List indicates an expected call of List.
internal/authzserver/store/mock_store.go:141
MethodList
List returns all the authorization policies.
internal/authzserver/store/apiserver/policy.go:29
MethodList
List returns all the authorization secrets.
internal/authzserver/store/apiserver/secret.go:27
MethodList
List mocks base method.
internal/authzserver/authorization/mock_authorization.go:99
MethodList
List indicates an expected call of List.
internal/authzserver/authorization/mock_authorization.go:108
MethodList
List returns all the policies under the username.
internal/authzserver/authorization/authorizer/authorizer.go:66
MethodList
List return all policies.
internal/apiserver/controller/v1/policy/list.go:19
MethodList
List list all the secrets.
internal/apiserver/controller/v1/secret/list.go:19
MethodList
(ctx context.Context, username string, opts metav1.ListOptions)
internal/apiserver/service/v1/policy.go:85
MethodList
(ctx context.Context, username string, opts metav1.ListOptions)
internal/apiserver/service/v1/secret.go:89
MethodList
List mocks base method.
internal/apiserver/service/v1/mock_service.go:180
MethodList
List indicates an expected call of List.
internal/apiserver/service/v1/mock_service.go:189
MethodList
List mocks base method.
internal/apiserver/service/v1/mock_service.go:304
MethodList
List indicates an expected call of List.
internal/apiserver/service/v1/mock_service.go:313
MethodList
List mocks base method.
internal/apiserver/service/v1/mock_service.go:413
MethodList
List indicates an expected call of List.
internal/apiserver/service/v1/mock_service.go:422
MethodList
(ctx context.Context, username string, opts metav1.ListOptions)
internal/apiserver/store/policy.go:21
MethodList
(ctx context.Context, username string, opts metav1.ListOptions)
internal/apiserver/store/secret.go:21
MethodList
List mocks base method.
internal/apiserver/store/mock_store.go:194
MethodList
List indicates an expected call of List.
internal/apiserver/store/mock_store.go:203
MethodList
List mocks base method.
internal/apiserver/store/mock_store.go:303
MethodList
List indicates an expected call of List.
internal/apiserver/store/mock_store.go:312
MethodList
List mocks base method.
internal/apiserver/store/mock_store.go:412
MethodList
List indicates an expected call of List.
internal/apiserver/store/mock_store.go:421
MethodList
(ctx context.Context, prefix string)
internal/apiserver/store/etcd/etcd.go:293
MethodList
List return all policies.
internal/apiserver/store/etcd/policy.go:91
MethodList
List return all secrets.
internal/apiserver/store/etcd/secret.go:77
MethodList
List return all users.
internal/apiserver/store/etcd/user.go:81
MethodList
List return all policies.
internal/apiserver/store/mysql/policy.go:100
MethodList
List return all secrets.
internal/apiserver/store/mysql/secret.go:82
MethodList
List return all users.
internal/apiserver/store/mysql/user.go:89
MethodList
List return all policies.
internal/apiserver/store/fake/policy.go:157
MethodList
List return all secrets.
internal/apiserver/store/fake/secret.go:121
MethodList
List return all users.
internal/apiserver/store/fake/user.go:128
MethodList
List renders the start and end of a list.
internal/iamctl/util/templates/markdown.go:46
MethodListItem
ListItem renders list items and supports both ordered and unordered lists.
internal/iamctl/util/templates/markdown.go:54
MethodListOptional
ListOptional show a more graceful query method.
internal/apiserver/store/mysql/user.go:108
MethodListWithBadPerformance
ListWithBadPerformance mocks base method.
internal/apiserver/service/v1/mock_service.go:195
MethodListWithBadPerformance
ListWithBadPerformance indicates an expected call of ListWithBadPerformance.
internal/apiserver/service/v1/mock_service.go:204
MethodListWithBadPerformance
(ctx context.Context, opts metav1.ListOptions)
internal/apiserver/service/v1/user.go:29
FunctionLoadConfig
LoadConfig reads in config file and ENV variables if set.
internal/pkg/server/config.go:127
MethodLogGrantedAccessRequest
LogGrantedAccessRequest mocks base method.
internal/authzserver/authorization/mock_authorization.go:114
MethodLogGrantedAccessRequest
LogGrantedAccessRequest indicates an expected call of LogGrantedAccessRequest.
internal/authzserver/authorization/mock_authorization.go:120
MethodLogGrantedAccessRequest
LogGrantedAccessRequest write granted subject access to redis.
internal/authzserver/authorization/authorizer/authorizer.go:100
MethodLogMode
LogMode log mode.
internal/pkg/logger/logger.go:104
MethodLogRejectedAccessRequest
LogRejectedAccessRequest mocks base method.
internal/authzserver/authorization/mock_authorization.go:126
MethodLogRejectedAccessRequest
LogRejectedAccessRequest indicates an expected call of LogRejectedAccessRequest.
internal/authzserver/authorization/mock_authorization.go:132
MethodLogRejectedAccessRequest
LogRejectedAccessRequest write rejected subject access to redis.
internal/authzserver/authorization/authorizer/authorizer.go:71
FunctionLoggerWithFormatter
LoggerWithFormatter instance a Logger middleware with the specified log format function.
internal/pkg/middleware/logger.go:51
FunctionLoggerWithWriter
LoggerWithWriter instance a Logger middleware with the specified writer buffer. Example: os.Stdout, a file opened in write mode, a socket...
internal/pkg/middleware/logger.go:59
FunctionManualStrip
ManualStrip is used for dropping comments from a YAML file.
internal/iamctl/cmd/util/helpers.go:314
FunctionMultilineError
MultilineError returns a string representing an error that splits sub errors into their own lines. The returned string will end with a newline.
internal/iamctl/cmd/util/helpers.go:150
MethodNew
New create an influx pump instance.
internal/pump/pumps/influx.go:39
MethodNew
New create a csv pump instance.
internal/pump/pumps/csv.go:35
MethodNew
New create a mongo pump instance.
internal/pump/pumps/mongo.go:228
MethodNew
New create an elasticsearch pump instance.
internal/pump/pumps/elasticsearch.go:126
MethodNew
New create a prometheus pump instance.
internal/pump/pumps/prometheus.go:37
MethodNew
New create a kafka pump instance.
internal/pump/pumps/kafka.go:54
MethodNew
New create a syslog pump instance.
internal/pump/pumps/syslog.go:38
MethodNew
New create a dummy pump instance.
internal/pump/pumps/dummy.go:19
← previousnext →1,001–1,100 of 1,506, ranked by callers