integrations

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 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

This section is empty.

Functions

func GetIntegrationSnippet

func GetIntegrationSnippet(intCfg IntegrationConfig, username string) (*string, error)

func GetIntegrationSnippetAsCloudInitWritableFile

func GetIntegrationSnippetAsCloudInitWritableFile(intCfg IntegrationConfig, username string) (*string, error)

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 IntegrationConfig

type IntegrationConfig interface {
	GetUserDataValues() *UserDataValues
	GetSetupScriptTemplate() string
}

type UserDataValues

type UserDataValues struct {
	CliURL        string
	User          string
	Name          string
	Token         string
	Labels        string
	Port          string
	RepoURL       string
	Executor      string
	Unsecure      bool
	Concurrent    int
	LogToJournald bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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