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
SetFilters
SetFilters set attributes `filters` for SyslogPump.
internal/pump/pumps/syslog.go:149
Method
SetKey
(string, string, int64)
pkg/storage/storage.go:33
Method
SetKey
SetKey will create (or update) a key value in the store.
pkg/storage/redis_cluster.go:523
Method
SetKey
SetKey will create (or update) a key value in the store.
internal/pump/storage/redis/redis.go:308
Method
SetOmitDetailedRecording
SetOmitDetailedRecording set attributes `OmitDetailedRecording` for CommonPumpConfig.
internal/pump/pumps/common.go:37
Method
SetRawKey
Second input string is expected to be a JSON object (user.SessionState)
pkg/storage/storage.go:34
Method
SetRawKey
SetRawKey set the value of the given key.
pkg/storage/redis_cluster.go:541
Method
SetRollingWindow
(key string, per int64, val string, pipeline bool)
pkg/storage/storage.go:47
Method
SetRollingWindow
SetRollingWindow will append to a sorted set in redis and extract a timed window of values.
pkg/storage/redis_cluster.go:1161
Method
SetTimeout
SetTimeout set attributes `timeout` for CommonPumpConfig.
internal/pump/pumps/common.go:27
Method
SetTimeout
SetTimeout set attributes `timeout` for SyslogPump.
internal/pump/pumps/syslog.go:139
Function
SetupSignalHandler
SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned which is closed on one of these signals. If a second signal is caught
internal/pkg/server/signal.go:19
Method
SetupSuite
()
internal/apiserver/service/v1/policy_test.go:35
Method
ShutdownFinish
()
pkg/shutdown/shutdown_test.go:23
Method
ShutdownFinish
()
pkg/shutdown/shutdown_test.go:41
Method
ShutdownFinish
()
pkg/shutdown/shutdown_test.go:59
Method
ShutdownFinish
ShutdownFinish exits the app with os.Exit(0).
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal.go:70
Method
ShutdownStart
()
pkg/shutdown/shutdown_test.go:19
Method
ShutdownStart
()
pkg/shutdown/shutdown_test.go:37
Method
ShutdownStart
()
pkg/shutdown/shutdown_test.go:55
Method
ShutdownStart
ShutdownStart does nothing.
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal.go:65
Method
Smartypants
(out *bytes.Buffer, text []byte)
internal/iamctl/util/templates/markdown.go:115
Method
Spec
Spec is parsed using the time zone of task Cron instance as the default.
internal/watcher/watcher/task/watcher.go:66
Method
Spec
Spec is parsed using the time zone of clean Cron instance as the default.
internal/watcher/watcher/clean/watcher.go:53
Method
Start
(gs GSInterface)
pkg/shutdown/shutdown_test.go:27
Method
Start
(gs GSInterface)
pkg/shutdown/shutdown_test.go:45
Method
Start
(gs GSInterface)
pkg/shutdown/shutdown_test.go:63
Method
Start
Start calls Start on all added ShutdownManagers. The ShutdownManagers start to listen to shutdown requests. Returns an error if any ShutdownManagers r
pkg/shutdown/shutdown.go:239
Method
Start
Start start a loop service.
internal/authzserver/load/load.go:39
Method
StartShutdown
StartShutdown is called from a ShutdownManager and will initiate shutdown. first call ShutdownStart on Shutdownmanager, call all ShutdownCallbacks, wa
pkg/shutdown/shutdown.go:283
Method
StartShutdown
(sm shutdown.ShutdownManager)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:17
Function
StdErrLogger
StdErrLogger returns logger of standard library which writes to supplied zap logger at error level.
pkg/log/log.go:284
Method
StrikeThrough
(out *bytes.Buffer, text []byte)
internal/iamctl/util/templates/markdown.go:112
Method
String
()
tools/codegen/codegen.go:322
Method
String
()
pkg/log/options.go:110
Method
String
()
internal/pump/options/options.go:78
Method
String
()
internal/authzserver/options/options.go:76
Method
String
String implements stringer. String returns the external error message, if any.
internal/pkg/code/code.go:38
Method
String
()
internal/watcher/options/options.go:93
Method
String
()
internal/apiserver/options/options.go:68
Method
String
String return value of ArgList in string format.
internal/iamctl/cmd/jwt/args.go:18
Method
Table
(out *bytes.Buffer, header []byte, body []byte, columnData []int)
internal/iamctl/util/templates/markdown.go:122
Method
TableCell
(out *bytes.Buffer, text []byte, align int)
internal/iamctl/util/templates/markdown.go:101
Method
TableHeaderCell
(out *bytes.Buffer, text []byte, align int)
internal/iamctl/util/templates/markdown.go:100
Method
TableRow
(out *bytes.Buffer, text []byte)
internal/iamctl/util/templates/markdown.go:99
Function
TableWriterDefaultConfig
(table *tablewriter.Table)
internal/iamctl/cmd/util/helpers.go:373
Function
TestAuditLogger_LogGrantedAccessRequest
(t *testing.T)
internal/authzserver/authorization/logger_test.go:79
Function
TestAuditLogger_LogRejectedAccessRequest
(t *testing.T)
internal/authzserver/authorization/logger_test.go:46
Function
TestAuthorizer_Authorize
(t *testing.T)
internal/authzserver/authorization/authorizer_test.go:52
Function
TestCache_ListPolicies
(t *testing.T)
internal/apiserver/controller/v1/cache/cache_test.go:139
Function
TestCache_ListSecrets
(t *testing.T)
internal/apiserver/controller/v1/cache/cache_test.go:62
Function
TestCallbacksGetCalled
(t *testing.T)
pkg/shutdown/shutdown_test.go:67
Function
TestCleanupForInclude
(t *testing.T)
cmd/geniamdocs/postprocessing_test.go:13
Function
TestCopyObj
(t *testing.T)
internal/pkg/util/reflect/reflect_test.go:42
Function
TestCreateConfigFromOptions
(t *testing.T)
internal/pump/config/config_test.go:14
Function
TestCreateConfigFromOptions
(t *testing.T)
internal/watcher/config/config_test.go:14
Function
TestErrorHandlerDirect
(t *testing.T)
pkg/shutdown/shutdown_test.go:219
Function
TestErrorHandlerFromCallbacks
(t *testing.T)
pkg/shutdown/shutdown_test.go:194
Function
TestErrorHandlerFromFinishShutdown
(t *testing.T)
pkg/shutdown/shutdown_test.go:175
Function
TestErrorHandlerFromStartShutdown
(t *testing.T)
pkg/shutdown/shutdown_test.go:156
Function
TestExplainSQL
(t *testing.T)
internal/pkg/logger/sql_test.go:43
Function
TestGetCacheInsOr
(t *testing.T)
internal/apiserver/controller/v1/cache/cache_test.go:22
Function
TestGetObjFieldsMap
(t *testing.T)
internal/pkg/util/reflect/reflect_test.go:12
Function
TestGetPumpByName
(t *testing.T)
internal/pump/pumps/pump_test.go:11
Function
TestHasFilter
(t *testing.T)
internal/pump/analytics/analytics_filters_test.go:40
Function
TestInvalidDir
(t *testing.T)
pkg/util/genutil/genutil_test.go:18
Function
TestMain
(m *testing.M)
internal/apiserver/service/v1/user_test.go:22
Function
TestMarkdownPostProcessing
(t *testing.T)
cmd/geniamdocs/postprocessing_test.go:48
Function
TestMaxWidthWriter
(t *testing.T)
internal/iamctl/util/term/term_writer_test.go:58
Function
TestNewAuditLogger
(t *testing.T)
internal/authzserver/authorization/logger_test.go:15
Function
TestNewAuthorizer
(t *testing.T)
internal/authzserver/authorization/authorizer_test.go:16
Function
TestNewPolicyManager
(t *testing.T)
internal/authzserver/authorization/manager_test.go:15
Function
TestNewService
(t *testing.T)
internal/apiserver/service/v1/service_test.go:16
Function
TestNewUserController
(t *testing.T)
internal/apiserver/controller/v1/user/user_test.go:17
Function
TestNotDir
(t *testing.T)
pkg/util/genutil/genutil_test.go:25
Function
TestPolicy
(t *testing.T)
internal/apiserver/service/v1/policy_test.go:53
Function
TestPolicyManager_Create
(t *testing.T)
internal/authzserver/authorization/manager_test.go:95
Function
TestPolicyManager_Delete
(t *testing.T)
internal/authzserver/authorization/manager_test.go:225
Function
TestPolicyManager_FindPoliciesForResource
(t *testing.T)
internal/authzserver/authorization/manager_test.go:361
Function
TestPolicyManager_FindPoliciesForSubject
(t *testing.T)
internal/authzserver/authorization/manager_test.go:313
Function
TestPolicyManager_FindRequestCandidates
(t *testing.T)
internal/authzserver/authorization/manager_test.go:46
Function
TestPolicyManager_Get
(t *testing.T)
internal/authzserver/authorization/manager_test.go:177
Function
TestPolicyManager_GetAll
(t *testing.T)
internal/authzserver/authorization/manager_test.go:266
Function
TestPolicyManager_Update
(t *testing.T)
internal/authzserver/authorization/manager_test.go:136
Function
TestRedisAddressConfiguration
(t *testing.T)
internal/pump/storage/redis/redis_test.go:13
Function
TestShouldFilter
(t *testing.T)
internal/pump/analytics/analytics_filters_test.go:9
Function
TestShutdownFinishGetsCalled
(t *testing.T)
pkg/shutdown/shutdown_test.go:137
Function
TestShutdownManagerName
(t *testing.T)
pkg/shutdown/shutdown_test.go:236
Function
TestShutdownStartGetsCalled
(t *testing.T)
pkg/shutdown/shutdown_test.go:118
Function
TestStartErrorGetsReturned
(t *testing.T)
pkg/shutdown/shutdown_test.go:105
Function
TestStartGetsCalled
(t *testing.T)
pkg/shutdown/shutdown_test.go:87
Function
TestStartShutdownCalledCustomSignal
(t *testing.T)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:61
Function
TestStartShutdownCalledOnDefaultSignals
(t *testing.T)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:36
Function
TestUnpointer
(t *testing.T)
internal/pkg/util/gormutil/gorm_test.go:15
Function
TestUserController_ChangePassword
(t *testing.T)
internal/apiserver/controller/v1/user/change_password_test.go:21
Function
TestUserController_Create
(t *testing.T)
internal/apiserver/controller/v1/user/create_test.go:19
Function
TestUserController_Delete
(t *testing.T)
internal/apiserver/controller/v1/user/delete_test.go:18
Function
TestUserController_DeleteCollection
(t *testing.T)
internal/apiserver/controller/v1/user/delete_collection_test.go:18
Function
TestUserController_Get
(t *testing.T)
internal/apiserver/controller/v1/user/get_test.go:20
Function
TestUserController_List
(t *testing.T)
internal/apiserver/controller/v1/user/list_test.go:18
← previous
next →
1,201–1,300 of 1,506, ranked by callers