Directories
¶
Path | Synopsis |
---|---|
api
|
|
apiserver/v1
Package v1 defines schemes used by apimachinery-apiserver.
|
Package v1 defines schemes used by apimachinery-apiserver. |
meta/v1
Package v1 contains API types that are common to all versions.
|
Package v1 contains API types that are common to all versions. |
cmd
|
|
internal
|
|
apiserver
Package apiserver does all of the work necessary to create a iam APIServer.
|
Package apiserver does all of the work necessary to create a iam APIServer. |
apiserver/config
Package config defines configuration for iam-apiserver.
|
Package config defines configuration for iam-apiserver. |
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. |
apiserver/options
* @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 |
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. |
apiserver/store
Package store defines the storage interface for iam-apiserver.
|
Package store defines the storage interface for iam-apiserver. |
apiserver/store/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. |
pkg/code
Package code defines error codes for IAM platform.
|
Package code defines error codes for IAM platform. |
pkg/middleware
Package middleware defines multiple gin middlewares
|
Package middleware defines multiple gin middlewares |
pkg/middleware/auth
Package auth defines authentication strategy like Basic, Bearer.
|
Package auth defines authentication strategy like Basic, Bearer. |
pkg/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. |
pkg/server
Package server defines the generic apiserver used by all iam platform.
|
Package server defines the generic apiserver used by all iam platform. |
pkg
|
|
app
Package app defines an application framework used to create application.
|
Package app defines an application framework used to create application. |
auth
Package auth encrypt and compare password string.
|
Package auth encrypt and compare password string. |
core
Package core implements some core functions used by apimachinery.
|
Package core implements some core functions used by apimachinery. |
cuslog
package cuslog is a practice implemtion for log pkg.
|
package cuslog is a practice implemtion for log pkg. |
db
Package db provide useful functions to create mysql instance.
|
Package db provide useful functions to create mysql instance. |
errors
Package errors is the secondary development based on "github.com/pkg/errors", it is compatible with "github.com/pkg/errors", and business code is provided.
|
Package errors is the secondary development based on "github.com/pkg/errors", it is compatible with "github.com/pkg/errors", and business code is provided. |
fields
Package fields implements a simple field system, parsing and matching selectors with sets of fields.
|
Package fields implements a simple field system, parsing and matching selectors with sets of fields. |
homedir
Package homedir returns the home directory of any operating system.
|
Package homedir returns the home directory of any operating system. |
idutil
// Package idutil is a tool set used to generate multiple id string.
|
// Package idutil is a tool set used to generate multiple id string. |
log
This log pkg is deveploped based on zapcore.
|
This log pkg is deveploped based on zapcore. |
sets
Package sets has auto-generated set types.
|
Package sets has auto-generated set types. |
shutdown
Package shutdown Providing shutdown callbacks for graceful app shutdow
|
Package shutdown Providing shutdown callbacks for graceful app shutdow |
shutdown/shutdownmanagers/posixsignal
Package posixsignal provides a listener for a posix signal.
|
Package posixsignal provides a listener for a posix signal. |
validation
Package validation defines apimachinery user-defined validations.
|
Package validation defines apimachinery user-defined validations. |
validation/field
Package field implements field path functions when do validation.
|
Package field implements field path functions when do validation. |
version
Package version supplies version information collected at build time for app.
|
Package version supplies version information collected at build time for app. |
version/verflag
Package verflag defines utility functions to handle command line flags related to version of IAM.
|
Package verflag defines utility functions to handle command line flags related to version of IAM. |
Click to show internal directories.
Click to hide internal directories.