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: 0

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