MCPcopy Create free account

hub / github.com/marmotedu/iam / types & classes

Types & classes336 in github.com/marmotedu/iam

↓ 10 callersFuncTypeShutdownFunc
ShutdownFunc is a helper type, so you can easily provide anonymous functions as ShutdownCallbacks.
pkg/shutdown/shutdown.go:176
↓ 5 callersFuncTypeSMFinishFunc
func() error
pkg/shutdown/shutdown_test.go:31
↓ 4 callersFuncTypeErrorFunc
ErrorFunc is a helper type, so you can easily provide anonymous functions as ErrorHandlers.
pkg/shutdown/shutdown.go:204
↓ 2 callersFuncTypeSMShutdownStartFunc
func() error
pkg/shutdown/shutdown_test.go:13
↓ 2 callersFuncTypeSMStartFunc
func() error
pkg/shutdown/shutdown_test.go:49
↓ 2 callersFuncTypestartShutdownFunc
func(sm shutdown.ShutdownManager)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:15
↓ 1 callersTypeAliasJSON
internal/pkg/logger/sql_test.go:20
↓ 1 callersTypeAliaspassword
internal/pkg/logger/sql_test.go:45
↓ 1 callersTypeAliasrole
internal/pkg/logger/sql_test.go:44
StructAPIKeyTransport
APIKeyTransport defiens elasticsearch api key.
internal/pump/pumps/elasticsearch.go:65
StructASCIIRenderer
ASCIIRenderer is a blackfriday.Renderer intended for rendering markdown documents as plain text, well suited for human reading on terminals.
internal/iamctl/util/templates/markdown.go:23
StructAccess
Access defines hosts and ports need to accept by iptables.
tools/geniptables/main.go:96
StructAnalytics
Analytics will record analytics data to a redis back end as defined in the Config object.
internal/authzserver/analytics/analytics.go:53
StructAnalyticsFilters
AnalyticsFilters defines the analytics options.
internal/pump/analytics/analytics_filters.go:8
InterfaceAnalyticsHandler
AnalyticsHandler defines the interface for analytics.
pkg/storage/storage.go:65
StructAnalyticsOptions
AnalyticsOptions contains configuration items related to analytics.
internal/pump/analytics/analytics_options.go:12
StructAnalyticsOptions
AnalyticsOptions contains configuration items related to analytics.
internal/authzserver/analytics/analytics_options.go:15
StructAnalyticsRecord
AnalyticsRecord encodes the details of a authorization request.
internal/pump/analytics/analytics.go:16
StructAnalyticsRecord
AnalyticsRecord encodes the details of a authorization request.
internal/authzserver/analytics/analytics.go:26
InterfaceAnalyticsStorage
AnalyticsStorage defines the analytics storage interface.
internal/pump/storage/store.go:9
StructApp
App is the main structure of a cli application. It is recommended that an app be created with the app.NewApp() function.
pkg/app/app.go:67
TypeAliasArgList
ArgList defines a new pflag Value.
internal/iamctl/cmd/jwt/args.go:15
StructAuditLogger
AuditLogger outputs and cache information about granting or rejecting policies.
internal/authzserver/authorization/logger.go:14
StructAuthOperator
AuthOperator used to switch between different authentication strategy.
internal/pkg/middleware/auth.go:17
InterfaceAuthStrategy
AuthStrategy defines the set of methods used to do resource authentication.
internal/pkg/middleware/auth.go:12
StructAuthorization
Authorization implements authorization.AuthorizationInterface interface.
internal/authzserver/authorization/authorizer/authorizer.go:26
InterfaceAuthorizationInterface
AuthorizationInterface defiens the CURD method for lady policy.
internal/authzserver/authorization/types.go:14
StructAuthorizer
Authorizer implement the authorize interface that use local repository to authorize the subject access review.
internal/authzserver/authorization/authorizer.go:16
StructAuthzController
AuthzController create a authorize handler used to handle authorize request.
internal/authzserver/controller/v1/authorize/authorize.go:20
StructAutoStrategy
AutoStrategy defines authentication strategy which can automatically choose between Basic and Bearer according `Authorization` header.
internal/pkg/middleware/auth/auto.go:22
StructBaseMongoConf
BaseMongoConf defines options needed when connnect to mongo db.
internal/pump/pumps/mongo.go:59
StructBasicStrategy
BasicStrategy defines Basic authentication strategy.
internal/pkg/middleware/auth/basic.go:20
StructCSVConf
CSVConf defines csv specific options.
internal/pump/pumps/csv.go:29
StructCSVPump
CSVPump defines a csv pump with csv specific options and common options.
internal/pump/pumps/csv.go:23
StructCache
Cache is used to store secrets and policies.
internal/authzserver/load/cache/cache.go:19
StructCache
Cache defines a cache service used to list all secrets and policies.
internal/apiserver/controller/v1/cache/cache.go:23
StructCacheStrategy
CacheStrategy defines jwt bearer authentication strategy which called `cache strategy`. Secrets are obtained through grpc api interface and cached in
internal/pkg/middleware/auth/cache.go:36
StructCertKey
CertKey contains configuration items related to certificate.
internal/pkg/options/secure_serving.go:30
StructCertKey
CertKey contains configuration items related to certificate.
internal/pkg/server/config.go:43
StructChangePasswordRequest
ChangePasswordRequest defines the ChangePasswordRequest data format.
internal/apiserver/controller/v1/user/change_password.go:19
StructCleanOptions
CleanOptions defines options for clean watcher.
internal/watcher/options/options.go:17
InterfaceCliOptions
CliOptions abstracts configuration options for reading parameters from the command line.
pkg/app/options.go:13
StructClientCertAuthenticationOptions
ClientCertAuthenticationOptions provides different options for client cert auth.
internal/pkg/options/authentication.go:24
StructColorOptions
ColorOptions is an options struct to support color subcommands.
internal/iamctl/cmd/color/color.go:23
StructCommand
Command is a sub command structure of a cli application. It is recommended that a command be created with the app.NewCommand() function.
pkg/app/cmd.go:20
StructCommandGroup
internal/iamctl/util/templates/command_groups.go:11
TypeAliasCommandGroups
internal/iamctl/util/templates/command_groups.go:16
FuncTypeCommandOption
CommandOption defines optional parameters for initializing the command structure.
pkg/app/cmd.go:30
StructCommonPumpConfig
CommonPumpConfig defines common options used by all persistent store, like elasticsearch, kafka, mongo and etc.
internal/pump/pumps/common.go:10
InterfaceCompleteableOptions
CompleteableOptions abstracts options which can be completed.
pkg/app/options.go:29
StructCompletedConfig
CompletedConfig is the completed configuration for GenericAPIServer.
internal/pkg/server/config.go:96
StructConfig
Config defines options for redis cluster.
pkg/storage/redis_cluster.go:25
StructConfig
Config is the running configuration structure of the IAM pump service.
internal/pump/config/config.go:10
StructConfig
Config is the running configuration structure of the IAM pump service.
internal/authzserver/config/config.go:10
StructConfig
Config defines a gorm logger configuration.
internal/pkg/logger/logger.go:52
StructConfig
Config is a structure used to configure a GenericAPIServer. Its members are sorted roughly in order of importance for composers.
internal/pkg/server/config.go:31
StructConfig
Config is the running configuration structure of the IAM pump service.
internal/watcher/config/config.go:10
StructConfig
Config is the running configuration structure of the IAM pump service.
internal/apiserver/config/config.go:10
StructConfigFlags
ConfigFlags composes the set of values necessary for obtaining a REST client config.
pkg/cli/genericclioptions/config_flags.go:53
InterfaceConfigurableOptions
ConfigurableOptions abstracts configuration options for reading parameters from a configuration file.
pkg/app/options.go:22
StructCreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/policy/policy_create.go:28
StructCreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/user/user_create.go:26
StructCreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/secret/secret_create.go:27
StructDBOptions
DBOptions is an options struct to support 'db' sub command.
internal/iamctl/cmd/set/set_db.go:24
StructDeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/policy/policy_delete.go:25
StructDeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/user/user_delete.go:25
StructDeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/secret/secret_delete.go:25
StructDummyPump
DummyPump defines a dummy pump with dummy specific options and common options.
internal/pump/pumps/dummy.go:14
StructElasticsearch7Operator
Elasticsearch7Operator defines elasticsearch6 operator.
internal/pump/pumps/elasticsearch.go:59
StructElasticsearchBulkConfig
ElasticsearchBulkConfig defines elasticsearch bulk config.
internal/pump/pumps/elasticsearch.go:46
StructElasticsearchConf
ElasticsearchConf defines elasticsearch specific options.
internal/pump/pumps/elasticsearch.go:31
InterfaceElasticsearchOperator
ElasticsearchOperator defines interface for all elasticsearch operator.
internal/pump/pumps/elasticsearch.go:54
StructElasticsearchPump
ElasticsearchPump defines an elasticsearch pump with elasticsearch specific options and common options.
internal/pump/pumps/elasticsearch.go:24
StructErrCode
ErrCode implements `github.com/marmotedu/errors`.Coder interface.
internal/pkg/code/code.go:15
InterfaceErrorHandler
ErrorHandler is an interface you can pass to SetErrorHandler to handle asynchronous errors.
pkg/shutdown/shutdown.go:198
FuncTypeEtcdCreateEventFunc
EtcdCreateEventFunc defines etcd create event function handler.
internal/apiserver/store/etcd/etcd.go:25
FuncTypeEtcdDeleteEventFunc
EtcdDeleteEventFunc defines etcd delete event function handler.
internal/apiserver/store/etcd/etcd.go:31
StructEtcdKeyValue
EtcdKeyValue defines etcd returned key-value pairs.
internal/apiserver/store/etcd/etcd.go:288
FuncTypeEtcdModifyEventFunc
EtcdModifyEventFunc defines etcd update event function handler.
internal/apiserver/store/etcd/etcd.go:28
StructEtcdOptions
EtcdOptions defines options for etcd cluster.
internal/pkg/options/etcd_options.go:18
StructEtcdWatcher
EtcdWatcher defines a etcd watcher.
internal/apiserver/store/etcd/etcd.go:34
StructExampleStruct
internal/pkg/logger/sql_test.go:29
StructExtraConfig
ExtraConfig defines extra configuration for the iam-apiserver.
internal/apiserver/server.go:40
InterfaceFactory
Factory defines the iam platform storage interface.
internal/authzserver/store/store.go:12
InterfaceFactory
Factory defines the iam platform storage interface.
internal/apiserver/store/store.go:12
InterfaceFactory
Factory provides abstractions that allow the IAM command to be extended across multiple types of resources and different API sets. The rings are here
internal/iamctl/cmd/util/factory.go:25
StructFeatureOptions
FeatureOptions contains configuration items related to API server features.
internal/pkg/options/feature.go:14
StructFile
File holds a single parsed file and associated data.
tools/codegen/codegen.go:180
InterfaceFlagExposer
internal/iamctl/util/templates/templater.go:20
StructGRPCOptions
GRPCOptions are for creating an unauthenticated, unauthorized, insecure port. No one should be using these anymore.
internal/pkg/options/grpc.go:15
InterfaceGSInterface
GSInterface is an interface implemented by GracefulShutdown, that gets passed to ShutdownManager to call StartShutdown when shutdown is requested.
pkg/shutdown/shutdown.go:214
StructGeneratableKeyCert
GeneratableKeyCert contains configuration items related to certificate.
internal/pkg/options/secure_serving.go:38
StructGenerator
Generator generate a shell script contains iptables rules.
tools/geniptables/main.go:104
StructGenerator
Generator holds the state of the analysis. Primarily used to buffer the output for format.Source.
tools/codegen/codegen.go:167
StructGenericAPIServer
GenericAPIServer contains state for an iam api server. type GenericAPIServer gin.Engine.
internal/pkg/server/genericapiserver.go:28
StructGetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/policy/policy_get.go:28
StructGetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/user/user_get.go:26
StructGetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/secret/secret_get.go:27
StructGracefulShutdown
GracefulShutdown is main struct that handles ShutdownCallbacks and ShutdownManagers. Initialize it with New.
pkg/shutdown/shutdown.go:222
InterfaceHandler
Handler is a standard interface to a storage backend, used by AuthorisationManager to read and write key values to the backend.
pkg/storage/storage.go:29
next →1–100 of 336, ranked by callers