tests

package
v0.0.0-...-8a5a737 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneAndParse

func CloneAndParse(w http.ResponseWriter, repoURL, file, token string) (*model.Test, error)

var testBody *model.Test repoURL should be a https , dont use ssh repourl use a classic token with permissions to clone and read

Types

type TestHandler

type TestHandler struct {
	Ctx    context.Context
	Reader clickhousereader.ClickHouseReader
	Tests  map[int]*model.Test
}

func (TestHandler) CreateTest

func (h TestHandler) CreateTest(w http.ResponseWriter, r *http.Request)

func (TestHandler) DeleteTest

func (h TestHandler) DeleteTest(w http.ResponseWriter, r *http.Request)

func (TestHandler) DryRun

func (h TestHandler) DryRun(w http.ResponseWriter, r *http.Request)

func (TestHandler) GetTest

func (h TestHandler) GetTest(w http.ResponseWriter, r *http.Request)

func (TestHandler) RunAssertion

func (h TestHandler) RunAssertion(w http.ResponseWriter, r *http.Request)

func (TestHandler) RunTest

func (h TestHandler) RunTest(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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