Documentation
¶
Index ¶
- Variables
- func CirrusPort() (*int, error)
- func GetToken() string
- func Init(args *PersistentWorkerArgs)
- func PersistentWorkerSnippet(username string) (*string, error)
- func PersistentWorkerSnippetAsCloudInitWritableFile(username string) (*string, error)
- type Arch
- type PersistentWorkerArgs
- type Platform
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CirrusPort ¶
If cirrus is enable it will return the port to be opened
func Init ¶
func Init(args *PersistentWorkerArgs)
func PersistentWorkerSnippet ¶
func PersistentWorkerSnippetAsCloudInitWritableFile ¶
If we add the snippet as part of a cloud init file the strategy would be create the file with write_files: i.e. write_files:
# Cirrus service setup
- content: |
{{ .CirrusSnippet }} <----- 6 spaces
to do so we need to indent 6 spaces each line of the snippet
Types ¶
type PersistentWorkerArgs ¶
Click to show internal directories.
Click to hide internal directories.