Documentation ¶
Index ¶
Constants ¶
View Source
const ( AdminUsername = "flamencoadmin" // When changing this, be sure to also change the installation script. // See flamenco-manager-setup-vm.sh. UnixGroupName = "flamenco" // The VM installation script; it is named locally the same as remotely. InstallScriptName = "flamenco-manager-setup-vm.sh" )
Global constants for Flamenco Manager deployment. Other packages may also have constants; if they are shared between packages, they should go here.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateContext ¶
type TemplateContext struct { Name string AcmeDomainName string PrivateIP string WorkerRegistrationSecret string FSTabForStorage string UnixGroupName string AzureLocation string BatchAccountName string }
TemplateContext contains everything necessary for rendering templates.
func NewTemplateContext ¶
func NewTemplateContext( config azconfig.AZConfig, netStack aznetwork.NetworkStack, fstab string, ) TemplateContext
NewTemplateContext constructs a new context for rendering templated config files.
func (*TemplateContext) RenderTemplate ¶
func (tc *TemplateContext) RenderTemplate(templateFile string) []byte
RenderTemplate renders a templated config file.
Click to show internal directories.
Click to hide internal directories.