Documentation
¶
Index ¶
- func CleanupEndpointFromContext(ctx inttest.TestContext, keyEndpointID any, projectKey any) error
- func CreateTestServiceEndpoint(ctx inttest.TestContext, projectName, projectID string) (string, string, error)
- func DeleteEndpointByID(ctx inttest.TestContext, endpointID, projectID string) error
- func DeleteProjectByID(ctx inttest.TestContext, projectID string) error
- func GetTestProjectName(ctx inttest.TestContext) (string, error)
- func ProvisionProject(ctx inttest.TestContext, projectName string) (string, error)
- func ResolveProcessTemplate(ctx inttest.TestContext, client core.Client, preferred string) (string, error)
- func WaitForOperation(ctx inttest.TestContext, opRef *operations.OperationReference) error
- type CtxKey
- type SharedProject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupEndpointFromContext ¶
func CleanupEndpointFromContext(ctx inttest.TestContext, keyEndpointID any, projectKey any) error
func DeleteEndpointByID ¶
func DeleteEndpointByID(ctx inttest.TestContext, endpointID, projectID string) error
func DeleteProjectByID ¶
func DeleteProjectByID(ctx inttest.TestContext, projectID string) error
func GetTestProjectName ¶
func GetTestProjectName(ctx inttest.TestContext) (string, error)
func ProvisionProject ¶
func ProvisionProject(ctx inttest.TestContext, projectName string) (string, error)
func ResolveProcessTemplate ¶
func WaitForOperation ¶
func WaitForOperation(ctx inttest.TestContext, opRef *operations.OperationReference) error
Types ¶
type SharedProject ¶
type SharedProject struct {
// contains filtered or unexported fields
}
func NewSharedProject ¶
func NewSharedProject(name string) *SharedProject
func (*SharedProject) Cleanup ¶
func (p *SharedProject) Cleanup() error
func (*SharedProject) Ensure ¶
func (p *SharedProject) Ensure(ctx inttest.TestContext) error
Click to show internal directories.
Click to hide internal directories.