types

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnsibleJob

type AnsibleJob struct {
	Job         ansible.Job
	Template    ansible.JobTemplate
	Machine     common.Credential
	Network     common.Credential
	SCM         common.Credential
	Cloud       common.Credential
	Inventory   ansible.Inventory
	Project     common.Project
	User        common.User
	PreviousJob *SyncJob
	Token       string
	Paths       JobPaths
}

AnsibleJob contains all the information required to start a job

type JobPaths added in v0.5.0

type JobPaths struct {
	Etc             string
	Tmp             string
	VarLib          string
	VarLibJobStatus string
	VarLibProjects  string
	VarLog          string
	TmpRand         string
	ProjectRoot     string
	AnsiblePath     string
	CredentialPath  string
}

type SyncJob

type SyncJob struct {
	Job            ansible.Job
	ProjectID      bson.ObjectId
	JobTemplateID  bson.ObjectId
	SCM            common.Credential
	Project        common.Project
	User           common.User
	Token          string
	CredentialPath string // for system jobs
}

SyncJob contains all the information required to start a job

type TerraformJob

type TerraformJob struct {
	Job         terraform.Job
	Template    terraform.JobTemplate
	Machine     common.Credential
	Network     common.Credential
	SCM         common.Credential
	Cloud       common.Credential
	Project     common.Project
	User        common.User
	PreviousJob *SyncJob
	Token       string
	Paths       JobPaths
}

TerraformJob contains all the information required to start a job

Jump to

Keyboard shortcuts

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