Documentation ¶
Index ¶
- func GenerateAdvancedMoleculeSample(binaryPath, samplesPath string)
- func GenerateMemcachedSample(binaryPath, samplesPath string)
- func GenerateMemcachedSamples(binaryPath, rootPath string)
- func GenerateMoleculeSample(binaryPath, samplesPath string)
- type AdvancedMolecule
- type Memcached
- type MemcachedMolecule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAdvancedMoleculeSample ¶ added in v1.7.0
func GenerateAdvancedMoleculeSample(binaryPath, samplesPath string)
GenerateAdvancedMoleculeSample 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 GenerateMemcachedSample ¶ added in v1.7.0
func GenerateMemcachedSample(binaryPath, samplesPath string)
GenerateMemcachedSample 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 GenerateMemcachedSamples ¶ added in v1.7.0
func GenerateMemcachedSamples(binaryPath, rootPath string)
func GenerateMoleculeSample ¶ added in v1.7.0
func GenerateMoleculeSample(binaryPath, samplesPath string)
GenerateMoleculeSample 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 (*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 Memcached ¶ added in v1.7.0
type Memcached struct {
// contains filtered or unexported fields
}
Memcached defines the context for the sample
type MemcachedMolecule ¶ added in v1.7.0
type MemcachedMolecule struct { Base Memcached // contains filtered or unexported fields }
MemcachedMolecule defines the context for the sample
func (*MemcachedMolecule) Prepare ¶ added in v1.7.0
func (ma *MemcachedMolecule) 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 (*MemcachedMolecule) Run ¶ added in v1.7.0
func (ma *MemcachedMolecule) Run()
Run the steps to create the Memcached Ansible Sample