Documentation ¶
Index ¶
- func AssertErrorResponse(t *testing.T, expected errawr.Error, resp *http.Response) bool
- func NewMockKubernetesClient(initial ...runtime.Object) kubernetes.Interface
- func NewMockTektonKubernetesClient(initial ...runtime.Object) tekton.Interface
- func RequireErrorResponse(t *testing.T, expected errawr.Error, resp *http.Response)
- func WithStepMetadataSchemaRegistry(t *testing.T, metadataPath string, fn func(reg validation.SchemaRegistry))
- func WithStepMetadataServer(t *testing.T, metadataPath string, fn func(ts *httptest.Server))
- func WithVaultClient(t *testing.T, fn func(client *api.Client))
- func WithVaultServer(t *testing.T, fn func(addr, token string))
- func WithVaultServerOnAddress(t *testing.T, addr string, fn func(addr, token string))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertErrorResponse ¶
func NewMockKubernetesClient ¶
func NewMockKubernetesClient(initial ...runtime.Object) kubernetes.Interface
func RequireErrorResponse ¶
func WithStepMetadataSchemaRegistry ¶
func WithStepMetadataSchemaRegistry(t *testing.T, metadataPath string, fn func(reg validation.SchemaRegistry))
func WithStepMetadataServer ¶
func WithVaultServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.