testutil

package
v0.0.21-pre-02 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRandomStatus

func CreateRandomStatus() *models.DisplayStatus

func GenerateRandomLogEntry

func GenerateRandomLogEntry() string

func GetRandomDetailedStatus

func GetRandomDetailedStatus(status string) string

func GetRandomStatus

func GetRandomStatus(statuses map[string]*models.DisplayStatus) *models.DisplayStatus

func InitializeTestViper

func InitializeTestViper() (*viper.Viper, error)

func RandomIP

func RandomIP() string

func RandomRegion

func RandomRegion() string

func RandomStatus

func RandomStatus() string

func RandomZone

func RandomZone() string

func SetupViper

func SetupViper(deploymentType models.DeploymentType,
	testSSHPublicKeyPath, testSSHPrivateKeyPath string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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