testutil

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestClient

func CreateTestClient(serverURL string, accountID int) *dbt_cloud.Client

func IntPtr

func IntPtr(i int) *int

Types

type MockRepositoryServer

type MockRepositoryServer struct {
	// contains filtered or unexported fields
}

func NewMockRepositoryServer

func NewMockRepositoryServer(accountID, projectID, repositoryID int) *MockRepositoryServer

func (*MockRepositoryServer) Close

func (m *MockRepositoryServer) Close()

func (*MockRepositoryServer) GetLastUpdateRequest

func (m *MockRepositoryServer) GetLastUpdateRequest() *dbt_cloud.Repository

func (*MockRepositoryServer) SetCreateResponse

func (m *MockRepositoryServer) SetCreateResponse(response *dbt_cloud.RepositoryResponse)

func (*MockRepositoryServer) SetUpdateResponse

func (m *MockRepositoryServer) SetUpdateResponse(response *dbt_cloud.RepositoryResponse)

func (*MockRepositoryServer) URL

func (m *MockRepositoryServer) URL() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL