Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/marmotedu/iam
/ types & classes
Types & classes
336 in github.com/marmotedu/iam
⨍
Functions
1,506
◇
Types & classes
336
↓ 10 callers
FuncType
ShutdownFunc
ShutdownFunc is a helper type, so you can easily provide anonymous functions as ShutdownCallbacks.
pkg/shutdown/shutdown.go:176
↓ 5 callers
FuncType
SMFinishFunc
func() error
pkg/shutdown/shutdown_test.go:31
↓ 4 callers
FuncType
ErrorFunc
ErrorFunc is a helper type, so you can easily provide anonymous functions as ErrorHandlers.
pkg/shutdown/shutdown.go:204
↓ 2 callers
FuncType
SMShutdownStartFunc
func() error
pkg/shutdown/shutdown_test.go:13
↓ 2 callers
FuncType
SMStartFunc
func() error
pkg/shutdown/shutdown_test.go:49
↓ 2 callers
FuncType
startShutdownFunc
func(sm shutdown.ShutdownManager)
pkg/shutdown/shutdownmanagers/posixsignal/posixsignal_test.go:15
↓ 1 callers
TypeAlias
JSON
internal/pkg/logger/sql_test.go:20
↓ 1 callers
TypeAlias
password
internal/pkg/logger/sql_test.go:45
↓ 1 callers
TypeAlias
role
internal/pkg/logger/sql_test.go:44
Struct
APIKeyTransport
APIKeyTransport defiens elasticsearch api key.
internal/pump/pumps/elasticsearch.go:65
Struct
ASCIIRenderer
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
Struct
Access
Access defines hosts and ports need to accept by iptables.
tools/geniptables/main.go:96
Struct
Analytics
Analytics will record analytics data to a redis back end as defined in the Config object.
internal/authzserver/analytics/analytics.go:53
Struct
AnalyticsFilters
AnalyticsFilters defines the analytics options.
internal/pump/analytics/analytics_filters.go:8
Interface
AnalyticsHandler
AnalyticsHandler defines the interface for analytics.
pkg/storage/storage.go:65
Struct
AnalyticsOptions
AnalyticsOptions contains configuration items related to analytics.
internal/pump/analytics/analytics_options.go:12
Struct
AnalyticsOptions
AnalyticsOptions contains configuration items related to analytics.
internal/authzserver/analytics/analytics_options.go:15
Struct
AnalyticsRecord
AnalyticsRecord encodes the details of a authorization request.
internal/pump/analytics/analytics.go:16
Struct
AnalyticsRecord
AnalyticsRecord encodes the details of a authorization request.
internal/authzserver/analytics/analytics.go:26
Interface
AnalyticsStorage
AnalyticsStorage defines the analytics storage interface.
internal/pump/storage/store.go:9
Struct
App
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
TypeAlias
ArgList
ArgList defines a new pflag Value.
internal/iamctl/cmd/jwt/args.go:15
Struct
AuditLogger
AuditLogger outputs and cache information about granting or rejecting policies.
internal/authzserver/authorization/logger.go:14
Struct
AuthOperator
AuthOperator used to switch between different authentication strategy.
internal/pkg/middleware/auth.go:17
Interface
AuthStrategy
AuthStrategy defines the set of methods used to do resource authentication.
internal/pkg/middleware/auth.go:12
Struct
Authorization
Authorization implements authorization.AuthorizationInterface interface.
internal/authzserver/authorization/authorizer/authorizer.go:26
Interface
AuthorizationInterface
AuthorizationInterface defiens the CURD method for lady policy.
internal/authzserver/authorization/types.go:14
Struct
Authorizer
Authorizer implement the authorize interface that use local repository to authorize the subject access review.
internal/authzserver/authorization/authorizer.go:16
Struct
AuthzController
AuthzController create a authorize handler used to handle authorize request.
internal/authzserver/controller/v1/authorize/authorize.go:20
Struct
AutoStrategy
AutoStrategy defines authentication strategy which can automatically choose between Basic and Bearer according `Authorization` header.
internal/pkg/middleware/auth/auto.go:22
Struct
BaseMongoConf
BaseMongoConf defines options needed when connnect to mongo db.
internal/pump/pumps/mongo.go:59
Struct
BasicStrategy
BasicStrategy defines Basic authentication strategy.
internal/pkg/middleware/auth/basic.go:20
Struct
CSVConf
CSVConf defines csv specific options.
internal/pump/pumps/csv.go:29
Struct
CSVPump
CSVPump defines a csv pump with csv specific options and common options.
internal/pump/pumps/csv.go:23
Struct
Cache
Cache is used to store secrets and policies.
internal/authzserver/load/cache/cache.go:19
Struct
Cache
Cache defines a cache service used to list all secrets and policies.
internal/apiserver/controller/v1/cache/cache.go:23
Struct
CacheStrategy
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
Struct
CertKey
CertKey contains configuration items related to certificate.
internal/pkg/options/secure_serving.go:30
Struct
CertKey
CertKey contains configuration items related to certificate.
internal/pkg/server/config.go:43
Struct
ChangePasswordRequest
ChangePasswordRequest defines the ChangePasswordRequest data format.
internal/apiserver/controller/v1/user/change_password.go:19
Struct
CleanOptions
CleanOptions defines options for clean watcher.
internal/watcher/options/options.go:17
Interface
CliOptions
CliOptions abstracts configuration options for reading parameters from the command line.
pkg/app/options.go:13
Struct
ClientCertAuthenticationOptions
ClientCertAuthenticationOptions provides different options for client cert auth.
internal/pkg/options/authentication.go:24
Struct
ColorOptions
ColorOptions is an options struct to support color subcommands.
internal/iamctl/cmd/color/color.go:23
Struct
Command
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
Struct
CommandGroup
internal/iamctl/util/templates/command_groups.go:11
TypeAlias
CommandGroups
internal/iamctl/util/templates/command_groups.go:16
FuncType
CommandOption
CommandOption defines optional parameters for initializing the command structure.
pkg/app/cmd.go:30
Struct
CommonPumpConfig
CommonPumpConfig defines common options used by all persistent store, like elasticsearch, kafka, mongo and etc.
internal/pump/pumps/common.go:10
Interface
CompleteableOptions
CompleteableOptions abstracts options which can be completed.
pkg/app/options.go:29
Struct
CompletedConfig
CompletedConfig is the completed configuration for GenericAPIServer.
internal/pkg/server/config.go:96
Struct
Config
Config defines options for redis cluster.
pkg/storage/redis_cluster.go:25
Struct
Config
Config is the running configuration structure of the IAM pump service.
internal/pump/config/config.go:10
Struct
Config
Config is the running configuration structure of the IAM pump service.
internal/authzserver/config/config.go:10
Struct
Config
Config defines a gorm logger configuration.
internal/pkg/logger/logger.go:52
Struct
Config
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
Struct
Config
Config is the running configuration structure of the IAM pump service.
internal/watcher/config/config.go:10
Struct
Config
Config is the running configuration structure of the IAM pump service.
internal/apiserver/config/config.go:10
Struct
ConfigFlags
ConfigFlags composes the set of values necessary for obtaining a REST client config.
pkg/cli/genericclioptions/config_flags.go:53
Interface
ConfigurableOptions
ConfigurableOptions abstracts configuration options for reading parameters from a configuration file.
pkg/app/options.go:22
Struct
CreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/policy/policy_create.go:28
Struct
CreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/user/user_create.go:26
Struct
CreateOptions
CreateOptions is an options struct to support create subcommands.
internal/iamctl/cmd/secret/secret_create.go:27
Struct
DBOptions
DBOptions is an options struct to support 'db' sub command.
internal/iamctl/cmd/set/set_db.go:24
Struct
DeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/policy/policy_delete.go:25
Struct
DeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/user/user_delete.go:25
Struct
DeleteOptions
DeleteOptions is an options struct to support delete subcommands.
internal/iamctl/cmd/secret/secret_delete.go:25
Struct
DummyPump
DummyPump defines a dummy pump with dummy specific options and common options.
internal/pump/pumps/dummy.go:14
Struct
Elasticsearch7Operator
Elasticsearch7Operator defines elasticsearch6 operator.
internal/pump/pumps/elasticsearch.go:59
Struct
ElasticsearchBulkConfig
ElasticsearchBulkConfig defines elasticsearch bulk config.
internal/pump/pumps/elasticsearch.go:46
Struct
ElasticsearchConf
ElasticsearchConf defines elasticsearch specific options.
internal/pump/pumps/elasticsearch.go:31
Interface
ElasticsearchOperator
ElasticsearchOperator defines interface for all elasticsearch operator.
internal/pump/pumps/elasticsearch.go:54
Struct
ElasticsearchPump
ElasticsearchPump defines an elasticsearch pump with elasticsearch specific options and common options.
internal/pump/pumps/elasticsearch.go:24
Struct
ErrCode
ErrCode implements `github.com/marmotedu/errors`.Coder interface.
internal/pkg/code/code.go:15
Interface
ErrorHandler
ErrorHandler is an interface you can pass to SetErrorHandler to handle asynchronous errors.
pkg/shutdown/shutdown.go:198
FuncType
EtcdCreateEventFunc
EtcdCreateEventFunc defines etcd create event function handler.
internal/apiserver/store/etcd/etcd.go:25
FuncType
EtcdDeleteEventFunc
EtcdDeleteEventFunc defines etcd delete event function handler.
internal/apiserver/store/etcd/etcd.go:31
Struct
EtcdKeyValue
EtcdKeyValue defines etcd returned key-value pairs.
internal/apiserver/store/etcd/etcd.go:288
FuncType
EtcdModifyEventFunc
EtcdModifyEventFunc defines etcd update event function handler.
internal/apiserver/store/etcd/etcd.go:28
Struct
EtcdOptions
EtcdOptions defines options for etcd cluster.
internal/pkg/options/etcd_options.go:18
Struct
EtcdWatcher
EtcdWatcher defines a etcd watcher.
internal/apiserver/store/etcd/etcd.go:34
Struct
ExampleStruct
internal/pkg/logger/sql_test.go:29
Struct
ExtraConfig
ExtraConfig defines extra configuration for the iam-apiserver.
internal/apiserver/server.go:40
Interface
Factory
Factory defines the iam platform storage interface.
internal/authzserver/store/store.go:12
Interface
Factory
Factory defines the iam platform storage interface.
internal/apiserver/store/store.go:12
Interface
Factory
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
Struct
FeatureOptions
FeatureOptions contains configuration items related to API server features.
internal/pkg/options/feature.go:14
Struct
File
File holds a single parsed file and associated data.
tools/codegen/codegen.go:180
Interface
FlagExposer
internal/iamctl/util/templates/templater.go:20
Struct
GRPCOptions
GRPCOptions are for creating an unauthenticated, unauthorized, insecure port. No one should be using these anymore.
internal/pkg/options/grpc.go:15
Interface
GSInterface
GSInterface is an interface implemented by GracefulShutdown, that gets passed to ShutdownManager to call StartShutdown when shutdown is requested.
pkg/shutdown/shutdown.go:214
Struct
GeneratableKeyCert
GeneratableKeyCert contains configuration items related to certificate.
internal/pkg/options/secure_serving.go:38
Struct
Generator
Generator generate a shell script contains iptables rules.
tools/geniptables/main.go:104
Struct
Generator
Generator holds the state of the analysis. Primarily used to buffer the output for format.Source.
tools/codegen/codegen.go:167
Struct
GenericAPIServer
GenericAPIServer contains state for an iam api server. type GenericAPIServer gin.Engine.
internal/pkg/server/genericapiserver.go:28
Struct
GetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/policy/policy_get.go:28
Struct
GetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/user/user_get.go:26
Struct
GetOptions
GetOptions is an options struct to support get subcommands.
internal/iamctl/cmd/secret/secret_get.go:27
Struct
GracefulShutdown
GracefulShutdown is main struct that handles ShutdownCallbacks and ShutdownManagers. Initialize it with New.
pkg/shutdown/shutdown.go:222
Interface
Handler
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