Documentation ¶
Index ¶
- Variables
- type Framework
- func (f *Framework) AfterEach()
- func (f *Framework) LimitEnvScope(limitEnvScope constants.EnvScope) *Framework
- func (f *Framework) ManageClusterInstancetypes(clusterInstancetypes ...*instancetype.VirtualMachineClusterInstancetype) *Framework
- func (f *Framework) ManageDataSources(dataSources ...*cdiv1beta1.DataSource) *Framework
- func (f *Framework) ManageDataVolumes(dataVolumes ...*cdiv1beta1.DataVolume) *Framework
- func (f *Framework) ManagePipelineRuns(pipelineRuns ...*pipev1.PipelineRun) *Framework
- func (f *Framework) ManagePipelines(pipelines ...*pipev1.Pipeline) *Framework
- func (f *Framework) ManageSecrets(secrets ...*corev1.Secret) *Framework
- func (f *Framework) ManageTaskRuns(taskRuns ...*pipev1.TaskRun) *Framework
- func (f *Framework) ManageTemplates(templates ...*templatev1.Template) *Framework
- func (f *Framework) ManageVMs(vms ...*kubevirtv1.VirtualMachine) *Framework
- func (f *Framework) OnBeforeTestSetup(callback func(config TestConfig)) *Framework
- func (f *Framework) TestSetup(config TestConfig)
- type ManagedResources
- type TestConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientsInstance = &clients.Clients{}
View Source
var TestOptionsInstance = &testoptions.TestOptions{}
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { *testoptions.TestOptions *clients.Clients // contains filtered or unexported fields }
func NewFramework ¶
func NewFramework() *Framework
func (*Framework) LimitEnvScope ¶
func (*Framework) ManageClusterInstancetypes ¶
func (f *Framework) ManageClusterInstancetypes(clusterInstancetypes ...*instancetype.VirtualMachineClusterInstancetype) *Framework
func (*Framework) ManageDataSources ¶
func (f *Framework) ManageDataSources(dataSources ...*cdiv1beta1.DataSource) *Framework
func (*Framework) ManageDataVolumes ¶
func (f *Framework) ManageDataVolumes(dataVolumes ...*cdiv1beta1.DataVolume) *Framework
func (*Framework) ManagePipelineRuns ¶
func (f *Framework) ManagePipelineRuns(pipelineRuns ...*pipev1.PipelineRun) *Framework
func (*Framework) ManagePipelines ¶
func (*Framework) ManageSecrets ¶
func (*Framework) ManageTaskRuns ¶
func (*Framework) ManageTemplates ¶
func (f *Framework) ManageTemplates(templates ...*templatev1.Template) *Framework
func (*Framework) ManageVMs ¶
func (f *Framework) ManageVMs(vms ...*kubevirtv1.VirtualMachine) *Framework
func (*Framework) OnBeforeTestSetup ¶
func (f *Framework) OnBeforeTestSetup(callback func(config TestConfig)) *Framework
func (*Framework) TestSetup ¶
func (f *Framework) TestSetup(config TestConfig)
type ManagedResources ¶
type ManagedResources struct {
// contains filtered or unexported fields
}
type TestConfig ¶
type TestConfig interface { GetLimitEnvScope() constants.EnvScope Init(options *testoptions.TestOptions) }
Click to show internal directories.
Click to hide internal directories.