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
Method
Delete
Delete mocks base method.
internal/apiserver/store/mock_store.go:260
Method
Delete
Delete indicates an expected call of Delete.
internal/apiserver/store/mock_store.go:268
Method
Delete
Delete mocks base method.
internal/apiserver/store/mock_store.go:369
Method
Delete
Delete indicates an expected call of Delete.
internal/apiserver/store/mock_store.go:377
Method
Delete
(ctx context.Context, key string)
internal/apiserver/store/etcd/etcd.go:379
Method
Delete
Delete deletes the policy by the policy identifier.
internal/apiserver/store/etcd/policy.go:43
Method
Delete
Delete deletes the secret by the secret identifier.
internal/apiserver/store/etcd/secret.go:43
Method
Delete
Delete deletes the user by the user identifier.
internal/apiserver/store/etcd/user.go:43
Method
Delete
Delete deletes the policy by the policy identifier.
internal/apiserver/store/mysql/policy.go:39
Method
Delete
Delete deletes the secret by the secret identifier.
internal/apiserver/store/mysql/secret.go:39
Method
Delete
Delete deletes the user by the user identifier.
internal/apiserver/store/mysql/user.go:39
Method
Delete
Delete deletes the policy by the policy identifier.
internal/apiserver/store/fake/policy.go:67
Method
Delete
Delete deletes the secret by the secret identifier.
internal/apiserver/store/fake/secret.go:66
Method
Delete
Delete deletes the user by the user identifier.
internal/apiserver/store/fake/user.go:66
Method
DeleteAllKeys
()
pkg/storage/storage.go:39
Method
DeleteAllKeys
DeleteAllKeys will remove all keys from the database.
pkg/storage/redis_cluster.go:754
Method
DeleteCollection
(idList []string)
internal/authzserver/authorization/types.go:18
Method
DeleteCollection
DeleteCollection mocks base method.
internal/authzserver/authorization/mock_authorization.go:70
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/authzserver/authorization/mock_authorization.go:78
Method
DeleteCollection
DeleteCollection batch delete policies by the given identifiers. Return nil because we use mysql storage to store the policy.
internal/authzserver/authorization/authorizer/authorizer.go:55
Method
DeleteCollection
DeleteCollection delete policies by policy names.
internal/apiserver/controller/v1/policy/delete_collection.go:17
Method
DeleteCollection
DeleteCollection delete secrets by secret names.
internal/apiserver/controller/v1/secret/delete_collection.go:17
Method
DeleteCollection
( ctx context.Context, username string, names []string, opts metav1.DeleteOptions, )
internal/apiserver/service/v1/policy.go:63
Method
DeleteCollection
( ctx context.Context, username string, secretIDs []string, opts metav1.DeleteOptions, )
internal/apiserver/service/v1/secret.go:63
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/service/v1/mock_service.go:151
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/service/v1/mock_service.go:159
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/service/v1/mock_service.go:275
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/service/v1/mock_service.go:283
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/service/v1/mock_service.go:384
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/service/v1/mock_service.go:392
Method
DeleteCollection
(ctx context.Context, username string, names []string, opts metav1.DeleteOptions)
internal/apiserver/store/policy.go:19
Method
DeleteCollection
(ctx context.Context, username string, secretIDs []string, opts metav1.DeleteOptions)
internal/apiserver/store/secret.go:19
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/store/mock_store.go:165
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/store/mock_store.go:173
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/store/mock_store.go:274
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/store/mock_store.go:282
Method
DeleteCollection
DeleteCollection mocks base method.
internal/apiserver/store/mock_store.go:383
Method
DeleteCollection
DeleteCollection indicates an expected call of DeleteCollection.
internal/apiserver/store/mock_store.go:391
Method
DeleteCollection
DeleteCollection batch deletes the policies.
internal/apiserver/store/etcd/policy.go:61
Method
DeleteCollection
DeleteCollection batch deletes the secrets.
internal/apiserver/store/etcd/secret.go:52
Method
DeleteCollection
DeleteCollection batch deletes the users.
internal/apiserver/store/etcd/user.go:58
Method
DeleteCollection
DeleteCollection batch deletes policies by policies ids.
internal/apiserver/store/mysql/policy.go:62
Method
DeleteCollection
DeleteCollection batch deletes the secrets.
internal/apiserver/store/mysql/secret.go:53
Method
DeleteCollection
DeleteCollection batch deletes the users.
internal/apiserver/store/mysql/user.go:59
Method
DeleteCollection
DeleteCollection batch deletes policies by policies ids.
internal/apiserver/store/fake/policy.go:85
Method
DeleteCollection
DeleteCollection batch deletes the secrets.
internal/apiserver/store/fake/secret.go:84
Method
DeleteCollection
DeleteCollection batch deletes the users.
internal/apiserver/store/fake/user.go:90
Method
DeleteKey
(string)
pkg/storage/storage.go:38
Method
DeleteKey
DeleteKey will remove a key from the database.
pkg/storage/redis_cluster.go:738
Method
DeleteKeys
([]string)
pkg/storage/storage.go:44
Method
DeleteKeys
DeleteKeys will remove a group of keys in bulk.
pkg/storage/redis_cluster.go:857
Method
DeleteRawKey
(string)
pkg/storage/storage.go:40
Method
DeleteRawKey
DeleteRawKey will remove a key from the database without prefixing, assumes user knows what they are doing.
pkg/storage/redis_cluster.go:771
Method
DeleteScanMatch
(string)
pkg/storage/storage.go:53
Method
DeleteScanMatch
DeleteScanMatch will remove a group of keys in bulk.
pkg/storage/redis_cluster.go:784
Function
DisableRedis
DisableRedis very handy when testsing it allows to dynamically enable/disable talking with redisW.
pkg/storage/redis_cluster.go:53
Method
DocumentFooter
(out *bytes.Buffer)
internal/iamctl/util/templates/markdown.go:117
Method
DocumentHeader
(out *bytes.Buffer)
internal/iamctl/util/templates/markdown.go:116
Method
DoubleEmphasis
(out *bytes.Buffer, text []byte)
internal/iamctl/util/templates/markdown.go:108
Function
DurationToMillisecond
DurationToMillisecond convert time duration type to float64.
internal/authzserver/analytics/analytics.go:175
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/authzserver/store/mock_store.go:38
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/authzserver/store/mock_store.go:89
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/authzserver/store/mock_store.go:127
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apiserver/service/v1/mock_service.go:242
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apiserver/service/v1/mock_service.go:351
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apiserver/store/mock_store.go:132
Method
Emphasis
(out *bytes.Buffer, text []byte)
internal/iamctl/util/templates/markdown.go:109
Method
Enabled
()
pkg/log/log.go:104
Method
Enabled
()
pkg/log/log.go:124
Method
Entity
(out *bytes.Buffer, entity []byte)
internal/iamctl/util/templates/markdown.go:114
Method
Error
(msg string, fields ...Field)
pkg/log/log.go:471
Method
Error
Error logs a message at level Error on the compatibleLogger.
pkg/log/distribution/logger.go:138
Method
Error
(err error, msg string, args ...interface{})
pkg/log/cronlog/log.go:26
Method
Error
Error print error messages.
internal/pkg/logger/logger.go:126
Method
Errorf
(format string, v ...interface{})
pkg/log/log.go:480
Method
Errorf
Errorf logs a message at level Error on the compatibleLogger.
pkg/log/distribution/logger.go:148
Method
Errorln
Errorln logs a message at level Error on the compatibleLogger.
pkg/log/distribution/logger.go:143
Method
Errorw
(msg string, keysAndValues ...interface{})
pkg/log/log.go:489
Method
Exists
Exists check if keyName exists.
pkg/storage/redis_cluster.go:991
Function
ExplainSQL
ExplainSQL explain a SQL. nolint: gocognit,gocyclo
internal/pkg/logger/sql.go:37
Method
ExposeFlags
(cmd *cobra.Command, flags ...string)
internal/iamctl/util/templates/templater.go:21
Method
ExposeFlags
(cmd *cobra.Command, flags ...string)
internal/iamctl/util/templates/templater.go:71
Method
Fatal
(msg string, fields ...Field)
pkg/log/log.go:525
Method
Fatal
Fatal logs a message at level Fatal on the compatibleLogger.
pkg/log/distribution/logger.go:153
Method
Fatalf
(format string, v ...interface{})
pkg/log/log.go:534
Method
Fatalf
Fatalf logs a message at level Fatal on the compatibleLogger.
pkg/log/distribution/logger.go:163
Method
Fatalln
Fatalln logs a message at level Fatal on the compatibleLogger.
pkg/log/distribution/logger.go:158
Function
Fatalw
Fatalw method output Fatalw level log.
pkg/log/log.go:539
Method
Fatalw
(msg string, keysAndValues ...interface{})
pkg/log/log.go:543
Function
FindMonitor
FindMonitor looks up a watcher in the registry. If not found, nil is returned.
internal/watcher/watcher/registry.go:48
Method
Fire
(entry *logrus.Entry)
pkg/log/logrus/hook.go:37
Method
Flags
Flags returns flags for a specific APIServer by section name.
internal/pump/options/options.go:59
Method
Flags
Flags returns flags for a specific APIServer by section name.
internal/authzserver/options/options.go:54
Method
Flags
Flags returns flags for a specific APIServer by section name.
internal/watcher/options/options.go:64
Method
Flags
Flags returns flags for a specific APIServer by section name.
internal/apiserver/options/options.go:54
Method
Flush
()
pkg/log/log.go:351
Method
Flush
()
pkg/log/cronlog/log.go:30
Method
FootnoteItem
(out *bytes.Buffer, name, text []byte, flags int)
internal/iamctl/util/templates/markdown.go:103
Method
FootnoteRef
(out *bytes.Buffer, ref []byte, id int)
internal/iamctl/util/templates/markdown.go:113
Method
Footnotes
(out *bytes.Buffer, text func() bool)
internal/iamctl/util/templates/markdown.go:102
← previous
next →
801–900 of 1,506, ranked by callers