github.com/kubeshop/testkube@v1.17.23/cmd/tcl/testworkflow-init/data/global.go (about)

     1  // Copyright 2024 Testkube.
     2  //
     3  // Licensed as a Testkube Pro file under the Testkube Community
     4  // License (the "License"); you may not use this file except in compliance with
     5  // the License. You may obtain a copy of the License at
     6  //
     7  //	https://github.com/kubeshop/testkube/blob/main/licenses/TCL.txt
     8  
     9  package data
    10  
    11  import "github.com/kubeshop/testkube/pkg/tcl/expressionstcl"
    12  
    13  var baseTestWorkflowMachine = expressionstcl.CombinedMachines(EnvMachine, StateMachine, FileMachine)
    14  
    15  func GetBaseTestWorkflowMachine() expressionstcl.Machine {
    16  	LoadState()
    17  	return baseTestWorkflowMachine
    18  }