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