package
2.1.18+incompatible
Repository: https://github.com/kubeshop/testkube.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetClient returns configured Testkube API client, can be one of direct and proxy - direct need additional proxy to be run (`make api-proxy`).
GetClientSet configures Kube client set, can override host with local proxy.
No description provided by the author
NewCloudAPIClient returns cloud api client.
No description provided by the author
NewConfigClient creates new Cnfig client.
No description provided by the author
No description provided by the author
NewDirectAPIClient returns direct api client.
NewDirectClient returns new direct client.
NewExecutorClient creates new Executor client.
NewProxyAPIClient returns proxy api client.
NewProxyClient returns new proxy client.
NewTemplateClient creates new Template client.
NewTestClient creates new Test client.
NewTestSourceClient creates new TestSource client.
NewTestSuiteClient creates new TestSuite client.
NewTestTriggerClient creates new TestTrigger client.
NewTestWorkflowClient creates new TestWorkflow client.
NewTestWorkflowTemplateClient creates new TestWorkflowTemplate client.
NewWebhookClient creates new Webhook client.
StreamToLogsChannel converts io.Reader with SSE data like `data: {"type": "event", "message":"something"}` to channel of output.Output objects, helps with logs streaming from SSE endpoint (passed from job executor).
StreamToLogsChannelV2 converts io.Reader with SSE data like `data: {"type": "event", "message":"something"}` to channel of output.Output objects, helps with logs version 2 streaming from SSE endpoint (passed from job executor).
StreamToTestWorkflowExecutionNotificationsChannel converts io.Reader with SSE data to channel of actual notifications.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestkubeInstallationNamespace where Testkube is installed.
Version is client version literal.
# Structs
APIClient struct managing proxy API Client dependencies.
No description provided by the author
No description provided by the author
CLoudClient is almost the same as Direct client, but has different GetFile method which returns a download URL for the artifact instead of downloading it.
ConfigClient is a client for config.
No description provided by the author
No description provided by the author
DirectClient implements direct client.
TODO consider replacing it with testkube.ExecutionRequest - looks almost the samea and redundant ExecuteTestOptions contains test run options.
ExecuteTestSuiteOptions contains test suite run options.
ExecutorClient is a client for executors.
MockCopyFileAPI is the mock API client for uploading files to be used in tests.
Options contains client options.
ProxyClient implements proxy client.
TemplateClient is a client for templates.
TestClient is a client for tests.
TestSourceClient is a client for test sources.
TestSuiteClient is a client for test suites.
TestTriggerClient is a client for triggers.
TestWorkflowClient is a client for test workflows.
TestWorkflowTemplateClient is a client for tests.
WebhookClient is a client for webhooks.
# Interfaces
All is an interface of all objects.
Client is the Testkube API client abstraction.
ConfigAPI describes config api methods.
CopyFileAPI describes methods to handle files in the object storage.
No description provided by the author
Executable is an interface of executable objects.
ExecutionAPI describes execution api methods.
ExecutorAPI describes executor api methods.
Gettable is an interface of gettable objects.
ServiceAPI describes service api methods.
TemplateAPI describes template api methods.
TestAPI describes test api methods.
TestSourceAPI describes test source api methods.
TestSuiteAPI describes test suite api methods.
TestSuiteExecutionAPI describes test suite execution api methods.
TestTriggerAPI describes test triggers api methods.
TestWorkflowAPI describes test workflow api methods.
TestWorkflowExecutionAPI describes test workflow api methods.
TestWorkflowTemplateAPI describes test workflow api methods.
Transport provides methods to execute api calls.
WebhookAPI describes webhook api methods.
# Type aliases
No description provided by the author
CreateTemplateOptions - is mapping for now to OpenAPI schema for creating/changing template.
CreateTestTriggerOptions - is mapping for now to OpenAPI schema for creating trigger.
CreateWebhookOptions - is mapping for now to OpenAPI schema for creating/changing webhook.
No description provided by the author
UpdateExecutorOptions - is mapping for now to OpenAPI schema for changing executor request.
UpdateTemplateOptions - is mapping for now to OpenAPI schema for changing template request.
UpdateTestOptions - is mapping for now to OpenAPI schema for changing test if needed can be extended to custom struct.
UpdateTestSourceOptions - is mapping for now to OpenAPI schema for changing test source if needed can be extended to custom struct.
UpdateTestSuiteOptions - mapping to OpenAPI schema for changing testsuite.
UpdateTestTriggerOptions - is mapping for now to OpenAPI schema for changing trigger request.
UpdateWebhookOptions - is mapping for now to OpenAPI schema for changing webhook request.
UpsertExecutorOptions - is mapping for now to OpenAPI schema for creating executor request.
UpsertTestOptions - is mapping for now to OpenAPI schema for creating test if needed can be extended to custom struct.
UpsertTestSourceOptions - is mapping for now to OpenAPI schema for creating test source if needed can be extended to custom struct.
UpsertTestSuiteOptions - mapping to OpenAPI schema for creating testsuite.