config

package
v0.0.0-...-b23cc5f Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version    = "0.10"
	Release    = "1"
	InstanceId = "00" + idhash.HashToHexString([]byte("innerstack"), 14)
)
View Source
var (
	SysConfigurators = []*inapi.SysConfigurator{
		{
			Name:  "innerstack/sys/webui",
			Title: "WebUI",
			Fields: []*inapi.AppConfigField{
				{
					Name:  "html_head_title",
					Title: "Web Html Head Title",
					Type:  inapi.AppConfigFieldTypeString,
				},
				{
					Name:  "cp_navbar_logo",
					Title: "Logo of Panel",
					Type:  inapi.AppConfigFieldTypeString,
				},
				{
					Name:  "cp_navbar_title",
					Title: "Navbar Title of Panel",
					Type:  inapi.AppConfigFieldTypeString,
				},
				{
					Name:  "ops_navbar_title",
					Title: "Navbar Title of Ops Panel",
					Type:  inapi.AppConfigFieldTypeString,
				},
			},
			ReadRoles: []uint32{100},
		},
	}
)

Functions

func IamAppInstance

func IamAppInstance() iamapi.AppInstance

func InitHostletData

func InitHostletData() map[string]interface{}

func InitIamAccessKeyData

func InitIamAccessKeyData() []hauth.AccessKey

func InitZoneMasterData

func InitZoneMasterData() []*kv2.ClientObjectItem

func Setup

func Setup(ver, rel, seed string, isZoneMaster bool) error

func UpgradeIamData

func UpgradeIamData(data kv2.ClientConnector) error

func UpgradeZoneMasterData

func UpgradeZoneMasterData(data kv2.ClientConnector) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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