ansible

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RolesDir               = "roles"
	MoleculeDir            = "molecule"
	MoleculeTestClusterDir = MoleculeDir + filePathSep + "test-cluster"
	MoleculeDefaultDir     = MoleculeDir + filePathSep + "default"
	MoleculeTestLocalDir   = MoleculeDir + filePathSep + "test-local"
)
View Source
const BuildDockerfileFile = "Dockerfile"
View Source
const BuildTestFrameworkAnsibleTestScriptFile = "ansible-test.sh"
View Source
const BuildTestFrameworkDockerfileFile = "Dockerfile"
View Source
const DeployOperatorFile = "operator.yaml"
View Source
const K8sStatusPythonFile = "library/k8s_status.py"
View Source
const MoleculeDefaultAssertsFile = "asserts.yml"
View Source
const MoleculeDefaultMoleculeFile = "molecule.yml"
View Source
const MoleculeDefaultPlaybookFile = "playbook.yml"
View Source
const MoleculeDefaultPrepareFile = "prepare.yml"
View Source
const MoleculeTestClusterMoleculeFile = "molecule.yml"
View Source
const MoleculeTestClusterPlaybookFile = "playbook.yml"
View Source
const MoleculeTestLocalMoleculeFile = "molecule.yml"
View Source
const MoleculeTestLocalPlaybookFile = "playbook.yml"
View Source
const MoleculeTestLocalPrepareFile = "prepare.yml"
View Source
const PlaybookYamlFile = "playbook.yml"
View Source
const RolesDefaultsMainFile = "defaults" + filePathSep + "main.yml"
View Source
const RolesFilesDir = "files" + filePathSep + ".placeholder"
View Source
const RolesHandlersMainFile = "handlers" + filePathSep + "main.yml"
View Source
const RolesMetaMainFile = "meta" + filePathSep + "main.yml"
View Source
const RolesReadmeFile = "README.md"
View Source
const RolesTasksMainFile = "tasks" + filePathSep + "main.yml"
View Source
const RolesTemplatesDir = "templates" + filePathSep + ".placeholder"
View Source
const RolesVarsMainFile = "vars" + filePathSep + "main.yml"
View Source
const TravisFile = ".travis.yml"
View Source
const WatchesFile = "watches.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type AoLogs added in v0.6.0

type AoLogs struct {
	input.Input
}

DockerfileHybrid - Dockerfile for a hybrid operator

func (*AoLogs) GetInput added in v0.6.0

func (a *AoLogs) GetInput() (input.Input, error)

GetInput - gets the input

type BuildDockerfile added in v0.4.0

type BuildDockerfile struct {
	input.Input
	RolesDir         string
	ImageTag         string
	GeneratePlaybook bool
}

func (*BuildDockerfile) GetInput added in v0.4.0

func (b *BuildDockerfile) GetInput() (input.Input, error)

GetInput - gets the input

type BuildTestFrameworkAnsibleTestScript added in v0.4.0

type BuildTestFrameworkAnsibleTestScript struct {
	input.Input
}

func (*BuildTestFrameworkAnsibleTestScript) GetInput added in v0.4.0

GetInput - gets the input

type BuildTestFrameworkDockerfile added in v0.4.0

type BuildTestFrameworkDockerfile struct {
	input.Input
}

func (*BuildTestFrameworkDockerfile) GetInput added in v0.4.0

func (b *BuildTestFrameworkDockerfile) GetInput() (input.Input, error)

GetInput - gets the input

type DeployOperator added in v0.4.0

type DeployOperator struct {
	input.Input
	IsClusterScoped bool
}

func (*DeployOperator) GetInput added in v0.4.0

func (d *DeployOperator) GetInput() (input.Input, error)

GetInput - gets the input

type DockerfileHybrid added in v0.4.0

type DockerfileHybrid struct {
	input.Input

	// Playbook - if true, include a COPY statement for playbook.yml
	Playbook bool

	// Roles - if true, include a COPY statement for the roles directory
	Roles bool

	// Watches - if true, include a COPY statement for watches.yaml
	Watches bool
}

DockerfileHybrid - Dockerfile for a hybrid operator

func (*DockerfileHybrid) GetInput added in v0.4.0

func (d *DockerfileHybrid) GetInput() (input.Input, error)

GetInput - gets the input

type Entrypoint added in v0.4.0

type Entrypoint struct {
	input.Input
}

Entrypoint - entrypoint script

func (*Entrypoint) GetInput added in v0.4.0

func (e *Entrypoint) GetInput() (input.Input, error)

type GopkgToml added in v0.4.0

type GopkgToml struct {
	input.Input
}

GopkgToml - the Gopkg.toml file for a hybrid operator

func (*GopkgToml) GetInput added in v0.4.0

func (s *GopkgToml) GetInput() (input.Input, error)

type K8sStatus added in v0.4.1

type K8sStatus struct {
	input.Input
}

K8sStatus - the k8s status module tmpl wrapper

func (K8sStatus) CustomRender added in v0.4.1

func (k K8sStatus) CustomRender() ([]byte, error)

func (*K8sStatus) GetInput added in v0.4.1

func (k *K8sStatus) GetInput() (input.Input, error)

GetInput - gets the input

func (K8sStatus) SetFS added in v0.6.0

func (s K8sStatus) SetFS(_ afero.Fs)

type Main added in v0.4.0

type Main struct {
	input.Input
}

Main - main source file for ansible operator

func (*Main) GetInput added in v0.4.0

func (m *Main) GetInput() (input.Input, error)

type MoleculeDefaultAsserts added in v0.4.0

type MoleculeDefaultAsserts struct {
	input.Input
}

func (*MoleculeDefaultAsserts) GetInput added in v0.4.0

func (m *MoleculeDefaultAsserts) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeDefaultMolecule added in v0.4.0

type MoleculeDefaultMolecule struct {
	input.Input
}

func (*MoleculeDefaultMolecule) GetInput added in v0.4.0

func (m *MoleculeDefaultMolecule) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeDefaultPlaybook added in v0.4.0

type MoleculeDefaultPlaybook struct {
	input.Input
	GeneratePlaybook bool
	Resource         scaffold.Resource
}

func (*MoleculeDefaultPlaybook) GetInput added in v0.4.0

func (m *MoleculeDefaultPlaybook) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeDefaultPrepare added in v0.4.0

type MoleculeDefaultPrepare struct {
	input.Input
}

func (*MoleculeDefaultPrepare) GetInput added in v0.4.0

func (m *MoleculeDefaultPrepare) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeTestClusterMolecule added in v0.4.0

type MoleculeTestClusterMolecule struct {
	input.Input
}

func (*MoleculeTestClusterMolecule) GetInput added in v0.4.0

func (m *MoleculeTestClusterMolecule) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeTestClusterPlaybook added in v0.4.0

type MoleculeTestClusterPlaybook struct {
	input.Input
	Resource scaffold.Resource
}

func (*MoleculeTestClusterPlaybook) GetInput added in v0.4.0

func (m *MoleculeTestClusterPlaybook) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeTestLocalMolecule added in v0.4.0

type MoleculeTestLocalMolecule struct {
	input.Input
}

func (*MoleculeTestLocalMolecule) GetInput added in v0.4.0

func (m *MoleculeTestLocalMolecule) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeTestLocalPlaybook added in v0.4.0

type MoleculeTestLocalPlaybook struct {
	input.Input
	Resource scaffold.Resource
}

func (*MoleculeTestLocalPlaybook) GetInput added in v0.4.0

func (m *MoleculeTestLocalPlaybook) GetInput() (input.Input, error)

GetInput - gets the input

type MoleculeTestLocalPrepare added in v0.4.0

type MoleculeTestLocalPrepare struct {
	input.Input
	Resource scaffold.Resource
}

func (*MoleculeTestLocalPrepare) GetInput added in v0.4.0

func (m *MoleculeTestLocalPrepare) GetInput() (input.Input, error)

GetInput - gets the input

type Playbook

type Playbook struct {
	input.Input
	Resource scaffold.Resource
}

Playbook - the playbook tmpl wrapper

func (*Playbook) GetInput

func (p *Playbook) GetInput() (input.Input, error)

GetInput - gets the input

type RolesDefaultsMain added in v0.4.0

type RolesDefaultsMain struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesDefaultsMain) GetInput added in v0.4.0

func (r *RolesDefaultsMain) GetInput() (input.Input, error)

GetInput - gets the input

type RolesFiles added in v0.4.0

type RolesFiles struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesFiles) GetInput added in v0.4.0

func (r *RolesFiles) GetInput() (input.Input, error)

GetInput - gets the input

type RolesHandlersMain added in v0.4.0

type RolesHandlersMain struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesHandlersMain) GetInput added in v0.4.0

func (r *RolesHandlersMain) GetInput() (input.Input, error)

GetInput - gets the input

type RolesMetaMain added in v0.4.0

type RolesMetaMain struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesMetaMain) GetInput added in v0.4.0

func (r *RolesMetaMain) GetInput() (input.Input, error)

GetInput - gets the input

type RolesReadme added in v0.4.0

type RolesReadme struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesReadme) GetInput added in v0.4.0

func (r *RolesReadme) GetInput() (input.Input, error)

GetInput - gets the input

type RolesTasksMain added in v0.4.0

type RolesTasksMain struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesTasksMain) GetInput added in v0.4.0

func (r *RolesTasksMain) GetInput() (input.Input, error)

GetInput - gets the input

type RolesTemplates added in v0.4.0

type RolesTemplates struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesTemplates) GetInput added in v0.4.0

func (r *RolesTemplates) GetInput() (input.Input, error)

GetInput - gets the input

type RolesVarsMain added in v0.4.0

type RolesVarsMain struct {
	input.Input
	Resource scaffold.Resource
}

func (*RolesVarsMain) GetInput added in v0.4.0

func (r *RolesVarsMain) GetInput() (input.Input, error)

GetInput - gets the input

type Travis added in v0.4.0

type Travis struct {
	input.Input
}

func (*Travis) GetInput added in v0.4.0

func (t *Travis) GetInput() (input.Input, error)

GetInput - gets the input

type UserSetup added in v0.4.0

type UserSetup struct {
	input.Input
}

UserSetup - userSetup script

func (*UserSetup) GetInput added in v0.4.0

func (u *UserSetup) GetInput() (input.Input, error)

type Watches added in v0.4.0

type Watches struct {
	input.Input
	GeneratePlaybook bool
	RolesDir         string
	Resource         scaffold.Resource
}

func (*Watches) GetInput added in v0.4.0

func (w *Watches) GetInput() (input.Input, error)

GetInput - gets the input

Jump to

Keyboard shortcuts

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