testhelpers

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredentialsFromEnvironment

func CredentialsFromEnvironment(t *testing.T) prismgoclient.Credentials

CredentialsFromEnvironment returns a Credentials object from the developer environment or dummy values if the developer environment is not configured. The prism developer config is configured by creating a `.prism-dev.yaml` file in the user's home directory. Alternatively, the path to the developer config file can be set in the environment variable `PRISM_DEV_CONFIG`. More information about the developer config file can be found in the DEVELOPMENT.md in repo root.

func ManagementEndpointFromEnvironment

func ManagementEndpointFromEnvironment(t *testing.T) *types.ManagementEndpoint

ManagementEndpointFromEnvironment returns a ManagementEndpoint object from the developer environment

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL