Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvironmentFilepathName = "FINCLOUD_ENVIRONMENT_FILEPATH" NotAvailable = "N/A" )
Variables ¶
View Source
var (
FinancialCloud = Environment{
Name: "FinancialCloud",
ResourceManagerEndpoint: "https://console.fin-ncloud.com",
}
)
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Config ¶
type Config struct {
Path string
}
func (Config) Parse ¶
func (c Config) Parse() (*ConfigData, error)
func (Config) Write ¶
func (c Config) Write(configData *ConfigData) error
type ConfigData ¶
type ConfigData struct {
CertificateList []Certificate `yaml:"certs"`
}
type Environment ¶
type Environment struct { Name string `json:"name"` ResourceManagerEndpoint string `json:"resourceManagerEndpoint"` }
func EnvironmentFromName ¶
func EnvironmentFromName(name string) (Environment, error)
type ResourceIdentifier ¶
type ResourceIdentifier struct {
Resource string `json:"resource"`
}
Click to show internal directories.
Click to hide internal directories.