Documentation ¶
Index ¶
- func CreateOrUpdate(ctx context.Context, conn *gorm.DB, accessKey string, secretKey string, ...) (*model.Authz, error)
- func GetAuthzByAccessKey(ctx context.Context, conn *gorm.DB, accessKey string) (*model.Authz, error)
- func GetDBConn(ctx context.Context) *gorm.DB
- func GetNodes(ctx context.Context, conn *gorm.DB, onlyActive bool) ([]*model.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdate ¶
func GetAuthzByAccessKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.