Directories ¶
Path | Synopsis |
---|---|
Package apiserver does all the work necessary to create a iam APIServer.
|
Package apiserver does all the work necessary to create a iam APIServer. |
config
Package config defines configuration for iam-apiserver.
|
Package config defines configuration for iam-apiserver. |
controller/v1/cache
Package cache defines a cache service which can return all secrets and policies.
|
Package cache defines a cache service which can return all secrets and policies. |
controller/v1/policy
Package policy implements the policy handlers.
|
Package policy implements the policy handlers. |
controller/v1/secret
Package secret implements the secret handlers.
|
Package secret implements the secret handlers. |
controller/v1/user
Package user implements the user handler.
|
Package user implements the user handler. |
options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
service/v1
Package v1 is the place where you can implements more complex business logic.
|
Package v1 is the place where you can implements more complex business logic. |
store
Package store defines the storage interface for iam-apiserver.
|
Package store defines the storage interface for iam-apiserver. |
store/etcd
Package etcd implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface.
|
Package etcd implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface. |
store/fake
Package fake implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface.
|
Package fake implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface. |
store/mysql
Package mysql implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface.
|
Package mysql implements `github.com/marmotedu/iam/internal/apiserver/store.Store` interface. |
Package authzserver does all of the work necessary to create a authzserver
|
Package authzserver does all of the work necessary to create a authzserver |
analytics
Package analytics defines functions and structs used to store authorization audit data to redis.
|
Package analytics defines functions and structs used to store authorization audit data to redis. |
authorization
Package authorization implement the authorize interface that use local repository to authorize the subject access review.
|
Package authorization implement the authorize interface that use local repository to authorize the subject access review. |
authorization/authorizer
Package authorizer defines authorization interface.
|
Package authorizer defines authorization interface. |
config
Package config defines iam-authz-server configuration.
|
Package config defines iam-authz-server configuration. |
controller/v1/authorize
Package authorize implements the authorize handlers.
|
Package authorize implements the authorize handlers. |
load
Package load loads pump plugins.
|
Package load loads pump plugins. |
options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
store
Package store defines the storage interface for authzserver.
|
Package store defines the storage interface for authzserver. |
Package iamctl provides the functions used by the iamctl command line tool under github.com/marmotedu/iam/cmd.
|
Package iamctl provides the functions used by the iamctl command line tool under github.com/marmotedu/iam/cmd. |
cmd
Package cmd create a root cobra command and add subcommands to it.
|
Package cmd create a root cobra command and add subcommands to it. |
cmd/color
Package color print colors supported by the current terminal.
|
Package color print colors supported by the current terminal. |
cmd/completion
Package completion output shell completion code for the specified shell (bash or zsh).
|
Package completion output shell completion code for the specified shell (bash or zsh). |
cmd/info
Package info print the host information.
|
Package info print the host information. |
cmd/jwt
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
|
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey. |
cmd/new
Package new used to generate demo command code.
|
Package new used to generate demo command code. |
cmd/options
Package options print a list of global command-line options (applies to all commands).
|
Package options print a list of global command-line options (applies to all commands). |
cmd/policy
Package policy provides functions to manage authorization policies on iam platform.
|
Package policy provides functions to manage authorization policies on iam platform. |
cmd/secret
Package secret provides functions to manage secrets on iam platform.
|
Package secret provides functions to manage secrets on iam platform. |
cmd/set
Package set used to set specific features on objects.
|
Package set used to set specific features on objects. |
cmd/user
Package user provides functions to manage users on iam platform.
|
Package user provides functions to manage users on iam platform. |
cmd/validate
Package validate validate the basic environment for iamctl to run.
|
Package validate validate the basic environment for iamctl to run. |
cmd/version
Package version print the client and server version information.
|
Package version print the client and server version information. |
util/interrupt
Package interrupt deal with signals.
|
Package interrupt deal with signals. |
util/templates
Package templates provides template functions for working with templates.
|
Package templates provides template functions for working with templates. |
util/term
Package term provides structures and helper functions to work with terminal (state, sizes).
|
Package term provides structures and helper functions to work with terminal (state, sizes). |
pkg
|
|
code
Package code defines error codes for iam platform.
|
Package code defines error codes for iam platform. |
logger
Package logger defines gorm logger
|
Package logger defines gorm logger |
middleware
Package middleware defines multiple gin middlewares
|
Package middleware defines multiple gin middlewares |
middleware/auth
Package auth defines authentication strategy like Basic, Bearer.
|
Package auth defines authentication strategy like Basic, Bearer. |
options
Package options is the public flags and options used by a generic api server.
|
Package options is the public flags and options used by a generic api server. |
server
Package server defines the generic apiserver used by all iam platform.
|
Package server defines the generic apiserver used by all iam platform. |
util/gormutil
Package gormutil is a util to convert offset and limit to default values.
|
Package gormutil is a util to convert offset and limit to default values. |
validation
Package validation defines validate functions internal used by iam.
|
Package validation defines validate functions internal used by iam. |
Package pump does all the work necessary to create an iam pump server.
|
Package pump does all the work necessary to create an iam pump server. |
analytics
Package analytics defines all the functions and structs used to store traffic analytics.
|
Package analytics defines all the functions and structs used to store traffic analytics. |
config
Package config defines pump configuration.
|
Package config defines pump configuration. |
options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
pumps
Package pumps defines multiple back-end service used to persistent store iam analytics data.
|
Package pumps defines multiple back-end service used to persistent store iam analytics data. |
storage
Package storage defines storages which store the analytics data from iam-authz-server.
|
Package storage defines storages which store the analytics data from iam-authz-server. |
storage/redis
Package redis provides an redis implementation of the AnalyticsStorage storage interface.
|
Package redis provides an redis implementation of the AnalyticsStorage storage interface. |
config
Package config defines pump configuration.
|
Package config defines pump configuration. |
options
Package options contains flags and options for initializing an apiserver
|
Package options contains flags and options for initializing an apiserver |
Click to show internal directories.
Click to hide internal directories.