MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

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