test_utils

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvLogzioBaseUrl             = "LOGZIO_BASE_URL"
	EnvLogzioApiToken     string = "LOGZIO_API_TOKEN"
	EnvLogzioAccountId    string = "LOGZIO_ACCOUNT_ID"
	LogzioBaseUrl         string = "https://api.logz.io"
	EnvLogzioEmail        string = "LOGZIO_EMAIL"
	EnvS3Path             string = "S3_PATH"
	EnvAwsAccessKey       string = "AWS_ACCESS_KEY"
	EnvAwsSecretKey       string = "AWS_SECRET_KEY"
	EnvAwsArn             string = "AWS_ARN"
	EnvAzureTenantId      string = "AZURE_TENANT_ID"
	EnvAzureClientId      string = "AZURE_CLIENT_ID"
	EnvAzureClientSecret  string = "AZURE_CLIENT_SECRET"
	EnvAzureAccountName   string = "AZURE_ACCOUNT_NAME"
	EnvAzureContainerName string = "AZURE_CONTAINER_NAME"
	EnvMetricsFolderId    string = "METRICS_FOLDER_ID"

	TestTimeSeparator = time.Millisecond * 500
)

Variables

This section is empty.

Functions

func GetAccountId

func GetAccountId() (int64, error)

func GetApiToken

func GetApiToken() (string, error)

func GetAwsAccessKey added in v1.9.0

func GetAwsAccessKey() (string, error)

func GetAwsIamCredentials added in v1.9.0

func GetAwsIamCredentials() (string, error)

func GetAwsSecretKey added in v1.9.0

func GetAwsSecretKey() (string, error)

func GetAzureAccountName added in v1.9.0

func GetAzureAccountName() (string, error)

func GetAzureClientId added in v1.9.0

func GetAzureClientId() (string, error)

func GetAzureClientSecret added in v1.9.0

func GetAzureClientSecret() (string, error)

func GetAzureContainerName added in v1.9.0

func GetAzureContainerName() (string, error)

func GetAzureTenantId added in v1.9.0

func GetAzureTenantId() (string, error)

func GetCreateOrUpdateArchiveLogs added in v1.9.0

func GetCreateOrUpdateArchiveLogs(storageType string) (archive_logs.CreateOrUpdateArchiving, error)

func GetLogzIoBaseUrl

func GetLogzIoBaseUrl() string

func GetLogzioEmail added in v1.5.2

func GetLogzioEmail() (string, error)

func GetMetricsFolderId added in v1.16.0

func GetMetricsFolderId() (string, error)

func GetS3IamCredentials added in v1.9.0

func GetS3IamCredentials() (*archive_logs.S3IamCredentials, error)

func GetS3Path added in v1.9.0

func GetS3Path() (string, error)

func TestDoneTimeBuffer added in v1.12.0

func TestDoneTimeBuffer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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