Documentation ¶
Overview ¶
Package apiserver does all the work necessary to create a iam APIServer.
Index ¶
Constants ¶
View Source
const ( // APIServerAudience defines the value of jwt audience field. APIServerAudience = "iam.api.marmotedu.com" // APIServerIssuer defines the value of jwt issuer field. APIServerIssuer = "iam-apiserver" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtraConfig ¶
type ExtraConfig struct { Addr string MaxMsgSize int ServerCert genericoptions.GeneratableKeyCert // contains filtered or unexported fields }
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. |
v1/policy
Package policy implements the policy handlers.
|
Package policy implements the policy handlers. |
v1/secret
Package secret implements the secret handlers.
|
Package secret implements the secret handlers. |
v1/user
Package user implements the user handler.
|
Package user implements the user handler. |
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. |
Package store defines the storage interface for iam-apiserver.
|
Package store defines the storage interface for iam-apiserver. |
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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.