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
Validate
Validate checks validation of ServerRunOptions.
internal/pkg/options/server_run_options.go:41
Method
Validate
Validate is used to parse and validate the parameters entered by the user at the command line when the program starts.
internal/pkg/options/jwt.go:51
Method
Validate
Validate verifies flags passed to RedisOptions.
internal/pkg/options/etcd_options.go:44
Method
Validate
Validate is used to parse and validate the parameters entered by the user at the command line when the program starts.
internal/pkg/options/feature.go:39
Method
Validate
Validate verifies flags passed to RedisOptions.
internal/pkg/options/redis_options.go:48
Method
Validate
Validate is used to parse and validate the parameters entered by the user at the command line when the program starts.
internal/pkg/options/insecure_serving.go:44
Method
Validate
Validate is used to parse and validate the parameters entered by the user at the command line when the program starts.
internal/pkg/options/secure_serving.go:81
Method
Validate
Validate checks Options and return a slice of found errs.
internal/watcher/options/validation.go:8
Method
Validate
Validate checks Options and return a slice of found errs.
internal/apiserver/options/validation.go:8
Method
Value
()
internal/pkg/logger/sql_test.go:34
Method
Warn
(msg string, fields ...Field)
pkg/log/log.go:444
Method
Warn
Warn logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:108
Method
Warn
Warn print warn messages.
internal/pkg/logger/logger.go:119
Function
WarnWordSepNormalizeFunc
WarnWordSepNormalizeFunc changes and warns for flags that contain "_" separators.
pkg/util/flag/flag.go:26
Method
Warnf
(format string, v ...interface{})
pkg/log/log.go:453
Method
Warnf
Warnf logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:118
Function
Warning
Warning write warning message to io.Writer.
internal/iamctl/cmd/util/helpers.go:330
Method
Warning
Warning logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:123
Method
Warningf
Warningf logs a message at level Warning on the compatibleLogger.
pkg/log/distribution/logger.go:133
Method
Warningln
Warningln logs a message at level Warning on the compatibleLogger.
pkg/log/distribution/logger.go:128
Method
Warnln
Warnln logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:113
Function
Warnw
Warnw method output warning level log.
pkg/log/log.go:458
Method
Warnw
(msg string, keysAndValues ...interface{})
pkg/log/log.go:462
Method
Watch
Watch watch etcd.
internal/apiserver/store/etcd/etcd.go:322
Function
WithCommandOptions
WithCommandOptions to open the application's function to read from the command line.
pkg/app/cmd.go:34
Function
WithCommandRunFunc
WithCommandRunFunc is used to set the application's command startup callback function option.
pkg/app/cmd.go:45
Function
WithContext
WithContext returns a copy of context in which the log value is set.
pkg/log/context.go:32
Method
WithContext
(ctx context.Context)
pkg/log/context.go:36
Method
WithError
WithError return a logger with an error field.
pkg/log/distribution/logger.go:183
Method
WithName
(name string)
pkg/log/log.go:341
Function
WithNoConfig
WithNoConfig set the application does not provide config flag.
pkg/app/app.go:127
Function
WithNoVersion
WithNoVersion set the application does not provide version flag.
pkg/app/app.go:120
Function
WithSilence
WithSilence sets the application to silent mode, in which the program startup information, configuration information, and version information are not
pkg/app/app.go:113
Function
WithValidArgs
WithValidArgs set the validation function to valid non-flag arguments.
pkg/app/app.go:134
Method
WithValues
(keysAndValues ...interface{})
pkg/log/log.go:331
Function
WordSepNormalizeFunc
WordSepNormalizeFunc changes all flags that contain "_" separators.
pkg/app/flag.go:18
Function
WordSepNormalizeFunc
WordSepNormalizeFunc changes all flags that contain "_" separators.
pkg/util/flag/flag.go:18
Method
Write
(p []byte)
pkg/log/log.go:322
Method
Write
(p []byte)
pkg/log/klog/logger.go:46
Method
Write
(p []byte)
pkg/log/klog/logger.go:56
Method
Write
(p []byte)
pkg/log/klog/logger.go:66
Method
Write
(p []byte)
pkg/log/klog/logger.go:76
Method
Write
(p []byte)
internal/iamctl/util/term/term_writer.go:65
Method
Write
(p []byte)
internal/iamctl/util/term/term_writer.go:95
Method
WriteData
WriteData write analyzed data to influx persistent back-end storage.
internal/pump/pumps/influx.go:81
Method
WriteData
WriteData write analyzed data to csv persistent back-end storage.
internal/pump/pumps/csv.go:65
Method
WriteData
WriteData write analyzed data to mongo persistent back-end storage.
internal/pump/pumps/mongo.go:422
Method
WriteData
WriteData write analyzed data to elasticsearch persistent back-end storage.
internal/pump/pumps/elasticsearch.go:184
Method
WriteData
WriteData write analyzed data to prometheus persistent back-end storage.
internal/pump/pumps/prometheus.go:85
Method
WriteData
WriteData write analyzed data to kafka persistent back-end storage.
internal/pump/pumps/kafka.go:149
Method
WriteData
WriteData write analyzed data to syslog persistent back-end storage.
internal/pump/pumps/syslog.go:110
Method
WriteData
WriteData write analyzed data to dummy persistent back-end storage.
internal/pump/pumps/dummy.go:38
Function
ZapLogger
ZapLogger used for other log wrapper such as klog.
pkg/log/log.go:367
Function
addHelpFlag
addHelpFlag adds flags for a specific application to the specified FlagSet object.
pkg/app/help.go:44
Function
after
(db *gorm.DB)
pkg/db/plugin.go:56
Function
appendIfNotPresent
(s, stringToAppend string)
internal/iamctl/util/templates/templater.go:239
Function
before
(db *gorm.DB)
pkg/db/plugin.go:52
Method
cmdGroupsString
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:145
Function
defaultOnKeepAliveFailed
()
internal/apiserver/store/etcd/etcd.go:77
Function
fatal
fatal prints the message (if provided) and then exits.
internal/iamctl/cmd/util/helpers.go:53
Function
flagsNotIntersected
(l *flag.FlagSet, r *flag.FlagSet)
internal/iamctl/util/templates/templater.go:246
Function
flagsUsages
(f *flag.FlagSet)
internal/iamctl/util/templates/templater.go:209
Method
genDecl
nolint: gocognit genDecl processes one declaration clause.
tools/codegen/codegen.go:345
Function
init
nolint: gochecknoinits
pkg/app/config.go:25
Function
init
()
pkg/validator/validator.go:34
Function
init
nolint: gochecknoinits
internal/pump/pumps/init.go:10
Function
init
init register error codes defines in this source code to `github.com/marmotedu/errors`
internal/pkg/code/code_generated.go:10
Function
init
()
internal/watcher/watcher/task/watcher.go:86
Function
init
()
internal/watcher/watcher/clean/watcher.go:73
Function
initFlag
()
pkg/app/flag.go:13
Function
main
()
tools/gentoken/main.go:27
Function
main
()
tools/httptest/main.go:13
Function
main
()
tools/geniptables/main.go:123
Function
main
()
tools/codegen/codegen.go:71
Function
main
()
pkg/log/example/example.go:21
Function
main
()
pkg/log/example/vlevel/v_level.go:11
Function
main
()
pkg/log/example/context/main.go:21
Function
main
()
pkg/log/example/simple/simple.go:9
Function
main
()
test/jwt/main.go:13
Function
main
()
cmd/genyaml/gen_iamctl_yaml.go:37
Function
main
()
cmd/iam-apiserver/apiserver.go:18
Function
main
()
cmd/iam-watcher/watcher.go:18
Function
main
()
cmd/genman/gen_iam_man.go:26
Function
main
()
cmd/genswaggertypedocs/swagger_type_docs.go:13
Function
main
()
cmd/iam-authz-server/authzserver.go:18
Function
main
()
cmd/iam-pump/pump.go:18
Function
main
()
cmd/gendocs/gen_iamctl_docs.go:18
Function
main
()
cmd/iamctl/iamctl.go:14
Function
main
()
examples/error/main.go:15
Function
main
()
examples/code/main.go:19
Function
milliSecondsDurationEncoder
(d time.Duration, enc zapcore.PrimitiveArrayEncoder)
pkg/log/encoder.go:31
Method
optionsCmdFor
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:186
Function
printConfig
()
pkg/app/config.go:60
Method
processData
(ctx context.Context, data []interface{}, esConf *ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:226
Function
resetDatabase
resetDatabase resets the database tables. nolint:unused,deadcode // may be reused in the feature, or just show a migrate usage.
internal/apiserver/store/mysql/mysql.go:130
Method
rootCmdName
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:159
Method
runCommand
(cmd *cobra.Command, args []string)
pkg/app/cmd.go:102
Method
runCommand
(cmd *cobra.Command, args []string)
pkg/app/app.go:234
Function
runCompletionBash
(out io.Writer, boilerPlate string, iamctl *cobra.Command)
internal/iamctl/cmd/completion/completion.go:112
Function
runCompletionZsh
(out io.Writer, boilerPlate string, iamctl *cobra.Command)
internal/iamctl/cmd/completion/completion.go:124
← previous
next →
1,401–1,500 of 1,506, ranked by callers