options

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootStrapUser

type BootStrapUser struct {
	Name     string `json:"name"`
	UserType string `json:"user_type" usage:"optional type: admin, saas, plain"`
	Token    string `json:"token"`
}

BootStrapUser system admin user

type TKEOptions

type TKEOptions struct {
	SecretId  string `json:"secret_id" value:"" usage:"tke user account secret id"`
	SecretKey string `json:"secret_key" value:"" usage:"tke user account secret key"`
	CcsHost   string `json:"ccs_host" value:"" usage:"tke ccs host domain"`
	CcsPath   string `json:"ccs_path" value:"" usage:"tke ccs path"`
}

TKEOptions tke api option

type UserManagerOptions

type UserManagerOptions struct {
	conf.FileConfig
	conf.ServiceConfig
	conf.MetricConfig
	conf.ZkConfig
	conf.CertConfig
	conf.LogConfig
	conf.LocalConfig
	conf.ProcessConfig

	VerifyClientTLS bool            `json:"verify_client_tls" value:"false" usage:"verify client when brings up a tls server" mapstructure:"verify_client_tls"`
	DSN             string          `json:"mysql_dsn" value:"" usage:"dsn for connect to mysql"`
	BootStrapUsers  []BootStrapUser `json:"bootstrap_users"`
	TKE             TKEOptions      `json:"tke"`
	PeerToken       string          `json:"peer_token" value:"" usage:"peer token to authorize with each other, only used to websocket peer"`
	//go-micro etcd registry feature support
	Etcd registry.CMDOptions `json:"etcdRegistry"`
}

UserManagerOptions cmd option for user-manager

Jump to

Keyboard shortcuts

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