Documentation ¶
Overview ¶
Package apiserver does all of the work necessary to create a iam APIServer.
Index ¶
Constants ¶
View Source
const ( // APIServerAudience defines the value of jwt audience field. APIServerAudience = "iam.api.rose839.com" // APIServerIssuer defines the value of jwt issuer field. APIServerIssuer = "iam-apiserver" )
Variables ¶
This section is empty.
Functions ¶
func InstallMiddleware ¶
Types ¶
type ExtraConfig ¶
type ExtraConfig struct { Addr string // grpc address MaxMsgSize int // grpc max message size ServerCert genericoptions.GeneratableKeyCert MySQLOptions *genericoptions.MySQLOptions }
ExtraConfig defines extra configuration for the iam-apiserver.
Directories ¶
Path | Synopsis |
---|---|
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. |
* @Author: your name * @Date: 2021-12-30 23:07:01 * @LastEditTime: 2021-12-30 23:27:24 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: /IAM/internal/apiserver/options/options.go
|
* @Author: your name * @Date: 2021-12-30 23:07:01 * @LastEditTime: 2021-12-30 23:27:24 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: /IAM/internal/apiserver/options/options.go |
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. |
Package store defines the storage interface for iam-apiserver.
|
Package store defines the storage interface for iam-apiserver. |
mysql
Package mysql implements `github.com/rose839/IAM/internal/apiserver/store.Store` interface.
|
Package mysql implements `github.com/rose839/IAM/internal/apiserver/store.Store` interface. |
Click to show internal directories.
Click to hide internal directories.