MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

FunctionFuzzUnpointer
(f *testing.F)
internal/pkg/util/gormutil/gorm_test.go:73
FunctionGenerateToken
GenerateToken generate token, if hashing algorithm is empty, use legacy key generation.
pkg/storage/storage.go:76
MethodGet
Get mocks base method.
internal/authzserver/authorization/mock_authorization.go:84
MethodGet
Get indicates an expected call of Get.
internal/authzserver/authorization/mock_authorization.go:93
MethodGet
Get returns the policy detail by the given identifier. Return nil because we use mysql storage to store the policy.
internal/authzserver/authorization/authorizer/authorizer.go:61
MethodGet
Get return policy by the policy identifier.
internal/apiserver/controller/v1/policy/get.go:17
MethodGet
Get get an policy by the secret identifier.
internal/apiserver/controller/v1/secret/get.go:17
MethodGet
(ctx context.Context, username, name string, opts metav1.GetOptions)
internal/apiserver/service/v1/policy.go:76
MethodGet
( ctx context.Context, username, secretID string, opts metav1.GetOptions, )
internal/apiserver/service/v1/secret.go:76
MethodGet
Get mocks base method.
internal/apiserver/service/v1/mock_service.go:165
MethodGet
Get indicates an expected call of Get.
internal/apiserver/service/v1/mock_service.go:174
MethodGet
Get mocks base method.
internal/apiserver/service/v1/mock_service.go:289
MethodGet
Get indicates an expected call of Get.
internal/apiserver/service/v1/mock_service.go:298
MethodGet
Get mocks base method.
internal/apiserver/service/v1/mock_service.go:398
MethodGet
Get indicates an expected call of Get.
internal/apiserver/service/v1/mock_service.go:407
MethodGet
(ctx context.Context, username string, name string, opts metav1.GetOptions)
internal/apiserver/store/policy.go:20
MethodGet
(ctx context.Context, username, secretID string, opts metav1.GetOptions)
internal/apiserver/store/secret.go:20
MethodGet
Get mocks base method.
internal/apiserver/store/mock_store.go:179
MethodGet
Get indicates an expected call of Get.
internal/apiserver/store/mock_store.go:188
MethodGet
Get mocks base method.
internal/apiserver/store/mock_store.go:288
MethodGet
Get indicates an expected call of Get.
internal/apiserver/store/mock_store.go:297
MethodGet
Get mocks base method.
internal/apiserver/store/mock_store.go:397
MethodGet
Get indicates an expected call of Get.
internal/apiserver/store/mock_store.go:406
MethodGet
(ctx context.Context, key string)
internal/apiserver/store/etcd/etcd.go:270
MethodGet
Get return an policy by the policy identifier.
internal/apiserver/store/etcd/policy.go:76
MethodGet
Get return an secret by the secret identifier.
internal/apiserver/store/etcd/secret.go:62
MethodGet
Get return an user by the user identifier.
internal/apiserver/store/etcd/user.go:66
MethodGet
Get return policy by the policy identifier.
internal/apiserver/store/mysql/policy.go:85
MethodGet
Get return an secret by the secret identifier.
internal/apiserver/store/mysql/secret.go:67
MethodGet
Get return an user by the user identifier.
internal/apiserver/store/mysql/user.go:74
MethodGet
Get return policy by the policy identifier.
internal/apiserver/store/fake/policy.go:143
MethodGet
Get return an secret by the secret identifier.
internal/apiserver/store/fake/secret.go:107
MethodGet
Get return an user by the user identifier.
internal/apiserver/store/fake/user.go:114
MethodGetAndDeleteSet
(string)
pkg/storage/storage.go:51
MethodGetAndDeleteSet
(string)
pkg/storage/storage.go:68
MethodGetAndDeleteSet
GetAndDeleteSet get and delete a key.
pkg/storage/redis_cluster.go:938
MethodGetAndDeleteSet
GetAndDeleteSet get and delete key from redis.
internal/pump/storage/redis/redis.go:267
FunctionGetEtcdFactoryOr
GetEtcdFactoryOr create a etcdFactory store with given options.
internal/apiserver/store/etcd/etcd.go:87
MethodGetExp
Set key expiration
pkg/storage/storage.go:36
MethodGetExp
Set key expiration
pkg/storage/storage.go:70
MethodGetFilters
GetFilters get attributes `filters` for CommonPumpConfig.
internal/pump/pumps/common.go:22
MethodGetFilters
GetFilters get attributes `filters` for SyslogPump.
internal/pump/pumps/syslog.go:154
FunctionGetFlagBool
GetFlagBool returns the value of the given flag.
internal/iamctl/cmd/util/helpers.go:228
FunctionGetFlagDuration
GetFlagDuration return the value of the given flag.
internal/iamctl/cmd/util/helpers.go:264
FunctionGetFlagInt
GetFlagInt returns the value of the given flag.
internal/iamctl/cmd/util/helpers.go:237
FunctionGetFlagInt32
GetFlagInt32 returns the value of the given flag.
internal/iamctl/cmd/util/helpers.go:246
FunctionGetFlagInt64
GetFlagInt64 returns the value of the given flag.
internal/iamctl/cmd/util/helpers.go:255
FunctionGetFlagString
GetFlagString returns the value of the given flag.
internal/iamctl/cmd/util/helpers.go:201
FunctionGetFlagStringArray
GetFlagStringArray can be used to accept multiple argument with flag repetition (e.g. -f arg1 -f arg2 ...).
internal/iamctl/cmd/util/helpers.go:219
FunctionGetFlagStringSlice
GetFlagStringSlice can be used to accept multiple argument with flag repetition (e.g. -f arg1,arg2 -f arg3 ...).
internal/iamctl/cmd/util/helpers.go:210
MethodGetFlags
()
internal/iamctl/util/templates/markdown.go:90
MethodGetKey
(string)
pkg/storage/storage.go:30
MethodGetKey
GetKey will retrieve a key from the database.
pkg/storage/redis_cluster.go:391
MethodGetKeyPrefix
()
pkg/storage/storage.go:54
MethodGetKeyPrefix
GetKeyPrefix returns storage key prefix.
pkg/storage/redis_cluster.go:1285
MethodGetKeyTTL
GetKeyTTL return ttl of the given key.
pkg/storage/redis_cluster.go:468
MethodGetKeys
Returns expiry of a key
pkg/storage/storage.go:37
MethodGetKeysAndValues
()
pkg/storage/storage.go:42
MethodGetKeysAndValues
GetKeysAndValues will return all keys and their values - not to be used lightly.
pkg/storage/redis_cluster.go:733
MethodGetKeysAndValuesWithFilter
(string)
pkg/storage/storage.go:43
MethodGetListRange
(string, int64, int64)
pkg/storage/storage.go:58
MethodGetListRange
GetListRange gets range of elements of list identified by keyName.
pkg/storage/redis_cluster.go:1035
MethodGetMultiKey
Returned string is expected to be a JSON object (user.SessionState)
pkg/storage/storage.go:31
MethodGetMultiKey
GetMultiKey gets multiple keys from the database.
pkg/storage/redis_cluster.go:409
MethodGetName
()
pkg/shutdown/shutdown_test.go:15
MethodGetName
()
pkg/shutdown/shutdown_test.go:33
MethodGetName
()
pkg/shutdown/shutdown_test.go:51
MethodGetName
GetName returns name of this ShutdownManager.
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal.go:45
MethodGetName
()
internal/pump/storage/store.go:11
MethodGetName
GetName returns the redis cluster storage manager name.
internal/pump/storage/redis/redis.go:220
MethodGetName
GetName returns the influx pump name.
internal/pump/pumps/influx.go:46
MethodGetName
GetName returns the csv pump name.
internal/pump/pumps/csv.go:42
MethodGetName
GetName returns the mongo pump name.
internal/pump/pumps/mongo.go:235
MethodGetName
GetName returns the elasticsearch pump name.
internal/pump/pumps/elasticsearch.go:133
MethodGetName
GetName returns the prometheus pump name.
internal/pump/pumps/prometheus.go:53
MethodGetName
GetName returns the kafka pump name.
internal/pump/pumps/kafka.go:61
MethodGetName
GetName returns the syslog pump name.
internal/pump/pumps/syslog.go:45
MethodGetName
GetName returns the dummy pump name.
internal/pump/pumps/dummy.go:26
MethodGetOmitDetailedRecording
GetOmitDetailedRecording get attributes `OmitDetailedRecording` for CommonPumpConfig.
internal/pump/pumps/common.go:42
MethodGetPolicy
GetPolicy return user's ladon policies for the given user.
internal/authzserver/load/cache/cache.go:90
MethodGetRawKey
(string)
pkg/storage/storage.go:32
MethodGetRawKey
GetRawKey return the value of the given key.
pkg/storage/redis_cluster.go:478
FunctionGetRequestIDFromContext
GetRequestIDFromContext returns 'RequestID' from the given context if present.
internal/pkg/middleware/requestid.go:82
FunctionGetRequestIDFromHeaders
GetRequestIDFromHeaders returns 'RequestID' from the headers if present.
internal/pkg/middleware/requestid.go:93
MethodGetRollingWindow
(key string, per int64, pipeline bool)
pkg/storage/storage.go:48
MethodGetRollingWindow
GetRollingWindow return rolling window.
pkg/storage/redis_cluster.go:1235
MethodGetSet
(string)
pkg/storage/storage.go:49
MethodGetSet
GetSet return key set value.
pkg/storage/redis_cluster.go:1092
MethodGetSize
GetSize returns the current size of the user's terminal. If it isn't a terminal, nil is returned.
internal/iamctl/util/term/resize.go:26
MethodGetSortedSetRange
(string, string, string)
pkg/storage/storage.go:56
MethodGetSortedSetRange
GetSortedSetRange gets range of elements of sorted set identified by keyName.
pkg/storage/redis_cluster.go:1312
MethodGetTimeout
GetTimeout get attributes `timeout` for CommonPumpConfig.
internal/pump/pumps/common.go:32
MethodGetTimeout
GetTimeout get attributes `timeout` for SyslogPump.
internal/pump/pumps/syslog.go:144
MethodHRule
(out *bytes.Buffer)
internal/iamctl/util/templates/markdown.go:91
MethodHTTPStatus
HTTPStatus returns the associated HTTP status code, if any. Otherwise, returns 200.
internal/pkg/code/code.go:49
FunctionHashKey
HashKey return hash the give string and return.
pkg/storage/storage.go:164
MethodIAMClient
()
internal/iamctl/cmd/util/factory_client_access.go:41
MethodImage
(out *bytes.Buffer, link []byte, title []byte, alt []byte)
internal/iamctl/util/templates/markdown.go:131
MethodIncrememntWithExpire
(string, int64)
pkg/storage/storage.go:46
MethodIncrememntWithExpire
IncrememntWithExpire will increment a key in redis.
pkg/storage/redis_cluster.go:569
← previousnext →901–1,000 of 1,506, ranked by callers