Documentation ¶
Index ¶
- Constants
- type ErrorHandler
- type GitConfig
- type Initializer
- type OciConfig
- type Password
- type PorchTestConfig
- type TestSuite
- func (t *TestSuite) CreateE(ctx context.Context, obj client.Object, opts ...client.CreateOption)
- func (t *TestSuite) CreateF(ctx context.Context, obj client.Object, opts ...client.CreateOption)
- func (t *TestSuite) CreateGitRepo() GitConfig
- func (t *TestSuite) DeleteE(ctx context.Context, obj client.Object, opts ...client.DeleteOption)
- func (t *TestSuite) DeleteL(ctx context.Context, obj client.Object, opts ...client.DeleteOption)
- func (t *TestSuite) FindAndDecodeF(resources *porchapi.PackageRevisionResources, name string, value interface{})
- func (t *TestSuite) GetE(ctx context.Context, key client.ObjectKey, obj client.Object)
- func (t *TestSuite) GetF(ctx context.Context, key client.ObjectKey, obj client.Object)
- func (t *TestSuite) Initialize(ctx context.Context)
- func (t *TestSuite) IsUsingDevPorch() bool
- func (t *TestSuite) ListE(ctx context.Context, list client.ObjectList, opts ...client.ListOption)
- func (t *TestSuite) ParseKptfileF(resources *porchapi.PackageRevisionResources) *kptfilev1.KptFile
Constants ¶
View Source
const (
// TODO: accept a flag?
PorchTestConfigFile = "porch-test-config.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler func(format string, args ...interface{})
type Initializer ¶
type PorchTestConfig ¶
type PorchTestConfig struct { Project string `json:"project"` Git GitConfig `json:"git"` Oci OciConfig `yaml:"oci"` }
Format of the optional test configuration file to enable running the test with specified GCP project, repositories and authentication.
type TestSuite ¶
func (*TestSuite) CreateGitRepo ¶
func (*TestSuite) FindAndDecodeF ¶
func (t *TestSuite) FindAndDecodeF(resources *porchapi.PackageRevisionResources, name string, value interface{})
func (*TestSuite) Initialize ¶
func (*TestSuite) IsUsingDevPorch ¶
func (*TestSuite) ListE ¶
func (t *TestSuite) ListE(ctx context.Context, list client.ObjectList, opts ...client.ListOption)
func (*TestSuite) ParseKptfileF ¶
func (t *TestSuite) ParseKptfileF(resources *porchapi.PackageRevisionResources) *kptfilev1.KptFile
Click to show internal directories.
Click to hide internal directories.