testconfig

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestClient

func GetTestClient() *client.CrowdStrikeAPISpecification

GetTestClient returns the cached test client for use in provider Configure during tests. Returns nil if the client has not been initialized yet.

func InitializeTestClient

func InitializeTestClient(ctx context.Context, cloud, clientId, clientSecret string) error

InitializeTestClient initializes the test client once using sync.Once. This function is called from PreCheck and ensures that only one client is configured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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