Documentation ¶
Index ¶
Constants ¶
View Source
const SecureScheme = "https"
SecureScheme is the scheme used for the master's HTTPS port.
Variables ¶
This section is empty.
Functions ¶
func MustMakeAgentSetupScript ¶
func MustMakeAgentSetupScript(config AgentSetupScriptConfig) []byte
MustMakeAgentSetupScript generates the agent setup script.
Types ¶
type AgentSetupScriptConfig ¶
type AgentSetupScriptConfig struct { MasterHost string MasterPort string MasterCertName string StartupScriptBase64 string ContainerStartupScriptBase64 string MasterCertBase64 string ConfigFileBase64 string SlotType device.Type AgentDockerRuntime string AgentNetwork string AgentDockerImage string AgentID string ResourcePool string LogOptions string AgentReconnectAttempts int AgentReconnectBackoff int }
AgentSetupScriptConfig is the configuration for the agent setup script.
Click to show internal directories.
Click to hide internal directories.