data

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Data kvapi.Client

	DefaultSysadminPassword = "changeme"

	KeyMgr = hauth.NewAccessKeyManager()
)

Functions

func AccessKeyInitData

func AccessKeyInitData(ak *hauth.AccessKey) error

func AccessKeyReset

func AccessKeyReset(ak *hauth.AccessKey) error

func AppInstanceRegister

func AppInstanceRegister(inst iamapi.AppInstance) error

func InitData

func InitData() (err error)

func Setup

func Setup() error

func SysConfigRefresh

func SysConfigRefresh()

func UserGet

func UserGet(name string) *iamapi.User

func UserGroupList

func UserGroupList() map[string]*iamapi.User

func UserGroups

func UserGroups(name string) []string

func UserList

func UserList() map[string]*iamapi.User

func UserSet

func UserSet(user *iamapi.User) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL