ansible

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMemcachedAnsibleSample

func GenerateMemcachedAnsibleSample(samplesPath string)

GenerateMemcachedAnsibleSample will call all actions to create the directory and generate the sample The Context to run the samples are not the same in the e2e test. In this way, note that it should NOT be called in the e2e tests since it will call the Prepare() to set the sample context and generate the files in the testdata directory. The e2e tests only ought to use the Run() method with the TestContext.

func GenerateMoleculeAdvancedAnsibleSample added in v1.4.0

func GenerateMoleculeAdvancedAnsibleSample(path string)

GenerateMoleculeAnsibleSample will call all actions to create the directory and generate the sample The Context to run the samples are not the same in the e2e test. In this way, note that it should NOT be called in the e2e tests since it will call the Prepare() to set the sample context and generate the files in the testdata directory. The e2e tests only ought to use the Run() method with the TestContext.

func GenerateMoleculeAnsibleSample added in v1.2.0

func GenerateMoleculeAnsibleSample(path string)

GenerateMoleculeAnsibleSample will call all actions to create the directory and generate the sample The Context to run the samples are not the same in the e2e test. In this way, note that it should NOT be called in the e2e tests since it will call the Prepare() to set the sample context and generate the files in the testdata directory. The e2e tests only ought to use the Run() method with the TestContext.

Types

type AdvancedMolecule added in v1.4.0

type AdvancedMolecule struct {
	// contains filtered or unexported fields
}

AdvancedMolecule defines the context for the sample

func NewAdvancedMolecule added in v1.4.0

func NewAdvancedMolecule(ctx *pkg.SampleContext) AdvancedMolecule

NewMoleculeAnsible return a MoleculeAnsible

func (*AdvancedMolecule) Prepare added in v1.4.0

func (ma *AdvancedMolecule) Prepare()

Prepare the Context for the Memcached Ansible Sample Note that sample directory will be re-created and the context data for the sample will be set such as the domain and GVK.

func (*AdvancedMolecule) Run added in v1.4.0

func (ma *AdvancedMolecule) Run()

Run the steps to create the Memcached Ansible Sample

type MemcachedAnsible

type MemcachedAnsible struct {
	// contains filtered or unexported fields
}

MemcachedAnsible defines the context for the sample

func NewMemcachedAnsible

func NewMemcachedAnsible(ctx *pkg.SampleContext) MemcachedAnsible

NewMemcachedAnsible return a MemcachedAnsible

func (*MemcachedAnsible) Prepare

func (ma *MemcachedAnsible) Prepare()

Prepare the Context for the Memcached Ansible Sample Note that sample directory will be re-created and the context data for the sample will be set such as the domain and GVK.

func (*MemcachedAnsible) Run

func (ma *MemcachedAnsible) Run()

Run the steps to create the Memcached Ansible Sample

type MoleculeAnsible added in v1.2.0

type MoleculeAnsible struct {
	// contains filtered or unexported fields
}

MoleculeAnsible defines the context for the sample

func NewMoleculeAnsible added in v1.2.0

func NewMoleculeAnsible(ctx *pkg.SampleContext) MoleculeAnsible

NewMoleculeAnsible return a MoleculeAnsible

func (*MoleculeAnsible) Prepare added in v1.2.0

func (ma *MoleculeAnsible) Prepare()

Prepare the Context for the Memcached Ansible Sample Note that sample directory will be re-created and the context data for the sample will be set such as the domain and GVK.

func (*MoleculeAnsible) Run added in v1.2.0

func (ma *MoleculeAnsible) Run()

Run the steps to create the Memcached Ansible Sample

Jump to

Keyboard shortcuts

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