config

package
v0.0.0-...-21965df Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HOST = "10.101.15.3"
	PORT = "6443"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	OpenstackNetworkUrl   string `json:"OpenstackNetworkUrl"`
	OpenstackComputeUrl   string `json:"OpenstackComputeUrl"`
	OpenstackImageUrl     string `json:"OpenstackImageUrl"`
	OpenstackVolumev2Url  string `json:"OpenstackVolumev2Url"`
	OpenstackLimitsUrl    string `json:"OpenstackLimitsUrl"`
	OpenstackBareMetalUrl string `json:"OpenstackBareMetalUrl"`
	TokenUrl              string `json:"TokenUrl"`
	Status_created        int    `json:"Status_created"`
	TokenHeader           string `json:"TokenHeader"`
	USER                  string `json:"USER"`
	PASSWORD              string `json:"PASSWORD"`
	DOMAIN                string `json:"DOMAIN"`
	AuthMethod            string `json:"AuthMethod"`
	ProjectName           string `json:"ProjectName"`
	Platform              string `json:"Platform"`
	Id                    string `json:"Id"`
}

type Config

type Config struct {
	zrpc.RpcServerConf
	OpenstackConfig OpenstackConfig
	LogConf         logx.LogConf
	PcmCoreRpcConf  zrpc.RpcClientConf
	ParticipantId   int64
	Participant     Participant
}

type OpenstackConfig

type OpenstackConfig struct {
	ZhiJiang       Conf   `json:"ZhiJiang"`
	Nudt           Conf   `json:"Nudt"`
	Status_created int    `json:"Status_created"`
	TokenHeader    string `json:"TokenHeader"`
}

type Participant

type Participant struct {
	Address    string `json:"address"`
	Type       string `json:"type"`
	TenantId   int64  `json:"tenantId"`
	TenantName string `json:"tenantName"`
	Labels     map[string]string
}

Jump to

Keyboard shortcuts

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