MCPcopy Create free account

hub / github.com/marmotedu/iam / functions

Functions1,506 in github.com/marmotedu/iam

MethodValidate
Validate checks validation of ServerRunOptions.
internal/pkg/options/server_run_options.go:41
MethodValidate
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
MethodValidate
Validate verifies flags passed to RedisOptions.
internal/pkg/options/etcd_options.go:44
MethodValidate
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
MethodValidate
Validate verifies flags passed to RedisOptions.
internal/pkg/options/redis_options.go:48
MethodValidate
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
MethodValidate
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
MethodValidate
Validate checks Options and return a slice of found errs.
internal/watcher/options/validation.go:8
MethodValidate
Validate checks Options and return a slice of found errs.
internal/apiserver/options/validation.go:8
MethodValue
()
internal/pkg/logger/sql_test.go:34
MethodWarn
(msg string, fields ...Field)
pkg/log/log.go:444
MethodWarn
Warn logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:108
MethodWarn
Warn print warn messages.
internal/pkg/logger/logger.go:119
FunctionWarnWordSepNormalizeFunc
WarnWordSepNormalizeFunc changes and warns for flags that contain "_" separators.
pkg/util/flag/flag.go:26
MethodWarnf
(format string, v ...interface{})
pkg/log/log.go:453
MethodWarnf
Warnf logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:118
FunctionWarning
Warning write warning message to io.Writer.
internal/iamctl/cmd/util/helpers.go:330
MethodWarning
Warning logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:123
MethodWarningf
Warningf logs a message at level Warning on the compatibleLogger.
pkg/log/distribution/logger.go:133
MethodWarningln
Warningln logs a message at level Warning on the compatibleLogger.
pkg/log/distribution/logger.go:128
MethodWarnln
Warnln logs a message at level Warn on the compatibleLogger.
pkg/log/distribution/logger.go:113
FunctionWarnw
Warnw method output warning level log.
pkg/log/log.go:458
MethodWarnw
(msg string, keysAndValues ...interface{})
pkg/log/log.go:462
MethodWatch
Watch watch etcd.
internal/apiserver/store/etcd/etcd.go:322
FunctionWithCommandOptions
WithCommandOptions to open the application's function to read from the command line.
pkg/app/cmd.go:34
FunctionWithCommandRunFunc
WithCommandRunFunc is used to set the application's command startup callback function option.
pkg/app/cmd.go:45
FunctionWithContext
WithContext returns a copy of context in which the log value is set.
pkg/log/context.go:32
MethodWithContext
(ctx context.Context)
pkg/log/context.go:36
MethodWithError
WithError return a logger with an error field.
pkg/log/distribution/logger.go:183
MethodWithName
(name string)
pkg/log/log.go:341
FunctionWithNoConfig
WithNoConfig set the application does not provide config flag.
pkg/app/app.go:127
FunctionWithNoVersion
WithNoVersion set the application does not provide version flag.
pkg/app/app.go:120
FunctionWithSilence
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
FunctionWithValidArgs
WithValidArgs set the validation function to valid non-flag arguments.
pkg/app/app.go:134
MethodWithValues
(keysAndValues ...interface{})
pkg/log/log.go:331
FunctionWordSepNormalizeFunc
WordSepNormalizeFunc changes all flags that contain "_" separators.
pkg/app/flag.go:18
FunctionWordSepNormalizeFunc
WordSepNormalizeFunc changes all flags that contain "_" separators.
pkg/util/flag/flag.go:18
MethodWrite
(p []byte)
pkg/log/log.go:322
MethodWrite
(p []byte)
pkg/log/klog/logger.go:46
MethodWrite
(p []byte)
pkg/log/klog/logger.go:56
MethodWrite
(p []byte)
pkg/log/klog/logger.go:66
MethodWrite
(p []byte)
pkg/log/klog/logger.go:76
MethodWrite
(p []byte)
internal/iamctl/util/term/term_writer.go:65
MethodWrite
(p []byte)
internal/iamctl/util/term/term_writer.go:95
MethodWriteData
WriteData write analyzed data to influx persistent back-end storage.
internal/pump/pumps/influx.go:81
MethodWriteData
WriteData write analyzed data to csv persistent back-end storage.
internal/pump/pumps/csv.go:65
MethodWriteData
WriteData write analyzed data to mongo persistent back-end storage.
internal/pump/pumps/mongo.go:422
MethodWriteData
WriteData write analyzed data to elasticsearch persistent back-end storage.
internal/pump/pumps/elasticsearch.go:184
MethodWriteData
WriteData write analyzed data to prometheus persistent back-end storage.
internal/pump/pumps/prometheus.go:85
MethodWriteData
WriteData write analyzed data to kafka persistent back-end storage.
internal/pump/pumps/kafka.go:149
MethodWriteData
WriteData write analyzed data to syslog persistent back-end storage.
internal/pump/pumps/syslog.go:110
MethodWriteData
WriteData write analyzed data to dummy persistent back-end storage.
internal/pump/pumps/dummy.go:38
FunctionZapLogger
ZapLogger used for other log wrapper such as klog.
pkg/log/log.go:367
FunctionaddHelpFlag
addHelpFlag adds flags for a specific application to the specified FlagSet object.
pkg/app/help.go:44
Functionafter
(db *gorm.DB)
pkg/db/plugin.go:56
FunctionappendIfNotPresent
(s, stringToAppend string)
internal/iamctl/util/templates/templater.go:239
Functionbefore
(db *gorm.DB)
pkg/db/plugin.go:52
MethodcmdGroupsString
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:145
FunctiondefaultOnKeepAliveFailed
()
internal/apiserver/store/etcd/etcd.go:77
Functionfatal
fatal prints the message (if provided) and then exits.
internal/iamctl/cmd/util/helpers.go:53
FunctionflagsNotIntersected
(l *flag.FlagSet, r *flag.FlagSet)
internal/iamctl/util/templates/templater.go:246
FunctionflagsUsages
(f *flag.FlagSet)
internal/iamctl/util/templates/templater.go:209
MethodgenDecl
nolint: gocognit genDecl processes one declaration clause.
tools/codegen/codegen.go:345
Functioninit
nolint: gochecknoinits
pkg/app/config.go:25
Functioninit
()
pkg/validator/validator.go:34
Functioninit
nolint: gochecknoinits
internal/pump/pumps/init.go:10
Functioninit
init register error codes defines in this source code to `github.com/marmotedu/errors`
internal/pkg/code/code_generated.go:10
Functioninit
()
internal/watcher/watcher/task/watcher.go:86
Functioninit
()
internal/watcher/watcher/clean/watcher.go:73
FunctioninitFlag
()
pkg/app/flag.go:13
Functionmain
()
tools/gentoken/main.go:27
Functionmain
()
tools/httptest/main.go:13
Functionmain
()
tools/geniptables/main.go:123
Functionmain
()
tools/codegen/codegen.go:71
Functionmain
()
pkg/log/example/example.go:21
Functionmain
()
pkg/log/example/vlevel/v_level.go:11
Functionmain
()
pkg/log/example/context/main.go:21
Functionmain
()
pkg/log/example/simple/simple.go:9
Functionmain
()
test/jwt/main.go:13
Functionmain
()
cmd/genyaml/gen_iamctl_yaml.go:37
Functionmain
()
cmd/iam-apiserver/apiserver.go:18
Functionmain
()
cmd/iam-watcher/watcher.go:18
Functionmain
()
cmd/genman/gen_iam_man.go:26
Functionmain
()
cmd/genswaggertypedocs/swagger_type_docs.go:13
Functionmain
()
cmd/iam-authz-server/authzserver.go:18
Functionmain
()
cmd/iam-pump/pump.go:18
Functionmain
()
cmd/gendocs/gen_iamctl_docs.go:18
Functionmain
()
cmd/iamctl/iamctl.go:14
Functionmain
()
examples/error/main.go:15
Functionmain
()
examples/code/main.go:19
FunctionmilliSecondsDurationEncoder
(d time.Duration, enc zapcore.PrimitiveArrayEncoder)
pkg/log/encoder.go:31
MethodoptionsCmdFor
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:186
FunctionprintConfig
()
pkg/app/config.go:60
MethodprocessData
(ctx context.Context, data []interface{}, esConf *ElasticsearchConf)
internal/pump/pumps/elasticsearch.go:226
FunctionresetDatabase
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
MethodrootCmdName
(c *cobra.Command)
internal/iamctl/util/templates/templater.go:159
MethodrunCommand
(cmd *cobra.Command, args []string)
pkg/app/cmd.go:102
MethodrunCommand
(cmd *cobra.Command, args []string)
pkg/app/app.go:234
FunctionrunCompletionBash
(out io.Writer, boilerPlate string, iamctl *cobra.Command)
internal/iamctl/cmd/completion/completion.go:112
FunctionrunCompletionZsh
(out io.Writer, boilerPlate string, iamctl *cobra.Command)
internal/iamctl/cmd/completion/completion.go:124
← previousnext →1,401–1,500 of 1,506, ranked by callers