{"modulePath":"github.com/openshift/reference-addon","version":"v0.10.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testing\n\n## Functions\n\n```go\nfunc LoadUnstructuredFromFile(path string) (client.Object, error)\n```\n\n## Types\n\n```go\ntype RequestConfig struct {\n\tTimeout time.Duration\n}\n```\n\n```go\nfunc (c *RequestConfig) Default()\n```\n\n```go\nfunc (c *RequestConfig) Option(opts ...RequestOption)\n```\n\n```go\ntype RequestOption interface {\n\tConfigureRequest(*RequestConfig)\n}\n```\n\n```go\ntype TestClient struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTestClient(client client.Client) *TestClient\n```\n\n```go\nfunc (c *TestClient) Create(ctx context.Context, obj client.Object, opts ...RequestOption)\n```\n\n```go\nfunc (c *TestClient) Delete(ctx context.Context, obj client.Object, opts ...RequestOption)\n```\n\n```go\nfunc (c *TestClient) EventuallyObjectDoesNotExist(ctx context.Context, obj client.Object, opts ...RequestOption) bool\n```\n\n```go\nfunc (c *TestClient) EventuallyObjectExists(ctx context.Context, obj client.Object, opts ...RequestOption) bool\n```\n\n```go\nfunc (c *TestClient) Get(ctx context.Context, obj client.Object, opts ...RequestOption)\n```\n\n```go\nfunc (c *TestClient) Update(ctx context.Context, obj client.Object, opts ...RequestOption)\n```\n\n```go\ntype WithTimeout time.Duration\n```\n\n```go\nfunc (w WithTimeout) ConfigureRequest(c *RequestConfig)\n```\n\n","path":"github.com/openshift/reference-addon/internal/testing","name":"testing","synopsis":"","isRedistributable":true}
