Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMemcachedHelmSample ¶
func GenerateMemcachedHelmSample(samplesPath string)
GenerateMemcachedHelmSample 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 MemcachedHelm ¶
type MemcachedHelm struct {
// contains filtered or unexported fields
}
MemcachedHelm defines the Memcached Sample in Helm
func NewMemcachedHelm ¶
func NewMemcachedHelm(ctx *pkg.SampleContext) MemcachedHelm
NewMemcachedHelm return a MemcachedHelm
func (*MemcachedHelm) Prepare ¶
func (mh *MemcachedHelm) Prepare()
Prepare the Context for the Memcached Helm 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 (*MemcachedHelm) Run ¶
func (mh *MemcachedHelm) Run()
Run runs the steps to generate the sample