deployvars

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeploymentReplaceVarsKey = "DeploymentReplaceVarsKey"

Context keyword for getting the DeploymentVars

Functions

func ReplaceDeploymentVars

func ReplaceDeploymentVars(manifest string, delims string, replaceVars *DeploymentReplaceVars) (s string, err error)

Types

type CrmReplaceVars

type CrmReplaceVars struct {
	// Cluster IPv4 of the cluster master
	ClusterIp string
	// Cluster IPv6 of the cluster master
	ClusterIPV6 string
	// Cloudlet Name
	CloudletName string
	// Cluster Name
	ClusterName string
	// Cloudlet Organization
	CloudletOrg string
	// App Developer Organization
	AppOrg string
	// DNS zone
	DnsZone string
}

These are CRM-specific variables that can be replaced in th Crm service context

type DeploymentReplaceVars

type DeploymentReplaceVars struct {
	// CRM knows about the actual cluster where app is being deployed
	Deployment CrmReplaceVars
}

Any configuration(envVar, configFile, manifest) can require service specific information filled in

Jump to

Keyboard shortcuts

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