Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMatchesFile ¶
AssertMatchesFile matches the actual value to a with expected file. If HACK_UPDATE_EXPECTED_IN_PLACE is set, it will write the actual value to the expected file, which is very handy when updating our tests.
func ValidateTasks ¶
func ValidateTasks(t *testing.T, basedir string, context *fi.ModelBuilderContext)
Types ¶
type IntegrationTestHarness ¶
type IntegrationTestHarness struct {
	TempDir string
	T       *testing.T
	// contains filtered or unexported fields
}
    func NewIntegrationTestHarness ¶
func NewIntegrationTestHarness(t *testing.T) *IntegrationTestHarness
func (*IntegrationTestHarness) Close ¶
func (h *IntegrationTestHarness) Close()
func (*IntegrationTestHarness) MockKopsVersion ¶
func (h *IntegrationTestHarness) MockKopsVersion(version string)
MockKopsVersion will set the kops version to the specified value, until Close is called
func (*IntegrationTestHarness) SetupMockAWS ¶
func (h *IntegrationTestHarness) SetupMockAWS() *awsup.MockAWSCloud
func (*IntegrationTestHarness) SetupMockGCE ¶
func (h *IntegrationTestHarness) SetupMockGCE()
SetupMockGCE configures a mock GCE cloud provider
 Click to show internal directories. 
   Click to hide internal directories.