confighandler

package
v0.0.0-...-7eac525 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigString

func GetConfigString(configInfos *MASTERCONFIGTYPE) string

Types

type MASTERCONFIGTYPE

type MASTERCONFIGTYPE struct {
	ETCDSERVERPORT string
	AWS            struct {
		REGION             string
		IMAGEID            string
		INSTANCENAMEPREFIX string
		INSTANCETYPE       string
		SECURITYGROUPID    string
		SUBNETID           string

		USERNAME    string
		KEYNAME     string
		KEYFILEPATH string
	}

	GCP struct {
		CREDENTIALFILE string
		REGION         string
		ZONE           string
		PROJECTID      string
		PREFIX         string

		IMAGEID            string
		INSTANCENAMEPREFIX string
		INSTANCETYPE       string
		SECURITYGROUPID    string
		SUBNETID           string
		NETWORKNAME        string
		SERVICEACCOUTSMAIL string

		USERNAME    string
		KEYNAME     string
		KEYFILEPATH string
	}

	AZURE struct {
		CREDENTIALFILE           string
		GROUPNAME                string
		LOCATION                 string
		VIRTUALNETWORKNAME       string
		SUBNET1NAME              string
		SUBNET2NAME              string
		NETWORKSECURITYGROUPNAME string
		//                IPNAME string
		//                NICNAME string
		BASENAME string

		USERNAME          string
		PASSWORD          string
		KEYFILEPATH       string
		PUBLICKEYFILEPATH string
	}
}

func GetMasterConfigInfos

func GetMasterConfigInfos() MASTERCONFIGTYPE

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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