Documentation ¶
Index ¶
- type APIClient
- type TestManagementClient
- func (c TestManagementClient) GetScenario(ctx context.Context, id string) (scenario *v1alpha1.Scenario, err error)
- func (c TestManagementClient) ListScenarios(ctx context.Context, selector string) (scenarios v1alpha1.ScenarioList, err error)
- func (c TestManagementClient) ListServices(ctx context.Context, namespace string, selectors ...string) (list v1alpha1.ServiceList, err error)
- func (c TestManagementClient) ListVirtualObjects(ctx context.Context, namespace string, selectors ...string) (list v1alpha1.VirtualObjectList, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
TestManagementClient
}
APIClient struct managing proxy API Client dependencies.
func NewDirectAPIClient ¶
NewDirectAPIClient returns proxy api client.
type TestManagementClient ¶
type TestManagementClient struct {
// contains filtered or unexported fields
}
func NewTestManagementClient ¶
func NewTestManagementClient(client client.Client) TestManagementClient
NewTestManagementClient creates new Test client.
func (TestManagementClient) GetScenario ¶
func (c TestManagementClient) GetScenario(ctx context.Context, id string) (scenario *v1alpha1.Scenario, err error)
GetScenario returns single scenario by id.
func (TestManagementClient) ListScenarios ¶
func (c TestManagementClient) ListScenarios(ctx context.Context, selector string) (scenarios v1alpha1.ScenarioList, err error)
ListScenarios list all scenarios.
func (TestManagementClient) ListServices ¶ added in v1.0.38
func (c TestManagementClient) ListServices(ctx context.Context, namespace string, selectors ...string) (list v1alpha1.ServiceList, err error)
ListServices list all services.
func (TestManagementClient) ListVirtualObjects ¶
func (c TestManagementClient) ListVirtualObjects(ctx context.Context, namespace string, selectors ...string) (list v1alpha1.VirtualObjectList, err error)
ListVirtualObjects list all virtual objects.
Click to show internal directories.
Click to hide internal directories.