ansible

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 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 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 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